rustdoc: use src
consistently over source
in code
The CSS uses an inconsistent mix of both. This commit switches it to always use `src`.
This commit is contained in:
parent
ad963232d9
commit
34bc8fbea3
27 changed files with 129 additions and 129 deletions
|
@ -4,13 +4,13 @@
|
|||
go-to: "file://" + |DOC_PATH| + "/test_docs/struct.Foo.html"
|
||||
show-text: true
|
||||
// Check the impl headers.
|
||||
assert-css: (".impl .srclink", {"font-size": "16px", "font-weight": 400}, ALL)
|
||||
assert-css: (".impl a.src", {"font-size": "16px", "font-weight": 400}, ALL)
|
||||
assert-css: (".impl .code-header", {"font-size": "18px", "font-weight": 600}, ALL)
|
||||
// Check the impl items.
|
||||
assert-css: (".impl-items .srclink", {"font-size": "16px", "font-weight": 400}, ALL)
|
||||
assert-css: (".impl-items a.src", {"font-size": "16px", "font-weight": 400}, ALL)
|
||||
assert-css: (".impl-items .code-header", {"font-size": "16px", "font-weight": 600}, ALL)
|
||||
|
||||
// Check that we can click on source link
|
||||
store-document-property: {"URL": url}
|
||||
click: ".impl-items .srclink"
|
||||
click: ".impl-items a.src"
|
||||
assert-document-property-false: {"URL": |url|}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue