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 | 5 |
7 <style type="text/css" media="screen;braille"> | 6 <style type="text/css" media="screen;braille"> |
8 p { color: green } | 7 p { color: red } |
9 </style> | 8 </style> |
10 | 9 |
11 </head> | 10 </head> |
12 <body> | 11 <body> |
13 <p> This text should be green.</p> | 12 <p> This text should not be red.</p> |
14 </body> | 13 </body> |
15 </html> | 14 </html> |
OLD | NEW |