Re: [svgwg] fill-rule Could Use Some Clarification

@svgeesus Right. So, without regard to the `operation` attribute, the spec should do one of:

- (A) not allowing `fill-rule` attributes on elements where it has no effect;
- (B) explaining why it allows `fill-rule` attributes on elements where it has no effect; or
- (C) redefining `fill-rule` attributes so they they have an effect on elements where the attribute is currently permitted, yet does nothing.

Then do all of:
- (D) add an example and testcase or testcase component for every element on which the `fill-rule` attribute is allowed; and
- (E) point out why the two ellipse examples given in the SVG 2 (at https://svgwg.org/svg2-draft/images/painting/fillrule-nonzero.svg) spec use `path` elements instead of `ellipse` elements in the case of (A).

Regarding (B), I have to wonder if that's related to the old SVG DTD.

Regarding (C), in the Stack Overflow example, two answerers tried to use the `fill-rule` attribute on `g` elements, where it's prohibited in both SVG 1.1 and SVG 2. Allowing the attribute there would significantly increase its utility.

-- 
GitHub Notification of comment by patrickdark
Please view or discuss this issue at https://github.com/w3c/svgwg/issues/344#issuecomment-329989838 using your GitHub account

Received on Saturday, 16 September 2017 19:29:57 UTC