RESOLVED FIXED 231290
Removing <dialog> from document should reset m_isModal flag
https://bugs.webkit.org/show_bug.cgi?id=231290
Summary Removing <dialog> from document should reset m_isModal flag
Tim Nguyen (:ntim)
Reported 2021-10-06 07:42:38 PDT
m_isModal triggers the :-internal-modal-dialog pseudo class, which changes position from absolute to fixed. When removing a modal <dialog> from the document, it is also removed from the top layer, it makes sense to reset the modal dialog flag as well as a result.
Attachments
Patch (8.16 KB, patch)
2021-10-06 07:49 PDT, Tim Nguyen (:ntim)
zalan: review+
Tim Nguyen (:ntim)
Comment 1 2021-10-06 07:49:59 PDT
Radar WebKit Bug Importer
Comment 2 2021-10-06 08:29:34 PDT
Tim Nguyen (:ntim)
Comment 3 2021-10-06 10:29:52 PDT
Note You need to log in before you can comment on or make changes to this bug.