Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9ed05ad3194c26bd5932886be3e1fea91aa4a36f
      
https://github.com/WebKit/WebKit/commit/9ed05ad3194c26bd5932886be3e1fea91aa4a36f
  Author: Sihui Liu <[email protected]>
  Date:   2024-02-02 (Fri, 02 Feb 2024)

  Changed paths:
    M Source/WebKit/UIProcess/ios/WKContentView.mm

  Log Message:
  -----------
  [Site Isolation][iOS] Do not update WKContentView bounds when transaction 
comes from subframe process
https://bugs.webkit.org/show_bug.cgi?id=268637
rdar://122193647

Reviewed by Alex Christensen.

We currently change the WKContentView size based on the content size in 
RemoteLayerTreeTransaction. However, the size
in a subframe process transaction is only about subframe content, so we should 
not change content view size for that.
Otherwise, the whole web view will be clipped to subframe size.

* Source/WebKit/UIProcess/ios/WKContentView.mm:
(-[WKContentView _didCommitLayerTree:]):

Canonical link: https://commits.webkit.org/274027@main


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to