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

Unified Diff: LayoutTests/http/tests/accessibility/slow-document-load.html

Issue 219993002: Avoid calling markAncestorsWithChildNeedsStyleRecalc() constantly in childrenChanged (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix accessibility test and causing recalcs on removal Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/http/tests/accessibility/slow-document-load.html
diff --git a/LayoutTests/http/tests/accessibility/slow-document-load.html b/LayoutTests/http/tests/accessibility/slow-document-load.html
index 77e2072765fb787b83c32ce9379ad9fb82fa3890..bab9dbed47e8402b58817d4b9c4e85f6b4791134 100644
--- a/LayoutTests/http/tests/accessibility/slow-document-load.html
+++ b/LayoutTests/http/tests/accessibility/slow-document-load.html
@@ -31,6 +31,11 @@ if (window.testRunner && window.accessibilityController) {
}
});
}
+
+setTimeout(function() {
+ // Cause an incremental layout.
+ document.body.offsetTop;
+}, 10);
</script>
<!-- This is a cgi script that waits 1 second before loading. -->

Powered by Google App Engine
This is Rietveld 408576698