W3C home > Mailing lists > Public > www-style@w3.org > August 2012

Re: [css3-exclusions] remove <fill-rule> from "polygon()" syntax

From: Rik Cabanier <cabanier@gmail.com>
Date: Tue, 28 Aug 2012 19:43:19 -0700
Message-ID: <CAGN7qDAEnNOb2Z6_HG-f7F6iaPG=X17Je2Dh1kExMhwajZr4TA@mail.gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: Dirk Schulze <dschulze@adobe.com>, Alan Stearns <stearns@adobe.com>, Bear Travis <betravis@adobe.com>, www-style list <www-style@w3.org>
On Tue, Aug 28, 2012 at 7:06 PM, Tab Atkins Jr. <jackalmage@gmail.com>wrote:

> On Tue, Aug 28, 2012 at 5:44 PM, Dirk Schulze <dschulze@adobe.com> wrote:
> > Also 'inherit' is one of the default keywords that apply to every CSS
> property and the default value is not 'inherit' but 'nonzero'. Therefore
> you need to specify the 'fill-rule'/'clip-rule' on the path itself to
> 'inherit'. If you do that, I assume you are aware that it inherits the
> value from the parent :).
>
> Note: this has nothing to do with whether a property is inherited or
> not.  *No* property uses 'inherit' as its initial value.  Whether a
> property inherits or not is a separate aspect of the property.  (The
> 'inherit' value works regardless of whether the property is inherited
> or not.)
>
> However, you're right that 'clip-path' isn't an inherited property, so
> Rik's wrong there.
>

I know you have to specify inherit. My point is that is no reason to bring
this idiom to CSS; it's not useful.
Winding rules should got to the fill/clip directly.
Received on Wednesday, 29 August 2012 02:43:47 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:59 GMT