Bug 234424

Summary: Deduplicate code in RenderText::computePreferredLogicalWidths()
Product: WebKit Reporter: Myles C. Maxfield <mmaxfield>
Component: Layout and RenderingAssignee: Myles C. Maxfield <mmaxfield>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, changseok, esprehn+autocc, ews-watchlist, glenn, kondapallykalyan, pdr, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 234421    
Bug Blocks:    
Attachments:
Description Flags
Patch
none
Depends on bug 234421
none
Depends on bug 234421
none
Depends on bug 234421
none
Patch for EWS
none
Patch for EWS
none
Patch none

Description Myles C. Maxfield 2021-12-16 21:43:08 PST
.
Comment 1 Myles C. Maxfield 2021-12-16 21:45:27 PST
Created attachment 447427 [details]
Patch
Comment 2 Myles C. Maxfield 2021-12-16 23:03:44 PST
Created attachment 447431 [details]
Depends on bug 234421
Comment 3 Myles C. Maxfield 2021-12-16 23:05:20 PST
Created attachment 447432 [details]
Depends on bug 234421
Comment 4 Myles C. Maxfield 2021-12-16 23:08:20 PST
Created attachment 447433 [details]
Depends on bug 234421
Comment 5 Myles C. Maxfield 2021-12-16 23:08:57 PST
Created attachment 447434 [details]
Patch for EWS
Comment 6 Myles C. Maxfield 2021-12-16 23:15:06 PST
Created attachment 447435 [details]
Patch for EWS
Comment 7 Myles C. Maxfield 2021-12-17 10:33:41 PST
Created attachment 447460 [details]
Patch
Comment 8 zalan 2021-12-17 12:34:43 PST
Comment on attachment 447460 [details]
Patch

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

> Source/WebCore/ChangeLog:31
> +        * rendering/RenderTextInlines.h: Added. This function needs to be able to see into WordTrailingSpace,

RenderTextInlines is a bit confusing name but I can't think of a better (not easily confused with inline formatting) name either.
Comment 9 Myles C. Maxfield 2021-12-17 13:59:13 PST
Comment on attachment 447460 [details]
Patch

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

>> Source/WebCore/ChangeLog:31
>> +        * rendering/RenderTextInlines.h: Added. This function needs to be able to see into WordTrailingSpace,
> 
> RenderTextInlines is a bit confusing name but I can't think of a better (not easily confused with inline formatting) name either.

Heh, yeah, I didn't even think of that. "Inlines" is the pattern we use in the rest of WebKit, though...
Comment 10 EWS 2021-12-17 14:10:34 PST
Committed r287206 (245373@main): <https://commits.webkit.org/245373@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 447460 [details].
Comment 11 Radar WebKit Bug Importer 2021-12-17 14:11:19 PST
<rdar://problem/86650129>