case-sensitive-008

Case sensitive attributes

WeasyPrint

This browser

Assertion
CSS style sheets parts that are not under the control of CSS are case dependant on the language being used.

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 sensitive attributes</title>
 5         <link rel="author" title="Microsoft" href="http://www.microsoft.com/">
 6         <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#characters">
 7         <meta name="flags" content="">
 8         <meta name="assert" content="CSS style sheets parts that are not under the control of CSS are case dependant on the language being used.">
 9         <style type="text/css">
10             #myid,
11             #MYID,
12             .myclass,
13             .MYCLASS,
14             [title="MYTITLE"],
15             [title="mytitle"]
16             {
17                 color: red;
18             }
19         </style>
20     </head>
21     <body>
22         <p>Test passes if there is no red visible on the page.</p>
23         <div title="MyTitle">Filler Text</div>
24         <div class="MyClass">Filler Text</div>
25         <div id="MyID">Filler Text</div>
26     </body>
27 </html>