summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc-gui/struct-fields.goml
blob: 3ec60b58cfde82ffd8861e3a9014c759f7a6e5e5 (plain)
1
2
3
4
5
goto: "file://" + |DOC_PATH| + "/test_docs/struct.StructWithPublicUndocumentedFields.html"

// Both fields must be on their own line. In other words, they have display: block.
store-property: (first_top, "//*[@id='structfield.first']", "offsetTop")
assert-property-false: ("//*[@id='structfield.second']", { "offsetTop": |first_top| })