css-supports-042.xht (946B)
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 condition with an unexpected token before the closing paren of a supports_condition_in_parens should parse as a general_enclosed</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="assert" content="An @supports rule condition that has an unexpected token before the closing paren of a supports_condition_in_parens should parse as a general_enclosed and evaluate to false rather than fail to parse."/> 8 <link rel="match" href="support/pass.xht" /> 9 <style type="text/css"><![CDATA[ 10 @supports ((color: green) bad) or (color: green) { 11 html { background-color: green } 12 } 13 ]]></style> 14 </head> 15 <body> 16 </body> 17 </html>