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

Unified Diff: LayoutTests/fast/forms/select/listbox-scroll-to-selection.html

Issue 1133693002: Update most LayoutTests to be agnostic to scrollTopLeftInterop mode (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: tdresser cr feedback Created 5 years, 7 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/forms/select/listbox-scroll-to-selection.html
diff --git a/LayoutTests/fast/forms/select/listbox-scroll-to-selection.html b/LayoutTests/fast/forms/select/listbox-scroll-to-selection.html
index bd76502be31a094af01ea7dea463a0364fb75336..82529e43e64c1b49a927d832e8f171fb3258a199 100644
--- a/LayoutTests/fast/forms/select/listbox-scroll-to-selection.html
+++ b/LayoutTests/fast/forms/select/listbox-scroll-to-selection.html
@@ -19,7 +19,7 @@
description('List boxes should be scrolled to show the selection when they are added but shouldn\'t scroll parent elements.');
jsTestIsAsync = true;
window.onload = function() {
- shouldBe('document.body.scrollTop', '0');
+ shouldBe('document.scrollingElement.scrollTop', '0');
shouldBeGreaterThan('document.getElementById("test1").scrollTop', '0');
finishJSTest();
« no previous file with comments | « LayoutTests/fast/forms/resources/common.js ('k') | LayoutTests/fast/forms/select/listbox-scroll-to-selection-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698