about summary refs log tree commit diff
path: root/src/test/rustdoc-gui
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-12-22 19:36:14 +0100
committerGitHub <noreply@github.com>2022-12-22 19:36:14 +0100
commit9cd140e7a1be7147cb144df0a40c13507ae68d35 (patch)
tree7f2e759378044aad7aed23114a8c412ce48e7880 /src/test/rustdoc-gui
parent4a5cecec56fc634280ca1f91a793a58afe8a2e77 (diff)
parentfaebd7a788fd9f04743805b557a5321ee13bfbb0 (diff)
downloadrust-9cd140e7a1be7147cb144df0a40c13507ae68d35.tar.gz
rust-9cd140e7a1be7147cb144df0a40c13507ae68d35.zip
Rollup merge of #106035 - GuillaumeGomez:migrate-css-var-search-tab-title-color, r=notriddle
Migrate search tab title color to CSS variable

r? ```@notriddle```
Diffstat (limited to 'src/test/rustdoc-gui')
-rw-r--r--src/test/rustdoc-gui/search-result-color.goml15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/test/rustdoc-gui/search-result-color.goml b/src/test/rustdoc-gui/search-result-color.goml
index dde43b1c980..d124045608c 100644
--- a/src/test/rustdoc-gui/search-result-color.goml
+++ b/src/test/rustdoc-gui/search-result-color.goml
@@ -67,6 +67,11 @@ reload:
 // Waiting for the search results to appear...
 wait-for: "#titles"
 assert-css: (
+    "#titles > button > div.count",
+    {"color": "rgb(136, 136, 136)"},
+    ALL,
+)
+assert-css: (
     "//*[@class='desc'][text()='Just a normal struct.']",
     {"color": "rgb(197, 197, 197)"},
 )
@@ -179,6 +184,11 @@ reload:
 // Waiting for the search results to appear...
 wait-for: "#titles"
 assert-css: (
+    "#titles > button > div.count",
+    {"color": "rgb(136, 136, 136)"},
+    ALL,
+)
+assert-css: (
     "//*[@class='desc'][text()='Just a normal struct.']",
     {"color": "rgb(221, 221, 221)"},
 )
@@ -276,6 +286,11 @@ reload:
 // Waiting for the search results to appear...
 wait-for: "#titles"
 assert-css: (
+    "#titles > button > div.count",
+    {"color": "rgb(136, 136, 136)"},
+    ALL,
+)
+assert-css: (
     "//*[@class='desc'][text()='Just a normal struct.']",
     {"color": "rgb(0, 0, 0)"},
 )