Bug 226311 - REGRESSION (r244434) Dispatch intrinsicContentsSizeChanged on the main frame only
Summary: REGRESSION (r244434) Dispatch intrinsicContentsSizeChanged on the main frame ...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: zalan
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-05-26 18:44 PDT by zalan
Modified: 2021-05-27 06:28 PDT (History)
4 users (show)

See Also:


Attachments
Patch (4.68 KB, patch)
2021-05-26 19:40 PDT, zalan
no flags Details | Formatted Diff | Diff
Patch (5.54 KB, patch)
2021-05-26 21:06 PDT, zalan
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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].