mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
b7cfd1764b
Add tests that verify background layers composite correctly.
44 lines
1.1 KiB
HTML
44 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;
|
|
}
|
|
|
|
div.inline > div {
|
|
display: inline-block;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<div id="test1" class="inline"><div></div><div></div><div></div></div>
|
|
<div id="test2" class="inline"><div></div><div></div><div></div></div>
|
|
<div id="test3" class="inline"><div></div><div></div><div></div></div>
|
|
</body>
|
|
|
|
</html>
|