[Webkit-unassigned] [Bug 177232] Gradient on the body rendered incorrectly sometimes
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Sep 20 15:01:18 PDT 2017
https://bugs.webkit.org/show_bug.cgi?id=177232
--- Comment #2 from Simon Fraser (smfr) <simon.fraser at apple.com> ---
calculateBackgroundImageGeometry() uses the size of the <body> for positioningAreaSize which is used to compute the tile size, which ends up with zero height, but the tileSize gets expanded to one device pixel via:
return LayoutSize(std::max<LayoutUnit>(1 / deviceScaleFactor, localImageIntrinsicSize.width() * scaleFactor),
std::max<LayoutUnit>(1 / deviceScaleFactor, localImageIntrinsicSize.height() * scaleFactor));
in RenderBoxModelObject::calculateFillTileSize() which should probably never make 0 bigger.
Other browsers draw no background for this testcase.
--
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/20170920/207d5461/attachment.html>
More information about the webkit-unassigned
mailing list