Skip to content

Commit 1993e55

Browse files
Update GUI test after rebase
1 parent 55d9f59 commit 1993e55

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

tests/rustdoc-gui/docblock-table-overflow.goml

+3-7
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,8 @@ assert-property: (".top-doc .docblock table", {"scrollWidth": "1572"})
1010

1111
// Checking it works on other doc blocks as well...
1212

13-
// Logically, the ".docblock" and the "<p>" should have the same scroll width.
14-
compare-elements-property: (
15-
"#implementations-list > details .docblock",
16-
"#implementations-list > details .docblock > p",
17-
["scrollWidth"],
18-
)
19-
assert-property: ("#implementations-list > details .docblock", {"scrollWidth": "835"})
13+
// Logically, the ".docblock" and the "<p>" should have the same scroll width (if we exclude the margin).
14+
assert-property: ("#implementations-list > details .docblock", {"scrollWidth": 816})
15+
assert-property: ("#implementations-list > details .docblock > p", {"scrollWidth": 835})
2016
// However, since there is overflow in the <table>, its scroll width is bigger.
2117
assert-property: ("#implementations-list > details .docblock table", {"scrollWidth": "1572"})

0 commit comments

Comments
 (0)