rustdoc: remove small from small-section-header
There's no such thing as a big section header, so I don't know why the name was used.
This commit is contained in:
parent
b10cfcd65f
commit
c910a49b05
19 changed files with 63 additions and 63 deletions
|
@ -2,7 +2,7 @@
|
|||
go-to: "file://" + |DOC_PATH| + "/lib2/struct.Foo.html"
|
||||
assert-css: ("//*[@class='rust item-decl']//a[text()='Alias']", {"font-weight": "400"})
|
||||
assert-css: (
|
||||
"//*[@class='structfield small-section-header']//a[text()='Alias']",
|
||||
"//*[@class='structfield section-header']//a[text()='Alias']",
|
||||
{"font-weight": "400"},
|
||||
)
|
||||
assert-css: ("#method\.a_method > .code-header", {"font-weight": "600"})
|
||||
|
|
|
@ -31,7 +31,7 @@ define-function: (
|
|||
ALL,
|
||||
)
|
||||
go-to: "file://" + |DOC_PATH| + "/test_docs/index.html"
|
||||
assert-css: (".small-section-header a", {"color": |color|}, ALL)
|
||||
assert-css: (".section-header a", {"color": |color|}, ALL)
|
||||
go-to: "file://" + |DOC_PATH| + "/test_docs/struct.HeavilyDocumentedStruct.html"
|
||||
// We select headings (h2, h3, h...).
|
||||
assert-css: (".docblock > :not(p) > a", {"color": |headings_color|}, ALL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue