From ef00e3bee7fcb95968f04a7c2582c7463a97cd29 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Fri, 4 Feb 2022 11:11:03 +0100 Subject: [PATCH] Add comment in GUI test --- src/test/rustdoc-gui/type-declation-overflow.goml | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/rustdoc-gui/type-declation-overflow.goml b/src/test/rustdoc-gui/type-declation-overflow.goml index 229c6d6ba6b96..99aa38e87e925 100644 --- a/src/test/rustdoc-gui/type-declation-overflow.goml +++ b/src/test/rustdoc-gui/type-declation-overflow.goml @@ -31,6 +31,7 @@ assert-property: (".item-decl pre", {"scrollWidth": "950"}) // On mobile: size: (600, 600) goto: file://|DOC_PATH|/lib2/too_long/struct.SuperIncrediblyLongLongLongLongLongLongLongGigaGigaGigaMegaLongLongLongStructName.html +// It shouldn't have an overflow in the topbar either. assert-property: (".mobile-topbar .location", {"scrollWidth": "986"}) assert-property: (".mobile-topbar .location", {"clientWidth": "504"}) assert-css: (".mobile-topbar .location", {"overflow-x": "hidden"})