Summary: | [LFC][IFC] Take nonBreakableStart/End into use. | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | zalan <zalan> | ||||
Component: | Layout and Rendering | Assignee: | zalan <zalan> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | bfulgham, koivisto, simon.fraser, webkit-bug-importer, zalan | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | WebKit Nightly Build | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
zalan
2018-11-20 20:30:51 PST
Created attachment 355383 [details]
Patch
Comment on attachment 355383 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=355383&action=review > Source/WebCore/layout/inlineformatting/InlineFormattingContext.cpp:148 > unsigned uncommittedLength = 0; > InlineItem* firstUncommittedInlineItem = nullptr; > + InlineItem* lastUncommittedInlineItem = nullptr; Maybe these could alternatively be something like struct Uncommitted { unsigned length { 0 }; InlineItem& firstInlineItem; InlineItem& lastInlineItem; }; std::optional<Uncommitted> uncommitted; since these are always used together? Committed r238415: <https://trac.webkit.org/changeset/238415> |