1
Fork 0

Improve positioning of "..." in collapsed impl block

This commit is contained in:
Guillaume Gomez 2024-11-19 22:11:28 +01:00
parent 448d9adc38
commit 90feb9a645
4 changed files with 41 additions and 5 deletions

View file

@ -2,7 +2,7 @@
go-to: "file://" + |DOC_PATH| + "/src/test_docs/lib.rs.html"
set-window-size: (800, 1000)
// "scrollWidth" should be superior than "clientWidth".
assert-property: ("body", {"scrollWidth": 1114, "clientWidth": 800})
assert-property: ("body", {"scrollWidth": 1776, "clientWidth": 800})
// Both properties should be equal (ie, no scroll on the code block).
assert-property: (".example-wrap .rust", {"scrollWidth": 1000, "clientWidth": 1000})
assert-property: (".example-wrap .rust", {"scrollWidth": 1662, "clientWidth": 1662})