Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 1105db4ef4beff2c87fbe05387c58123ee89ff97
https://github.com/WebKit/WebKit/commit/1105db4ef4beff2c87fbe05387c58123ee89ff97
Author: Alan Baradlay <[email protected]>
Date: 2023-01-07 (Sat, 07 Jan 2023)
Changed paths:
M Source/WebCore/layout/formattingContexts/inline/InlineLevelBox.h
M Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.cpp
Log Message:
-----------
[IFC][initial letter] Initial letter line box sizing is based on capHeight
https://bugs.webkit.org/show_bug.cgi?id=250253
Reviewed by Antti Koivisto.
This patch is in preparation for supporting -webkit-initial-letter.
The inline letter's line box (it has its own container too) is based on the cap
height of the primary font (alphabetic baseline only at this point).
* Source/WebCore/layout/formattingContexts/inline/InlineLevelBox.h:
(WebCore::Layout::InlineLevelBox::lineBoxContain const):
* Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.cpp:
(WebCore::Layout::LineBoxBuilder::adjustInlineBoxHeightsForLineBoxContainIfApplicable):
Canonical link: https://commits.webkit.org/258617@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes