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

Unified Diff: LayoutTests/scrollingcoordinator/non-fast-scrollable-visibility-change-expected.txt

Issue 850113003: iframe updates its parent scrollable area set when its visibility change (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: minor spelling corrections Created 5 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/scrollingcoordinator/non-fast-scrollable-visibility-change-expected.txt
diff --git a/LayoutTests/scrollingcoordinator/non-fast-scrollable-visibility-change-expected.txt b/LayoutTests/scrollingcoordinator/non-fast-scrollable-visibility-change-expected.txt
index f3c809a9007f204f7d94e4eff94ffe3fe32489b0..b2680ed8d4279e795ac08308554d07c06a5326f3 100644
--- a/LayoutTests/scrollingcoordinator/non-fast-scrollable-visibility-change-expected.txt
+++ b/LayoutTests/scrollingcoordinator/non-fast-scrollable-visibility-change-expected.txt
@@ -1,18 +1,34 @@
-This should be covered by the ONLY visible green overlay.
-This test ensures that changing visibility of a non-fast scrollable area correctly updates list of non-fast scrollable areas. (See http://crbug.com/434982)
+This should be covered by a green overlay.
+
+Two squares should be visible and fully covered by green overlays.
+
+This test ensures that changing visibility of a non-fast scrollable area correctly updates list of non-fast scrollable areas (See http://crbug.com/434982). Two types of non-fast scrollable regions are covered: div, and iframe.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+running tests for non-fast scrollable div
+PASS document.getElementById("div").style.display is "block"
+PASS nonFastScrollableRects.length is 1
+PASS rectToString(nonFastScrollableRects[0]) is "[0, 350, 200, 200]"
+PASS window.internals.needsLayoutCount() is 0
+PASS nonFastScrollableRects.length is 2
+PASS rectToString(nonFastScrollableRects[0]) is "[0, 50, 200, 200]"
+PASS rectToString(nonFastScrollableRects[1]) is "[0, 350, 200, 200]"
+PASS window.internals.needsLayoutCount() is 0
+PASS nonFastScrollableRects.length is 1
+PASS rectToString(nonFastScrollableRects[0]) is "[0, 50, 200, 200]"
+running tests for non-fast scrollable iframe
+PASS document.getElementById("iframe").style.display is "block"
PASS nonFastScrollableRects.length is 1
-PASS rectToString(nonFastScrollableRects[0]) is "[0, 300, 250, 250]"
+PASS rectToString(nonFastScrollableRects[0]) is "[0, 350, 222, 222]"
PASS window.internals.needsLayoutCount() is 0
PASS nonFastScrollableRects.length is 2
-PASS rectToString(nonFastScrollableRects[0]) is "[0, 0, 250, 250]"
-PASS rectToString(nonFastScrollableRects[1]) is "[0, 300, 250, 250]"
+PASS rectToString(nonFastScrollableRects[0]) is "[0, 50, 222, 222]"
+PASS rectToString(nonFastScrollableRects[1]) is "[0, 350, 222, 222]"
PASS window.internals.needsLayoutCount() is 0
PASS nonFastScrollableRects.length is 1
-PASS rectToString(nonFastScrollableRects[0]) is "[0, 0, 250, 250]"
+PASS rectToString(nonFastScrollableRects[0]) is "[0, 50, 222, 222]"
PASS successfullyParsed is true
TEST COMPLETE
« no previous file with comments | « LayoutTests/scrollingcoordinator/non-fast-scrollable-visibility-change.html ('k') | Source/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698