tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

css-supports-035.xht (952B)


      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 unbalanced invalid syntax must fail to parse</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="invalid" />
      8   <meta name="assert" content="An @supports condition with a parenthesized expression that has unbalanced parentheses must fail to parse."/>
      9   <link rel="match" href="support/pass.xht" />
     10   <style type="text/css"><![CDATA[
     11     html { background-color: green }
     12     @supports not ({ something @with (unbalanced parens }) {
     13       html { background-color: red }
     14     }
     15     /* parser still looking for second close parenthesis */
     16     html { background-color: red }
     17   ]]></style>
     18  </head>
     19  <body>
     20  </body>
     21 </html>