| 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();
|
|
|