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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/tracing/timeline-paint/timeline-paint-with-layout-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 document.body.style.backgroundColor = "blue"; 10 document.body.style.backgroundColor = "blue";
11 document.getElementById("testElement").style.width = "100px"; 11 document.getElementById("testElement").style.width = "100px";
12 var forceLayout = document.body.offsetTop; 12 var forceLayout = document.body.offsetTop;
13 if (window.testRunner) 13 if (window.testRunner)
14 testRunner.layoutAndPaintAsyncThen(callback); 14 testRunner.layoutAndPaintAsyncThen(callback);
15 }); 15 });
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 next(); 57 next();
58 }); 58 });
59 } 59 }
60 ]); 60 ]);
61 } 61 }
62 </script> 62 </script>
63 </head> 63 </head>
64 <body onload="runTest()"> 64 <body onload="runTest()">
65 <p>Tests the Timeline API instrumentation of paint events with layout invalidati ons.</p> 65 <p>Tests the Timeline API instrumentation of paint events with layout invalidati ons.</p>
66 <div id="testElement">PASS</div> 66 <div id="testElement">PASS</div>
67 <iframe src="resources/timeline-iframe-paint.html" style="position: absolute; le ft: 40px; top: 40px; width: 100px; height: 100px; border: none"></iframe> 67 <iframe src="../resources/timeline-iframe-paint.html" style="position: absolute; left: 40px; top: 40px; width: 100px; height: 100px; border: none"></iframe>
68 </body> 68 </body>
69 </html> 69 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698