layout/reftests/w3c-css/submitted/conditional3/css-supports-022.xht
author Cameron McCormack <cam@mcc.id.au>
Thu, 02 Aug 2012 10:32:12 +1000
changeset 101183 dd435393e11e
child 101423 c9564834bfe1
permissions -rw-r--r--
Bug 649740 - Implement @supports. r=dbaron,bz
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
  <title>CSS Test: An @supports rule with valid syntax but a failing condition must not apply rules inside it</title>
  <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au" />
  <link rel="help" href="http://www.w3.org/TR/#at-supports" />
  <meta name="flags" content="" />
  <meta name="assert" content="A disjunction of two @supports conditions must cause the @supports condition to pass if one condition passes and the other fails due to being an unsupported property with an empty property value."/>
  <link rel="match" href="pass.html" />
  <style type="text/css"><![CDATA[
    @supports (unknown:) or (color: green) {
      html { background-color: green }
    }
  ]]></style>
 </head>
 <body>
 </body>
</html>