about summary refs log tree commit diff
path: root/tests/rustdoc-gui/source-code-page-code-scroll.goml
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2024-11-19 22:11:28 +0100
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2024-12-05 22:50:21 +0100
commit90feb9a64514b949b9a986e07c8eb14e4a5ca923 (patch)
tree58e9fe34714d048833620912533cdf48e9504473 /tests/rustdoc-gui/source-code-page-code-scroll.goml
parent448d9adc3804fcd7ecc7e89529b8565754028b91 (diff)
downloadrust-90feb9a64514b949b9a986e07c8eb14e4a5ca923.tar.gz
rust-90feb9a64514b949b9a986e07c8eb14e4a5ca923.zip
Improve positioning of "..." in collapsed impl block
Diffstat (limited to 'tests/rustdoc-gui/source-code-page-code-scroll.goml')
-rw-r--r--tests/rustdoc-gui/source-code-page-code-scroll.goml4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rustdoc-gui/source-code-page-code-scroll.goml b/tests/rustdoc-gui/source-code-page-code-scroll.goml
index 31ab281d6ce..60012db6c8c 100644
--- a/tests/rustdoc-gui/source-code-page-code-scroll.goml
+++ b/tests/rustdoc-gui/source-code-page-code-scroll.goml
@@ -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})