fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
792 B16 linesraw
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
3// is selected.
4go-to: "file://" + |DOC_PATH| + "/test_docs/struct.Foo.html"
5show-text: true
6// Check the impl headers.
7assert-css: (".impl a.src", {"font-size": "16px", "font-weight": 400}, ALL)
8assert-css: (".impl .code-header", {"font-size": "18px", "font-weight": 600}, ALL)
9// Check the impl items.
10assert-css: (".impl-items a.src", {"font-size": "16px", "font-weight": 400}, ALL)
11assert-css: (".impl-items .code-header", {"font-size": "16px", "font-weight": 600}, ALL)
12
13// Check that we can click on source link
14store-document-property: {"URL": url}
15click: ".impl-items a.src"
16assert-document-property-false: {"URL": |url|}