Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rollup of 9 pull requests #102377

Merged
merged 21 commits into from
Sep 28, 2022
Merged
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
5510a69
Stabilize `#![feature(mixed_integer_ops)]`
jhpratt Sep 8, 2022
c19daa4
make invalid_value lint a bit smarter around enums
RalfJung Sep 25, 2022
3fac709
rustdoc: remove no-op CSS `.srclink { font-weight; font-size }`
notriddle Sep 26, 2022
35adb36
Avoid LLVM-deprecated `Optional::hasValue`
cuviper Sep 26, 2022
594134d
Structured suggestion for missing mut/const in pointer
compiler-errors Sep 25, 2022
2286888
session: remove now-unnecessary lint `#[allow]`s
davidtwco Sep 27, 2022
67fd09d
also query type_uninhabited_from
RalfJung Sep 27, 2022
8846c08
rustdoc: use CSS containment to speed up render
jsha Sep 27, 2022
b5b77a2
Update src/test/rustdoc-gui/sidebar-mobile-scroll.goml
jsha Sep 27, 2022
3bbb328
rustdoc: remove redundant `#help-button` CSS
notriddle Sep 27, 2022
ef410f1
Fix regression for results colors
GuillaumeGomez Sep 27, 2022
a925e20
Add GUI regression test for search results colors
GuillaumeGomez Sep 27, 2022
ad57d5f
Rollup merge of #101555 - jhpratt:stabilize-mixed_integer_ops, r=josh…
matthiaskrgr Sep 27, 2022
4cef648
Rollup merge of #102253 - jsha:css-contain, r=notriddle
matthiaskrgr Sep 27, 2022
8d2faa2
Rollup merge of #102281 - RalfJung:invalid-enums, r=cjgillot
matthiaskrgr Sep 27, 2022
8b635cb
Rollup merge of #102284 - compiler-errors:missing-type-in-raw-ptr, r=…
matthiaskrgr Sep 27, 2022
b32ce95
Rollup merge of #102330 - notriddle:notriddle/srclink, r=GuillaumeGomez
matthiaskrgr Sep 27, 2022
e1fb698
Rollup merge of #102337 - cuviper:llvm-optional-bool, r=nikic
matthiaskrgr Sep 27, 2022
3ca0cd0
Rollup merge of #102356 - davidtwco:translation-bootstrap-bump-allow-…
matthiaskrgr Sep 27, 2022
5971b1a
Rollup merge of #102367 - notriddle:notriddle/help-text-align, r=Guil…
matthiaskrgr Sep 27, 2022
f28ac30
Rollup merge of #102369 - GuillaumeGomez:results-colors, r=notriddle
matthiaskrgr Sep 27, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update src/test/rustdoc-gui/sidebar-mobile-scroll.goml
Co-authored-by: Michael Howell <[email protected]>
  • Loading branch information
jsha and notriddle committed Sep 27, 2022
commit b5b77a295972307c24dc0095ce693102c8e4884c
6 changes: 3 additions & 3 deletions src/test/rustdoc-gui/sidebar-mobile-scroll.goml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"}