]> git.proxmox.com Git - rustc.git/blame - src/test/rustdoc-gui/item-info-width.goml
New upstream version 1.58.1+dfsg1
[rustc.git] / src / test / rustdoc-gui / item-info-width.goml
CommitLineData
136023e0
XL
1// This test ensures that the item information don't take 100% of the width if unnecessary.
2goto: file://|DOC_PATH|/lib2/struct.Foo.html
3// We set a fixed size so there is no chance of "random" resize.
4size: (1100, 800)
5// We check that ".item-info" is bigger than its content.
6assert-css: (".item-info", {"width": "807px"})
3c0e092e 7assert-css: (".item-info .stab", {"width": "341px"})