Bug 238228

Summary: [LFC][IFC] Do not construct a TextRun for measuring a single whitespace when simplified content measuring can be used
Product: WebKit Reporter: zalan <zalan>
Component: Layout and RenderingAssignee: zalan <zalan>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, koivisto, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
ews-feeder: commit-queue-
Patch
none
Patch none

Description zalan 2022-03-22 15:21:24 PDT
ssia
Comment 1 zalan 2022-03-22 15:24:06 PDT
Created attachment 455438 [details]
Patch
Comment 2 zalan 2022-03-22 20:21:50 PDT
Created attachment 455467 [details]
Patch
Comment 3 Antti Koivisto 2022-03-24 06:32:20 PDT
Comment on attachment 455467 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=455467&action=review

> Source/WebCore/layout/formattingContexts/inline/text/TextUtil.cpp:67
> +    float width = 0.f;

auto!
Comment 4 zalan 2022-03-24 08:08:48 PDT
Created attachment 455640 [details]
Patch
Comment 5 EWS 2022-03-24 08:56:47 PDT
Committed r291799 (248827@main): <https://commits.webkit.org/248827@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 455640 [details].
Comment 6 Radar WebKit Bug Importer 2022-03-24 08:57:17 PDT
<rdar://problem/90770755>