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.
Rollup merge of rust-lang#128014 - GuillaumeGomez:stab-in-doc-blocks, r=notriddle Fix stab display in doc blocks Went across this bug randomly:  With the fixed CSS:  r? ```@notriddle```
- Loading branch information
Showing
4 changed files
with
19 additions
and
6 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
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,9 @@ | ||
// This test ensure that `stab` elements if used in doc blocks are not breaking the text layout. | ||
go-to: "file://" + |DOC_PATH| + "/test_docs/index.html" | ||
// We make the window wide enough for the two stabs who are looking into to be on the same line. | ||
set-window-size: (1100, 600) | ||
compare-elements-position: ( | ||
".top-doc .docblock span[data-span='1']", | ||
".top-doc .docblock span[data-span='2']", | ||
["y"], | ||
) |