Bug 252297

Summary: [popover] Avoid conflicting interactions in the top layer
Product: WebKit Reporter: Tim Nguyen (:ntim) <ntim>
Component: DOMAssignee: Tim Nguyen (:ntim) <ntim>
Status: RESOLVED FIXED    
Severity: Normal CC: jarhar, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://github.com/web-platform-tests/wpt/pull/38844
Bug Depends on:    
Bug Blocks: 250171    

Tim Nguyen (:ntim)
Reported 2023-02-14 22:22:32 PST
HTMLDialogElement::showModal() should fail on popovers, same for Element::requestFullscreen().
Attachments
Tim Nguyen (:ntim)
Comment 1 2023-02-14 23:47:53 PST
Actually it shouldn't fail, those 2 methods should just run the "hide all popovers" algorithm
Radar WebKit Bug Importer
Comment 2 2023-02-21 22:23:15 PST
Tim Nguyen (:ntim)
Comment 3 2023-02-22 21:39:02 PST
So there are 2 items: - run "hide all popovers" when showing - Forbid elements in popover showing state from being modal/fullscreen
Tim Nguyen (:ntim)
Comment 4 2023-03-06 22:23:42 PST
Tim Nguyen (:ntim)
Comment 5 2023-03-06 23:05:33 PST
Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/38844
EWS
Comment 6 2023-03-07 00:54:53 PST
Committed 261317@main (ffc70a735c9b): <https://commits.webkit.org/261317@main> Reviewed commits have been landed. Closing PR #11155 and removing active labels.
Tim Nguyen (:ntim)
Comment 7 2023-04-11 11:35:37 PDT
*** Bug 255232 has been marked as a duplicate of this bug. ***
Note You need to log in before you can comment on or make changes to this bug.