[wpt-sync] Sync PR 50668 - Remove focus fixup for removal of `<dialog open>` attribute
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox137 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 50668 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/50668
Details from upstream follow.
Mason Freed <masonf@chromium.org> wrote:
Remove focus fixup for removal of
<dialog open>
attributeSee the conversation here:
https://github.com/whatwg/html/issues/10953#issuecomment-2643608252This changes the behavior of the DialogCloseWhenOpenRemovedEnabled flag
just a bit, to move toward "option 2" from the comment just below the
one linked above. It also cleans up the two parameters to ::close(),
and replaces them with one. And it stops doing the focus fixup
behaviors in that case.Bug: 376516550
Change-Id: I072d710df47bbe58f5137070591378c72f8124b2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6244982
Auto-Submit: Mason Freed \<masonf@chromium.org>
Commit-Queue: Joey Arhar \<jarhar@chromium.org>
Reviewed-by: Joey Arhar \<jarhar@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1419540}
Assignee | ||
Updated•12 days ago
|
Assignee | ||
Comment 1•12 days ago
|
||
Assignee | ||
Comment 2•11 days ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 2 subtests
Status Summary
Firefox
OK
: 1
FAIL
: 2
Chrome
OK
: 1
FAIL
: 2
Safari
OK
: 1
FAIL
: 2
Links
Details
New Tests That Don't Pass
- /html/semantics/interactive-elements/the-dialog-element/dialog-close-via-attribute.tentative.html [wpt.fyi]
- Removing the open attribute from an open modal dialog should run the closing algorithm.:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Removing the open attribute from an open non-modal dialog should fire a close event.:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Removing the open attribute from an open modal dialog should run the closing algorithm.:
Description
•