| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script src="../../../http/tests/inspector/inspector-test.js"></script> | 3 <script src="../../../http/tests/inspector/inspector-test.js"></script> |
| 4 <script src="../../../http/tests/inspector/elements-test.js"></script> | 4 <script src="../../../http/tests/inspector/elements-test.js"></script> |
| 5 <link rel="stylesheet" href="resources/style-with-spaces-in-sourceURL.css"> |
| 6 |
| 5 <script> | 7 <script> |
| 6 | 8 |
| 7 function test() | 9 function test() |
| 8 { | 10 { |
| 11 InspectorTest.selectNodeAndWaitForStyles("inspected", onNodeSelected); |
| 9 | 12 |
| 10 InspectorTest.selectNodeAndWaitForStyles("inspected", dumpStyles); | 13 function onNodeSelected() |
| 11 | |
| 12 function dumpStyles() | |
| 13 { | 14 { |
| 14 InspectorTest.dumpSelectedElementStyles(true); | 15 InspectorTest.dumpSelectedElementStyles(true); |
| 15 InspectorTest.completeTest(); | 16 InspectorTest.completeTest(); |
| 16 } | 17 } |
| 17 } | 18 } |
| 18 </script> | 19 </script> |
| 20 |
| 19 </head> | 21 </head> |
| 20 | 22 |
| 21 <body onload="runTest()"> | 23 <body onload="runTest()"> |
| 22 <p> | 24 <p> |
| 23 Tests that CSSParser correctly parses declarations with unterminated strings. <a
href="https://code.google.com/p/chromium/issues/detail?id=231127">Blink bug 231
127</a> | 25 Verifies that links for URLs with spaces displayed properly for matched styles. |
| 26 </p> |
| 24 | 27 |
| 25 <div id="inspected" style="color: red'foo"></div> | 28 <div id="inspected"></div> |
| 29 |
| 26 </body> | 30 </body> |
| 27 </html> | 31 </html> |
| OLD | NEW |