layout/reftests/w3c-css/submitted/conditional3/css-supports-027.xht

branch
TOR_BUG_9701
changeset 11
deefc01c0e14
equal deleted inserted replaced
-1:000000000000 0:9480c50a21f5
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
3 <head>
4 <title>CSS Test: A nested @supports rule with valid syntax and a passing condition must apply rules inside it</title>
5 <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au" />
6 <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports" />
7 <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-document" />
8 <meta name="flags" content="" />
9 <meta name="assert" content="An outer @document rule with an inner @supports rule must apply the rules inside the @supports only if both the @supports and @document conditions pass."/>
10 <link rel="match" href="support/pass.xht" />
11 <style type="text/css"><![CDATA[
12 @-moz-document url-prefix("") {
13 @supports (color: green) {
14 html { background-color: green }
15 }
16 }
17 ]]></style>
18 </head>
19 <body>
20 </body>
21 </html>

mercurial