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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/tracing/timeline-style/timeline-style-recalc-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 changeStylesAndDisplay(callback) 7 function changeStylesAndDisplay(callback)
8 { 8 {
9 requestAnimationFrame(function() { 9 requestAnimationFrame(function() {
10 document.getElementById("testElementOne").style.color = "red"; 10 document.getElementById("testElementOne").style.color = "red";
11 document.getElementById("testElementTwo").style.color = "blue"; 11 document.getElementById("testElementTwo").style.color = "blue";
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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 next(); 90 next();
91 }); 91 });
92 } 92 }
93 ]); 93 ]);
94 } 94 }
95 </script> 95 </script>
96 </head> 96 </head>
97 <body onload="runTest()"> 97 <body onload="runTest()">
98 <p>Tests the Timeline API instrumentation of style recalc events with invalidati ons.</p> 98 <p>Tests the Timeline API instrumentation of style recalc events with invalidati ons.</p>
99 <div id="testElementOne">PASS</div><div id="testElementTwo">PASS</div><div id="t estElementThree">PASS</div> 99 <div id="testElementOne">PASS</div><div id="testElementTwo">PASS</div><div id="t estElementThree">PASS</div>
100 <iframe src="resources/timeline-iframe-paint.html" style="position: absolute; le ft: 40px; top: 40px; width: 100px; height: 100px; border: none"></iframe> 100 <iframe src="../resources/timeline-iframe-paint.html" style="position: absolute; left: 40px; top: 40px; width: 100px; height: 100px; border: none"></iframe>
101 </body> 101 </body>
102 </html> 102 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698