summary refs log tree commit diff
path: root/tests/rustdoc-gui/struct-fields.goml
blob: 302a1a0d80bfa4f290bf8dc8c0b66b350ab21073 (plain)
1
2
3
4
5
6
// This test ensures that each field is on its own line (In other words, they have
// `display: block`).
go-to: "file://" + |DOC_PATH| + "/test_docs/struct.StructWithPublicUndocumentedFields.html"

store-property: ("//*[@id='structfield.first']", {"offsetTop": first_top})
assert-property-false: ("//*[@id='structfield.second']", { "offsetTop": |first_top| })