case-sensitive-001

Case-sensitivity of At-rules (@media)

WeasyPrint

This browser

Source

 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 2 <html>
 3  <head>
 4   <title>CSS Test: Case-sensitivity of At-rules (@media)</title>
 5   <link rel="author" title="L. David Baron" href="http://dbaron.org/">
 6   <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#characters">
 7   <style type="text/css">
 8 
 9   p { color: white; }
10   @media all {
11    p { background: url(support/swatch-red.png); }
12   }
13 
14   @MeDIa aLL {
15    p { BacKgrOUNd: UrL(support/swatch-green.png); }
16   }
17 
18   </style>
19  </head>
20  <body>
21 
22  <p>This should have a green background.</p>
23 
24  </body>
25 </html>