|Summary:||[CSS Shapes] shape-inside on floats should work with multiple segment polygons|
|Product:||WebKit||Reporter:||Bem Jones-Bey <bjonesbe>|
|Version:||528+ (Nightly build)|
|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.