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

Side by Side Diff: LayoutTests/inspector/elements/styles-4/styles-new-API.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
1 <html> 1 <html>
2 <head> 2 <head>
3 3
4 <link rel="stylesheet" href="resources/styles-new-API.css"> 4 <link rel="stylesheet" href="resources/styles-new-API.css">
5 5
6 <script src="../../../http/tests/inspector/inspector-test.js"></script> 6 <script src="../../../http/tests/inspector/inspector-test.js"></script>
7 <script src="../../../http/tests/inspector/elements-test.js"></script> 7 <script src="../../../http/tests/inspector/elements-test.js"></script>
8 <script src="styles-test.js"></script> 8 <script src="../styles/styles-test.js"></script>
9 <script> 9 <script>
10 10
11 function test() 11 function test()
12 { 12 {
13
14 var bodyId; 13 var bodyId;
15 InspectorTest.runTestSuite([ 14 InspectorTest.runTestSuite([
16 function test_styles(next) 15 function test_styles(next)
17 { 16 {
18 function callback(styles) 17 function callback(styles)
19 { 18 {
20 InspectorTest.addResult(""); 19 InspectorTest.addResult("");
21 InspectorTest.addResult("=== Computed style property count for b ody ==="); 20 InspectorTest.addResult("=== Computed style property count for b ody ===");
22 var propCount = styles.computedStyle.length; 21 var propCount = styles.computedStyle.length;
23 InspectorTest.addResult(propCount > 200 ? "OK" : "FAIL (" + prop Count + ")"); 22 InspectorTest.addResult(propCount > 200 ? "OK" : "FAIL (" + prop Count + ")");
(...skipping 466 matching lines...) Expand 10 before | Expand all | Expand 10 after
490 489
491 <body id="mainBody" class="main1 main2 mainpage" onload="runTest()" style="font- weight: normal; width: 85%; background-image: url(bar.png)"> 490 <body id="mainBody" class="main1 main2 mainpage" onload="runTest()" style="font- weight: normal; width: 85%; background-image: url(bar.png)">
492 <p> 491 <p>
493 Tests that InspectorCSSAgent API methods work as expected. 492 Tests that InspectorCSSAgent API methods work as expected.
494 </p> 493 </p>
495 <table width="50%" id="thetable"> 494 <table width="50%" id="thetable">
496 </table> 495 </table>
497 <h1 id="toggle">H1</h1> 496 <h1 id="toggle">H1</h1>
498 </body> 497 </body>
499 </html> 498 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698