diff options
| author | Alexis (Poliorcetics) Bourget <ab_github@poliorcetiq.eu> | 2023-06-20 08:28:56 +0200 |
|---|---|---|
| committer | Alexis (Poliorcetics) Bourget <ab_github@poliorcetiq.eu> | 2023-06-20 08:28:56 +0200 |
| commit | c3cdf8542d8af35d45dedfa2d9eaccd968e69db7 (patch) | |
| tree | 76e10b01f91c259097268a4de4d10d6de8335503 /tests/rustdoc-gui | |
| parent | 1a94b060894017055a3986fdb5603ffbbe8b9c89 (diff) | |
| download | rust-c3cdf8542d8af35d45dedfa2d9eaccd968e69db7.tar.gz rust-c3cdf8542d8af35d45dedfa2d9eaccd968e69db7.zip | |
tests: add test for color of item kind
Diffstat (limited to 'tests/rustdoc-gui')
| -rw-r--r-- | tests/rustdoc-gui/search-result-color.goml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/rustdoc-gui/search-result-color.goml b/tests/rustdoc-gui/search-result-color.goml index c75e4141434..193a3eb3fd1 100644 --- a/tests/rustdoc-gui/search-result-color.goml +++ b/tests/rustdoc-gui/search-result-color.goml @@ -28,6 +28,12 @@ define-function: ( ".result-" + |result_kind| + ":focus ." + |result_kind|, {"color": |hover_color|}, ) + // color of the typename (struct, module, method, ...) before search results + assert-css: ( + ".result-name .typename", + {"color": "#888"}, + ALL, + ) }, ) |
