]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc-gui/item-info-width.goml
Auto merge of #91812 - camelid:assoc-const-lazy, r=GuillaumeGomez
[rust.git] / src / test / rustdoc-gui / item-info-width.goml
1 // This test ensures that the item information don't take 100% of the width if unnecessary.
2 goto: file://|DOC_PATH|/lib2/struct.Foo.html
3 // We set a fixed size so there is no chance of "random" resize.
4 size: (1100, 800)
5 // We check that ".item-info" is bigger than its content.
6 assert-css: (".item-info", {"width": "807px"})
7 assert-css: (".item-info .stab", {"width": "341px"})