[webkit-changes] [WebKit/WebKit] 0f0879: [getComputedStyle][margin] isLayoutDependent shoul...
Alan Baradlay
noreply at github.com
Tue Apr 25 08:39:39 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 0f08796bbe0ade29bb6e7bd050dc4215cec9f92a
https://github.com/WebKit/WebKit/commit/0f08796bbe0ade29bb6e7bd050dc4215cec9f92a
Author: Alan Baradlay <zalan at apple.com>
Date: 2023-04-25 (Tue, 25 Apr 2023)
Changed paths:
M LayoutTests/imported/w3c/web-platform-tests/css/css-logical/parsing/margin-block-inline-computed-expected.txt
M LayoutTests/platform/mac-wk1/TestExpectations
M LayoutTests/platform/mac/TestExpectations
M Source/WebCore/css/ComputedStyleExtractor.cpp
Log Message:
-----------
[getComputedStyle][margin] isLayoutDependent should handle flow relative margin values
https://bugs.webkit.org/show_bug.cgi?id=255890
Reviewed by Antti Koivisto.
Shorthand values should simply resolve for individual css property values.
* LayoutTests/imported/w3c/web-platform-tests/css/css-logical/parsing/margin-block-inline-computed-expected.txt:
* LayoutTests/platform/mac-wk1/TestExpectations:
* LayoutTests/platform/mac/TestExpectations:
* Source/WebCore/css/ComputedStyleExtractor.cpp:
(WebCore::formattingContextRootStyle):
(WebCore::physicalToFlowRelativeDirection):
(WebCore::flowRelativeToPhysicalDirection):
(WebCore::toMarginPropertyID):
(WebCore::isLayoutDependent):
Canonical link: https://commits.webkit.org/263372@main
More information about the webkit-changes
mailing list