| Summary: | [LFC][IFC] Compute isFirstBox/isLastBox for text content | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 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
2021-12-03 19:12:39 PST
Created attachment 445937 [details]
Patch
Created attachment 445955 [details]
Patch
Created attachment 445956 [details]
Patch
Comment on attachment 445956 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=445956&action=review > Source/WebCore/layout/formattingContexts/inline/InlineDisplayContentBuilder.cpp:394 > + enum class LineHasFirstLastRunForTextBox { No, FirstOnly, LastOnly, Both }; Don't you have a few types for this already like IsFirstLastBox and OptionSet<InlineDisplay::Box::PositionWithinInlineLevelBox>? Created attachment 445970 [details]
Patch
Committed r286534 (244866@main): <https://commits.webkit.org/244866@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 445970 [details]. |