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

Side by Side 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: 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 unified diff | Download patch
OLDNEW
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698