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

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

From: fantasai <fantasai.lists@inkedblade.net>
Date: Wed, 22 Jul 2015 18:15:21 -0400
Message-ID: <55B015F9.3040202@inkedblade.net>
To: www-style@w3.org
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?

~fantasai
Received on Wednesday, 22 July 2015 22:15:52 UTC

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