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

Unified Diff: LayoutTests/accessibility/scroll-to-make-visible-nested-2-expected.txt

Issue 661183002: Fix case where accessible scrollToMakeVisible didn't work. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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/accessibility/scroll-to-make-visible-nested-2-expected.txt
diff --git a/LayoutTests/accessibility/scroll-to-make-visible-nested-expected.txt b/LayoutTests/accessibility/scroll-to-make-visible-nested-2-expected.txt
similarity index 63%
copy from LayoutTests/accessibility/scroll-to-make-visible-nested-expected.txt
copy to LayoutTests/accessibility/scroll-to-make-visible-nested-2-expected.txt
index d3df09f61e8f0be72e9846bc22e8feb423c44785..5e7b022a171348ea781a732c158cb24c92f81eea 100644
--- a/LayoutTests/accessibility/scroll-to-make-visible-nested-expected.txt
+++ b/LayoutTests/accessibility/scroll-to-make-visible-nested-2-expected.txt
@@ -1,16 +1,14 @@
-Tests that scrolling to make an element visible successfully scrolls multiple nested scrolling views'.
+Tests that scrolling to make an element visible successfully scrolls multiple nested scrolling views. In this example, it's not actually useful to scroll the inner container.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
5000-pixel box
-5000-pixel box
-5000-pixel box
Target
+5000-pixel box
PASS window.pageYOffset is 0
-PASS outerContainer.scrollTop is 0
-PASS innerContainer.scrollTop is 0
-PASS target.getBoundingClientRect().top is >= 15000
+PASS container.scrollTop is 0
+PASS target.getBoundingClientRect().top is >= 5000
PASS window.innerHeight is >= target.getBoundingClientRect().bottom
PASS successfullyParsed is true

Powered by Google App Engine
This is Rietveld 408576698