diff --git a/content/svg/content/src/nsSVGAElement.cpp b/content/svg/content/src/nsSVGAElement.cpp index 53f9fa2edc4..5e6e663f05b 100644 --- a/content/svg/content/src/nsSVGAElement.cpp +++ b/content/svg/content/src/nsSVGAElement.cpp @@ -63,11 +63,12 @@ NS_IMPL_RELEASE_INHERITED(nsSVGAElement, nsSVGAElementBase) DOMCI_NODE_DATA(SVGAElement, nsSVGAElement) NS_INTERFACE_TABLE_HEAD(nsSVGAElement) - NS_NODE_INTERFACE_TABLE6(nsSVGAElement, + NS_NODE_INTERFACE_TABLE7(nsSVGAElement, nsIDOMNode, nsIDOMElement, nsIDOMSVGElement, nsIDOMSVGAElement, + nsIDOMSVGURIReference, nsILink, Link) NS_DOM_INTERFACE_MAP_ENTRY_CLASSINFO(SVGAElement) diff --git a/content/svg/content/test/Makefile.in b/content/svg/content/test/Makefile.in index c3b538878fc..2ed481e8a16 100644 --- a/content/svg/content/test/Makefile.in +++ b/content/svg/content/test/Makefile.in @@ -83,6 +83,12 @@ _TEST_FILES = \ test_viewport.html \ zoom-helper.svg \ test_zoom.xhtml \ + test_a_href_01.xhtml \ + test_a_href_02.xhtml \ + a_href_destination.svg \ + a_href_helper_01.svg \ + a_href_helper_02_03.svg \ + a_href_helper_04.svg \ $(NULL) libs:: $(_TEST_FILES) diff --git a/content/svg/content/test/a_href_destination.svg b/content/svg/content/test/a_href_destination.svg new file mode 100644 index 00000000000..43e4c812f4b --- /dev/null +++ b/content/svg/content/test/a_href_destination.svg @@ -0,0 +1,3 @@ + diff --git a/content/svg/content/test/a_href_helper_01.svg b/content/svg/content/test/a_href_helper_01.svg new file mode 100644 index 00000000000..8f33cea4049 --- /dev/null +++ b/content/svg/content/test/a_href_helper_01.svg @@ -0,0 +1,5 @@ + diff --git a/content/svg/content/test/a_href_helper_02_03.svg b/content/svg/content/test/a_href_helper_02_03.svg new file mode 100644 index 00000000000..af4b7e27360 --- /dev/null +++ b/content/svg/content/test/a_href_helper_02_03.svg @@ -0,0 +1,5 @@ + diff --git a/content/svg/content/test/a_href_helper_04.svg b/content/svg/content/test/a_href_helper_04.svg new file mode 100644 index 00000000000..50aca288987 --- /dev/null +++ b/content/svg/content/test/a_href_helper_04.svg @@ -0,0 +1,6 @@ + diff --git a/content/svg/content/test/test_a_href_01.xhtml b/content/svg/content/test/test_a_href_01.xhtml new file mode 100644 index 00000000000..0579030f0a2 --- /dev/null +++ b/content/svg/content/test/test_a_href_01.xhtml @@ -0,0 +1,92 @@ + + +
++ ++ + diff --git a/content/svg/content/test/test_a_href_02.xhtml b/content/svg/content/test/test_a_href_02.xhtml new file mode 100644 index 00000000000..ca8a84cc046 --- /dev/null +++ b/content/svg/content/test/test_a_href_02.xhtml @@ -0,0 +1,38 @@ + + + +
+ ++ + diff --git a/dom/base/nsDOMClassInfo.cpp b/dom/base/nsDOMClassInfo.cpp index b35bf93be12..c75263d5f61 100644 --- a/dom/base/nsDOMClassInfo.cpp +++ b/dom/base/nsDOMClassInfo.cpp @@ -3055,6 +3055,7 @@ nsDOMClassInfo::Init() DOM_CLASSINFO_MAP_BEGIN(SVGAElement, nsIDOMSVGAElement) DOM_CLASSINFO_MAP_ENTRY(nsIDOMSVGAElement) + DOM_CLASSINFO_MAP_ENTRY(nsIDOMSVGURIReference) DOM_CLASSINFO_SVG_GRAPHIC_ELEMENT_MAP_ENTRIES DOM_CLASSINFO_MAP_END