Bug 102949

Summary: [CSS Shapes] shape-inside on floats should work with multiple segment polygons
Product: WebKit Reporter: Bem Jones-Bey <bjonesbe>
Component: CSSAssignee: Nobody <webkit-unassigned>
Severity: Normal CC: bjonesbe, donggwan.kim
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
URL: http://dev.w3.org/csswg/css3-exclusions/
Bug Depends on:    
Bug Blocks: 89256, 121615    

Description Bem Jones-Bey 2012-11-21 09:05:27 PST
Make floats on shape inside work with multiple segment polygons.
Comment 1 Bem Jones-Bey 2012-12-07 15:58:37 PST
The proposed approach is to place floats using the entire line (as opposed to per segment). For a given line, left floats will be placed starting in the leftmost segment of the polygon, and right floats will be placed starting in the rightmost segment. This placement will continue on the current line until a float cannot be fit in a segment on that line and still be in a legal position with respect to the other floats on that line. Then, like in normal float layout, any floats that do not fit on the current line will be laid out below the previously laid out floats.