RE: [css3-exclusions] issue with shape-outside: url() (ISSUE-296)

> From: Daniel Glazman [mailto:daniel.glazman@disruptive-innovations.com]
> Sent: Tuesday, December 4, 2012 4:00 AM
> 
> A proposal to solve this issue is to tweak the definition of the shape-outside
> and shape-inside properties as follows.
> 
> Current definitions:
> 
>    shape-outside: auto | <shape> | <uri>
>    shape-inside:  outside-shape | auto | <shape> | <uri>
> 
> Proposed definitions
> 
>    shape-outside: auto
>                   | <shape>
>                   | <uri> [ <position> [ , <position> ]* ]?
>                           [ / <bg-size> ]?
>    shape-inside:  outside-shape
>                   | auto
>                   | <shape>
>                   | <uri> [ <position> [ , <position> ]* ]?
>                           [ / <bg-size> ]?
> 
> where <position> and <bg-size> are taken from css3-background [1] and [2].
> Initial position is 0% 0% and initial size is auto.
> 
> We probably want to "position" the shape relatively to the content box of
> the element and we don't want to repeat, at least for the time being.

The idea of being able to re-position a shape was considered before and what we agreed at the time was to introduce a shape-transform. What is this needed and/or different than css transforms - simply because it has to affect layout (as the shape moves there must be a reflow around it etc.). 

We also agreed that this is not something we want to take for the current version of the spec, thus I'm not sure why these changes are needed now.

Thanks,
Rossen

Received on Monday, 10 December 2012 01:18:46 UTC