| OLD | NEW |
| 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <link rel="help" href="http://dev.w3.org/csswg/cssom/" /> | 4 <link rel="help" href="http://dev.w3.org/csswg/cssom/" /> |
| 5 <style type="text/css" media="NOT braille, tv and (orientation: landscape) AND (
min-WIDTH:100px) and (max-width: 200px ), all and (color) and (color)"> | 5 <style type="text/css" media="NOT braille, tv and (orientation: landscape) AND (
min-WIDTH:100px) and (max-width: 200px ), all and (color) and (color)"> |
| 6 </style> | 6 </style> |
| 7 <script src="../js/resources/js-test-pre.js"></script> | 7 <script src="../js/resources/js-test-pre.js"></script> |
| 8 </head> | 8 </head> |
| 9 <body> | 9 <body> |
| 10 | 10 |
| 11 | 11 |
| 12 <script> | 12 <script> |
| 13 | 13 |
| 14 description( | 14 description( |
| 15 'Test media query serialization. <a href="https://bugs.webkit.org/show_bug.cgi?
id=39220">https://bugs.webkit.org/show_bug.cgi?id=39220</a>' | 15 'Test media query serialization. <a href="https://bugs.webkit.org/show_bug.cgi?
id=39220">https://bugs.webkit.org/show_bug.cgi?id=39220</a>' |
| 16 ); | 16 ); |
| 17 | 17 |
| 18 | 18 |
| 19 var expected = "not braille, tv and (max-width: 200px) and (min-width: 100px) an
d (orientation: landscape), (color)"; | 19 var expected = "not braille, tv and (max-width: 200px) and (min-width: 100px) an
d (orientation: landscape), (color)"; |
| 20 shouldBe("document.styleSheets[0].media.mediaText", "expected"); | 20 shouldBe("document.styleSheets[0].media.mediaText", "expected"); |
| 21 | 21 |
| 22 </script> | 22 </script> |
| 23 | 23 |
| 24 <script src="../js/resources/js-test-post.js"></script> | |
| 25 </body> | 24 </body> |
| 26 </html> | 25 </html> |
| OLD | NEW |