Bug 130272 - Subpixel rendering: border-radius painting falls back to rectangle at subpixel positions.
Summary: Subpixel rendering: border-radius painting falls back to rectangle at subpixe...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: zalan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-14 16:44 PDT by zalan
Modified: 2014-03-14 20:17 PDT (History)
5 users (show)

See Also:


Attachments
Patch (7.92 KB, patch)
2014-03-14 16:52 PDT, zalan
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description zalan 2014-03-14 16:44:55 PDT
Due to pixelsnapping the rect but not adjusting the radii -> rounded rectangle is not renderable.
Comment 1 zalan 2014-03-14 16:52:08 PDT
Created attachment 226778 [details]
Patch
Comment 2 Simon Fraser (smfr) 2014-03-14 16:55:43 PDT
Comment on attachment 226778 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=226778&action=review

> Source/WebCore/platform/graphics/RoundedRect.cpp:242
> +    const LayoutRect& originalRect = rect();

There doesn't seem to be any point to storing this in a reference.
Comment 3 WebKit Commit Bot 2014-03-14 19:42:36 PDT
Comment on attachment 226778 [details]
Patch

Clearing flags on attachment: 226778

Committed r165670: <http://trac.webkit.org/changeset/165670>
Comment 4 WebKit Commit Bot 2014-03-14 19:42:39 PDT
All reviewed patches have been landed.  Closing bug.
Comment 5 zalan 2014-03-14 20:17:04 PDT
Committed r165671: <http://trac.webkit.org/changeset/165671>