Bug 124678 - [CSS Shapes] Negative margin-top on a float with shape-outside does not lay out correctly
Summary: [CSS Shapes] Negative margin-top on a float with shape-outside does not lay o...
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks: 98664
  Show dependency treegraph
 
Reported: 2013-11-20 14:40 PST by Bear Travis
Modified: 2014-02-24 11:30 PST (History)
3 users (show)

See Also:


Attachments
Test case (488 bytes, text/html)
2013-11-20 14:40 PST, Bear Travis
no flags Details
Updated test case using proper reference box (500 bytes, text/html)
2014-02-24 11:27 PST, Bem Jones-Bey
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.