W3C home > Mailing lists > Public > www-style@w3.org > July 2015

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

From: Alan Stearns <stearns@adobe.com>
Date: Wed, 22 Jul 2015 22:26:50 +0000
To: fantasai <fantasai.lists@inkedblade.net>, "www-style@w3.org" <www-style@w3.org>
Message-ID: <B619232F-956A-43D8-8ADB-FF086DFF5C8D@adobe.com>
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 
>>> use the shape specification and show the browser's behaviour. On 
>>> 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.


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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:52:18 UTC