Index: LayoutTests/inspector/elements/styles/styles-with-spaces-in-sourceURL.html |
diff --git a/LayoutTests/inspector/elements/styles/parse-declaration-with-quote.html b/LayoutTests/inspector/elements/styles/styles-with-spaces-in-sourceURL.html |
similarity index 53% |
copy from LayoutTests/inspector/elements/styles/parse-declaration-with-quote.html |
copy to LayoutTests/inspector/elements/styles/styles-with-spaces-in-sourceURL.html |
index 07f78c669b041a52de84acf79b7f3a6d73e2e2fd..dfa9e3119b236d3ba68fccce02badfabc3ac8aaf 100644 |
--- a/LayoutTests/inspector/elements/styles/parse-declaration-with-quote.html |
+++ b/LayoutTests/inspector/elements/styles/styles-with-spaces-in-sourceURL.html |
@@ -2,26 +2,30 @@ |
<head> |
<script src="../../../http/tests/inspector/inspector-test.js"></script> |
<script src="../../../http/tests/inspector/elements-test.js"></script> |
+<link rel="stylesheet" href="resources/style-with-spaces-in-sourceURL.css"> |
+ |
<script> |
function test() |
{ |
+ InspectorTest.selectNodeAndWaitForStyles("inspected", onNodeSelected); |
- InspectorTest.selectNodeAndWaitForStyles("inspected", dumpStyles); |
- |
- function dumpStyles() |
+ function onNodeSelected() |
{ |
InspectorTest.dumpSelectedElementStyles(true); |
InspectorTest.completeTest(); |
} |
} |
</script> |
+ |
</head> |
<body onload="runTest()"> |
<p> |
-Tests that CSSParser correctly parses declarations with unterminated strings. <a href="https://code.google.com/p/chromium/issues/detail?id=231127">Blink bug 231127</a> |
+Verifies that links for URLs with spaces displayed properly for matched styles. |
+</p> |
+ |
+<div id="inspected"></div> |
-<div id="inspected" style="color: red'foo"></div> |
</body> |
</html> |