This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse the repository at this point in the history
Blank news article on kottke.org
https://bugs.webkit.org/show_bug.cgi?id=159733 <rdar://problem/26743065> Reviewed by Simon Fraser. This patch ensures that we update the visible content rect, when Auto Layout moves the WKWebView around. We normally expect setFrameRect to be called to position WKWebView. However Auto Layout relies on layoutSubviews, and in order to always have up-to-date visible content rect, we need to override layoutSubviews in WKWebView. * UIProcess/API/Cocoa/WKWebView.mm: (-[WKWebView layoutSubviews]): Canonical link: https://commits.webkit.org/177881@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@203189 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing 2 changed files with 21 additions and 0 deletions.