about summary refs log tree commit diff
path: root/src/test/rustdoc-gui/codeblock-tooltip.goml
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2022-11-25 09:17:58 -0700
committerMichael Howell <michael@notriddle.com>2022-11-25 09:28:25 -0700
commit75e4de61d4fe9897046f610b7499e8f6244bf609 (patch)
tree44e915ecf15a36286e911b7bb381bf355dc67197 /src/test/rustdoc-gui/codeblock-tooltip.goml
parentf8b2e13d16e1c327f5f61b79d470afbecac9852a (diff)
downloadrust-75e4de61d4fe9897046f610b7499e8f6244bf609.tar.gz
rust-75e4de61d4fe9897046f610b7499e8f6244bf609.zip
rustdoc: revert tooltip background color on light theme to readable
text #fff on background #fdffd3 fails the [WCAG color contrast checker], and
seems like a mistake in 16b55903ee16503e7026677c169727d1907704c2.

[WCAG color contrast checker]: https://accessibleweb.com/color-contrast-checker/
Diffstat (limited to 'src/test/rustdoc-gui/codeblock-tooltip.goml')
-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)",
 })