]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc-gui/codeblock-sub.goml
Rollup merge of #106148 - chenyukang:yukang/fix-105061-unused, r=lcnr
[rust.git] / tests / rustdoc-gui / codeblock-sub.goml
1 // Test that code blocks nested within <sub> do not have a line height of 0.
2 goto: "file://" + |DOC_PATH| + "/test_docs/codeblock_sub/index.html"
3
4 store-property: (codeblock_sub_1, "#codeblock-sub-1", "offsetHeight")
5 assert-property-false: ("#codeblock-sub-3", { "offsetHeight": |codeblock_sub_1| })