servo/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-009.xht

25 lines
No EOL
940 B
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<title>CSS Test (Conditional Rules): Negations of failing simple conditions in @supports should pass</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.xht" rel="match" />
<meta content="" name="flags" />
<style>
div {
background-color:red;
height:100px;
width:100px;
}
@supports (not (yadayada: x, calc( 2/3 ))) {
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>