]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc-gui/check_info_sign_position.goml
Rollup merge of #92146 - willcrichton:example-analyzer, r=jyn514
[rust.git] / src / test / rustdoc-gui / check_info_sign_position.goml
1 goto: file://|DOC_PATH|/test_docs/index.html
2 goto: ./fn.check_list_code_block.html
3 // If the codeblock is the first element of the docblock, the information tooltip must have
4 // have some top margin to avoid going over the toggle (the "[+]").
5 assert-css: (".docblock > .information > .compile_fail", { "margin-top": "16px" })
6 // Checks that the other codeblocks don't have this top margin.
7 assert-css: ("ol > li > .information > .compile_fail", { "margin-top": "0px" })
8 assert-css: ("ol > li > .information > .ignore", { "margin-top": "0px" })
9 assert-css: (".docblock > .information > .ignore", { "margin-top": "0px" })