Summary: | REGRESSION (r261874): Typing near the bottom of a scrollable document causes the scroll position to jump | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Wenson Hsieh <wenson_hsieh> | ||||||||
Component: | HTML Editing | Assignee: | Wenson Hsieh <wenson_hsieh> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | ews-watchlist, mifenton, simon.fraser, thorton, webkit-bug-importer, wenson_hsieh | ||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||
Version: | WebKit Nightly Build | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Attachments: |
|
Description
Wenson Hsieh
2020-07-16 15:05:40 PDT
Created attachment 404539 [details]
For EWS
Created attachment 404741 [details]
For EWS
Comment on attachment 404741 [details] For EWS View in context: https://bugs.webkit.org/attachment.cgi?id=404741&action=review > Source/WebCore/ChangeLog:17 > + the content size of view changes; if we happen to be scrolled all the way to the bottom of the main frame, this I'd like to see a mention of what triggers the layout that causes the content size to change. Comment on attachment 404741 [details] For EWS View in context: https://bugs.webkit.org/attachment.cgi?id=404741&action=review >> Source/WebCore/ChangeLog:17 >> + the content size of view changes; if we happen to be scrolled all the way to the bottom of the main frame, this > > I'd like to see a mention of what triggers the layout that causes the content size to change. ππ» added this information to the ChangeLog. In this particular case, the layout happens right before we try and canonicalize under the constructor of VisiblePosition. However, itβs not always due to this; the content size may also change due to script (e.g. input event listeners) triggering layout (for instance, by asking for scrollHeight). Created attachment 404759 [details]
Patch for landing
Committed r264627: <https://trac.webkit.org/changeset/264627> All reviewed patches have been landed. Closing bug and clearing flags on attachment 404759 [details]. |