WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
139245
Programmatic scrolling and content changes are not always synchronized
https://bugs.webkit.org/show_bug.cgi?id=139245
Summary
Programmatic scrolling and content changes are not always synchronized
Simon Fraser (smfr)
Reported
2014-12-03 17:20:56 PST
Content that changes the scroll offset, and changes the style of an element at the same time should be able to make that element appear in a fixed position. However, for some reason WebKit is unable to always synchronize the two, and the element flickers.
Attachments
Patch
(9.18 KB, patch)
2014-12-05 17:04 PST
,
Simon Fraser (smfr)
andersca
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Simon Fraser (smfr)
Comment 1
2014-12-03 17:21:14 PST
rdar://problem/18833612
Simon Fraser (smfr)
Comment 2
2014-12-05 16:05:44 PST
Even when programmatic scrolling, AsyncScrollingCoordinator::requestScrollPositionUpdate() sends the scroll off to the scrolling thread, which sometime later tells the UI thread that we scrolled in AsyncScrollingCoordinator::scheduleUpdateScrollPositionAfterAsyncScroll(), which (on a timer) hits AsyncScrollingCoordinator::updateScrollPositionAfterAsyncScroll().
Simon Fraser (smfr)
Comment 3
2014-12-05 17:04:50 PST
Created
attachment 242685
[details]
Patch
Simon Fraser (smfr)
Comment 4
2014-12-05 17:25:04 PST
https://trac.webkit.org/r176899
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug