]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc-gui/item-info-alignment.goml
Rollup merge of #107740 - oli-obk:lock_tcx, r=petrochenkov
[rust.git] / tests / rustdoc-gui / item-info-alignment.goml
1 // This test ensures that the "item-info" looks about the same
2 // whether or not it's inside a toggle.
3 goto: "file://" + |DOC_PATH| + "/lib2/struct.ItemInfoAlignmentTest.html"
4
5 // First, we try it in "desktop" mode.
6 size: (1200, 870)
7 compare-elements-position: (".impl-items > .item-info", "summary > .item-info", ("x"))
8 // Next, we try it in "mobile" mode (max-width: 700px).
9 size: (650, 650)
10 compare-elements-position: (".impl-items > .item-info", "summary > .item-info", ("x"))