Bug 129739

Summary: [CSS Shapes] large corner radius combined with 0 radius does not wrap properly
Product: WebKit Reporter: Bem Jones-Bey <bjonesbe>
Component: Layout and RenderingAssignee: Hans Muller <giles_joplin>
Severity: Normal CC: commit-queue, dino, esprehn+autocc, glenn, kling, kondapallykalyan
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 127982, 129726    
Bug Blocks: 124173    
Description Flags
inset example
border-box example
Patch none

Description Bem Jones-Bey 2014-03-05 07:30:30 PST
Created attachment 225881 [details]
inset example

If a corner radius larger than 50% of the length of the associated dimension (width or height) of the shape is combined with a corner radius that is 0, then wrapping doesn't happen properly to the resultant shape. This happens for both inset and box shapes. See the attached tests for examples.
Comment 1 Bem Jones-Bey 2014-03-05 08:23:42 PST
Created attachment 225887 [details]
border-box example
Comment 2 Hans Muller 2014-04-07 13:12:26 PDT
Created attachment 228753 [details]

Corrected special case handling for shape-outside border-box values with border-radius values that greater than or equal to the box's height.
Comment 3 Bem Jones-Bey 2014-04-08 14:57:05 PDT
Comment on attachment 228753 [details]

Comment 4 WebKit Commit Bot 2014-04-08 15:26:30 PDT
Comment on attachment 228753 [details]

Clearing flags on attachment: 228753

Committed r166966: <http://trac.webkit.org/changeset/166966>
Comment 5 WebKit Commit Bot 2014-04-08 15:26:33 PDT
All reviewed patches have been landed.  Closing bug.