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

Unified Diff: LayoutTests/fast/layout/common-ancestor-relayout-boundary.html

Issue 927773002: Keep track of multiple layout roots (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add bug link Created 5 years, 10 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/fast/layout/common-ancestor-relayout-boundary.html
diff --git a/LayoutTests/fast/layout/common-ancestor-relayout-boundary.html b/LayoutTests/fast/layout/common-ancestor-relayout-boundary.html
index 0c00ebd6677eababc8797c4401098bd495545cbc..3694ff48531b46873e4b18014ee120c370597b19 100644
--- a/LayoutTests/fast/layout/common-ancestor-relayout-boundary.html
+++ b/LayoutTests/fast/layout/common-ancestor-relayout-boundary.html
@@ -31,10 +31,14 @@ if (window.internals)
dirtyLayout();
-// FIXME: In theory we can restrict the layoutRoot in FrameView to the common
-// ancestor container and this should only be 5 instead of 8.
+// The tree appears as following, with the starred nodes dirty:
+// div [relayout-common-ancestor]
+// / \
+// *div *div
+// / /
+// *div *div
if (window.internals)
- shouldBe("window.internals.needsLayoutCount()", "8");
+ shouldBe("window.internals.needsLayoutCount()", "4");
document.documentElement.offsetTop;
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/layout/common-ancestor-relayout-boundary-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698