summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-gui/anchors.goml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 03:59:35 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 03:59:35 +0000
commitd1b2d29528b7794b41e66fc2136e395a02f8529b (patch)
treea4a17504b260206dec3cf55b2dca82929a348ac2 /tests/rustdoc-gui/anchors.goml
parentReleasing progress-linux version 1.72.1+dfsg1-1~progress7.99u1. (diff)
downloadrustc-d1b2d29528b7794b41e66fc2136e395a02f8529b.tar.xz
rustc-d1b2d29528b7794b41e66fc2136e395a02f8529b.zip
Merging upstream version 1.73.0+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/rustdoc-gui/anchors.goml')
-rw-r--r--tests/rustdoc-gui/anchors.goml22
1 files changed, 11 insertions, 11 deletions
diff --git a/tests/rustdoc-gui/anchors.goml b/tests/rustdoc-gui/anchors.goml
index e9b772969..30b83f0da 100644
--- a/tests/rustdoc-gui/anchors.goml
+++ b/tests/rustdoc-gui/anchors.goml
@@ -17,34 +17,34 @@ define-function: (
assert-css: (".main-heading h1 a:nth-of-type(1)", {"color": |main_heading_color|})
assert-css: (".main-heading a:nth-of-type(2)", {"color": |main_heading_type_color|})
assert-css: (
- ".rightside .srclink",
+ ".rightside a.src",
{"color": |src_link_color|, "text-decoration": "none solid " + |src_link_color|},
ALL,
)
compare-elements-css: (
- ".rightside .srclink",
- ".rightside.srclink",
+ ".rightside a.src",
+ "a.rightside.src",
["color", "text-decoration"],
)
compare-elements-css: (
- ".main-heading .srclink",
- ".rightside.srclink",
+ ".main-heading a.src",
+ "a.rightside.src",
["color", "text-decoration"],
)
- move-cursor-to: ".main-heading .srclink"
+ move-cursor-to: ".main-heading a.src"
assert-css: (
- ".main-heading .srclink",
+ ".main-heading a.src",
{"color": |src_link_color|, "text-decoration": "underline solid " + |src_link_color|},
)
- move-cursor-to: ".impl-items .rightside .srclink"
+ move-cursor-to: ".impl-items .rightside a.src"
assert-css: (
- ".impl-items .rightside .srclink",
+ ".impl-items .rightside a.src",
{"color": |src_link_color|, "text-decoration": "none solid " + |src_link_color|},
)
- move-cursor-to: ".impl-items .rightside.srclink"
+ move-cursor-to: ".impl-items a.rightside.src"
assert-css: (
- ".impl-items .rightside.srclink",
+ ".impl-items a.rightside.src",
{"color": |src_link_color|, "text-decoration": "none solid " + |src_link_color|},
)