servo/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-032.htm

24 lines
No EOL
777 B
HTML

<!DOCTYPE html>
<html><head>
<title>CSS Test (Conditional Rules): Incorrect syntax in @supports recovers properly</title>
<link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal">
<link href="http://opera.com" rel="author" title="Opera Software ASA">
<link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help">
<link href="reference/at-supports-001-ref.htm" rel="match">
<meta content="invalid" name="flags">
<style>
div {
background-color:red;
height:100px;
width:100px;
}
@supports {}
@supports (margin:0) { div { background-color:green; } }
</style>
</head>
<body>
<p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p>
<div></div>
</body></html>