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

Side by Side Diff: third_party/WebKit/PerformanceTests/Layout/vertical-japanese-kokoro-insert.html

Issue 1557953002: Revert unfinished work of "full-frame-measurement" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@PerfPaint
Patch Set: Created 4 years, 11 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 <html> 1 <html>
2 <head> 2 <head>
3 <meta charset="utf-8" /> 3 <meta charset="utf-8" />
4 <style> 4 <style>
5 html { 5 html {
6 /* Make sure 'vert' is used on Windows (crbug.com/436888) and on 6 /* Make sure 'vert' is used on Windows (crbug.com/436888) and on
7 /* Mac (avoid system fallback) */ 7 /* Mac (avoid system fallback) */
8 font-family: 'MS Gothic', 'Hiragino Kaku Gothic ProN'; 8 font-family: 'MS Gothic', 'Hiragino Kaku Gothic ProN';
9 -webkit-writing-mode: vertical-rl; 9 -webkit-writing-mode: vertical-rl;
10 writing-mode: tb-rl; /* For IE */ 10 writing-mode: tb-rl; /* For IE */
(...skipping 1594 matching lines...) Expand 10 before | Expand all | Expand 10 after
1605 });}, 0); 1605 });}, 0);
1606 } 1606 }
1607 1607
1608 function setupTest() { 1608 function setupTest() {
1609 docFragment = document.createDocumentFragment(); 1609 docFragment = document.createDocumentFragment();
1610 docFragment.appendChild(document.querySelector("#main_text _wrapper").firstChild); 1610 docFragment.appendChild(document.querySelector("#main_text _wrapper").firstChild);
1611 insertInto = document.querySelector("#paste_into"); 1611 insertInto = document.querySelector("#paste_into");
1612 }; 1612 };
1613 1613
1614 function runTest() { 1614 function runTest() {
1615 PerfTestRunner.forceLayoutOrFullFrame(); 1615 PerfTestRunner.forceLayout();
1616 var now = PerfTestRunner.now(); 1616 var now = PerfTestRunner.now();
1617 insertInto.appendChild(docFragment.cloneNode(true)); 1617 insertInto.appendChild(docFragment.cloneNode(true));
1618 PerfTestRunner.forceLayoutOrFullFrame(); 1618 PerfTestRunner.forceLayout();
1619 var resultTime = PerfTestRunner.now() - now; 1619 var resultTime = PerfTestRunner.now() - now;
1620 insertInto.innerHTML = ''; 1620 insertInto.innerHTML = '';
1621 return resultTime; 1621 return resultTime;
1622 } 1622 }
1623 1623
1624 </script> 1624 </script>
1625 </body> 1625 </body>
1626 </html> 1626 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698