2021-10-18 16:50:31 +02:00
|
|
|
// This test ensures that the docblock elements have the appropriate left margin.
|
|
|
|
goto: file://|DOC_PATH|/test_docs/fn.foo.html
|
|
|
|
// The top docblock elements shouldn't have left margin...
|
2021-11-29 17:14:05 +01:00
|
|
|
assert-css: ("#main-content .docblock.item-decl", {"margin-left": "0px"})
|
2021-10-18 16:50:31 +02:00
|
|
|
// ... but all the others should!
|
2021-11-29 17:14:05 +01:00
|
|
|
assert-css: ("#main-content .docblock:not(.item-decl)", {"margin-left": "24px"})
|