[popover] Avoid conflicting interactions in the top layer#11155
Merged
webkit-early-warning-system merged 1 commit intoMar 7, 2023
Conversation
Collaborator
|
EWS run on previous version of this PR (hash 2b2921a) Details
|
smfr
approved these changes
Mar 7, 2023
Contributor
There was a problem hiding this comment.
You should move this code into a function and share it.
2b2921a to
9cf6adb
Compare
Collaborator
|
EWS run on previous version of this PR (hash 9cf6adb) Details
|
9cf6adb to
4490465
Compare
Collaborator
|
EWS run on current version of this PR (hash 4490465) Details
|
https://bugs.webkit.org/show_bug.cgi?id=252297 rdar://105763866 Reviewed by Simon Fraser. - Run "hide all popovers" algorithm every time something is appended to the top layer (since the auto popovers will be covered by the new element) - Don't allow something in the popover showing visibility state to be appended in the top layer, since it is already there (this is similar to how dialogs can't go fullscreen). - Fix test to avoid race conditions by properly waiting for async operations * LayoutTests/TestExpectations: * LayoutTests/imported/w3c/web-platform-tests/html/semantics/popovers/popover-focus-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/html/semantics/popovers/popover-top-layer-combinations-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/html/semantics/popovers/popover-top-layer-interactions-expected.txt: Added. * LayoutTests/imported/w3c/web-platform-tests/html/semantics/popovers/popover-top-layer-interactions.html: * LayoutTests/platform/ios/TestExpectations: * LayoutTests/platform/gtk/imported/w3c/web-platform-tests/html/semantics/popovers/popover-focus-expected.txt: Added. * Source/WebCore/dom/FullscreenManager.cpp: (WebCore::FullscreenManager::requestFullscreenForElement): (WebCore::FullscreenManager::willEnterFullscreen): (WebCore::isInPopoverShowingState): * Source/WebCore/html/HTMLDialogElement.cpp: (WebCore::HTMLDialogElement::showModal): (WebCore::HTMLDialogElement::runFocusingSteps): Canonical link: https://commits.webkit.org/261317@main
4490465 to
ffc70a7
Compare
Collaborator
|
Committed 261317@main (ffc70a7): https://commits.webkit.org/261317@main Reviewed commits have been landed. Closing PR #11155 and removing active labels. |
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ffc70a7
4490465
🛠 mac🛠 wincairo🧪 wpe-wk2🧪 ios-wk2🧪 api-mac🧪 api-ios🧪 mac-wk1🧪 gtk-wk2🧪 mac-wk2🧪 api-gtk🧪 mac-AS-debug-wk2🧪 mac-wk2-stress🛠 🧪 merge