WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
285242
Close the dialog element when the open attribute is removed
https://bugs.webkit.org/show_bug.cgi?id=285242
Summary
Close the dialog element when the open attribute is removed
Joey Arhar
Reported
2024-12-30 09:43:13 PST
When the <dialog> element is open and has the open attribute set, removing the open attribute via script should also run the dialog closing steps.
https://github.com/whatwg/html/pull/10124
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2025-01-06 09:44:14 PST
<
rdar://problem/142422452
>
Ryosuke Niwa
Comment 2
2025-03-20 00:04:39 PDT
Why are we adding a feature that we're then discouraging authors to use:
https://html.spec.whatwg.org/multipage/interactive-elements.html#note-dialog-remove-open-attribute
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug