summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc-gui/anchor-navigable.goml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:19:13 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:19:13 +0000
commit218caa410aa38c29984be31a5229b9fa717560ee (patch)
treec54bd55eeb6e4c508940a30e94c0032fbd45d677 /src/test/rustdoc-gui/anchor-navigable.goml
parentReleasing progress-linux version 1.67.1+dfsg1-1~progress7.99u1. (diff)
downloadrustc-218caa410aa38c29984be31a5229b9fa717560ee.tar.xz
rustc-218caa410aa38c29984be31a5229b9fa717560ee.zip
Merging upstream version 1.68.2+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/test/rustdoc-gui/anchor-navigable.goml')
-rw-r--r--src/test/rustdoc-gui/anchor-navigable.goml11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/test/rustdoc-gui/anchor-navigable.goml b/src/test/rustdoc-gui/anchor-navigable.goml
deleted file mode 100644
index 9d5c55a1e..000000000
--- a/src/test/rustdoc-gui/anchor-navigable.goml
+++ /dev/null
@@ -1,11 +0,0 @@
-// The `impl Foo` heading underneath `Implementations` has a ยง
-// anchor to its left (used for linking to that heading). The anchor only shows
-// up when hovering the `impl Foo`. This test ensures there's no gap between the
-// anchor and the `impl Foo`. If there were a gap, this would cause an annoying
-// problem: you hover `impl Foo` to see the anchor, then when you move your
-// mouse to the left, the anchor disappears before you reach it.
-goto: "file://" + |DOC_PATH| + "/test_docs/struct.Foo.html"
-// We check that ".item-info" is bigger than its content.
-move-cursor-to: ".impl"
-assert-property: (".impl > a.anchor", {"offsetWidth": "8"})
-assert-css: (".impl > a.anchor", {"left": "-8px"})