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    

Description Tim Nguyen (:ntim) 2023-02-14 22:22:32 PST
HTMLDialogElement::showModal() should fail on popovers, same for Element::requestFullscreen().
Comment 1 Tim Nguyen (:ntim) 2023-02-14 23:47:53 PST
Actually it shouldn't fail, those 2 methods should just run the "hide all popovers" algorithm
Comment 2 Radar WebKit Bug Importer 2023-02-21 22:23:15 PST
<rdar://problem/105763866>
Comment 3 Tim Nguyen (:ntim) 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
Comment 4 Tim Nguyen (:ntim) 2023-03-06 22:23:42 PST
Pull request: https://github.com/WebKit/WebKit/pull/11155
Comment 5 Tim Nguyen (:ntim) 2023-03-06 23:05:33 PST
Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/38844
Comment 6 EWS 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.
Comment 7 Tim Nguyen (:ntim) 2023-04-11 11:35:37 PDT
*** Bug 255232 has been marked as a duplicate of this bug. ***