Bug 130272

Summary: Subpixel rendering: border-radius painting falls back to rectangle at subpixel positions.
Product: WebKit Reporter: zalan <zalan>
Component: Layout and RenderingAssignee: zalan <zalan>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, esprehn+autocc, glenn, kondapallykalyan, simon.fraser
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

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>