1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/w3c-css/submitted/conditional3/css-supports-025.xht Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,20 @@ 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: A nested @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="An inner @supports rule inside an outer @supports must apply its child rules only if both @supports conditions succeeded."/> 1.12 + <link rel="match" href="support/pass.xht" /> 1.13 + <style type="text/css"><![CDATA[ 1.14 + @supports (color: green) { 1.15 + @supports (color: blue) { 1.16 + html { background-color: green } 1.17 + } 1.18 + } 1.19 + ]]></style> 1.20 + </head> 1.21 + <body> 1.22 + </body> 1.23 +</html>