summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-gui/codeblock-sub.goml
blob: cbd314d27915ec41fd7f1fcb46c5614dddd57400 (plain)
1
2
3
4
5
// Test that code blocks nested within <sub> do not have a line height of 0.
goto: "file://" + |DOC_PATH| + "/test_docs/codeblock_sub/index.html"

store-property: (codeblock_sub_1, "#codeblock-sub-1", "offsetHeight")
assert-property-false: ("#codeblock-sub-3", { "offsetHeight": |codeblock_sub_1| })