mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 22:55:23 +00:00
f455e70a11
Add tests that verify background layers composite correctly.
47 lines
1.1 KiB
HTML
47 lines
1.1 KiB
HTML
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
|
|
|
|
<style type="text/css">
|
|
*#test1 > * {
|
|
background: url(red-128-alpha-32x32.png) center,
|
|
url(green-circle-alpha-32x32.png) center fixed;
|
|
background-color: yellow;
|
|
width: 32px;
|
|
height: 32px;
|
|
}
|
|
|
|
*#test2 > * {
|
|
background: url(red-128-alpha-32x32.png) center,
|
|
url(green-circle-alpha-32x32.png) center fixed,
|
|
url(yellow-32x32.png);
|
|
background-color: red;
|
|
width: 32px;
|
|
height: 32px;
|
|
}
|
|
|
|
*#test3 > * {
|
|
background: url(red-128-alpha-32x32.png) center,
|
|
url(green-circle-alpha-32x32.png) center fixed,
|
|
url(yellow-32x32.png);
|
|
width: 32px;
|
|
height: 32px;
|
|
}
|
|
|
|
table, table * {
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<table cellpadding="0" cellspacing="0">
|
|
<tr id="test1"><td></td><td></td><td></td></tr>
|
|
<tr id="test2"><td></td><td></td><td></td></tr>
|
|
<tr id="test3"><td></td><td></td><td></td></tr>
|
|
</table>
|
|
</body>
|
|
|
|
</html>
|