[Webkit-unassigned] [Bug 201895] New: [cairo] Incorrect targetRect in BackingStoreBackendCairoImpl::scroll
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Sep 17 20:44:39 PDT 2019
https://bugs.webkit.org/show_bug.cgi?id=201895
Bug ID: 201895
Summary: [cairo] Incorrect targetRect in
BackingStoreBackendCairoImpl::scroll
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Platform
Assignee: webkit-unassigned at lists.webkit.org
Reporter: Hironori.Fujii at sony.com
CC: cgarcia at igalia.com, magomez at igalia.com,
mrobinson at webkit.org, zan at falconsigh.net
[cairo] Incorrect targetRect in BackingStoreBackendCairoImpl::scroll
In BackingStoreBackendCairoImpl::scroll, targetRect is calculated wrongly by shifting maxX and manxY.
> IntRect targetRect = scrollRect;
> targetRect.move(scrollOffset);
> targetRect.shiftMaxXEdgeTo(targetRect.maxX() - scrollOffset.width());
> targetRect.shiftMaxYEdgeTo(targetRect.maxY() - scrollOffset.height());
This code came from Bug 59655.
On the other hand, Bug 83309 fixed BackingStoreBackendCairoX11::scroll.
> IntRect targetRect = scrollRect;
> targetRect.move(scrollOffset);
> targetRect.intersect(scrollRect);
--
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/20190918/b7fff545/attachment-0001.html>
More information about the webkit-unassigned
mailing list