| Summary: | [LFC][IFC] Turn InlineContentBreaker::ContinuousContent's leading/trailing member variables to std::optional<InlineLayoutUnit> | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 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 15:38:07 PST
Created attachment 447949 [details]
Patch
Created attachment 447950 [details]
Patch
Comment on attachment 447950 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=447950&action=review > Source/WebCore/layout/formattingContexts/inline/InlineContentBreaker.cpp:516 > - auto avilableWidth = std::max(0.0f, lineStatus.availableWidth - nonOverflowingContentWidth); > + auto avilableWidth = std::max(0.f, lineStatus.availableWidth - nonOverflowingContentWidth); "avilable" > Source/WebCore/layout/formattingContexts/inline/InlineContentBreaker.cpp:539 > - auto avilableWidth = std::max(0.0f, lineStatus.availableWidth - previousContentWidth); > + auto avilableWidth = std::max(0.f, lineStatus.availableWidth - previousContentWidth); here too Created attachment 447962 [details]
Patch
Created attachment 447967 [details]
Patch
Committed r287442 (245577@main): <https://commits.webkit.org/245577@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 447967 [details]. |