]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc-gui/check-code-blocks-margin.goml
Auto merge of #99505 - joboet:futex_once, r=thomcc
[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 .item-decl", {"margin-left": "0px"})
5 // ... but all the others should!
6 assert-css: ("#main-content .docblock", {"margin-left": "24px"})