[Webkit-unassigned] [Bug 235900] REGRESSION(r166784): Accumulated pixel rounding errors cause gradient color stops to be misaligned

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 31 19:08:51 PST 2022


https://bugs.webkit.org/show_bug.cgi?id=235900

Myles C. Maxfield <mmaxfield at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|webkit-unassigned at lists.web |zalan at apple.com
                   |kit.org                     |

--- Comment #3 from Myles C. Maxfield <mmaxfield at apple.com> ---
Commenting out these two lines in pixelSnapBackgroundImageGeometryForPainting() makes the bug go away:

tileSize = LayoutSize(snapRectToDevicePixels(LayoutRect(destinationRect.location(), tileSize), scaleFactor).size());
phase = LayoutSize(snapRectToDevicePixels(LayoutRect(destinationRect.location(), phase), scaleFactor).size());

but I don't know if that's a safe change.

Assigning to Alan.

-- 
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/20220201/321e0618/attachment.htm>


More information about the webkit-unassigned mailing list