1 // All stability badges should have rounded corners and colored backgrounds.
2 goto: "file://" + |DOC_PATH| + "/test_docs/index.html"
6 (theme, background, color),
8 ("local-storage", {"rustdoc-use-system-theme": "false", "rustdoc-theme": |theme|}),
9 ("goto", "file://" + |DOC_PATH| + "/test_docs/index.html"),
10 ("assert", (".docblock .stab")),
11 ("assert", (".item-table .stab")),
12 ("assert-css", (".stab", {
13 "border-radius": "3px",
15 "background-color": |background|,
17 ("goto", "file://" + |DOC_PATH| + "/test_docs/fn.replaced_function.html"),
18 ("assert", (".item-info .stab")),
19 ("assert-css", (".stab", {
20 "border-radius": "3px",
22 "background-color": |background|,
27 call-function: ("check-badge", {
29 "color": "rgb(197, 197, 197)",
30 "background": "rgb(49, 69, 89)",
32 call-function: ("check-badge", {
34 "color": "rgb(221, 221, 221)",
35 "background": "rgb(49, 69, 89)",
37 call-function: ("check-badge", {
39 "color": "rgb(0, 0, 0)",
40 "background": "rgb(255, 245, 214)",