Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for svg fill-rule #5507

Open
mroeling opened this issue Jun 30, 2020 · 2 comments
Open

Add support for svg fill-rule #5507

mroeling opened this issue Jun 30, 2020 · 2 comments

Comments

@mroeling
Copy link

https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/fill-rule

Although candidate recommendation in SVG 2, it seems to work in current versions of Chrome (83.0.4103.116) and Firefox DeveloperEdition (78.0b9).

@Ugoku
Copy link
Contributor

Ugoku commented Jul 1, 2020

fill-rule already existed in SVG 1.1: https://www.w3.org/TR/SVG11/painting.html#FillRuleProperty
I expect full support in all browsers that support SVG

@GPHemsley
Copy link

GPHemsley commented Jan 17, 2022

This is ostensibly covered by MDN data (via mdn/browser-compat-data#1627), but it is currently empty:
https://github.com/mdn/browser-compat-data/blob/0d67d44dfd3f11b8b1ea31803df68e5456509971/svg/attributes/presentation.json#L852-L900

I imagine the MDN repo would greatly appreciate a PR to fill that in.

Side note: the SVG 1.1 and SVG 2 definitions appear to be substantially similar.
https://svgwg.org/svg2-draft/painting.html#FillRuleProperty

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants