Bug 226311

Summary: REGRESSION (r244434) Dispatch intrinsicContentsSizeChanged on the main frame only
Product: WebKit Reporter: zalan <zalan>
Component: Layout and RenderingAssignee: zalan <zalan>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, simon.fraser, thorton, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch none

Description zalan 2021-05-26 18:44:57 PDT
using the main frame content size.

<rdar://57623837>
Comment 1 zalan 2021-05-26 19:40:06 PDT
Created attachment 429828 [details]
Patch
Comment 2 Tim Horton 2021-05-26 19:45:03 PDT
Comment on attachment 429828 [details]
Patch

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

> Source/WebCore/ChangeLog:10
> +        the content size reporting should only happen on the main frame. The client is only interested
> +        in the enclosing size of the content.

(And, critically, the API to retrieve the information is per-WKWebView, it doesn't expose this information on a frame-by-frame basis).
Comment 3 zalan 2021-05-26 21:06:05 PDT
Created attachment 429841 [details]
Patch
Comment 4 EWS 2021-05-27 06:28:04 PDT
Committed r278164 (238208@main): <https://commits.webkit.org/238208@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 429841 [details].