]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc-gui/struct-fields.goml
Rollup merge of #105972 - notriddle:notriddle/anchor, r=GuillaumeGomez
[rust.git] / src / test / rustdoc-gui / struct-fields.goml
1 // This test ensures that each field is on its own line (In other words, they have display: block).
2 goto: "file://" + |DOC_PATH| + "/test_docs/struct.StructWithPublicUndocumentedFields.html"
3
4 store-property: (first_top, "//*[@id='structfield.first']", "offsetTop")
5 assert-property-false: ("//*[@id='structfield.second']", { "offsetTop": |first_top| })