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

Wed, 31 Dec 2014 06:55:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:50 +0100
changeset 2
7e26c7da4463
permissions
-rw-r--r--

Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2

     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="author" title="L. David Baron" href="mailto:dbaron@dbaron.org" />
     7   <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports" />
     8   <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-media" />
     9   <meta name="flags" content="" />
    10   <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."/>
    11   <link rel="match" href="support/pass.xht" />
    12   <style type="text/css"><![CDATA[
    13     @media all {
    14       @supports (color: green) {
    15         html { background-color: green }
    16       }
    17     }
    18   ]]></style>
    19  </head>
    20  <body>
    21  </body>
    22 </html>

mercurial