Skip to content

Commit 77c2929

Browse files
Add test to ensure that the docblock elements left margin is as expected
1 parent 20c286e commit 77c2929

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)