Bug 244339

Summary: [IFC][Integration] Introduce InlineContentPainter
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
Patch none

Description zalan 2022-08-25 10:20:02 PDT
to paint IFC inline content
Comment 1 zalan 2022-08-25 10:21:37 PDT
Created attachment 461860 [details]
Patch
Comment 2 Antti Koivisto 2022-08-25 12:57:34 PDT
Comment on attachment 461860 [details]
Patch

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

nice!

> Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp:-765
> -class LayerPaintScope {

LineLayout::hitTest uses this. If this compiles it must be by accident.

> Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp:771
> +    if (!m_inlineContent)

Maybe we could eliminate these tests at some point, they shouldn't really happen
Comment 3 zalan 2022-08-25 15:16:42 PDT
Created attachment 461869 [details]
Patch
Comment 4 EWS 2022-08-25 18:11:10 PDT
Committed 253801@main (1ab9ad2f5f0d): <https://commits.webkit.org/253801@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 461869 [details].
Comment 5 Radar WebKit Bug Importer 2022-08-25 18:12:16 PDT
<rdar://problem/99164823>
Comment 6 zalan 2022-08-25 18:45:39 PDT
(In reply to Antti Koivisto from comment #2)
> Comment on attachment 461860 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=461860&action=review
> 
> nice!
> 
> > Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp:-765
> > -class LayerPaintScope {
> 
> LineLayout::hitTest uses this. If this compiles it must be by accident.
> 
> > Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp:771
> > +    if (!m_inlineContent)
> 
> Maybe we could eliminate these tests at some point, they shouldn't really
> happen
yes, please!