jQuery doesn't generally support SVG but due to the fact we've received exceptionally many questions about class manipulation support and it was relatively cheap for us to do, we added such support in jQuery 1.12/2.2. We should document that addClass, removeClass, hasClass and toggleClass is now supported on SVG nodes and we have unit tests for that.
The note should also warn that class manip support is an exception and that most jQuery APIs don't support SVGs.
jQuery doesn't generally support SVG but due to the fact we've received exceptionally many questions about class manipulation support and it was relatively cheap for us to do, we added such support in jQuery 1.12/2.2. We should document that
addClass,removeClass,hasClassandtoggleClassis now supported on SVG nodes and we have unit tests for that.The note should also warn that class manip support is an exception and that most jQuery APIs don't support SVGs.