Re: [css-shapes] Purpose of fill-rule not specified

On 7/22/15, 3:15 PM, "fantasai" <fantasai.lists@inkedblade.net> wrote:

>On 07/22/2015 03:58 PM, Alan Stearns wrote:
>> On 7/22/15, 7:08 AM, "Tom Potts" <karaken12@gmail.com> wrote:
>>
>>> I've updated the
>>> example <http://codepen.io/karaken12/pen/gpdwKO?editors=110> to 
>>>actually
>>> use the shape specification and show the browser's behaviour. On 
>>>Windows
>>> 7 Chrome (v43.0.2357.134) it doesn't do what I would expect it to: it
>>> basically ignores the fill-rule setting.
>>
>> That’s intended. The polygon in Case 3 has an internal void, but the
>> contours still include all of the right edge. Fill-rule doesn’t have any
>> effect on shape-outside. It’s included for shape-inside and clip-path,
>> where internal voids are relevant. I could add a note to the draft
>> mentioning this.
>
>If it's not needed for shape-outside, then maybe it could be syntactically
>omitted in this level?

It’s needed for clip-path, which is referencing this level of CSS Shapes.

Thanks,

Alan

Received on Wednesday, 22 July 2015 22:27:21 UTC