forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add GUI regression test for rust-lang#130622 and for rust-lang#131223
- Loading branch information
1 parent
e5ffccd
commit 33e7fae
Showing
2 changed files
with
35 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// This test ensures that the documentation list markers are correctly placed. | ||
// It also serves as a regression test for <https://github.com/rust-lang/rust/issues/130622>. | ||
|
||
go-to: "file://" + |DOC_PATH| + "/test_docs/long_list/index.html" | ||
show-text: true | ||
|
||
// 0.3em | ||
assert-css: (".docblock li p:not(last-child)", {"margin-bottom": "4.8px"}) | ||
assert-css: (".docblock li p + p:last-child", {"margin-bottom": "0px"}) | ||
// 0.4em | ||
assert-css: (".docblock li", {"margin-bottom": "6.4px"}) |
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