OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <title>HTML4 media descriptor test: parsing style element media attribute, forwa
rd-compatible syntax</title> | 3 <title>HTML5 media attribute test: parsing style element media attribute, media
queries syntax</title> |
4 <link rel="help" href="http://www.w3.org/TR/REC-html40/types.html#h-6.13" /> | 4 <link rel="help" href="http://www.w3.org/TR/html5/document-metadata.html#attr-st
yle-media" /> |
5 <!-- actual testcase from http://www.hixie.ch/tests/evil/css/import/extra/stylee
xoticmedia.html --> | |
6 <style type="text/css" media="braille, all with print"> | 5 <style type="text/css" media="braille, all with print"> |
7 p { color: green } | 6 p { color: red } |
8 </style> | 7 </style> |
9 | 8 |
10 </head> | 9 </head> |
11 <body> | 10 <body> |
12 <p> This text should be green.</p> | 11 <p> This text should not be red.</p> |
13 </body> | 12 </body> |
14 </html> | 13 </html> |
OLD | NEW |