Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-conditional/css-supports-016.xht - WPT Dashboard Interop Dashboard
<head>
<title>CSS Test: An @supports rule with valid syntax and a passing condition must apply rules inside it</title>
<link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au" />
<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."/>
<link rel="match" href="support/pass.xht" />
<style type="text/css"><![CDATA[
@supports not (color: rainbow) {
html { background-color: green }
}
]]></style>
</head>
<body>
</body>
</html>