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

Unified Diff: PerformanceTests/Layout/line-layout-line-height.html

Issue 675983004: Allow performance tests to test full rendering performance (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: PerfTestRunner.layoutOrFullyRender() Created 6 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: PerformanceTests/Layout/line-layout-line-height.html
diff --git a/PerformanceTests/Layout/line-layout-line-height.html b/PerformanceTests/Layout/line-layout-line-height.html
index 11461cf9a9e787f3cc6b3648b4f19b4302c9694f..8b00ecc10135e640f3b46510fa70bfcf14a46628 100644
--- a/PerformanceTests/Layout/line-layout-line-height.html
+++ b/PerformanceTests/Layout/line-layout-line-height.html
@@ -21,11 +21,11 @@
function test() {
style.display = "block";
style.width = "280px";
- target.offsetLeft;
+ PerfTestRunner.layoutOrFullyRender();
style.width = "300px";
- target.offsetLeft;
+ PerfTestRunner.layoutOrFullyRender();
style.width = "290px";
- target.offsetLeft;
+ PerfTestRunner.layoutOrFullyRender();
style.display = "none";
}

Powered by Google App Engine
This is Rietveld 408576698