1 // This test ensures that the "[src]" have the same font size as their headers
2 // to avoid having some weird height difference in the background when the element
4 goto: file://|DOC_PATH|/test_docs/struct.Foo.html
6 // Check the impl headers.
7 assert-css: (".impl.has-srclink .srclink", {"font-size": "17px"}, ALL)
8 // The ".6" part is because the font-size is actually "1.1em".
9 assert-css: (".impl.has-srclink .code-header.in-band", {"font-size": "17.6px"}, ALL)
10 // Check the impl items.
11 assert-css: (".impl-items .has-srclink .srclink", {"font-size": "16px"}, ALL)
12 assert-css: (".impl-items .has-srclink .code-header", {"font-size": "16px"}, ALL)