DescriptionSet CRWWebViewContentView's size before resetting scroll proxy.
Because CRWWebViewContentView's frame was CGRectZero when the scroll
proxy's backing UIScrollView was reset,
CRWWebViewScrollViewProxyObservers were mistakenly resetting the web
view's frame to an invalid frame (negative values for size dimensions).
This was causing various rendering issues, including an incorrect
scroll offset for links opened in new tabs and broken tap handling for
"Read More" links on cnn.com.
BUG=577793, 574996
Review URL: https://codereview.chromium.org/1682873002
Cr-Commit-Position: refs/heads/master@{#374581}
(cherry picked from commit c47dcc4e47d42932d126d80d5aa740cf8470280a)
Patch Set 1 #
Messages
Total messages: 1 (0 generated)
|