diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-11-16 08:36:13 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-16 08:36:13 +0100 |
| commit | b9d028ae99388b9184ef2b58c4ace9a66e28bee5 (patch) | |
| tree | 6e83eb86a7750ce20d0d7cd23708578d53d4f4e2 /src/test | |
| parent | 4ef422e2b95376b76572bbb81df12ace8f5535ee (diff) | |
| parent | bd84709298a096fb9518e1f14ee58d3a5bd21ae2 (diff) | |
| download | rust-b9d028ae99388b9184ef2b58c4ace9a66e28bee5.tar.gz rust-b9d028ae99388b9184ef2b58c4ace9a66e28bee5.zip | |
Rollup merge of #104424 - notriddle:notriddle/popover-font-size, r=GuillaumeGomez
rustdoc: remove no-op CSS `.popover { font-size: 1rem }`
This rule was added in cc4f804829ae because the help popover inherited the font-size from the help button "?" icon.
It doesn't inherit this any more, because it was moved from being nested inside the link to sharing a wrapper DIV with it.
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/rustdoc-gui/help-page.goml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/rustdoc-gui/help-page.goml b/src/test/rustdoc-gui/help-page.goml index 521e14748af..392f17bfd47 100644 --- a/src/test/rustdoc-gui/help-page.goml +++ b/src/test/rustdoc-gui/help-page.goml @@ -3,6 +3,7 @@ goto: "file://" + |DOC_PATH| + "/help.html" size: (1000, 1000) // Try desktop size first. wait-for: "#help" assert-css: ("#help", {"display": "block"}) +assert-css: ("#help dd", {"font-size": "16px"}) click: "#help-button > a" assert-css: ("#help", {"display": "block"}) compare-elements-property: (".sub", "#help", ["offsetWidth"]) @@ -18,6 +19,7 @@ size: (1000, 1000) // Only supported on desktop. assert-false: "#help" click: "#help-button > a" assert-css: ("#help", {"display": "block"}) +assert-css: ("#help dd", {"font-size": "16px"}) click: "#help-button > a" assert-css: ("#help", {"display": "none"}) compare-elements-property-false: (".sub", "#help", ["offsetWidth"]) |
