Repository navigation
Store display: none RenderStyle objects - #22902
Merged
webkit-commit-queue merged 1 commit intoJan 22, 2024
Merged
Conversation
graouts
force-pushed
the
cache-display-none-render-style
branch
from
January 18, 2024 10:59
ee45733 to
d4f7f3e
Compare
Collaborator
|
EWS run on previous version of this PR (hash d4f7f3e) Details
|
anttijk
reviewed
Jan 18, 2024
graouts
force-pushed
the
cache-display-none-render-style
branch
from
January 18, 2024 15:43
d4f7f3e to
1fdcb0d
Compare
Collaborator
|
EWS run on previous version of this PR (hash 1fdcb0d) Details
|
graouts
force-pushed
the
cache-display-none-render-style
branch
from
January 18, 2024 15:52
1fdcb0d to
47df261
Compare
Collaborator
|
EWS run on previous version of this PR (hash 47df261) Details
|
anttijk
approved these changes
Jan 18, 2024
graouts
force-pushed
the
cache-display-none-render-style
branch
from
January 19, 2024 14:03
47df261 to
153067a
Compare
Collaborator
|
EWS run on previous version of this PR (hash 153067a) Details
|
graouts
force-pushed
the
cache-display-none-render-style
branch
from
January 19, 2024 14:10
153067a to
4e8cf7f
Compare
Collaborator
|
EWS run on previous version of this PR (hash 4e8cf7f) Details
|
graouts
force-pushed
the
cache-display-none-render-style
branch
from
January 19, 2024 14:20
4e8cf7f to
2b10bba
Compare
Collaborator
|
EWS run on previous version of this PR (hash 2b10bba) Details
|
graouts
force-pushed
the
cache-display-none-render-style
branch
from
January 19, 2024 15:32
2b10bba to
d548301
Compare
Collaborator
|
EWS run on current version of this PR (hash d548301) Details |
https://bugs.webkit.org/show_bug.cgi?id=267683 Reviewed by Antti Koivisto. We currently store `display: contents` RenderStyle objects on Element. In order to implement support for animating the `display` property, we need to also store styles in the `display: none` case so that we may return such stored styles in `Element::existingComputedStyle()`. * Source/WebCore/dom/Element.cpp: (WebCore::Element::hasDisplayContents const): (WebCore::Element::hasDisplayNone const): (WebCore::Element::storeDisplayContentsOrNoneStyle): (WebCore::Element::clearDisplayContentsOrNoneStyle): (WebCore::Element::existingComputedStyle const): (WebCore::Element::renderOrDisplayContentsStyle const): (WebCore::Element::resetComputedStyle): (WebCore::Element::storeDisplayContentsStyle): Deleted. (WebCore::Element::clearDisplayContentsStyle): Deleted. * Source/WebCore/dom/Element.h: * Source/WebCore/dom/ElementRareData.h: (WebCore::ElementRareData::displayContentsOrNoneStyle const): (WebCore::ElementRareData::setDisplayContentsOrNoneStyle): (WebCore::ElementRareData::useTypes const): (WebCore::ElementRareData::displayContentsStyle const): Deleted. (WebCore::ElementRareData::setDisplayContentsStyle): Deleted. * Source/WebCore/dom/Node.cpp: (WebCore::stringForRareDataUseType): * Source/WebCore/dom/NodeRareData.h: * Source/WebCore/rendering/updating/RenderTreeUpdater.cpp: (WebCore::RenderTreeUpdater::updateElementRenderer): * Source/WebCore/rendering/updating/RenderTreeUpdaterGeneratedContent.cpp: (WebCore::RenderTreeUpdater::GeneratedContent::updatePseudoElement): Canonical link: https://commits.webkit.org/273288@main
webkit-commit-queue
force-pushed
the
cache-display-none-render-style
branch
from
January 22, 2024 07:53
d548301 to
519c7ed
Compare
Collaborator
|
Committed 273288@main (519c7ed): https://commits.webkit.org/273288@main Reviewed commits have been landed. Closing PR #22902 and removing active labels. |
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.
519c7ed
d548301