about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorJacob Hoffman-Andrews <github@hoffman-andrews.com>2022-09-27 10:25:25 -0700
committerJacob Hoffman-Andrews <github@hoffman-andrews.com>2022-09-27 10:52:05 -0700
commitb5b77a295972307c24dc0095ce693102c8e4884c (patch)
tree12d7d4fbb18fb835e46fa66b70997d433f7c57ce /src/test
parent8846c0853d8687fda0e5f23f6687b03b243980ee (diff)
downloadrust-b5b77a295972307c24dc0095ce693102c8e4884c.tar.gz
rust-b5b77a295972307c24dc0095ce693102c8e4884c.zip
Update src/test/rustdoc-gui/sidebar-mobile-scroll.goml
Co-authored-by: Michael Howell <michael@notriddle.com>
Diffstat (limited to 'src/test')
-rw-r--r--src/test/rustdoc-gui/sidebar-mobile-scroll.goml6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/rustdoc-gui/sidebar-mobile-scroll.goml b/src/test/rustdoc-gui/sidebar-mobile-scroll.goml
index 3259c02fa49..9af7c636a0c 100644
--- a/src/test/rustdoc-gui/sidebar-mobile-scroll.goml
+++ b/src/test/rustdoc-gui/sidebar-mobile-scroll.goml
@@ -6,7 +6,7 @@ assert-css: (".sidebar", {"display": "block", "left": "-1000px"})
 
 // Scroll down.
 scroll-to: "//h2[@id='blanket-implementations']"
-assert-window-property: {"pageYOffset": "645"}
+assert-window-property: {"pageYOffset": "639"}
 
 // Open the sidebar menu.
 click: ".sidebar-menu-toggle"
@@ -21,11 +21,11 @@ assert-window-property: {"pageYOffset": "0"}
 // Close the sidebar menu. Make sure the scroll position gets restored.
 click: ".sidebar-menu-toggle"
 wait-for-css: (".sidebar", {"left": "-1000px"})
-assert-window-property: {"pageYOffset": "645"}
+assert-window-property: {"pageYOffset": "639"}
 
 // Now test that scrollability returns when the browser window is just resized.
 click: ".sidebar-menu-toggle"
 wait-for-css: (".sidebar", {"left": "0px"})
 assert-window-property: {"pageYOffset": "0"}
 size: (900, 600)
-assert-window-property: {"pageYOffset": "645"}
+assert-window-property: {"pageYOffset": "639"}