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

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

Powered by Google App Engine
This is Rietveld 408576698