Bug 244173

Summary: [LFC][IFC] text-overflow: ellipsis should not affect geometries
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: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description zalan 2022-08-21 15:35:41 PDT
it's visual only operation.
Comment 1 zalan 2022-08-21 15:47:26 PDT
Created attachment 461780 [details]
Patch
Comment 2 Antti Koivisto 2022-08-22 09:01:08 PDT
Comment on attachment 461780 [details]
Patch

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

> Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp:872
> +            if (!hasDamage(box))
> +                continue;

Maybe the hasDamage(box) test could go before all the type tests too and be done in one place only. Not sure about the inline-block case...
Comment 3 zalan 2022-08-22 10:01:45 PDT
(In reply to Antti Koivisto from comment #2)
> Comment on attachment 461780 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=461780&action=review
> 
> > Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp:872
> > +            if (!hasDamage(box))
> > +                continue;
> 
> Maybe the hasDamage(box) test could go before all the type tests too and be
> done in one place only. Not sure about the inline-block case...
good point. will do in a followup patch.
Comment 4 EWS 2022-08-22 10:42:09 PDT
Committed 253650@main (dfaf8254ed07): <https://commits.webkit.org/253650@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 461780 [details].
Comment 5 Radar WebKit Bug Importer 2022-08-22 10:43:16 PDT
<rdar://problem/98988623>