forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rustdoc ui: adjust tooltip z-index to be above sidebar
- Loading branch information
Lukas Markeffsky
committed
Jan 8, 2024
1 parent
650745c
commit 53637cd
Showing
2 changed files
with
13 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// Check that the doctest info tooltips are above the sidebar. | ||
go-to: "file://" + |DOC_PATH| + "/test_docs/fn.foo.html" | ||
move-cursor-to: ".example-wrap.ignore .tooltip" | ||
wait-for: ".tooltip.popover" | ||
|
||
// Move cursor to top left corner of the tooltip and check that it doesn't fade. | ||
move-cursor-to: ".tooltip.popover" | ||
wait-for: 100 | ||
assert: ".tooltip.popover:not(.fade-out)" | ||
|
||
move-cursor-to: (0, 0) | ||
wait-for: ".tooltip.popover.fade-out" |