Bug 285242
| Summary: | Close the dialog element when the open attribute is removed | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Joey Arhar <jarhar> |
| Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | rniwa, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Joey Arhar
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
<rdar://problem/142422452>
Ryosuke Niwa
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