Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IFC][Line clamp] Add basic line-clamp implementation for IFC
https://bugs.webkit.org/show_bug.cgi?id=248160 Reviewed by Antti Koivisto. 1. Check if the deprecated flexbox subtree supports IFC 2. Run layout with line-clamp values set * Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.cpp: (WebCore::Layout::shouldTruncateOverflow): fix ordering. * Source/WebCore/rendering/RenderDeprecatedFlexibleBox.cpp: (WebCore::RenderDeprecatedFlexibleBox::applyModernLineClamp): (WebCore::RenderDeprecatedFlexibleBox::applyLineClamp): * Source/WebCore/rendering/RenderDeprecatedFlexibleBox.h: * Source/WebCore/rendering/RenderLayoutState.h: (WebCore::RenderLayoutState::resetLineClamp): Canonical link: https://commits.webkit.org/256906@main
- Loading branch information
1 parent
16b1006
commit b360263
Showing
4 changed files
with
65 additions
and
6 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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