[wpt-sync] Sync PR 41330 - Make dialog user-agent styles apply while in top layer
Categories
(Core :: Layout: Positioned, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox118 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
(Depends on 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 41330 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/41330
Details from upstream follow.
Joey Arhar <jarhar@chromium.org> wrote:
Make dialog user-agent styles apply while in top layer
This makes it so that while the dialog element is doing an exit
animation, its positioning etc. styles from the user-agent stylesheet
still apply so it doesnt jump to a different spot while animating out.
The :modal class is removed during this time which is why it was a
problem before. We also can't just make all dialog elements always have
these styles applied, because then they would also apply to non-modal
dialogs.Spec: https://github.com/whatwg/html/pull/9387
Fixed: 1451910
Change-Id: I4d2b240ab17879d6cf08f94f32d7c7577e9f53eaReviewed-on: https://chromium-review.googlesource.com/4739784
WPT-Export-Revision: 23293b911418b963827d0d271e04a88f8a841d6f
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Comment 1•1 year ago
|
||
Assignee | ||
Comment 2•1 year ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests
Status Summary
Firefox
FAIL
: 1
Chrome
FAIL
: 1
Safari
FAIL
: 1
Links
Details
New Tests That Don't Pass
- /css/css-position/overlay/overlay-transition-dialog.html [wpt.fyi]:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
Comment 4•1 year ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/b236b7633341
https://hg.mozilla.org/mozilla-central/rev/26b3da58419e
Description
•