- From: Dirk Schulze <dschulze@adobe.com>
- Date: Sun, 22 Dec 2013 20:38:02 +0000
- To: www-style list <www-style@w3.org>
Hi, CSS Shapes has the following syntax for the ’shape-outside’ property[1]: auto | [<basic-shape> || <box>] | <image> This basically allows the following valid example: shape-outside: margin-box; No shape is specified. What is the shape used for this property? I think there are two useful possibilities: 1) The property is treated as if ‘auto’ was specified 2) An implicit inset() shape is specified matching the size of the specified box. The first one might be the simplest, but the second option seems to make sense as well. I would actually think option 2 is preferable. The ‘clip-path’ property has the same problem [2]: <clip-source> | [ <basic-shape> || <box> | bounding-box ] | none Options: 1) The property is treated as if ‘none’ was specified 2) The element is clipped to the specified box by an implicit use of inset(). I think Option 2 is preferable as well as some kind of shortcut. However, none of both specifications do specify the behavior yet. For my part, I want 'clip-path' behave the same as 'shape-outside'. Greetings, Dirk [1] http://dev.w3.org/csswg/css-shapes/#shape-outside-property [2] http://dev.w3.org/fxtf/masking/#the-clip-path
Received on Sunday, 22 December 2013 20:38:45 UTC