| Summary: | [LFC][IFC] ContinuousContent should tell InlineContentBreaker if the candidate content is hanging | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| 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-24 13:57:33 PST
Created attachment 447952 [details]
Patch
Comment on attachment 447952 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=447952&action=review > Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp:207 > + auto hangingContentWidth = [&]() -> std::optional<InlineLayoutUnit> { > + return isWhitespace && style.whiteSpace() == WhiteSpace::PreWrap ? std::make_optional(logicalWidth) : std::nullopt; > + }; maybe not to most necessary lambda Created attachment 447972 [details]
Patch
Committed r287443 (245578@main): <https://commits.webkit.org/245578@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 447972 [details]. |