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

Side by Side Diff: LayoutTests/inspector/elements/styles/styles-edit-property-after-invalid-rule.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
4 <style type="text/css" media="screen">
5 /* Invalid selector */
6 .navbar-search .search-query:-moz-placeholder {
7 color: #cccccc;
8 }
9
10 #container {
11 padding: 15px;
12 }
13 </style>
14
15 <script src="../../../http/tests/inspector/inspector-test.js"></script>
16 <script src="../../../http/tests/inspector/elements-test.js"></script>
17 <script>
18
19 function test()
20 {
21 InspectorTest.selectNodeAndWaitForStyles("container", step1);
22
23 function step1()
24 {
25 InspectorTest.addResult("Initial value");
26 InspectorTest.dumpSelectedElementStyles(true, false, true);
27
28 var treeItem = InspectorTest.getMatchedStylePropertyTreeItem("padding" );
29 treeItem.applyStyleText("padding: 20px", false);
30 InspectorTest.waitForStyles("container", step2);
31 }
32
33 function step2()
34 {
35 InspectorTest.addResult("After changing property");
36 InspectorTest.dumpSelectedElementStyles(true, false, true);
37 InspectorTest.completeTest();
38 }
39 }
40
41 </script>
42 </head>
43
44 <body onload="runTest()">
45 <p>
46 Tests that proper source lines are reported for the styles after unrecognizer / invalid selector.
47 </p>
48
49 <div id="container"></div>
50
51 </body>
52 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698