summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-gui/anchors.goml
diff options
context:
space:
mode:
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|},
)