| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <title>CSS3 media query test: stylesheet media.appendMedium</title> | 3 <title>CSS3 media query test: stylesheet media.appendMedium</title> |
| 4 <link rel="help" href="http://www.w3.org/TR/css3-mediaqueries/#syntax" /> | 4 <link rel="help" href="http://www.w3.org/TR/css3-mediaqueries/#syntax" /> |
| 5 <link rel="help" href="http://www.w3.org/TR/DOM-Level-2-Style/stylesheets.html"
/> | 5 <link rel="help" href="http://www.w3.org/TR/DOM-Level-2-Style/stylesheets.html"
/> |
| 6 <style type="text/css" media="braille, not screen"> | 6 <style type="text/css" media="braille, not screen"> |
| 7 p { color: green } | 7 p { color: green } |
| 8 </style> | 8 </style> |
| 9 | 9 |
| 10 <script language="javascript"> | 10 <script language="javascript"> |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 } | 23 } |
| 24 </script> | 24 </script> |
| 25 | 25 |
| 26 </head> | 26 </head> |
| 27 <body onload="test()"> | 27 <body onload="test()"> |
| 28 <!-- FIXME: NOTE! This will fail until dynamic setting of media property causes
style recalculation. | 28 <!-- FIXME: NOTE! This will fail until dynamic setting of media property causes
style recalculation. |
| 29 This is not the case currently (24.07.2005) | 29 This is not the case currently (24.07.2005) |
| 30 --> | 30 --> |
| 31 <p> This text should be green and below should read "braille, not screen, screen
and (color)". </p> | 31 <p> This text should be green and below should read "braille, not screen, screen
and (color)". </p> |
| 32 <p id="result">Failure: test not run</p> | 32 <p id="result">Failure: test not run</p> |
| 33 <p> expected to fail (24.07.2005)</p> | |
| 34 </body> | 33 </body> |
| 35 </html> | 34 </html> |
| OLD | NEW |