Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(323)

Unified Diff: LayoutTests/inspector/elements/styles/styles-with-spaces-in-sourceURL.html

Issue 656453002: DevTools: [SSP] show links for matched styles with spaces in source URL (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebaseline Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698