From 218caa410aa38c29984be31a5229b9fa717560ee Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:19:13 +0200 Subject: Merging upstream version 1.68.2+dfsg1. Signed-off-by: Daniel Baumann --- src/test/rustdoc-gui/jump-to-def-background.goml | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 src/test/rustdoc-gui/jump-to-def-background.goml (limited to 'src/test/rustdoc-gui/jump-to-def-background.goml') diff --git a/src/test/rustdoc-gui/jump-to-def-background.goml b/src/test/rustdoc-gui/jump-to-def-background.goml deleted file mode 100644 index b65faf13d..000000000 --- a/src/test/rustdoc-gui/jump-to-def-background.goml +++ /dev/null @@ -1,22 +0,0 @@ -// We check the background color on the jump to definition links in the source code page. -goto: "file://" + |DOC_PATH| + "/src/link_to_definition/lib.rs.html" - -define-function: ( - "check-background-color", - (theme, background_color), - [ - // Set the theme. - ("local-storage", { "rustdoc-theme": |theme|, "rustdoc-use-system-theme": "false" }), - // We reload the page so the local storage settings are being used. - ("reload"), - ("assert-css", ( - "body.source .example-wrap pre.rust a", - {"background-color": |background_color|}, - ALL, - )), - ], -) - -call-function: ("check-background-color", ("ayu", "rgb(51, 51, 51)")) -call-function: ("check-background-color", ("dark", "rgb(51, 51, 51)")) -call-function: ("check-background-color", ("light", "rgb(238, 238, 238)")) -- cgit v1.2.3