about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-11-25 18:35:42 +0100
committerGitHub <noreply@github.com>2022-11-25 18:35:42 +0100
commit12e1b84e95c05885d9f4714fe6dc2fceab0d2fe2 (patch)
treed567ff7a5522e68258c1737ac392ff09ff9535c9 /src/test
parentc72db77ecb342d95b20936a3fe6d74a5f139837a (diff)
parent75e4de61d4fe9897046f610b7499e8f6244bf609 (diff)
Rollup merge of #104896 - notriddle:notriddle/tooltip, r=GuillaumeGomez
rustdoc: fix broken tooltip CSS

text `#ffffff` on background `#fdffd3` fails the [WCAG color contrast checker], and seems like a mistake in https://github.com/rust-lang/rust/commit/16b55903ee16503e7026677c169727d1907704c2.

Making the cursor a pointer is misleading, since clicking it doesn't do anything.

[WCAG color contrast checker]: https://accessibleweb.com/color-contrast-checker/
Diffstat (limited to 'src/test')
-rw-r--r--src/test/rustdoc-gui/codeblock-tooltip.goml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/rustdoc-gui/codeblock-tooltip.goml b/src/test/rustdoc-gui/codeblock-tooltip.goml
index caa1ab8f31e..4d923be3e78 100644
--- a/src/test/rustdoc-gui/codeblock-tooltip.goml
+++ b/src/test/rustdoc-gui/codeblock-tooltip.goml
@@ -146,7 +146,7 @@ call-function: ("check-colors", {
 })
 call-function: ("check-colors", {
     "theme": "light",
-    "background": "rgb(253, 255, 211)",
+    "background": "rgb(0, 0, 0)",
     "color": "rgb(255, 255, 255)",
     "border": "rgb(224, 224, 224)",
 })