fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1// This test checks the position of the information on the code blocks (like 2// `compile_fail` or `ignore`). 3go-to: "file://" + |DOC_PATH| + "/test_docs/index.html" 4go-to: "./fn.check_list_code_block.html" 5// If the codeblock is the first element of the docblock, the information tooltip must have 6// have some top margin to avoid going over the toggle (the "[+]"). 7assert-css: (".docblock > .example-wrap.compile_fail .tooltip", { "margin-top": "16px" }) 8// Checks that the other codeblocks don't have this top margin. 9assert-css: ("ol > li > .example-wrap.compile_fail .tooltip", { "margin-top": "0px" }) 10assert-css: ("ol > li > .example-wrap.ignore .tooltip", { "margin-top": "0px" }) 11assert-css: (".docblock > .example-wrap.ignore .tooltip", { "margin-top": "0px" })