diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2024-11-19 22:11:28 +0100 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2024-12-05 22:50:21 +0100 |
| commit | 90feb9a64514b949b9a986e07c8eb14e4a5ca923 (patch) | |
| tree | 58e9fe34714d048833620912533cdf48e9504473 /tests/rustdoc-gui/impl-block-doc.goml | |
| parent | 448d9adc3804fcd7ecc7e89529b8565754028b91 (diff) | |
| download | rust-90feb9a64514b949b9a986e07c8eb14e4a5ca923.tar.gz rust-90feb9a64514b949b9a986e07c8eb14e4a5ca923.zip | |
Improve positioning of "..." in collapsed impl block
Diffstat (limited to 'tests/rustdoc-gui/impl-block-doc.goml')
| -rw-r--r-- | tests/rustdoc-gui/impl-block-doc.goml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/rustdoc-gui/impl-block-doc.goml b/tests/rustdoc-gui/impl-block-doc.goml index 6c7d7f4cbc1..906ce1a37c6 100644 --- a/tests/rustdoc-gui/impl-block-doc.goml +++ b/tests/rustdoc-gui/impl-block-doc.goml @@ -31,3 +31,12 @@ assert: (|impl_y| + |impl_height|) <= (|doc_y| + |doc_height|) call-function: ("compare-size-and-pos", {"nth_impl": 2}) // The second impl block has a short line. assert: (|impl_y| + |impl_height|) >= (|doc_y| + |doc_height|) + +// FIXME: Needs `if` condition to make this test check that `padding-top` on the "..." element +// is as expected for tables. +call-function: ("compare-size-and-pos", {"nth_impl": 3}) +assert: (|impl_y| + |impl_height|) >= (|doc_y| + |doc_height|) +call-function: ("compare-size-and-pos", {"nth_impl": 4}) +assert: (|impl_y| + |impl_height|) >= (|doc_y| + |doc_height|) +call-function: ("compare-size-and-pos", {"nth_impl": 5}) +assert: (|impl_y| + |impl_height|) >= (|doc_y| + |doc_height|) |
