1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/w3c-css/submitted/conditional3/css-supports-016.xht Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,18 @@ 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 and a passing condition must 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 negation of an @supports condition must pass if and only if the sub-condition fails. The sub-condition here is a supported property name with an unsupported value."/> 1.12 + <link rel="match" href="support/pass.xht" /> 1.13 + <style type="text/css"><![CDATA[ 1.14 + @supports not (color: rainbow) { 1.15 + html { background-color: green } 1.16 + } 1.17 + ]]></style> 1.18 + </head> 1.19 + <body> 1.20 + </body> 1.21 +</html>