[wpt-sync] Sync PR 26534 - Safer style reset for abspos dialog layout tests
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox97 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 26534 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/26534
Details from upstream follow.
b'Darryl Pogue <darryl@dpogue.ca>' wrote:
Safer style reset for abspos dialog layout tests
As written, if these tests fail, then the line to reset back to the initial state never runs, leading to the style changes bleeding between tests. This happens to not cause any issues currently, but might pose a risk if more tests are added.
There's already a cleanup step that is guaranteed to run after every test, so it's better to move the style resets to run as part of that.
Also, setting
height = 'fit-content'
is a silent no-op in browsers that don't supportfit-content
(or support it with a prefix, like-moz-fit-content
), so the best way to reset back to default styles is to assignnull
./cc @bfgeek
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=2b82dab2e1d28863c27f0800398bfc2fbafa039e
Assignee | ||
Comment 2•2 years ago
|
||
Try push failed: decision task XxrEMdtnTVKw7cgB-p44iQ returned error
Assignee | ||
Comment 3•2 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=f93c5a9c36d4b720adc3fc5039df18e6b73f7e02
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/33ea3416a5ff [wpt PR 26534] - Safer style reset for abspos dialog layout tests, a=testonly
Assignee | ||
Comment 5•2 years ago
|
||
Test result changes from PR not available.
Comment 6•2 years ago
|
||
bugherder |
Description
•