diff options
Diffstat (limited to 'tests/rustdoc-gui/overflow-tooltip-information.goml')
-rw-r--r-- | tests/rustdoc-gui/overflow-tooltip-information.goml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/rustdoc-gui/overflow-tooltip-information.goml b/tests/rustdoc-gui/overflow-tooltip-information.goml new file mode 100644 index 000000000..09ad6cdd7 --- /dev/null +++ b/tests/rustdoc-gui/overflow-tooltip-information.goml @@ -0,0 +1,8 @@ +// The goal of this test is to ensure that the tooltip `.information` class doesn't +// have overflow and max-width CSS rules set because they create a bug in firefox on +// mac. For more information: https://github.com/rust-lang/rust/issues/89185 +goto: "file://" + |DOC_PATH| + "/test_docs/fn.foo.html" +assert-css: (".docblock > .example-wrap .tooltip", { + "overflow-x": "visible", + "max-width": "none" +}, ALL) |