[css-anchor-position-1] Implement anchor-center alignment value#36705
Merged
webkit-commit-queue merged 1 commit intoWebKit:mainfrom Nov 28, 2024
Merged
Conversation
Collaborator
|
EWS run on previous version of this PR (hash e0d9779) Details |
nt1m
reviewed
Nov 15, 2024
e0d9779 to
211995f
Compare
Collaborator
|
EWS run on previous version of this PR (hash 211995f) Details |
nt1m
reviewed
Nov 23, 2024
nt1m
reviewed
Nov 26, 2024
211995f to
531df4c
Compare
Collaborator
|
EWS run on previous version of this PR (hash 531df4c) Details |
531df4c to
64a220f
Compare
Collaborator
|
EWS run on previous version of this PR (hash 64a220f) Details |
64a220f to
68b790b
Compare
Collaborator
|
EWS run on previous version of this PR (hash 68b790b) Details |
anttijk
approved these changes
Nov 27, 2024
68b790b to
01ac09f
Compare
Collaborator
|
EWS run on current version of this PR (hash 01ac09f) Details |
https://bugs.webkit.org/show_bug.cgi?id=275451 Reviewed by Antti Koivisto. This change implements `anchor-center` CSS value as specified in: https://drafts.csswg.org/css-anchor-position-1/#anchor-center * LayoutTests/TestExpectations: * LayoutTests/imported/w3c/web-platform-tests/css/css-anchor-position/anchor-center-htb-htb-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/css/css-anchor-position/anchor-center-htb-vrl-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/css/css-anchor-position/anchor-center-vrl-htb-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/css/css-anchor-position/anchor-center-vrl-vrl-expected.txt: * Source/WebCore/css/CSSProperties.json: * Source/WebCore/rendering/RenderBox.cpp: (WebCore::RenderBox::computePositionedLogicalWidth const): (WebCore::RenderBox::computePositionedLogicalHeight const): (WebCore::isObjectAncestorContainerOf): (WebCore::findClosestCommonContainer): (WebCore::RenderBox::computeAnchorCenteredPosition const): * Source/WebCore/rendering/RenderBox.h: * Source/WebCore/rendering/RenderElement.cpp: (WebCore::RenderElement::defaultAnchor const): (WebCore::RenderElement::defaultAnchorRenderer const): * Source/WebCore/rendering/RenderElement.h: * Source/WebCore/rendering/RenderFlexibleBox.cpp: (WebCore::alignmentOffset): * Source/WebCore/rendering/RenderGrid.cpp: (WebCore::RenderGrid::columnAxisPositionForGridItem const): (WebCore::RenderGrid::rowAxisPositionForGridItem const): * Source/WebCore/style/AnchorPositionEvaluator.cpp: (WebCore::Style::AnchorPositionEvaluator::computeAnchorRectRelativeToContainingBlock): (WebCore::Style::computeInsetValue): (WebCore::Style::computeAnchorRectRelativeToContainingBlock): Deleted. * Source/WebCore/style/AnchorPositionEvaluator.h: Canonical link: https://commits.webkit.org/287144@main
01ac09f to
a84350e
Compare
Collaborator
|
Committed 287144@main (a84350e): https://commits.webkit.org/287144@main Reviewed commits have been landed. Closing PR #36705 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.
a84350e
01ac09f