layout/reftests/w3c-css/submitted/conditional3/css-supports-010.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-010.xht	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,19 @@
     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: An @supports rule with valid syntax but a failing condition must not apply rules inside it</title>
     1.8 +  <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au" />
     1.9 +  <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports" />
    1.10 +  <meta name="flags" content="" />
    1.11 +  <meta name="assert" content="A conjunction of two @supports conditions must cause the @supports condition to fail if the right sub-condition passes."/>
    1.12 +  <link rel="match" href="support/pass.xht" />
    1.13 +  <style type="text/css"><![CDATA[
    1.14 +    html { background-color: green }
    1.15 +    @supports (color: blue) and (color: rainbow) {
    1.16 +      html { background-color: red }
    1.17 +    }
    1.18 +  ]]></style>
    1.19 + </head>
    1.20 + <body>
    1.21 + </body>
    1.22 +</html>

mercurial