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

Side by Side Diff: LayoutTests/inspector/elements/styles/parse-declaration-unterminated-comment.html

Issue 1158883003: DevTools: shard inspector/elements tests for faster execution. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <html>
2 <head>
3 <script src="../../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../../http/tests/inspector/elements-test.js"></script>
5 <script>
6
7 function test()
8 {
9
10 InspectorTest.selectNodeAndWaitForStyles("inspected1", dumpStylesFirst);
11
12 function dumpStylesFirst()
13 {
14 InspectorTest.dumpSelectedElementStyles(true);
15 InspectorTest.selectNodeAndWaitForStyles("inspected2", dumpStylesSecond) ;
16 }
17
18 function dumpStylesSecond()
19 {
20 InspectorTest.dumpSelectedElementStyles(true);
21 InspectorTest.completeTest();
22 }
23 }
24 </script>
25 </head>
26
27 <body onload="runTest()">
28 <p>
29 Tests that CSSParser correctly parses declarations with unterminated comments.
30
31 <div id="inspected1" style="color: red /* foo: bar;"></div>
32 <div id="inspected2" style="color: green; /* foo: bar;"></div>
33 </body>
34 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698