Commit Graph

2 Commits

Author SHA1 Message Date
Ting-Yu Lin
6c6414f0d8 Bug 1309467 followup - Fix link to versioned css-shapes spec. r=me
Use https://drafts.csswg.org/css-shapes-1/ per bug 1309467 comment 31.

MozReview-Commit-ID: LGErWlbw4qV
2016-11-16 11:57:29 +08:00
Ting-Yu Lin
3885f92712 Bug 1309467 Part 4 - Implement <shape-box> values for shape-outside. r=dbaron
Per spec, float positioning and stacking is not affected by defining a float
area with a shape.
https://drafts.csswg.org/css-shapes/#relation-to-box-model-and-float-behavior

So all the call sites of GetFloatAvailableSpace() related to adding a
float are replaced by GetFloatAvailableSpaceForPlacingFloat().

<shape-box> with border-radius will be implemented in next part.

MozReview-Commit-ID: 1RXEeXDhdWo
2016-10-12 16:06:25 +08:00