Closed Bug 1947900 Opened 12 days ago Closed 6 days ago

[wpt-sync] Sync PR 50668 - Remove focus fixup for removal of `<dialog open>` attribute

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
137 Branch
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> attribute

See the conversation here:
https://github.com/whatwg/html/issues/10953#issuecomment-2643608252

This 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}

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

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

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0544e04c6085 [wpt PR 50668] - Remove focus fixup for removal of `<dialog open>` attribute, a=testonly
Status: NEW → RESOLVED
Closed: 6 days ago
Resolution: --- → FIXED
Target Milestone: --- → 137 Branch
You need to log in before you can comment on or make changes to this bug.