[webkit-changes] [WebKit/WebKit] 7ee311: [LFC][IFC] Make LineBuilder::layoutInlineContent m...
alan
noreply at github.com
Sun Sep 4 10:32:46 PDT 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 7ee3116d443df930f873176fd56816411ba1f5eb
https://github.com/WebKit/WebKit/commit/7ee3116d443df930f873176fd56816411ba1f5eb
Author: Alan Bujtas <zalan at apple.com>
Date: 2022-09-04 (Sun, 04 Sep 2022)
Changed paths:
M Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp
M Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.h
Log Message:
-----------
[LFC][IFC] Make LineBuilder::layoutInlineContent more readable
https://bugs.webkit.org/show_bug.cgi?id=244748
Reviewed by Antti Koivisto.
The verbose visual ordering code makes layoutInlineContent look as if it was all about about bidi reordering.
* Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp:
(WebCore::Layout::computedVisualOrder):
(WebCore::Layout::LineBuilder::layoutInlineContent):
(WebCore::Layout::LineBuilder::initialConstraintsForLine const):
(WebCore::Layout::LineBuilder::inlineBaseDirectionForLineContent):
* Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.h:
Canonical link: https://commits.webkit.org/254145@main
More information about the webkit-changes
mailing list