Bug 1245751 - Part 13: Add href in kURLAttributesSVG.
MozReview-Commit-ID: IfUYXp1VKaz
--- a/dom/base/nsTreeSanitizer.cpp
+++ b/dom/base/nsTreeSanitizer.cpp
@@ -588,16 +588,17 @@ nsIAtom** const kAttributesSVG[] = {
&nsGkAtoms::y2, // y2
&nsGkAtoms::yChannelSelector, // yChannelSelector
&nsGkAtoms::z, // z
&nsGkAtoms::zoomAndPan, // zoomAndPan
nullptr
};
nsIAtom** const kURLAttributesSVG[] = {
+ &nsGkAtoms::href,
nullptr
};
nsIAtom** const kElementsMathML[] = {
&nsGkAtoms::abs_, // abs
&nsGkAtoms::_and, // and
&nsGkAtoms::annotation_, // annotation
&nsGkAtoms::annotation_xml_, // annotation-xml