There is no reason for guarding for SVG element when looking up style to inherit.
Fixed in bug 52317.