Jump to content
mqudsi

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.

 

alert-octagon.svg

 

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

×