W3C home > Mailing lists > Public > www-style@w3.org > March 2013

[css3-exclusions] exclusions vs float areas

From: Brad Kemper <brad.kemper@gmail.com>
Date: Sun, 3 Mar 2013 20:39:42 -0800
Message-Id: <70E13527-26B3-481C-9752-FF8B31E3F34C@gmail.com>
To: www-style list <www-style@w3.org>
I'm trying to get a handle on which properties apply to floats with a non-auto 'float area', as opposed to 'exclusion boxes'. The spec differentiates them, thusly:[1]
Exclusion box

A box ([CSS3BOX]) that defines an exclusion area for other boxes. The ‘wrap-flow’ property is used to make an element's generated box an exclusion box. An exclusion box contributes its exclusion area to its containing block's wrapping context. An element with a ‘float’ computed value other than ‘none’ does not become an exclusion.

Float area

The area used for excluding inline flow content around a float element. By default, the float area is the float element's margin box. This specification's ‘shape-outside’ property can be used to define arbitrary, non-rectangular float areas.

So, then later, I find this: [2]

"The ‘wrap-margin’ property can be used to offset the inline flow content wrapping on the outside of exclusions."

So, does this not apply to floats with a non-auto shape-outside, since floats are not exclusions? Seems like it should apply to floats too if they have a shape-outside. 

The 'wrap-padding' property doesn't seem to be only for non-floats:

"The ‘wrap-padding’ property can be used to offset the inline flow content wrapping on the inside of elements. Offsets created by the ‘wrap-padding’ property are offset from the content area of the element. This property takes on positive values only."

I think this is solved by substituting 'elements' for 'exclusions' in the description of 'wrap-margin'. That would make it consistent with 'wrap-padding'.

1 http://www.w3.org/TR/css3-exclusions/#definitions
2 http://www.w3.org/TR/css3-exclusions/#wrap-margin-property

Received on Monday, 4 March 2013 04:40:14 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:27 UTC