diff options
| author | Jacob Hoffman-Andrews <github@hoffman-andrews.com> | 2022-01-07 12:39:56 -0500 |
|---|---|---|
| committer | Jacob Hoffman-Andrews <github@hoffman-andrews.com> | 2022-02-01 13:13:29 -0800 |
| commit | 73d0f7c7b68784f1db0a1f53855c20d118a7e8b0 (patch) | |
| tree | d0826ce0a27ab5b33014d3de24a7916ccecfa035 /src/test/rustdoc-gui | |
| parent | a6cd4aa9a784e3d2e54bca2a1b41082fda67310d (diff) | |
| download | rust-73d0f7c7b68784f1db0a1f53855c20d118a7e8b0.tar.gz rust-73d0f7c7b68784f1db0a1f53855c20d118a7e8b0.zip | |
Remove "up here" arrow on item-infos
Use spacing to distinguish what is related to a given heading.
Diffstat (limited to 'src/test/rustdoc-gui')
| -rw-r--r-- | src/test/rustdoc-gui/hash-item-expansion.goml | 4 | ||||
| -rw-r--r-- | src/test/rustdoc-gui/item-info-width.goml | 3 |
2 files changed, 2 insertions, 5 deletions
diff --git a/src/test/rustdoc-gui/hash-item-expansion.goml b/src/test/rustdoc-gui/hash-item-expansion.goml index 42bc1c10020..2885978ce1f 100644 --- a/src/test/rustdoc-gui/hash-item-expansion.goml +++ b/src/test/rustdoc-gui/hash-item-expansion.goml @@ -4,10 +4,6 @@ goto: file://|DOC_PATH|/test_docs/struct.Foo.html#method.borrow assert-attribute: ("#blanket-implementations-list > details:nth-child(2)", {"open": ""}) // We first check that the impl block is open by default. assert-attribute: ("#implementations + details", {"open": ""}) -// We collapse it. -click: "#implementations + details > summary" -// We check that it was collapsed as expected. -assert-attribute-false: ("#implementations + details", {"open": ""}) // To ensure that we will click on the currently hidden method. assert-text: (".sidebar-links > a", "must_use") click: ".sidebar-links > a" diff --git a/src/test/rustdoc-gui/item-info-width.goml b/src/test/rustdoc-gui/item-info-width.goml index acb30141ce5..1c4cf4ddf87 100644 --- a/src/test/rustdoc-gui/item-info-width.goml +++ b/src/test/rustdoc-gui/item-info-width.goml @@ -3,5 +3,6 @@ goto: file://|DOC_PATH|/lib2/struct.Foo.html // We set a fixed size so there is no chance of "random" resize. size: (1100, 800) // We check that ".item-info" is bigger than its content. -assert-css: (".item-info", {"width": "757px"}) +assert-css: (".item-info", {"width": "790px"}) assert-css: (".item-info .stab", {"width": "341px"}) +assert-position: (".item-info .stab", {"x": 295}) |
