Uh oh!
There was an error while loading. Please reload this page.
rustdoc: make source sidebar toggle a real button - #98774
Conversation
rustbot
commented
Jul 1, 2022
Some changes occurred in HTML/CSS/JS. cc @GuillaumeGomez, @Folyd, @jsha Some changes occurred in HTML/CSS themes. A change occurred in the Ayu theme. cc @Cldfire |
rust-highfive
commented
Jul 1, 2022
(rust-highfive has picked a reviewer for you, use r? to override) |
notriddle
commented
Jul 1, 2022
Uh oh!
There was an error while loading. Please reload this page.
GuillaumeGomez
commented
Jul 1, 2022
Since you added the possibility to focus on the button, can you add a GUI test for it please? |
7afc6db to
0d8974bComparenotriddle
commented
Jul 1, 2022
Okay, test case added. |
bors
commented
Jul 2, 2022
☔ The latest upstream changes (presumably #98781) made this pull request unmergeable. Please resolve the merge conflicts. |
GuillaumeGomez
commented
Jul 2, 2022
Looks good to me, thanks! Please fix the merge conflict then I'll make a final review before approving it. |
This fixes tab focus, so that you can open and close the sidebar from keyboard.
cbdf33a to
26dccbfComparenotriddle
commented
Jul 2, 2022
@GuillaumeGomez Okay, I've rebased it. |
| } | ||
| #sidebar-toggle:hover { | ||
| #sidebar-toggle > button:hover:hover, #sidebar-toggle > button:focus { |
There was a problem hiding this comment.
🤦
Pushed commit to fix that.
GuillaumeGomez
commented
Jul 3, 2022
Thanks! @bors r+ rollup |
bors
commented
Jul 3, 2022
📌 Commit 9938d56 has been approved by |
…askrgr Rollup of 5 pull requests Successful merges: - rust-lang#98501 (rustc_passes/src/entry.rs: De-duplicate more code with `fn throw_attr_err()`) - rust-lang#98774 (rustdoc: make source sidebar toggle a real button) - rust-lang#98806 (Fix long declaration trailing whitespace) - rust-lang#98823 (Fix rust-call ICE in mir-inliner) - rust-lang#98870 (Add regression test for rust-lang#86784) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
This fixes tab focus, so that you can open and close the sidebar from keyboard.
This should cause no visible change in appearance at all. The only way you'd know anything different is if you tried to use keyboard controls to open the source code file navigation sidebar.
Separated out from #98772