| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <link rel="stylesheet" type="text/css" href="resources/parse-utf8-bom-main.css"> | 3 <link rel="stylesheet" type="text/css" href="../styles/resources/parse-utf8-bom-
main.css"> |
| 4 | 4 |
| 5 <script src="../../../http/tests/inspector/inspector-test.js"></script> | 5 <script src="../../../http/tests/inspector/inspector-test.js"></script> |
| 6 <script src="../../../http/tests/inspector/elements-test.js"></script> | 6 <script src="../../../http/tests/inspector/elements-test.js"></script> |
| 7 <script> | 7 <script> |
| 8 | 8 |
| 9 function test() | 9 function test() |
| 10 { | 10 { |
| 11 InspectorTest.selectNodeAndWaitForStyles("inspected", step1); | 11 InspectorTest.selectNodeAndWaitForStyles("inspected", step1); |
| 12 | 12 |
| 13 function step1() | 13 function step1() |
| 14 { | 14 { |
| 15 InspectorTest.dumpSelectedElementStyles(true, false, true); | 15 InspectorTest.dumpSelectedElementStyles(true, false, true); |
| 16 InspectorTest.completeTest(); | 16 InspectorTest.completeTest(); |
| 17 } | 17 } |
| 18 } | 18 } |
| 19 | 19 |
| 20 </script> | 20 </script> |
| 21 </head> | 21 </head> |
| 22 | 22 |
| 23 <body onload="runTest()"> | 23 <body onload="runTest()"> |
| 24 <p> | 24 <p> |
| 25 Tests that source data are extracted correctly from external stylesheets in UTF-
8 with BOM. <a href="https://bugs.webkit.org/show_bug.cgi?id=59322">Bug 59322</a
>. | 25 Tests that source data are extracted correctly from external stylesheets in UTF-
8 with BOM. <a href="https://bugs.webkit.org/show_bug.cgi?id=59322">Bug 59322</a
>. |
| 26 </p> | 26 </p> |
| 27 <h1 id="inspected"> | 27 <h1 id="inspected"> |
| 28 I'm red. | 28 I'm red. |
| 29 </h1> | 29 </h1> |
| 30 | 30 |
| 31 </body> | 31 </body> |
| 32 </html> | 32 </html> |
| OLD | NEW |