Repository navigation
Remove FullscreenManager::currentFullscreenElement() - #40201
Merged
webkit-commit-queue merged 1 commit intoFeb 7, 2025
Merged
webkit-commit-queue merged 1 commit into
webkit-commit-queue merged 1 commit into
Conversation
Collaborator
|
EWS run on previous version of this PR (hash d31ea91) Details
|
nt1m
force-pushed
the
eng/Remove-FullscreenManager-currentFullscreenElement
branch
from
February 7, 2025 09:36
d31ea91 to
be87351
Compare
Collaborator
|
EWS run on previous version of this PR (hash be87351) Details |
nt1m
force-pushed
the
eng/Remove-FullscreenManager-currentFullscreenElement
branch
from
February 7, 2025 09:57
be87351 to
cf1852f
Compare
Collaborator
|
EWS run on previous version of this PR (hash cf1852f) Details |
nt1m
force-pushed
the
eng/Remove-FullscreenManager-currentFullscreenElement
branch
from
February 7, 2025 10:32
cf1852f to
8082487
Compare
Collaborator
|
EWS run on previous version of this PR (hash 8082487) Details |
nt1m
force-pushed
the
eng/Remove-FullscreenManager-currentFullscreenElement
branch
from
February 7, 2025 11:02
8082487 to
2a4a0ed
Compare
Collaborator
|
EWS run on current version of this PR (hash 2a4a0ed) Details |
jernoble
approved these changes
Feb 7, 2025
https://bugs.webkit.org/show_bug.cgi?id=268232 rdar://121753573 Reviewed by Jer Noble. It's a misleading function, especially in the case of an iframe being implicitly fullscreened by it's children. `currentFullscreenElement` will not work in that case. m_fullscreenElement will be removed in a separate change, since it requires a bit of refactoring of the internal logic. * Source/WebCore/css/SelectorCheckerTestFunctions.h: (WebCore::matchesAnimatingFullscreenTransitionPseudoClass): (WebCore::matchesInWindowFullscreenPseudoClass): * Source/WebCore/dom/Document.cpp: (WebCore::eventTargetElementForDocument): * Source/WebCore/dom/DocumentFullscreen.cpp: (WebCore::DocumentFullscreen::webkitCurrentFullScreenElement): * Source/WebCore/dom/FullscreenManager.cpp: (WebCore::FullscreenManager::didEnterFullscreen): (WebCore::FullscreenManager::didExitFullscreen): (WebCore::FullscreenManager::setAnimatingFullscreen): * Source/WebCore/dom/FullscreenManager.h: * Source/WebCore/html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::elementIsHidden const): (WebCore::HTMLMediaElement::isFullscreen const): (WebCore::HTMLMediaElement::isStandardFullscreen const): (WebCore::HTMLMediaElement::exitFullscreen): * Source/WebCore/html/MediaElementSession.cpp: (WebCore::MediaElementSession::canShowControlsManager const): (WebCore::MediaElementSession::updateMediaUsageIfChanged): * Source/WebCore/rendering/RenderLayerCompositor.cpp: (WebCore::isDescendantOfFullScreenLayer): * Source/WebCore/style/UserAgentStyle.cpp: (WebCore::Style::UserAgentStyle::ensureDefaultStyleSheetsForElement): The UA stylesheet needs to be initialized before checking for the fullscreen element. Previously, the earlier timing of `currentFullscreenElement()` would achieve that. Instead, initialize the UA stylesheet as soon as we have fullscreen manager. * Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDocumentGtk.cpp: (webkit_dom_document_get_webkit_current_fullscreen_element): * Source/WebKitLegacy/mac/WebCoreSupport/WebChromeClient.mm: (WebChromeClient::createWindow): * Source/WebKitLegacy/mac/WebView/WebView.mm: (-[WebView _didStartProvisionalLoadForFrame:]): Canonical link: https://commits.webkit.org/290008@main
webkit-commit-queue
force-pushed
the
eng/Remove-FullscreenManager-currentFullscreenElement
branch
from
February 7, 2025 16:44
2a4a0ed to
64f1b51
Compare
Collaborator
|
Committed 290008@main (64f1b51): https://commits.webkit.org/290008@main Reviewed commits have been landed. Closing PR #40201 and removing active labels. |
nt1m
deleted the
eng/Remove-FullscreenManager-currentFullscreenElement
branch
February 7, 2025 17:03
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.
64f1b51
2a4a0ed
🧪 mac-AS-debug-wk2🛠 playstation🛠 mac-safer-cpp