]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc-gui/check-code-blocks-margin.goml
Merge commit '4a053f206fd6799a25823c307f7d7f9d897be118' into sync-rustfmt-subtree
[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"})