2021-12-29 14:56:07 +01:00
|
|
|
// This test ensures that the "[src]" have the same font size as their headers
|
|
|
|
// to avoid having some weird height difference in the background when the element
|
|
|
|
// is selected.
|
|
|
|
goto: file://|DOC_PATH|/test_docs/struct.Foo.html
|
|
|
|
show-text: true
|
|
|
|
// Check the impl headers.
|
2022-02-05 05:05:05 -08:00
|
|
|
assert-css: (".impl.has-srclink .srclink", {"font-size": "16px"}, ALL)
|
2022-09-25 13:09:22 -07:00
|
|
|
assert-css: (".impl.has-srclink .code-header", {"font-size": "18px"}, ALL)
|
2021-12-29 14:56:07 +01:00
|
|
|
// Check the impl items.
|
|
|
|
assert-css: (".impl-items .has-srclink .srclink", {"font-size": "16px"}, ALL)
|
|
|
|
assert-css: (".impl-items .has-srclink .code-header", {"font-size": "16px"}, ALL)
|