[Webkit-unassigned] [Bug 241800] Wrong image display for Non-integer sized elements and background-position specified as %
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jun 22 16:19:19 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=241800
--- Comment #4 from zalan <zalan at apple.com> ---
Yeah, so we apparently pixel-snap too early in the process of generating background images.
@@ -1258,7 +1258,6 @@ BackgroundImageGeometry RenderBoxModelObject::calculateBackgroundImageGeometry(c
}
} else {
positioningAreaSize = borderBoxRect.size() - LayoutSize(left + right, top + bottom);
- positioningAreaSize = LayoutSize(snapRectToDevicePixels(LayoutRect(paintOffset, positioningAreaSize), deviceScaleFactor).size());
}
} else {
LayoutRect viewportRect;
^^ fixes the issue.
--
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/20220622/588ca519/attachment.htm>
More information about the webkit-unassigned
mailing list