gecko-dev/layout/reftests/backgrounds/layers-layer-count-2-ref.xhtml

36 lines
1.3 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>css3-background: number of background layers determined by background-image</title>
<link rel="author" title="L. David Baron" href="http://dbaron.org/" />
<link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
<link rel="help" href="http://dev.w3.org/csswg/css3-background/#layering" />
<meta name="flags" content="" />
<style type="text/css"><![CDATA[
div {
position: relative; height: 100px; width: 100px;
}
]]></style>
</head>
<body>
<div>
<img style="position: absolute; left: 10px; top: 10px" src="yellow-32x32.png" />
</div>
<div>
<img style="position: absolute; left: 15px; top: 15px" src="fuchsia-32x32.png" />
<img style="position: absolute; left: 20px; top: 20px" src="blue-32x32.png" />
<img style="position: absolute; left: 0px; top: 0px" src="aqua-32x32.png" />
<img style="position: absolute; left: 5px; top: 5px" src="yellow-32x32.png" />
</div>
<div>
<img style="position: absolute; left: 20px; top: 20px" src="blue-32x32.png" />
<img style="position: absolute; left: 5px; top: 5px" src="aqua-32x32.png" />
<img style="position: absolute; left: 10px; top: 10px" src="yellow-32x32.png" />
</div>
</body>
</html>