-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rollup merge of #119477 - lukas-code:tooltip-z-index, r=notriddle
rustdoc ui: adjust tooltip z-index to be above sidebar In #115660 the sidebar's z-index was changed to 100. This PR changes the tooltip's z-index to 101 to be above the sidebar again. Fixes [after beta-backport] #119472.
- Loading branch information
Showing
2 changed files
with
17 additions
and
5 deletions.
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" |