[webkit-reviews] review granted: [Bug 133491] Subpixel rendering: border-radius painting falls back to rectangle when the snapped rounded rect becomes non-renderable. : [Attachment 232444] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 4 16:03:53 PDT 2014


Simon Fraser (smfr) <simon.fraser at apple.com> has granted Zalan Bujtas
<zalan at apple.com>'s request for review:
Bug 133491: Subpixel rendering: border-radius painting falls back to rectangle
when the snapped rounded rect becomes non-renderable.
https://bugs.webkit.org/show_bug.cgi?id=133491

Attachment 232444: Patch
https://bugs.webkit.org/attachment.cgi?id=232444&action=review

------- Additional Comments from Simon Fraser (smfr) <simon.fraser at apple.com>
View in context: https://bugs.webkit.org/attachment.cgi?id=232444&action=review


> Source/WebCore/platform/graphics/RoundedRect.cpp:250
> +	   adjustedRadii.setTopLeft(LayoutSize(adjustedRadii.topLeft().width()
/ horizonalRatio, adjustedRadii.topLeft().height() / verticalRatio));

Would be cleaner if we had LayoutSize::scale(x, y) and you scaled by 1/ratio.


More information about the webkit-reviews mailing list