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

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 UTC