Bug 221573

Summary: [LFC][Integration] Style change on an inline box should trigger invalidation
Product: WebKit Reporter: zalan <zalan>
Component: Layout and RenderingAssignee: zalan <zalan>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, changseok, esprehn+autocc, ews-watchlist, glenn, koivisto, kondapallykalyan, pdr, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch ews-feeder: commit-queue-

Description zalan 2021-02-08 14:12:34 PST
full invalidation at this point.
Comment 1 zalan 2021-02-08 14:17:03 PST
Created attachment 419626 [details]
Patch
Comment 2 Antti Koivisto 2021-02-08 22:12:21 PST
Comment on attachment 419626 [details]
Patch

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

> Source/WebCore/rendering/RenderInline.cpp:200
> +        if (needsLayout()) {

Probably selfNeedsLayout()

We may also need descendant canUse test similar to canUseForAfterStyleChange.

> Source/WebCore/rendering/RenderInline.cpp:202
> +            downcast<RenderBlockFlow>(*containingBlock()).invalidateLineLayoutPath();

There is LineLayout::blockContainer I have been using for this sort of things.
Comment 3 zalan 2021-02-09 11:21:45 PST
Created attachment 419745 [details]
Patch
Comment 4 EWS 2021-02-09 12:24:43 PST
Committed r272601: <https://commits.webkit.org/r272601>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 419745 [details].
Comment 5 Radar WebKit Bug Importer 2021-02-10 14:32:54 PST
<rdar://problem/74206609>