[Webkit-unassigned] [Bug 250438] New: tiled-drawing/scrolling/scroll-snap tests fail with UI-side compositing
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jan 10 21:55:07 PST 2023
https://bugs.webkit.org/show_bug.cgi?id=250438
Bug ID: 250438
Summary: tiled-drawing/scrolling/scroll-snap tests fail with
UI-side compositing
Product: WebKit
Version: WebKit Local Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Tools / Tests
Assignee: webkit-unassigned at lists.webkit.org
Reporter: simon.fraser at apple.com
These tests do things like:
eventSender.keyDown("rightArrow");
expectTrue(document.scrollingElement.scrollLeft == (window.innerWidth * scale), "arrow key div scrolled to second div.");
With UI-side compositing, arrow handling hits AsyncScrollingCoordinator::requestScrollPositionUpdate(), which bounces to the UI process, and then IPCs back to the web process via AsyncScrollingCoordinator::reconcileScrollingState() which updates the ScrollableArea's scroll position, which is then read by `scrollLeft`.
So the tests need to wait for a presentation update after dispatching the key.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230111/66d7db6a/attachment-0001.htm>
More information about the webkit-unassigned
mailing list