rust/tests/rustdoc-gui/codeblock-sub.goml

6 lines
300 B
Plaintext
Raw Normal View History

// 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| })