[webkit-changes] [WebKit/WebKit] 76780a: [leading-trim][IFC] Inflate layout bounds with mar...
Alan Baradlay
noreply at github.com
Sat Dec 3 09:09:09 PST 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 76780a8952d99db3ce6c0f2c58f48704b9ddce67
https://github.com/WebKit/WebKit/commit/76780a8952d99db3ce6c0f2c58f48704b9ddce67
Author: Alan Baradlay <zalan at apple.com>
Date: 2022-12-03 (Sat, 03 Dec 2022)
Changed paths:
A LayoutTests/fast/text/text-edge-with-margin-padding-border-simple-expected-mismatch.html
A LayoutTests/fast/text/text-edge-with-margin-padding-border-simple.html
M Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.cpp
Log Message:
-----------
[leading-trim][IFC] Inflate layout bounds with margin/border/padding when text-edge is not leading
https://bugs.webkit.org/show_bug.cgi?id=248578
Reviewed by Antti Koivisto.
https://www.w3.org/TR/css-inline-3/#inline-height
"Additionally, when text-edge is not leading, the layout bounds are inflated by the sum of the margin, border, and padding on each side."
* LayoutTests/fast/text/text-edge-with-margin-padding-border-simple-expected-mismatch.html: Added.
* LayoutTests/fast/text/text-edge-with-margin-padding-border-simple.html: Added.
* Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.cpp:
(WebCore::Layout::LineBoxBuilder::setVerticalPropertiesForInlineLevelBox const):
Canonical link: https://commits.webkit.org/257323@main
More information about the webkit-changes
mailing list