Jump to content

currentColor unsupported

Recommended Posts

For an SVG document like the attached that relies on `currentColor` to set the color of nodes (normally set via CSS on parent elements in the document), the document loads with nothing visible (since both fill and stroke are set to none).


In a viewer (e.g. Chrome), the default curve color is set to black.




In a standalone SVG viewer, the result is also correct.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


Important Information

These are the Terms of Use you will be asked to agree to if you join the forum. | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.