blob: eeac7b12fb0c827b54052a39608d42d002889bc8 [file] [log] [blame]
Geoffrey Sneddonf106b6f2015-12-07 15:16:261<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml">
3 <head>
4 <title>CSS Test: None counts as an image layer</title>
5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
6 <link rel="help" href="http://www.w3.org/TR/css3-background/#the-background-image" />
7 <meta name="flags" content="" />
8 <meta name="assert" content="'Background-image: none' counts as an image layer but draws nothing." />
9 <style type="text/css">
10 div
11 {
12 margin: 10px;
13 width: 250px;
14 height: 250px;
15 border: thick solid black;
16 }
17 #test
18 {
19 background-image: url("support/blue_color.png"), none, url("support/green_color.png");
20 background-repeat: no-repeat, repeat, no-repeat;
21 background-position: 30px 30px, 60px 60px, 90px 90px;
22 }
23 #reference
24 {
25 background-image: url("support/blue_color.png"), url("support/green_color.png");
26 background-repeat: no-repeat, no-repeat;
27 background-position: 30px 30px, 90px 90px;
28 }
29 </style>
30 </head>
31 <body>
32 <p>Test passes if there is green on the page and contents of the black boxes look exactly the same.</p>
33 <table>
34 <tr>
35 <td><div id="test"></div></td>
36 <td><div id="reference"></div></td>
37 </tr>
38 </table>
39 </body>
arronei35f109a2013-11-14 22:06:0140</html>