]> git.proxmox.com Git - rustc.git/blame - src/test/rustdoc-gui/check-code-blocks-margin.goml
New upstream version 1.66.0+dfsg1
[rustc.git] / src / test / rustdoc-gui / check-code-blocks-margin.goml
CommitLineData
3c0e092e 1// This test ensures that the docblock elements have the appropriate left margin.
2b03887a 2goto: "file://" + |DOC_PATH| + "/test_docs/fn.foo.html"
3c0e092e 3// The top docblock elements shouldn't have left margin...
2b03887a 4assert-css: ("#main-content .item-decl", {"margin-left": "0px"})
3c0e092e 5// ... but all the others should!
2b03887a 6assert-css: ("#main-content .docblock", {"margin-left": "24px"})