Bug 252297 - [popover] Avoid conflicting interactions in the top layer
Summary: [popover] Avoid conflicting interactions in the top layer
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Tim Nguyen (:ntim)
URL:
Keywords: InRadar
: 255232 (view as bug list)
Depends on:
Blocks: 250171
  Show dependency treegraph
 
Reported: 2023-02-14 22:22 PST by Tim Nguyen (:ntim)
Modified: 2023-04-11 11:35 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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. ***