diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2024-12-02 17:11:36 +0100 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2024-12-05 22:50:21 +0100 |
| commit | 854ebe7522ef3b91e708a45077bbcd8da061e876 (patch) | |
| tree | 34862b5d8b42988b3ebf39cc2bb5704b343b4ef8 | |
| parent | 90feb9a64514b949b9a986e07c8eb14e4a5ca923 (diff) | |
| download | rust-854ebe7522ef3b91e708a45077bbcd8da061e876.tar.gz rust-854ebe7522ef3b91e708a45077bbcd8da061e876.zip | |
Update GUI test after rebase
| -rw-r--r-- | tests/rustdoc-gui/docblock-table-overflow.goml | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/tests/rustdoc-gui/docblock-table-overflow.goml b/tests/rustdoc-gui/docblock-table-overflow.goml index abfa820ef27..18e5b4d7f35 100644 --- a/tests/rustdoc-gui/docblock-table-overflow.goml +++ b/tests/rustdoc-gui/docblock-table-overflow.goml @@ -10,12 +10,8 @@ assert-property: (".top-doc .docblock table", {"scrollWidth": "1572"}) // Checking it works on other doc blocks as well... -// Logically, the ".docblock" and the "<p>" should have the same scroll width. -compare-elements-property: ( - "#implementations-list > details .docblock", - "#implementations-list > details .docblock > p", - ["scrollWidth"], -) -assert-property: ("#implementations-list > details .docblock", {"scrollWidth": "835"}) +// Logically, the ".docblock" and the "<p>" should have the same scroll width (if we exclude the margin). +assert-property: ("#implementations-list > details .docblock", {"scrollWidth": 816}) +assert-property: ("#implementations-list > details .docblock > p", {"scrollWidth": 835}) // However, since there is overflow in the <table>, its scroll width is bigger. assert-property: ("#implementations-list > details .docblock table", {"scrollWidth": "1572"}) |
