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

Fri, 16 Jan 2015 04:50:19 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 04:50:19 +0100
branch
TOR_BUG_9701
changeset 13
44a2da4a2ab2
permissions
-rw-r--r--

Replace accessor implementation with direct member state manipulation, by
request https://trac.torproject.org/projects/tor/ticket/9701#comment:32

     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: An @supports rule with valid syntax but a failing condition must not 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   <meta name="flags" content="" />
     8   <meta name="assert" content="A conjunction of two @supports conditions must cause the @supports condition to fail if the left sub-condition passes."/>
     9   <link rel="match" href="support/pass.xht" />
    10   <style type="text/css"><![CDATA[
    11     html { background-color: green }
    12     @supports (color: rainbow) and (color: blue) {
    13       html { background-color: red }
    14     }
    15   ]]></style>
    16  </head>
    17  <body>
    18  </body>
    19 </html>

mercurial