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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/tracing/timeline-misc/timeline-grouped-invalidations.html

Issue 2145873002: [DevTools] Split inspector/tracing into subdirectories to speed things up. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../http/tests/inspector/inspector-test.js"></script> 4 <script src="../../../http/tests/inspector/inspector-test.js"></script>
5 <script src="../../http/tests/inspector/timeline-test.js"></script> 5 <script src="../../../http/tests/inspector/timeline-test.js"></script>
6 <script> 6 <script>
7 function display(callback) 7 function display(callback)
8 { 8 {
9 requestAnimationFrame(function() { 9 requestAnimationFrame(function() {
10 var testElements = document.body.getElementsByClassName("testElement"); 10 var testElements = document.body.getElementsByClassName("testElement");
11 for (var i = 0; i < testElements.length; i++) { 11 for (var i = 0; i < testElements.length; i++) {
12 testElements[i].style.color = "red"; 12 testElements[i].style.color = "red";
13 testElements[i].style.backgroundColor = "blue"; 13 testElements[i].style.backgroundColor = "blue";
14 } 14 }
15 if (window.testRunner) 15 if (window.testRunner)
(...skipping 30 matching lines...) Expand all
46 } 46 }
47 } 47 }
48 </script> 48 </script>
49 </head> 49 </head>
50 <body onload="runTest()"> 50 <body onload="runTest()">
51 <p>Tests grouped invalidations on the timeline.</p> 51 <p>Tests grouped invalidations on the timeline.</p>
52 <div class="testElement">P</div><div class="testElement">A</div> 52 <div class="testElement">P</div><div class="testElement">A</div>
53 <div class="testElement">S</div><div class="testElement">S</div> 53 <div class="testElement">S</div><div class="testElement">S</div>
54 </body> 54 </body>
55 </html> 55 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698