]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc-gui/check-code-blocks-margin.goml
Rollup merge of #91834 - GuillaumeGomez:improve-gui-test-readability, r=jsha
[rust.git] / src / test / rustdoc-gui / check-code-blocks-margin.goml
1 // This test ensures that the docblock elements have the appropriate left margin.
2 goto: file://|DOC_PATH|/test_docs/fn.foo.html
3 // The top docblock elements shouldn't have left margin...
4 assert-css: ("#main-content .docblock.item-decl", {"margin-left": "0px"})
5 // ... but all the others should!
6 assert-css: ("#main-content .docblock:not(.item-decl)", {"margin-left": "24px"})