about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-06-04 19:41:15 +0200
committerGitHub <noreply@github.com>2023-06-04 19:41:15 +0200
commit97b702fda918a0d1f5314ea50b621097b884fb06 (patch)
tree98d88c7cde51d4b7e4178926fcf71b9fcf8c7768 /tests
parentef2c64ba6c49417907502128e3d4672855ee16a9 (diff)
parentd67e00eb2660614354f8016f6311cdc17ec7ae44 (diff)
downloadrust-97b702fda918a0d1f5314ea50b621097b884fb06.tar.gz
rust-97b702fda918a0d1f5314ea50b621097b884fb06.zip
Rollup merge of #112274 - GuillaumeGomez:migrate-gui-test-color-11, r=notriddle
Migrate GUI colors test to original CSS color format

Follow-up of https://github.com/rust-lang/rust/pull/111459.

The update for `browser-ui-test` version is because for hex color conversions, it used a precision of 1 instead of 2, which was problematic.

r? `@notriddle`
Diffstat (limited to 'tests')
-rw-r--r--tests/rustdoc-gui/sidebar-mobile.goml12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/rustdoc-gui/sidebar-mobile.goml b/tests/rustdoc-gui/sidebar-mobile.goml
index 3b022c7e9d0..4b8337ace3a 100644
--- a/tests/rustdoc-gui/sidebar-mobile.goml
+++ b/tests/rustdoc-gui/sidebar-mobile.goml
@@ -73,16 +73,16 @@ define-function: (
 
 call-function: ("check-colors", {
     "theme": "ayu",
-    "color": "rgb(197, 197, 197)",
-    "background": "rgb(20, 25, 31)",
+    "color": "#c5c5c5",
+    "background": "#14191f",
 })
 call-function: ("check-colors", {
     "theme": "dark",
-    "color": "rgb(221, 221, 221)",
-    "background": "rgb(80, 80, 80)",
+    "color": "#ddd",
+    "background": "#505050",
 })
 call-function: ("check-colors", {
     "theme": "light",
-    "color": "rgb(0, 0, 0)",
-    "background": "rgb(245, 245, 245)",
+    "color": "black",
+    "background": "#F5F5F5",
 })