1 // huge_logo crate has a custom 712x860 logo
2 // test to ensure the maximum size in the layout works correctly
3 goto: "file://" + |DOC_PATH| + "/huge_logo/index.html"
6 // offsetWidth = width of sidebar
7 assert-property: (".sidebar .logo-container", {"offsetWidth": "200", "offsetHeight": 100})
8 assert-property: (".sidebar .logo-container img", {"offsetWidth": "100", "offsetHeight": 100})
11 // offset = size + margin
12 assert-property: (".mobile-topbar .logo-container", {"offsetWidth": "55", "offsetHeight": 45})
13 assert-property: (".mobile-topbar .logo-container img", {"offsetWidth": "35", "offsetHeight": 35})
15 goto: "file://" + |DOC_PATH| + "/src/huge_logo/lib.rs.html"
18 assert-property: (".sub-logo-container", {"offsetWidth": "60", "offsetHeight": 60})
21 assert-property: (".sub-logo-container", {"offsetWidth": "35", "offsetHeight": 35})