We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 20c286e commit 77c2929Copy full SHA for 77c2929
src/test/rustdoc-gui/check-code-blocks-margin.goml
@@ -0,0 +1,6 @@
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 .docblock.item-decl", {"margin-left": "0px"})
5
+// ... but all the others should!
6
+assert-css: ("#main .docblock:not(.item-decl)", {"margin-left": "24px"})
0 commit comments