Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/CSS2/syntax/case-sensitive-001.xht - WPT Dashboard Interop Dashboard
<head>
<title>CSS Test: Case-sensitivity of At-rules (@media)</title>
<link rel="match" href="../reference/ref-green-background.xht"/>
<style type="text/css">
p { color: white; }
@media all {
p { background: url(support/swatch-red.png); }
}
@MeDIa aLL {
p { BacKgrOUNd: UrL(support/swatch-green.png); }
}
</style>
</head>
<body>
<p>This should have a green background.</p>
</body>
</html>