You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have an SVG element with width and height attributes (not style) it seems Chrome reports the computed width and height as auto, which overrides the attributes when using computed-style-to-inline-style
If you have an SVG element with
width
andheight
attributes (not style) it seems Chrome reports the computedwidth
andheight
asauto
, which overrides the attributes when usingcomputed-style-to-inline-style
Demo: https://jsfiddle.net/uqL9hxnk/1/
This doesn't happen in Safari or Firefox, so maybe it's a bug in Chrome. It would be nice if
computed-style-to-inline-style
worked around it though.The text was updated successfully, but these errors were encountered: