2023-04-10 23:15:51 +00:00
|
|
|
// This test ensures that the mobile disables scrolling the page.
|
2023-04-11 17:11:34 +00:00
|
|
|
go-to: "file://" + |DOC_PATH| + "/test_docs/struct.Foo.html"
|
2023-04-10 23:15:51 +00:00
|
|
|
set-window-size: (1280, 800) // desktop
|
|
|
|
assert-css: (".sidebar", {"overscroll-behavior": "contain"})
|
|
|
|
set-window-size: (700, 600) // mobile
|
|
|
|
assert-css: (".sidebar", {"overscroll-behavior": "contain"})
|
|
|
|
|
|
|
|
go-to: "file://" + |DOC_PATH| + "/src/test_docs/lib.rs.html"
|
|
|
|
set-window-size: (1280, 800) // desktop
|
|
|
|
assert-css: (".sidebar", {"overscroll-behavior": "contain"})
|
|
|
|
set-window-size: (700, 600) // mobile
|
|
|
|
assert-css: (".sidebar", {"overscroll-behavior": "contain"})
|