Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 913d028cc51018647750dc99901428caf2dc4e0b
https://github.com/WebKit/WebKit/commit/913d028cc51018647750dc99901428caf2dc4e0b
Author: Alan Baradlay <[email protected]>
Date: 2022-12-03 (Sat, 03 Dec 2022)
Changed paths:
M Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.cpp
M Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.h
Log Message:
-----------
[leading-trim][IFC] Add support for leading-trim on the block container
https://bugs.webkit.org/show_bug.cgi?id=248697
Reviewed by Antti Koivisto.
Trimming on the block container level means shrinking the line box height (and
adjusting the inline level boxes' top positions accordingly).
See https://www.w3.org/TR/css-inline-3/#leading-trim
* Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.cpp:
(WebCore::Layout::LineBoxBuilder::build):
(WebCore::Layout::LineBoxBuilder::computeLineBoxGeometry const):
* Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.h:
Canonical link: https://commits.webkit.org/257347@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes