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

color is not a CSS Mapped attribute according to SVG 2 but tests assume it is #800

Closed
longsonr opened this issue Jun 15, 2020 · 2 comments
Closed

Comments

@longsonr
Copy link

color is present here

https://searchfox.org/mozilla-central/source/testing/web-platform/tests/svg/styling/required-properties.svg

But not in the document it points to i.e. https://svgwg.org/svg2-draft/propidx.html

It's also needed to pass https://searchfox.org/mozilla-central/source/testing/web-platform/tests/svg/pservers/scripted/stop-color-inheritance-currentcolor.svg

Firefox does not support color as a mapped attribute. If you rewrite the stop-color-inheritance-currentcolor.svg to have color as a style, Firefox will pass that test.

@fsoder
Copy link

fsoder commented Jun 15, 2020

color is listed in the table at https://svgwg.org/svg2-draft/styling.html#TermPresentationAttribute (and the corresponding appendix). I guess color is not listed in the property index because it's defined by CSS Color (as indicated in https://svgwg.org/svg2-draft/painting.html#ColorProperty).

@longsonr
Copy link
Author

Ahh, OK. Somewhat confusing though.

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

No branches or pull requests

2 participants