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

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/w3c-css/submitted/conditional3/css-supports-046.xht	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,22 @@
     1.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
     1.5 +<html xmlns="http://www.w3.org/1999/xhtml">
     1.6 + <head>
     1.7 +  <title>CSS Test: A nested @supports rule with valid syntax and a passing condition must apply rules inside it</title>
     1.8 +  <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au" />
     1.9 +  <link rel="author" title="L. David Baron" href="mailto:dbaron@dbaron.org" />
    1.10 +  <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports" />
    1.11 +  <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-media" />
    1.12 +  <meta name="flags" content="" />
    1.13 +  <meta name="assert" content="An outer @media rule with an inner @supports rule must apply the rules inside the @supports only if both the @supports and @media conditions pass."/>
    1.14 +  <link rel="match" href="support/pass.xht" />
    1.15 +  <style type="text/css"><![CDATA[
    1.16 +    @media all {
    1.17 +      @supports (color: green) {
    1.18 +        html { background-color: green }
    1.19 +      }
    1.20 +    }
    1.21 +  ]]></style>
    1.22 + </head>
    1.23 + <body>
    1.24 + </body>
    1.25 +</html>

mercurial