Bug 124678

Summary: [CSS Shapes] Negative margin-top on a float with shape-outside does not lay out correctly
Product: WebKit Reporter: Bear Travis <betravis>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WORKSFORME    
Severity: Normal CC: bjonesbe, dino, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 98664    
Attachments:
Description Flags
Test case
none
Updated test case using proper reference box none

Description Bear Travis 2013-11-20 14:40:02 PST
Created attachment 217481 [details]
Test case

ShapeOutsideInfo clamps top margin to 0 when calculating the line's offset relative to the float.
Comment 1 Radar WebKit Bug Importer 2014-01-31 11:05:45 PST
<rdar://problem/15958581>
Comment 2 Bem Jones-Bey 2014-02-24 11:27:03 PST
Created attachment 225077 [details]
Updated test case using proper reference box

The original test case assumes that the shape is sized and positioned based on the content box, so update it to explicitly use the content-box sizing.
Comment 3 Bem Jones-Bey 2014-02-24 11:30:20 PST
As far as I can tell, this has been fixed. I believe my fix for bug 128631 is what fixed it.