Bug 946065 - Part 8: Move content/svg/ to dom/ and flatten subdirectories. r=jwatt
☠☠ backed out by 6f0b312e09aa ☠ ☠
authorBirunthan Mohanathas <birunthan@mohanathas.com>
Mon, 12 May 2014 22:29:04 +0300
changeset 201961 85228ee8ce8b1ed628e49baf88104469fb0ea7e6
parent 201960 7b6b04006c1b5757772906ced329c4151531fe3e
child 201962 eae28132e647f43dff0e2130d3b6b4d45d4ca2f0
push id3741
push userasasaki@mozilla.com
push dateMon, 21 Jul 2014 20:25:18 +0000
treeherdermozilla-beta@4d6f46f5af68 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjwatt
bugs946065
milestone32.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 946065 - Part 8: Move content/svg/ to dom/ and flatten subdirectories. r=jwatt
content/base/src/moz.build
content/canvas/src/moz.build
content/moz.build
content/svg/content/moz.build
content/svg/content/src/DOMSVGAnimatedLengthList.cpp
content/svg/content/src/DOMSVGAnimatedLengthList.h
content/svg/content/src/DOMSVGAnimatedNumberList.cpp
content/svg/content/src/DOMSVGAnimatedNumberList.h
content/svg/content/src/DOMSVGLength.cpp
content/svg/content/src/DOMSVGLength.h
content/svg/content/src/DOMSVGLengthList.cpp
content/svg/content/src/DOMSVGLengthList.h
content/svg/content/src/DOMSVGNumber.cpp
content/svg/content/src/DOMSVGNumber.h
content/svg/content/src/DOMSVGNumberList.cpp
content/svg/content/src/DOMSVGNumberList.h
content/svg/content/src/DOMSVGPathSeg.cpp
content/svg/content/src/DOMSVGPathSeg.h
content/svg/content/src/DOMSVGPathSegList.cpp
content/svg/content/src/DOMSVGPathSegList.h
content/svg/content/src/DOMSVGPoint.cpp
content/svg/content/src/DOMSVGPoint.h
content/svg/content/src/DOMSVGPointList.cpp
content/svg/content/src/DOMSVGPointList.h
content/svg/content/src/DOMSVGStringList.cpp
content/svg/content/src/DOMSVGStringList.h
content/svg/content/src/DOMSVGTransformList.cpp
content/svg/content/src/DOMSVGTransformList.h
content/svg/content/src/SVGAElement.cpp
content/svg/content/src/SVGAElement.h
content/svg/content/src/SVGAltGlyphElement.cpp
content/svg/content/src/SVGAltGlyphElement.h
content/svg/content/src/SVGAngle.cpp
content/svg/content/src/SVGAngle.h
content/svg/content/src/SVGAnimateElement.cpp
content/svg/content/src/SVGAnimateElement.h
content/svg/content/src/SVGAnimateMotionElement.cpp
content/svg/content/src/SVGAnimateMotionElement.h
content/svg/content/src/SVGAnimateTransformElement.cpp
content/svg/content/src/SVGAnimateTransformElement.h
content/svg/content/src/SVGAnimatedAngle.cpp
content/svg/content/src/SVGAnimatedAngle.h
content/svg/content/src/SVGAnimatedBoolean.cpp
content/svg/content/src/SVGAnimatedBoolean.h
content/svg/content/src/SVGAnimatedEnumeration.cpp
content/svg/content/src/SVGAnimatedEnumeration.h
content/svg/content/src/SVGAnimatedInteger.cpp
content/svg/content/src/SVGAnimatedInteger.h
content/svg/content/src/SVGAnimatedLength.cpp
content/svg/content/src/SVGAnimatedLength.h
content/svg/content/src/SVGAnimatedLengthList.cpp
content/svg/content/src/SVGAnimatedLengthList.h
content/svg/content/src/SVGAnimatedNumber.cpp
content/svg/content/src/SVGAnimatedNumber.h
content/svg/content/src/SVGAnimatedNumberList.cpp
content/svg/content/src/SVGAnimatedNumberList.h
content/svg/content/src/SVGAnimatedPathSegList.cpp
content/svg/content/src/SVGAnimatedPathSegList.h
content/svg/content/src/SVGAnimatedPointList.cpp
content/svg/content/src/SVGAnimatedPointList.h
content/svg/content/src/SVGAnimatedPreserveAspectRatio.cpp
content/svg/content/src/SVGAnimatedPreserveAspectRatio.h
content/svg/content/src/SVGAnimatedRect.cpp
content/svg/content/src/SVGAnimatedRect.h
content/svg/content/src/SVGAnimatedString.cpp
content/svg/content/src/SVGAnimatedString.h
content/svg/content/src/SVGAnimatedTransformList.cpp
content/svg/content/src/SVGAnimatedTransformList.h
content/svg/content/src/SVGAnimationElement.cpp
content/svg/content/src/SVGAnimationElement.h
content/svg/content/src/SVGAttrValueWrapper.cpp
content/svg/content/src/SVGAttrValueWrapper.h
content/svg/content/src/SVGCircleElement.cpp
content/svg/content/src/SVGCircleElement.h
content/svg/content/src/SVGClipPathElement.cpp
content/svg/content/src/SVGClipPathElement.h
content/svg/content/src/SVGComponentTransferFunctionElement.h
content/svg/content/src/SVGContentUtils.cpp
content/svg/content/src/SVGContentUtils.h
content/svg/content/src/SVGDefsElement.cpp
content/svg/content/src/SVGDefsElement.h
content/svg/content/src/SVGDescElement.cpp
content/svg/content/src/SVGDescElement.h
content/svg/content/src/SVGElementFactory.cpp
content/svg/content/src/SVGElementFactory.h
content/svg/content/src/SVGEllipseElement.cpp
content/svg/content/src/SVGEllipseElement.h
content/svg/content/src/SVGFEBlendElement.cpp
content/svg/content/src/SVGFEBlendElement.h
content/svg/content/src/SVGFEColorMatrixElement.cpp
content/svg/content/src/SVGFEColorMatrixElement.h
content/svg/content/src/SVGFEComponentTransferElement.cpp
content/svg/content/src/SVGFEComponentTransferElement.h
content/svg/content/src/SVGFECompositeElement.cpp
content/svg/content/src/SVGFECompositeElement.h
content/svg/content/src/SVGFEConvolveMatrixElement.cpp
content/svg/content/src/SVGFEConvolveMatrixElement.h
content/svg/content/src/SVGFEDiffuseLightingElement.cpp
content/svg/content/src/SVGFEDiffuseLightingElement.h
content/svg/content/src/SVGFEDisplacementMapElement.cpp
content/svg/content/src/SVGFEDisplacementMapElement.h
content/svg/content/src/SVGFEDistantLightElement.cpp
content/svg/content/src/SVGFEDistantLightElement.h
content/svg/content/src/SVGFEDropShadowElement.cpp
content/svg/content/src/SVGFEDropShadowElement.h
content/svg/content/src/SVGFEFloodElement.cpp
content/svg/content/src/SVGFEFloodElement.h
content/svg/content/src/SVGFEGaussianBlurElement.cpp
content/svg/content/src/SVGFEGaussianBlurElement.h
content/svg/content/src/SVGFEImageElement.cpp
content/svg/content/src/SVGFEImageElement.h
content/svg/content/src/SVGFEMergeElement.cpp
content/svg/content/src/SVGFEMergeElement.h
content/svg/content/src/SVGFEMergeNodeElement.cpp
content/svg/content/src/SVGFEMergeNodeElement.h
content/svg/content/src/SVGFEMorphologyElement.cpp
content/svg/content/src/SVGFEMorphologyElement.h
content/svg/content/src/SVGFEOffsetElement.cpp
content/svg/content/src/SVGFEOffsetElement.h
content/svg/content/src/SVGFEPointLightElement.cpp
content/svg/content/src/SVGFEPointLightElement.h
content/svg/content/src/SVGFESpecularLightingElement.cpp
content/svg/content/src/SVGFESpecularLightingElement.h
content/svg/content/src/SVGFESpotLightElement.cpp
content/svg/content/src/SVGFESpotLightElement.h
content/svg/content/src/SVGFETileElement.cpp
content/svg/content/src/SVGFETileElement.h
content/svg/content/src/SVGFETurbulenceElement.cpp
content/svg/content/src/SVGFETurbulenceElement.h
content/svg/content/src/SVGFilterElement.cpp
content/svg/content/src/SVGFilterElement.h
content/svg/content/src/SVGForeignObjectElement.cpp
content/svg/content/src/SVGForeignObjectElement.h
content/svg/content/src/SVGFragmentIdentifier.cpp
content/svg/content/src/SVGFragmentIdentifier.h
content/svg/content/src/SVGGElement.cpp
content/svg/content/src/SVGGElement.h
content/svg/content/src/SVGGradientElement.cpp
content/svg/content/src/SVGGradientElement.h
content/svg/content/src/SVGGraphicsElement.cpp
content/svg/content/src/SVGGraphicsElement.h
content/svg/content/src/SVGIFrameElement.cpp
content/svg/content/src/SVGIFrameElement.h
content/svg/content/src/SVGIRect.h
content/svg/content/src/SVGImageElement.cpp
content/svg/content/src/SVGImageElement.h
content/svg/content/src/SVGIntegerPairSMILType.cpp
content/svg/content/src/SVGIntegerPairSMILType.h
content/svg/content/src/SVGLength.cpp
content/svg/content/src/SVGLength.h
content/svg/content/src/SVGLengthList.cpp
content/svg/content/src/SVGLengthList.h
content/svg/content/src/SVGLengthListSMILType.cpp
content/svg/content/src/SVGLengthListSMILType.h
content/svg/content/src/SVGLineElement.cpp
content/svg/content/src/SVGLineElement.h
content/svg/content/src/SVGMPathElement.cpp
content/svg/content/src/SVGMPathElement.h
content/svg/content/src/SVGMarkerElement.cpp
content/svg/content/src/SVGMarkerElement.h
content/svg/content/src/SVGMaskElement.cpp
content/svg/content/src/SVGMaskElement.h
content/svg/content/src/SVGMatrix.cpp
content/svg/content/src/SVGMatrix.h
content/svg/content/src/SVGMetadataElement.cpp
content/svg/content/src/SVGMetadataElement.h
content/svg/content/src/SVGMotionSMILAnimationFunction.cpp
content/svg/content/src/SVGMotionSMILAnimationFunction.h
content/svg/content/src/SVGMotionSMILAttr.cpp
content/svg/content/src/SVGMotionSMILAttr.h
content/svg/content/src/SVGMotionSMILPathUtils.cpp
content/svg/content/src/SVGMotionSMILPathUtils.h
content/svg/content/src/SVGMotionSMILType.cpp
content/svg/content/src/SVGMotionSMILType.h
content/svg/content/src/SVGNumberList.cpp
content/svg/content/src/SVGNumberList.h
content/svg/content/src/SVGNumberListSMILType.cpp
content/svg/content/src/SVGNumberListSMILType.h
content/svg/content/src/SVGNumberPairSMILType.cpp
content/svg/content/src/SVGNumberPairSMILType.h
content/svg/content/src/SVGOrientSMILType.cpp
content/svg/content/src/SVGOrientSMILType.h
content/svg/content/src/SVGPathData.cpp
content/svg/content/src/SVGPathData.h
content/svg/content/src/SVGPathElement.cpp
content/svg/content/src/SVGPathElement.h
content/svg/content/src/SVGPathSegListSMILType.cpp
content/svg/content/src/SVGPathSegListSMILType.h
content/svg/content/src/SVGPathSegUtils.cpp
content/svg/content/src/SVGPathSegUtils.h
content/svg/content/src/SVGPatternElement.cpp
content/svg/content/src/SVGPatternElement.h
content/svg/content/src/SVGPoint.h
content/svg/content/src/SVGPointList.cpp
content/svg/content/src/SVGPointList.h
content/svg/content/src/SVGPointListSMILType.cpp
content/svg/content/src/SVGPointListSMILType.h
content/svg/content/src/SVGPolygonElement.cpp
content/svg/content/src/SVGPolygonElement.h
content/svg/content/src/SVGPolylineElement.cpp
content/svg/content/src/SVGPolylineElement.h
content/svg/content/src/SVGPreserveAspectRatio.cpp
content/svg/content/src/SVGPreserveAspectRatio.h
content/svg/content/src/SVGRect.cpp
content/svg/content/src/SVGRect.h
content/svg/content/src/SVGRectElement.cpp
content/svg/content/src/SVGRectElement.h
content/svg/content/src/SVGSVGElement.cpp
content/svg/content/src/SVGSVGElement.h
content/svg/content/src/SVGScriptElement.cpp
content/svg/content/src/SVGScriptElement.h
content/svg/content/src/SVGSetElement.cpp
content/svg/content/src/SVGSetElement.h
content/svg/content/src/SVGStopElement.cpp
content/svg/content/src/SVGStopElement.h
content/svg/content/src/SVGStringList.cpp
content/svg/content/src/SVGStringList.h
content/svg/content/src/SVGStyleElement.cpp
content/svg/content/src/SVGStyleElement.h
content/svg/content/src/SVGSwitchElement.cpp
content/svg/content/src/SVGSwitchElement.h
content/svg/content/src/SVGSymbolElement.cpp
content/svg/content/src/SVGSymbolElement.h
content/svg/content/src/SVGTSpanElement.cpp
content/svg/content/src/SVGTSpanElement.h
content/svg/content/src/SVGTagList.h
content/svg/content/src/SVGTests.cpp
content/svg/content/src/SVGTests.h
content/svg/content/src/SVGTextContentElement.cpp
content/svg/content/src/SVGTextContentElement.h
content/svg/content/src/SVGTextElement.cpp
content/svg/content/src/SVGTextElement.h
content/svg/content/src/SVGTextPathElement.cpp
content/svg/content/src/SVGTextPathElement.h
content/svg/content/src/SVGTextPositioningElement.cpp
content/svg/content/src/SVGTextPositioningElement.h
content/svg/content/src/SVGTitleElement.cpp
content/svg/content/src/SVGTitleElement.h
content/svg/content/src/SVGTransform.cpp
content/svg/content/src/SVGTransform.h
content/svg/content/src/SVGTransformList.cpp
content/svg/content/src/SVGTransformList.h
content/svg/content/src/SVGTransformListParser.cpp
content/svg/content/src/SVGTransformListParser.h
content/svg/content/src/SVGTransformListSMILType.cpp
content/svg/content/src/SVGTransformListSMILType.h
content/svg/content/src/SVGTransformableElement.cpp
content/svg/content/src/SVGTransformableElement.h
content/svg/content/src/SVGUseElement.cpp
content/svg/content/src/SVGUseElement.h
content/svg/content/src/SVGViewBoxSMILType.cpp
content/svg/content/src/SVGViewBoxSMILType.h
content/svg/content/src/SVGViewElement.cpp
content/svg/content/src/SVGViewElement.h
content/svg/content/src/SVGZoomEvent.cpp
content/svg/content/src/SVGZoomEvent.h
content/svg/content/src/crashtests/307322-1.svg
content/svg/content/src/crashtests/327705-1.svg
content/svg/content/src/crashtests/336994-1.html
content/svg/content/src/crashtests/344888-1.svg
content/svg/content/src/crashtests/345445-1.svg
content/svg/content/src/crashtests/360836-1.svg
content/svg/content/src/crashtests/367357-1.xhtml
content/svg/content/src/crashtests/369051-1.svg
content/svg/content/src/crashtests/369249-1.svg
content/svg/content/src/crashtests/369291-1.svg
content/svg/content/src/crashtests/369291-2.svg
content/svg/content/src/crashtests/369568-1.svg
content/svg/content/src/crashtests/372046-1.svg
content/svg/content/src/crashtests/372046-2.svg
content/svg/content/src/crashtests/374882-1.svg
content/svg/content/src/crashtests/380101-1.svg
content/svg/content/src/crashtests/381777-1.svg
content/svg/content/src/crashtests/383685-1.svg
content/svg/content/src/crashtests/385096.html
content/svg/content/src/crashtests/385554-1.html
content/svg/content/src/crashtests/385554-2.xul
content/svg/content/src/crashtests/388712-1.svg
content/svg/content/src/crashtests/395616-1.html
content/svg/content/src/crashtests/396618-1.html
content/svg/content/src/crashtests/397017-1.html
content/svg/content/src/crashtests/397551-1.svg
content/svg/content/src/crashtests/397704-1.svg
content/svg/content/src/crashtests/398926-both-different.svg
content/svg/content/src/crashtests/398926-both-same.svg
content/svg/content/src/crashtests/398926-fill.svg
content/svg/content/src/crashtests/398926-stroke.svg
content/svg/content/src/crashtests/405639-1.svg
content/svg/content/src/crashtests/406361-1.html
content/svg/content/src/crashtests/409811-1.html
content/svg/content/src/crashtests/410659-1.svg
content/svg/content/src/crashtests/410659-2.svg
content/svg/content/src/crashtests/410659-3.svg
content/svg/content/src/crashtests/412104-1.svg
content/svg/content/src/crashtests/413174-1.svg
content/svg/content/src/crashtests/414188-1.svg
content/svg/content/src/crashtests/427325-1.svg
content/svg/content/src/crashtests/428228-1.svg
content/svg/content/src/crashtests/428841-1.svg
content/svg/content/src/crashtests/435209-1.svg
content/svg/content/src/crashtests/436418-mpathRoot-1.svg
content/svg/content/src/crashtests/448244-1.svg
content/svg/content/src/crashtests/466576-1.xhtml
content/svg/content/src/crashtests/499879-1.svg
content/svg/content/src/crashtests/535691-1.svg
content/svg/content/src/crashtests/539167-1.svg
content/svg/content/src/crashtests/573316-1.svg
content/svg/content/src/crashtests/579356-1.svg
content/svg/content/src/crashtests/579356-2.svg
content/svg/content/src/crashtests/595608-1.svg
content/svg/content/src/crashtests/601251-1.html
content/svg/content/src/crashtests/601406-1.svg
content/svg/content/src/crashtests/603145-1.svg
content/svg/content/src/crashtests/613899-1.svg
content/svg/content/src/crashtests/613899-2.svg
content/svg/content/src/crashtests/719779-1.svg
content/svg/content/src/crashtests/723441-1.html
content/svg/content/src/crashtests/723441-resource.svg
content/svg/content/src/crashtests/751515-1.svg
content/svg/content/src/crashtests/761507-1.svg
content/svg/content/src/crashtests/831561.html
content/svg/content/src/crashtests/837450-1.svg
content/svg/content/src/crashtests/842463-1.html
content/svg/content/src/crashtests/847138-1.svg
content/svg/content/src/crashtests/864509.svg
content/svg/content/src/crashtests/880544-1.svg
content/svg/content/src/crashtests/880544-2.svg
content/svg/content/src/crashtests/880544-3.svg
content/svg/content/src/crashtests/880544-4.svg
content/svg/content/src/crashtests/880544-5.svg
content/svg/content/src/crashtests/898915-1.svg
content/svg/content/src/crashtests/crashtests.list
content/svg/content/src/crashtests/zero-size-image.svg
content/svg/content/src/moz.build
content/svg/content/src/nsISVGPoint.cpp
content/svg/content/src/nsISVGPoint.h
content/svg/content/src/nsSVGAngle.cpp
content/svg/content/src/nsSVGAngle.h
content/svg/content/src/nsSVGAnimatedTransformList.cpp
content/svg/content/src/nsSVGAnimatedTransformList.h
content/svg/content/src/nsSVGAttrTearoffTable.h
content/svg/content/src/nsSVGBoolean.cpp
content/svg/content/src/nsSVGBoolean.h
content/svg/content/src/nsSVGClass.cpp
content/svg/content/src/nsSVGClass.h
content/svg/content/src/nsSVGDataParser.cpp
content/svg/content/src/nsSVGDataParser.h
content/svg/content/src/nsSVGElement.cpp
content/svg/content/src/nsSVGElement.h
content/svg/content/src/nsSVGEnum.cpp
content/svg/content/src/nsSVGEnum.h
content/svg/content/src/nsSVGFeatures.cpp
content/svg/content/src/nsSVGFeatures.h
content/svg/content/src/nsSVGFeaturesList.h
content/svg/content/src/nsSVGFilters.cpp
content/svg/content/src/nsSVGFilters.h
content/svg/content/src/nsSVGInteger.cpp
content/svg/content/src/nsSVGInteger.h
content/svg/content/src/nsSVGIntegerPair.cpp
content/svg/content/src/nsSVGIntegerPair.h
content/svg/content/src/nsSVGLength2.cpp
content/svg/content/src/nsSVGLength2.h
content/svg/content/src/nsSVGNumber2.cpp
content/svg/content/src/nsSVGNumber2.h
content/svg/content/src/nsSVGNumberPair.cpp
content/svg/content/src/nsSVGNumberPair.h
content/svg/content/src/nsSVGPathDataParser.cpp
content/svg/content/src/nsSVGPathDataParser.h
content/svg/content/src/nsSVGPathGeometryElement.cpp
content/svg/content/src/nsSVGPathGeometryElement.h
content/svg/content/src/nsSVGPolyElement.cpp
content/svg/content/src/nsSVGPolyElement.h
content/svg/content/src/nsSVGString.cpp
content/svg/content/src/nsSVGString.h
content/svg/content/src/nsSVGTransform.cpp
content/svg/content/src/nsSVGTransform.h
content/svg/content/src/nsSVGViewBox.cpp
content/svg/content/src/nsSVGViewBox.h
content/svg/content/test/MutationEventChecker.js
content/svg/content/test/a_href_destination.svg
content/svg/content/test/a_href_helper_01.svg
content/svg/content/test/a_href_helper_02_03.svg
content/svg/content/test/a_href_helper_04.svg
content/svg/content/test/animated-svg-image-helper.html
content/svg/content/test/animated-svg-image-helper.svg
content/svg/content/test/bbox-helper.svg
content/svg/content/test/bounds-helper.svg
content/svg/content/test/dataTypes-helper.svg
content/svg/content/test/fragments-helper.svg
content/svg/content/test/getCTM-helper.svg
content/svg/content/test/getSubStringLength-helper.svg
content/svg/content/test/matrixUtils.js
content/svg/content/test/mochitest.ini
content/svg/content/test/pointer-events.js
content/svg/content/test/scientific-helper.svg
content/svg/content/test/selectSubString-helper.svg
content/svg/content/test/switch-helper.svg
content/svg/content/test/test_SVGLengthList-2.xhtml
content/svg/content/test/test_SVGLengthList.xhtml
content/svg/content/test/test_SVGMatrix.xhtml
content/svg/content/test/test_SVGNumberList.xhtml
content/svg/content/test/test_SVGPathSegList.xhtml
content/svg/content/test/test_SVGPointList.xhtml
content/svg/content/test/test_SVGStringList.xhtml
content/svg/content/test/test_SVGStyleElement.xhtml
content/svg/content/test/test_SVGTransformList.xhtml
content/svg/content/test/test_SVGTransformListAddition.xhtml
content/svg/content/test/test_SVGUnitTypes.html
content/svg/content/test/test_SVG_namespace_ids.html
content/svg/content/test/test_SVGxxxList.xhtml
content/svg/content/test/test_SVGxxxListIndexing.xhtml
content/svg/content/test/test_a_href_01.xhtml
content/svg/content/test/test_a_href_02.xhtml
content/svg/content/test/test_animLengthObjectIdentity.xhtml
content/svg/content/test/test_animLengthReadonly.xhtml
content/svg/content/test/test_animLengthUnits.xhtml
content/svg/content/test/test_bbox-with-invalid-viewBox.xhtml
content/svg/content/test/test_bbox.xhtml
content/svg/content/test/test_bounds.html
content/svg/content/test/test_bug872812.html
content/svg/content/test/test_dataTypes.html
content/svg/content/test/test_dataTypesModEvents.html
content/svg/content/test/test_fragments.html
content/svg/content/test/test_getCTM.html
content/svg/content/test/test_getElementById.xhtml
content/svg/content/test/test_getSubStringLength.xhtml
content/svg/content/test/test_hasFeature.xhtml
content/svg/content/test/test_lang.xhtml
content/svg/content/test/test_length.xhtml
content/svg/content/test/test_lengthParsing.html
content/svg/content/test/test_non-scaling-stroke.html
content/svg/content/test/test_nonAnimStrings.xhtml
content/svg/content/test/test_onerror.xhtml
content/svg/content/test/test_pathAnimInterpolation.xhtml
content/svg/content/test/test_pathSeg.xhtml
content/svg/content/test/test_pointAtLength.xhtml
content/svg/content/test/test_pointer-events-1a.xhtml
content/svg/content/test/test_pointer-events-1b.xhtml
content/svg/content/test/test_pointer-events-2.xhtml
content/svg/content/test/test_pointer-events-3.xhtml
content/svg/content/test/test_pointer-events-4.xhtml
content/svg/content/test/test_pointer-events-5.xhtml
content/svg/content/test/test_scientific.html
content/svg/content/test/test_selectSubString.xhtml
content/svg/content/test/test_stroke-linecap-hit-testing.xhtml
content/svg/content/test/test_switch.xhtml
content/svg/content/test/test_text.html
content/svg/content/test/test_text_2.html
content/svg/content/test/test_text_dirty.html
content/svg/content/test/test_text_lengthAdjust.html
content/svg/content/test/test_text_scaled.html
content/svg/content/test/test_text_selection.html
content/svg/content/test/test_text_update.html
content/svg/content/test/test_transform.xhtml
content/svg/content/test/test_transformParsing.html
content/svg/content/test/test_valueAsString.xhtml
content/svg/content/test/test_valueLeaks.xhtml
content/svg/content/test/test_viewport.html
content/svg/content/test/test_zoom.xhtml
content/svg/content/test/text-helper-scaled.svg
content/svg/content/test/text-helper-selection.svg
content/svg/content/test/text-helper.svg
content/svg/content/test/viewport-helper.svg
content/svg/content/test/zoom-helper.svg
content/svg/document/src/SVGDocument.cpp
content/svg/document/src/SVGDocument.h
content/svg/document/src/moz.build
content/svg/moz.build
dom/bindings/moz.build
dom/moz.build
dom/smil/moz.build
dom/svg/DOMSVGAnimatedLengthList.cpp
dom/svg/DOMSVGAnimatedLengthList.h
dom/svg/DOMSVGAnimatedNumberList.cpp
dom/svg/DOMSVGAnimatedNumberList.h
dom/svg/DOMSVGLength.cpp
dom/svg/DOMSVGLength.h
dom/svg/DOMSVGLengthList.cpp
dom/svg/DOMSVGLengthList.h
dom/svg/DOMSVGNumber.cpp
dom/svg/DOMSVGNumber.h
dom/svg/DOMSVGNumberList.cpp
dom/svg/DOMSVGNumberList.h
dom/svg/DOMSVGPathSeg.cpp
dom/svg/DOMSVGPathSeg.h
dom/svg/DOMSVGPathSegList.cpp
dom/svg/DOMSVGPathSegList.h
dom/svg/DOMSVGPoint.cpp
dom/svg/DOMSVGPoint.h
dom/svg/DOMSVGPointList.cpp
dom/svg/DOMSVGPointList.h
dom/svg/DOMSVGStringList.cpp
dom/svg/DOMSVGStringList.h
dom/svg/DOMSVGTransformList.cpp
dom/svg/DOMSVGTransformList.h
dom/svg/SVGAElement.cpp
dom/svg/SVGAElement.h
dom/svg/SVGAltGlyphElement.cpp
dom/svg/SVGAltGlyphElement.h
dom/svg/SVGAngle.cpp
dom/svg/SVGAngle.h
dom/svg/SVGAnimateElement.cpp
dom/svg/SVGAnimateElement.h
dom/svg/SVGAnimateMotionElement.cpp
dom/svg/SVGAnimateMotionElement.h
dom/svg/SVGAnimateTransformElement.cpp
dom/svg/SVGAnimateTransformElement.h
dom/svg/SVGAnimatedAngle.cpp
dom/svg/SVGAnimatedAngle.h
dom/svg/SVGAnimatedBoolean.cpp
dom/svg/SVGAnimatedBoolean.h
dom/svg/SVGAnimatedEnumeration.cpp
dom/svg/SVGAnimatedEnumeration.h
dom/svg/SVGAnimatedInteger.cpp
dom/svg/SVGAnimatedInteger.h
dom/svg/SVGAnimatedLength.cpp
dom/svg/SVGAnimatedLength.h
dom/svg/SVGAnimatedLengthList.cpp
dom/svg/SVGAnimatedLengthList.h
dom/svg/SVGAnimatedNumber.cpp
dom/svg/SVGAnimatedNumber.h
dom/svg/SVGAnimatedNumberList.cpp
dom/svg/SVGAnimatedNumberList.h
dom/svg/SVGAnimatedPathSegList.cpp
dom/svg/SVGAnimatedPathSegList.h
dom/svg/SVGAnimatedPointList.cpp
dom/svg/SVGAnimatedPointList.h
dom/svg/SVGAnimatedPreserveAspectRatio.cpp
dom/svg/SVGAnimatedPreserveAspectRatio.h
dom/svg/SVGAnimatedRect.cpp
dom/svg/SVGAnimatedRect.h
dom/svg/SVGAnimatedString.cpp
dom/svg/SVGAnimatedString.h
dom/svg/SVGAnimatedTransformList.cpp
dom/svg/SVGAnimatedTransformList.h
dom/svg/SVGAnimationElement.cpp
dom/svg/SVGAnimationElement.h
dom/svg/SVGAttrValueWrapper.cpp
dom/svg/SVGAttrValueWrapper.h
dom/svg/SVGCircleElement.cpp
dom/svg/SVGCircleElement.h
dom/svg/SVGClipPathElement.cpp
dom/svg/SVGClipPathElement.h
dom/svg/SVGComponentTransferFunctionElement.h
dom/svg/SVGContentUtils.cpp
dom/svg/SVGContentUtils.h
dom/svg/SVGDefsElement.cpp
dom/svg/SVGDefsElement.h
dom/svg/SVGDescElement.cpp
dom/svg/SVGDescElement.h
dom/svg/SVGDocument.cpp
dom/svg/SVGDocument.h
dom/svg/SVGElementFactory.cpp
dom/svg/SVGElementFactory.h
dom/svg/SVGEllipseElement.cpp
dom/svg/SVGEllipseElement.h
dom/svg/SVGFEBlendElement.cpp
dom/svg/SVGFEBlendElement.h
dom/svg/SVGFEColorMatrixElement.cpp
dom/svg/SVGFEColorMatrixElement.h
dom/svg/SVGFEComponentTransferElement.cpp
dom/svg/SVGFEComponentTransferElement.h
dom/svg/SVGFECompositeElement.cpp
dom/svg/SVGFECompositeElement.h
dom/svg/SVGFEConvolveMatrixElement.cpp
dom/svg/SVGFEConvolveMatrixElement.h
dom/svg/SVGFEDiffuseLightingElement.cpp
dom/svg/SVGFEDiffuseLightingElement.h
dom/svg/SVGFEDisplacementMapElement.cpp
dom/svg/SVGFEDisplacementMapElement.h
dom/svg/SVGFEDistantLightElement.cpp
dom/svg/SVGFEDistantLightElement.h
dom/svg/SVGFEDropShadowElement.cpp
dom/svg/SVGFEDropShadowElement.h
dom/svg/SVGFEFloodElement.cpp
dom/svg/SVGFEFloodElement.h
dom/svg/SVGFEGaussianBlurElement.cpp
dom/svg/SVGFEGaussianBlurElement.h
dom/svg/SVGFEImageElement.cpp
dom/svg/SVGFEImageElement.h
dom/svg/SVGFEMergeElement.cpp
dom/svg/SVGFEMergeElement.h
dom/svg/SVGFEMergeNodeElement.cpp
dom/svg/SVGFEMergeNodeElement.h
dom/svg/SVGFEMorphologyElement.cpp
dom/svg/SVGFEMorphologyElement.h
dom/svg/SVGFEOffsetElement.cpp
dom/svg/SVGFEOffsetElement.h
dom/svg/SVGFEPointLightElement.cpp
dom/svg/SVGFEPointLightElement.h
dom/svg/SVGFESpecularLightingElement.cpp
dom/svg/SVGFESpecularLightingElement.h
dom/svg/SVGFESpotLightElement.cpp
dom/svg/SVGFESpotLightElement.h
dom/svg/SVGFETileElement.cpp
dom/svg/SVGFETileElement.h
dom/svg/SVGFETurbulenceElement.cpp
dom/svg/SVGFETurbulenceElement.h
dom/svg/SVGFilterElement.cpp
dom/svg/SVGFilterElement.h
dom/svg/SVGForeignObjectElement.cpp
dom/svg/SVGForeignObjectElement.h
dom/svg/SVGFragmentIdentifier.cpp
dom/svg/SVGFragmentIdentifier.h
dom/svg/SVGGElement.cpp
dom/svg/SVGGElement.h
dom/svg/SVGGradientElement.cpp
dom/svg/SVGGradientElement.h
dom/svg/SVGGraphicsElement.cpp
dom/svg/SVGGraphicsElement.h
dom/svg/SVGIFrameElement.cpp
dom/svg/SVGIFrameElement.h
dom/svg/SVGIRect.h
dom/svg/SVGImageElement.cpp
dom/svg/SVGImageElement.h
dom/svg/SVGIntegerPairSMILType.cpp
dom/svg/SVGIntegerPairSMILType.h
dom/svg/SVGLength.cpp
dom/svg/SVGLength.h
dom/svg/SVGLengthList.cpp
dom/svg/SVGLengthList.h
dom/svg/SVGLengthListSMILType.cpp
dom/svg/SVGLengthListSMILType.h
dom/svg/SVGLineElement.cpp
dom/svg/SVGLineElement.h
dom/svg/SVGMPathElement.cpp
dom/svg/SVGMPathElement.h
dom/svg/SVGMarkerElement.cpp
dom/svg/SVGMarkerElement.h
dom/svg/SVGMaskElement.cpp
dom/svg/SVGMaskElement.h
dom/svg/SVGMatrix.cpp
dom/svg/SVGMatrix.h
dom/svg/SVGMetadataElement.cpp
dom/svg/SVGMetadataElement.h
dom/svg/SVGMotionSMILAnimationFunction.cpp
dom/svg/SVGMotionSMILAnimationFunction.h
dom/svg/SVGMotionSMILAttr.cpp
dom/svg/SVGMotionSMILAttr.h
dom/svg/SVGMotionSMILPathUtils.cpp
dom/svg/SVGMotionSMILPathUtils.h
dom/svg/SVGMotionSMILType.cpp
dom/svg/SVGMotionSMILType.h
dom/svg/SVGNumberList.cpp
dom/svg/SVGNumberList.h
dom/svg/SVGNumberListSMILType.cpp
dom/svg/SVGNumberListSMILType.h
dom/svg/SVGNumberPairSMILType.cpp
dom/svg/SVGNumberPairSMILType.h
dom/svg/SVGOrientSMILType.cpp
dom/svg/SVGOrientSMILType.h
dom/svg/SVGPathData.cpp
dom/svg/SVGPathData.h
dom/svg/SVGPathElement.cpp
dom/svg/SVGPathElement.h
dom/svg/SVGPathSegListSMILType.cpp
dom/svg/SVGPathSegListSMILType.h
dom/svg/SVGPathSegUtils.cpp
dom/svg/SVGPathSegUtils.h
dom/svg/SVGPatternElement.cpp
dom/svg/SVGPatternElement.h
dom/svg/SVGPoint.h
dom/svg/SVGPointList.cpp
dom/svg/SVGPointList.h
dom/svg/SVGPointListSMILType.cpp
dom/svg/SVGPointListSMILType.h
dom/svg/SVGPolygonElement.cpp
dom/svg/SVGPolygonElement.h
dom/svg/SVGPolylineElement.cpp
dom/svg/SVGPolylineElement.h
dom/svg/SVGPreserveAspectRatio.cpp
dom/svg/SVGPreserveAspectRatio.h
dom/svg/SVGRect.cpp
dom/svg/SVGRect.h
dom/svg/SVGRectElement.cpp
dom/svg/SVGRectElement.h
dom/svg/SVGSVGElement.cpp
dom/svg/SVGSVGElement.h
dom/svg/SVGScriptElement.cpp
dom/svg/SVGScriptElement.h
dom/svg/SVGSetElement.cpp
dom/svg/SVGSetElement.h
dom/svg/SVGStopElement.cpp
dom/svg/SVGStopElement.h
dom/svg/SVGStringList.cpp
dom/svg/SVGStringList.h
dom/svg/SVGStyleElement.cpp
dom/svg/SVGStyleElement.h
dom/svg/SVGSwitchElement.cpp
dom/svg/SVGSwitchElement.h
dom/svg/SVGSymbolElement.cpp
dom/svg/SVGSymbolElement.h
dom/svg/SVGTSpanElement.cpp
dom/svg/SVGTSpanElement.h
dom/svg/SVGTagList.h
dom/svg/SVGTests.cpp
dom/svg/SVGTests.h
dom/svg/SVGTextContentElement.cpp
dom/svg/SVGTextContentElement.h
dom/svg/SVGTextElement.cpp
dom/svg/SVGTextElement.h
dom/svg/SVGTextPathElement.cpp
dom/svg/SVGTextPathElement.h
dom/svg/SVGTextPositioningElement.cpp
dom/svg/SVGTextPositioningElement.h
dom/svg/SVGTitleElement.cpp
dom/svg/SVGTitleElement.h
dom/svg/SVGTransform.cpp
dom/svg/SVGTransform.h
dom/svg/SVGTransformList.cpp
dom/svg/SVGTransformList.h
dom/svg/SVGTransformListParser.cpp
dom/svg/SVGTransformListParser.h
dom/svg/SVGTransformListSMILType.cpp
dom/svg/SVGTransformListSMILType.h
dom/svg/SVGTransformableElement.cpp
dom/svg/SVGTransformableElement.h
dom/svg/SVGUseElement.cpp
dom/svg/SVGUseElement.h
dom/svg/SVGViewBoxSMILType.cpp
dom/svg/SVGViewBoxSMILType.h
dom/svg/SVGViewElement.cpp
dom/svg/SVGViewElement.h
dom/svg/SVGZoomEvent.cpp
dom/svg/SVGZoomEvent.h
dom/svg/crashtests/307322-1.svg
dom/svg/crashtests/327705-1.svg
dom/svg/crashtests/336994-1.html
dom/svg/crashtests/344888-1.svg
dom/svg/crashtests/345445-1.svg
dom/svg/crashtests/360836-1.svg
dom/svg/crashtests/367357-1.xhtml
dom/svg/crashtests/369051-1.svg
dom/svg/crashtests/369249-1.svg
dom/svg/crashtests/369291-1.svg
dom/svg/crashtests/369291-2.svg
dom/svg/crashtests/369568-1.svg
dom/svg/crashtests/372046-1.svg
dom/svg/crashtests/372046-2.svg
dom/svg/crashtests/374882-1.svg
dom/svg/crashtests/380101-1.svg
dom/svg/crashtests/381777-1.svg
dom/svg/crashtests/383685-1.svg
dom/svg/crashtests/385096.html
dom/svg/crashtests/385554-1.html
dom/svg/crashtests/385554-2.xul
dom/svg/crashtests/388712-1.svg
dom/svg/crashtests/395616-1.html
dom/svg/crashtests/396618-1.html
dom/svg/crashtests/397017-1.html
dom/svg/crashtests/397551-1.svg
dom/svg/crashtests/397704-1.svg
dom/svg/crashtests/398926-both-different.svg
dom/svg/crashtests/398926-both-same.svg
dom/svg/crashtests/398926-fill.svg
dom/svg/crashtests/398926-stroke.svg
dom/svg/crashtests/405639-1.svg
dom/svg/crashtests/406361-1.html
dom/svg/crashtests/409811-1.html
dom/svg/crashtests/410659-1.svg
dom/svg/crashtests/410659-2.svg
dom/svg/crashtests/410659-3.svg
dom/svg/crashtests/412104-1.svg
dom/svg/crashtests/413174-1.svg
dom/svg/crashtests/414188-1.svg
dom/svg/crashtests/427325-1.svg
dom/svg/crashtests/428228-1.svg
dom/svg/crashtests/428841-1.svg
dom/svg/crashtests/435209-1.svg
dom/svg/crashtests/436418-mpathRoot-1.svg
dom/svg/crashtests/448244-1.svg
dom/svg/crashtests/466576-1.xhtml
dom/svg/crashtests/499879-1.svg
dom/svg/crashtests/535691-1.svg
dom/svg/crashtests/539167-1.svg
dom/svg/crashtests/573316-1.svg
dom/svg/crashtests/579356-1.svg
dom/svg/crashtests/579356-2.svg
dom/svg/crashtests/595608-1.svg
dom/svg/crashtests/601251-1.html
dom/svg/crashtests/601406-1.svg
dom/svg/crashtests/603145-1.svg
dom/svg/crashtests/613899-1.svg
dom/svg/crashtests/613899-2.svg
dom/svg/crashtests/719779-1.svg
dom/svg/crashtests/723441-1.html
dom/svg/crashtests/723441-resource.svg
dom/svg/crashtests/751515-1.svg
dom/svg/crashtests/761507-1.svg
dom/svg/crashtests/831561.html
dom/svg/crashtests/837450-1.svg
dom/svg/crashtests/842463-1.html
dom/svg/crashtests/847138-1.svg
dom/svg/crashtests/864509.svg
dom/svg/crashtests/880544-1.svg
dom/svg/crashtests/880544-2.svg
dom/svg/crashtests/880544-3.svg
dom/svg/crashtests/880544-4.svg
dom/svg/crashtests/880544-5.svg
dom/svg/crashtests/898915-1.svg
dom/svg/crashtests/crashtests.list
dom/svg/crashtests/zero-size-image.svg
dom/svg/moz.build
dom/svg/nsISVGPoint.cpp
dom/svg/nsISVGPoint.h
dom/svg/nsSVGAngle.cpp
dom/svg/nsSVGAngle.h
dom/svg/nsSVGAnimatedTransformList.cpp
dom/svg/nsSVGAnimatedTransformList.h
dom/svg/nsSVGAttrTearoffTable.h
dom/svg/nsSVGBoolean.cpp
dom/svg/nsSVGBoolean.h
dom/svg/nsSVGClass.cpp
dom/svg/nsSVGClass.h
dom/svg/nsSVGDataParser.cpp
dom/svg/nsSVGDataParser.h
dom/svg/nsSVGElement.cpp
dom/svg/nsSVGElement.h
dom/svg/nsSVGEnum.cpp
dom/svg/nsSVGEnum.h
dom/svg/nsSVGFeatures.cpp
dom/svg/nsSVGFeatures.h
dom/svg/nsSVGFeaturesList.h
dom/svg/nsSVGFilters.cpp
dom/svg/nsSVGFilters.h
dom/svg/nsSVGInteger.cpp
dom/svg/nsSVGInteger.h
dom/svg/nsSVGIntegerPair.cpp
dom/svg/nsSVGIntegerPair.h
dom/svg/nsSVGLength2.cpp
dom/svg/nsSVGLength2.h
dom/svg/nsSVGNumber2.cpp
dom/svg/nsSVGNumber2.h
dom/svg/nsSVGNumberPair.cpp
dom/svg/nsSVGNumberPair.h
dom/svg/nsSVGPathDataParser.cpp
dom/svg/nsSVGPathDataParser.h
dom/svg/nsSVGPathGeometryElement.cpp
dom/svg/nsSVGPathGeometryElement.h
dom/svg/nsSVGPolyElement.cpp
dom/svg/nsSVGPolyElement.h
dom/svg/nsSVGString.cpp
dom/svg/nsSVGString.h
dom/svg/nsSVGTransform.cpp
dom/svg/nsSVGTransform.h
dom/svg/nsSVGViewBox.cpp
dom/svg/nsSVGViewBox.h
dom/svg/test/MutationEventChecker.js
dom/svg/test/a_href_destination.svg
dom/svg/test/a_href_helper_01.svg
dom/svg/test/a_href_helper_02_03.svg
dom/svg/test/a_href_helper_04.svg
dom/svg/test/animated-svg-image-helper.html
dom/svg/test/animated-svg-image-helper.svg
dom/svg/test/bbox-helper.svg
dom/svg/test/bounds-helper.svg
dom/svg/test/dataTypes-helper.svg
dom/svg/test/fragments-helper.svg
dom/svg/test/getCTM-helper.svg
dom/svg/test/getSubStringLength-helper.svg
dom/svg/test/matrixUtils.js
dom/svg/test/mochitest.ini
dom/svg/test/pointer-events.js
dom/svg/test/scientific-helper.svg
dom/svg/test/selectSubString-helper.svg
dom/svg/test/switch-helper.svg
dom/svg/test/test_SVGLengthList-2.xhtml
dom/svg/test/test_SVGLengthList.xhtml
dom/svg/test/test_SVGMatrix.xhtml
dom/svg/test/test_SVGNumberList.xhtml
dom/svg/test/test_SVGPathSegList.xhtml
dom/svg/test/test_SVGPointList.xhtml
dom/svg/test/test_SVGStringList.xhtml
dom/svg/test/test_SVGStyleElement.xhtml
dom/svg/test/test_SVGTransformList.xhtml
dom/svg/test/test_SVGTransformListAddition.xhtml
dom/svg/test/test_SVGUnitTypes.html
dom/svg/test/test_SVG_namespace_ids.html
dom/svg/test/test_SVGxxxList.xhtml
dom/svg/test/test_SVGxxxListIndexing.xhtml
dom/svg/test/test_a_href_01.xhtml
dom/svg/test/test_a_href_02.xhtml
dom/svg/test/test_animLengthObjectIdentity.xhtml
dom/svg/test/test_animLengthReadonly.xhtml
dom/svg/test/test_animLengthUnits.xhtml
dom/svg/test/test_bbox-with-invalid-viewBox.xhtml
dom/svg/test/test_bbox.xhtml
dom/svg/test/test_bounds.html
dom/svg/test/test_bug872812.html
dom/svg/test/test_dataTypes.html
dom/svg/test/test_dataTypesModEvents.html
dom/svg/test/test_fragments.html
dom/svg/test/test_getCTM.html
dom/svg/test/test_getElementById.xhtml
dom/svg/test/test_getSubStringLength.xhtml
dom/svg/test/test_hasFeature.xhtml
dom/svg/test/test_lang.xhtml
dom/svg/test/test_length.xhtml
dom/svg/test/test_lengthParsing.html
dom/svg/test/test_non-scaling-stroke.html
dom/svg/test/test_nonAnimStrings.xhtml
dom/svg/test/test_onerror.xhtml
dom/svg/test/test_pathAnimInterpolation.xhtml
dom/svg/test/test_pathSeg.xhtml
dom/svg/test/test_pointAtLength.xhtml
dom/svg/test/test_pointer-events-1a.xhtml
dom/svg/test/test_pointer-events-1b.xhtml
dom/svg/test/test_pointer-events-2.xhtml
dom/svg/test/test_pointer-events-3.xhtml
dom/svg/test/test_pointer-events-4.xhtml
dom/svg/test/test_pointer-events-5.xhtml
dom/svg/test/test_scientific.html
dom/svg/test/test_selectSubString.xhtml
dom/svg/test/test_stroke-linecap-hit-testing.xhtml
dom/svg/test/test_switch.xhtml
dom/svg/test/test_text.html
dom/svg/test/test_text_2.html
dom/svg/test/test_text_dirty.html
dom/svg/test/test_text_lengthAdjust.html
dom/svg/test/test_text_scaled.html
dom/svg/test/test_text_selection.html
dom/svg/test/test_text_update.html
dom/svg/test/test_transform.xhtml
dom/svg/test/test_transformParsing.html
dom/svg/test/test_valueAsString.xhtml
dom/svg/test/test_valueLeaks.xhtml
dom/svg/test/test_viewport.html
dom/svg/test/test_zoom.xhtml
dom/svg/test/text-helper-scaled.svg
dom/svg/test/text-helper-selection.svg
dom/svg/test/text-helper.svg
dom/svg/test/viewport-helper.svg
dom/svg/test/zoom-helper.svg
embedding/browser/webBrowser/moz.build
image/src/moz.build
js/xpconnect/src/moz.build
layout/base/moz.build
layout/build/moz.build
layout/svg/moz.build
testing/crashtest/crashtests.list
--- a/content/base/src/moz.build
+++ b/content/base/src/moz.build
@@ -208,22 +208,22 @@ MSVC_ENABLE_PGO = True
 
 include('/ipc/chromium/chromium-config.mozbuild')
 
 FINAL_LIBRARY = 'gklayout'
 LOCAL_INCLUDES += [
     '/caps/include',
     '/content/html/content/src',
     '/content/html/document/src',
-    '/content/svg/content/src',
     '/content/xul/content/src',
     '/content/xul/document/src',
     '/docshell/base',
     '/dom/base',
     '/dom/ipc',
+    '/dom/svg',
     '/dom/workers',
     '/dom/xbl',
     '/dom/xml',
     '/dom/xslt/xpath',
     '/image/src',
     '/js/ipc',
     '/js/xpconnect/src',
     '/js/xpconnect/wrappers',
--- a/content/canvas/src/moz.build
+++ b/content/canvas/src/moz.build
@@ -93,17 +93,17 @@ FAIL_ON_WARNINGS = True
 MSVC_ENABLE_PGO = True
 
 include('/ipc/chromium/chromium-config.mozbuild')
 
 FINAL_LIBRARY = 'gklayout'
 LOCAL_INCLUDES += [
     '/content/base/src',
     '/content/html/content/src',
-    '/content/svg/content/src',
     '/content/xul/content/src',
     '/dom/base',
+    '/dom/svg',
     '/image/src',
     '/js/xpconnect/src',
     '/layout/generic',
     '/layout/style',
     '/layout/xul',
 ]
--- a/content/moz.build
+++ b/content/moz.build
@@ -4,14 +4,13 @@
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 PARALLEL_DIRS += [
     'base',
     'canvas',
     'html',
     'media',
-    'svg',
     'xul',
 ]
 
 TEST_TOOL_DIRS += ['test']
 
deleted file mode 100644
--- a/content/svg/content/moz.build
+++ /dev/null
@@ -1,9 +0,0 @@
-# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
-# vim: set filetype=python:
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-
-PARALLEL_DIRS += ['src']
-
-MOCHITEST_MANIFESTS += ['test/mochitest.ini']
deleted file mode 100644
--- a/content/svg/document/src/moz.build
+++ /dev/null
@@ -1,25 +0,0 @@
-# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
-# vim: set filetype=python:
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-
-EXPORTS.mozilla.dom += [
-    'SVGDocument.h',
-]
-
-SOURCES += [
-    'SVGDocument.cpp',
-]
-
-FAIL_ON_WARNINGS = True
-
-LOCAL_INCLUDES += [
-    '/content/base/src',
-    '/content/html/document/src',
-    '/content/svg/content/src',
-    '/dom/xml',
-    '/layout/style',
-]
-
-FINAL_LIBRARY = 'gklayout'
deleted file mode 100644
--- a/content/svg/moz.build
+++ /dev/null
@@ -1,7 +0,0 @@
-# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
-# vim: set filetype=python:
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-
-PARALLEL_DIRS += ['document/src', 'content']
--- a/dom/bindings/moz.build
+++ b/dom/bindings/moz.build
@@ -40,26 +40,26 @@ MSVC_ENABLE_PGO = True
 
 LOCAL_INCLUDES += [
     '/content/base/src',
     '/content/canvas/src',
     '/content/html/content/src',
     '/content/html/document/src',
     '/content/media/webaudio',
     '/content/media/webspeech/recognition',
-    '/content/svg/content/src',
     '/content/xul/content/src',
     '/content/xul/document/src',
     '/dom/base',
     '/dom/battery',
     '/dom/bluetooth',
     '/dom/camera',
     '/dom/file',
     '/dom/indexedDB',
     '/dom/src/geolocation',
+    '/dom/svg',
     '/dom/workers',
     '/dom/xbl',
     '/dom/xml',
     '/dom/xslt/base',
     '/dom/xslt/xpath',
     '/js/ipc',
     '/js/xpconnect/src',
     '/js/xpconnect/wrappers',
--- a/dom/moz.build
+++ b/dom/moz.build
@@ -65,16 +65,17 @@ PARALLEL_DIRS += [
     'src',
     'time',
     'locales',
     'network',
     'permission',
     'plugins/base',
     'plugins/ipc',
     'indexedDB',
+    'svg',
     'system',
     'ipc',
     'identity',
     'workers',
     'camera',
     'audiochannel',
     'promise',
     'smil',
--- a/dom/smil/moz.build
+++ b/dom/smil/moz.build
@@ -61,13 +61,13 @@ UNIFIED_SOURCES += [
     'SMILStringType.cpp',
     'TimeEvent.cpp',
 ]
 
 FAIL_ON_WARNINGS = True
 
 LOCAL_INCLUDES += [
     '/content/base/src',
-    '/content/svg/content/src',
+    '/dom/svg',
     '/layout/style',
 ]
 
 FINAL_LIBRARY = 'gklayout'
rename from content/svg/content/src/DOMSVGAnimatedLengthList.cpp
rename to dom/svg/DOMSVGAnimatedLengthList.cpp
rename from content/svg/content/src/DOMSVGAnimatedLengthList.h
rename to dom/svg/DOMSVGAnimatedLengthList.h
rename from content/svg/content/src/DOMSVGAnimatedNumberList.cpp
rename to dom/svg/DOMSVGAnimatedNumberList.cpp
rename from content/svg/content/src/DOMSVGAnimatedNumberList.h
rename to dom/svg/DOMSVGAnimatedNumberList.h
rename from content/svg/content/src/DOMSVGLength.cpp
rename to dom/svg/DOMSVGLength.cpp
rename from content/svg/content/src/DOMSVGLength.h
rename to dom/svg/DOMSVGLength.h
rename from content/svg/content/src/DOMSVGLengthList.cpp
rename to dom/svg/DOMSVGLengthList.cpp
rename from content/svg/content/src/DOMSVGLengthList.h
rename to dom/svg/DOMSVGLengthList.h
rename from content/svg/content/src/DOMSVGNumber.cpp
rename to dom/svg/DOMSVGNumber.cpp
rename from content/svg/content/src/DOMSVGNumber.h
rename to dom/svg/DOMSVGNumber.h
rename from content/svg/content/src/DOMSVGNumberList.cpp
rename to dom/svg/DOMSVGNumberList.cpp
rename from content/svg/content/src/DOMSVGNumberList.h
rename to dom/svg/DOMSVGNumberList.h
rename from content/svg/content/src/DOMSVGPathSeg.cpp
rename to dom/svg/DOMSVGPathSeg.cpp
rename from content/svg/content/src/DOMSVGPathSeg.h
rename to dom/svg/DOMSVGPathSeg.h
rename from content/svg/content/src/DOMSVGPathSegList.cpp
rename to dom/svg/DOMSVGPathSegList.cpp
rename from content/svg/content/src/DOMSVGPathSegList.h
rename to dom/svg/DOMSVGPathSegList.h
rename from content/svg/content/src/DOMSVGPoint.cpp
rename to dom/svg/DOMSVGPoint.cpp
rename from content/svg/content/src/DOMSVGPoint.h
rename to dom/svg/DOMSVGPoint.h
rename from content/svg/content/src/DOMSVGPointList.cpp
rename to dom/svg/DOMSVGPointList.cpp
rename from content/svg/content/src/DOMSVGPointList.h
rename to dom/svg/DOMSVGPointList.h
rename from content/svg/content/src/DOMSVGStringList.cpp
rename to dom/svg/DOMSVGStringList.cpp
rename from content/svg/content/src/DOMSVGStringList.h
rename to dom/svg/DOMSVGStringList.h
rename from content/svg/content/src/DOMSVGTransformList.cpp
rename to dom/svg/DOMSVGTransformList.cpp
rename from content/svg/content/src/DOMSVGTransformList.h
rename to dom/svg/DOMSVGTransformList.h
rename from content/svg/content/src/SVGAElement.cpp
rename to dom/svg/SVGAElement.cpp
rename from content/svg/content/src/SVGAElement.h
rename to dom/svg/SVGAElement.h
rename from content/svg/content/src/SVGAltGlyphElement.cpp
rename to dom/svg/SVGAltGlyphElement.cpp
rename from content/svg/content/src/SVGAltGlyphElement.h
rename to dom/svg/SVGAltGlyphElement.h
rename from content/svg/content/src/SVGAngle.cpp
rename to dom/svg/SVGAngle.cpp
rename from content/svg/content/src/SVGAngle.h
rename to dom/svg/SVGAngle.h
rename from content/svg/content/src/SVGAnimateElement.cpp
rename to dom/svg/SVGAnimateElement.cpp
rename from content/svg/content/src/SVGAnimateElement.h
rename to dom/svg/SVGAnimateElement.h
rename from content/svg/content/src/SVGAnimateMotionElement.cpp
rename to dom/svg/SVGAnimateMotionElement.cpp
rename from content/svg/content/src/SVGAnimateMotionElement.h
rename to dom/svg/SVGAnimateMotionElement.h
rename from content/svg/content/src/SVGAnimateTransformElement.cpp
rename to dom/svg/SVGAnimateTransformElement.cpp
rename from content/svg/content/src/SVGAnimateTransformElement.h
rename to dom/svg/SVGAnimateTransformElement.h
rename from content/svg/content/src/SVGAnimatedAngle.cpp
rename to dom/svg/SVGAnimatedAngle.cpp
rename from content/svg/content/src/SVGAnimatedAngle.h
rename to dom/svg/SVGAnimatedAngle.h
rename from content/svg/content/src/SVGAnimatedBoolean.cpp
rename to dom/svg/SVGAnimatedBoolean.cpp
rename from content/svg/content/src/SVGAnimatedBoolean.h
rename to dom/svg/SVGAnimatedBoolean.h
rename from content/svg/content/src/SVGAnimatedEnumeration.cpp
rename to dom/svg/SVGAnimatedEnumeration.cpp
rename from content/svg/content/src/SVGAnimatedEnumeration.h
rename to dom/svg/SVGAnimatedEnumeration.h
rename from content/svg/content/src/SVGAnimatedInteger.cpp
rename to dom/svg/SVGAnimatedInteger.cpp
rename from content/svg/content/src/SVGAnimatedInteger.h
rename to dom/svg/SVGAnimatedInteger.h
rename from content/svg/content/src/SVGAnimatedLength.cpp
rename to dom/svg/SVGAnimatedLength.cpp
rename from content/svg/content/src/SVGAnimatedLength.h
rename to dom/svg/SVGAnimatedLength.h
rename from content/svg/content/src/SVGAnimatedLengthList.cpp
rename to dom/svg/SVGAnimatedLengthList.cpp
rename from content/svg/content/src/SVGAnimatedLengthList.h
rename to dom/svg/SVGAnimatedLengthList.h
rename from content/svg/content/src/SVGAnimatedNumber.cpp
rename to dom/svg/SVGAnimatedNumber.cpp
rename from content/svg/content/src/SVGAnimatedNumber.h
rename to dom/svg/SVGAnimatedNumber.h
rename from content/svg/content/src/SVGAnimatedNumberList.cpp
rename to dom/svg/SVGAnimatedNumberList.cpp
rename from content/svg/content/src/SVGAnimatedNumberList.h
rename to dom/svg/SVGAnimatedNumberList.h
rename from content/svg/content/src/SVGAnimatedPathSegList.cpp
rename to dom/svg/SVGAnimatedPathSegList.cpp
rename from content/svg/content/src/SVGAnimatedPathSegList.h
rename to dom/svg/SVGAnimatedPathSegList.h
rename from content/svg/content/src/SVGAnimatedPointList.cpp
rename to dom/svg/SVGAnimatedPointList.cpp
rename from content/svg/content/src/SVGAnimatedPointList.h
rename to dom/svg/SVGAnimatedPointList.h
rename from content/svg/content/src/SVGAnimatedPreserveAspectRatio.cpp
rename to dom/svg/SVGAnimatedPreserveAspectRatio.cpp
rename from content/svg/content/src/SVGAnimatedPreserveAspectRatio.h
rename to dom/svg/SVGAnimatedPreserveAspectRatio.h
rename from content/svg/content/src/SVGAnimatedRect.cpp
rename to dom/svg/SVGAnimatedRect.cpp
rename from content/svg/content/src/SVGAnimatedRect.h
rename to dom/svg/SVGAnimatedRect.h
rename from content/svg/content/src/SVGAnimatedString.cpp
rename to dom/svg/SVGAnimatedString.cpp
rename from content/svg/content/src/SVGAnimatedString.h
rename to dom/svg/SVGAnimatedString.h
rename from content/svg/content/src/SVGAnimatedTransformList.cpp
rename to dom/svg/SVGAnimatedTransformList.cpp
rename from content/svg/content/src/SVGAnimatedTransformList.h
rename to dom/svg/SVGAnimatedTransformList.h
rename from content/svg/content/src/SVGAnimationElement.cpp
rename to dom/svg/SVGAnimationElement.cpp
rename from content/svg/content/src/SVGAnimationElement.h
rename to dom/svg/SVGAnimationElement.h
rename from content/svg/content/src/SVGAttrValueWrapper.cpp
rename to dom/svg/SVGAttrValueWrapper.cpp
rename from content/svg/content/src/SVGAttrValueWrapper.h
rename to dom/svg/SVGAttrValueWrapper.h
rename from content/svg/content/src/SVGCircleElement.cpp
rename to dom/svg/SVGCircleElement.cpp
rename from content/svg/content/src/SVGCircleElement.h
rename to dom/svg/SVGCircleElement.h
rename from content/svg/content/src/SVGClipPathElement.cpp
rename to dom/svg/SVGClipPathElement.cpp
rename from content/svg/content/src/SVGClipPathElement.h
rename to dom/svg/SVGClipPathElement.h
rename from content/svg/content/src/SVGComponentTransferFunctionElement.h
rename to dom/svg/SVGComponentTransferFunctionElement.h
rename from content/svg/content/src/SVGContentUtils.cpp
rename to dom/svg/SVGContentUtils.cpp
rename from content/svg/content/src/SVGContentUtils.h
rename to dom/svg/SVGContentUtils.h
rename from content/svg/content/src/SVGDefsElement.cpp
rename to dom/svg/SVGDefsElement.cpp
rename from content/svg/content/src/SVGDefsElement.h
rename to dom/svg/SVGDefsElement.h
rename from content/svg/content/src/SVGDescElement.cpp
rename to dom/svg/SVGDescElement.cpp
rename from content/svg/content/src/SVGDescElement.h
rename to dom/svg/SVGDescElement.h
rename from content/svg/document/src/SVGDocument.cpp
rename to dom/svg/SVGDocument.cpp
rename from content/svg/document/src/SVGDocument.h
rename to dom/svg/SVGDocument.h
rename from content/svg/content/src/SVGElementFactory.cpp
rename to dom/svg/SVGElementFactory.cpp
rename from content/svg/content/src/SVGElementFactory.h
rename to dom/svg/SVGElementFactory.h
rename from content/svg/content/src/SVGEllipseElement.cpp
rename to dom/svg/SVGEllipseElement.cpp
rename from content/svg/content/src/SVGEllipseElement.h
rename to dom/svg/SVGEllipseElement.h
rename from content/svg/content/src/SVGFEBlendElement.cpp
rename to dom/svg/SVGFEBlendElement.cpp
rename from content/svg/content/src/SVGFEBlendElement.h
rename to dom/svg/SVGFEBlendElement.h
rename from content/svg/content/src/SVGFEColorMatrixElement.cpp
rename to dom/svg/SVGFEColorMatrixElement.cpp
rename from content/svg/content/src/SVGFEColorMatrixElement.h
rename to dom/svg/SVGFEColorMatrixElement.h
rename from content/svg/content/src/SVGFEComponentTransferElement.cpp
rename to dom/svg/SVGFEComponentTransferElement.cpp
rename from content/svg/content/src/SVGFEComponentTransferElement.h
rename to dom/svg/SVGFEComponentTransferElement.h
rename from content/svg/content/src/SVGFECompositeElement.cpp
rename to dom/svg/SVGFECompositeElement.cpp
rename from content/svg/content/src/SVGFECompositeElement.h
rename to dom/svg/SVGFECompositeElement.h
rename from content/svg/content/src/SVGFEConvolveMatrixElement.cpp
rename to dom/svg/SVGFEConvolveMatrixElement.cpp
rename from content/svg/content/src/SVGFEConvolveMatrixElement.h
rename to dom/svg/SVGFEConvolveMatrixElement.h
rename from content/svg/content/src/SVGFEDiffuseLightingElement.cpp
rename to dom/svg/SVGFEDiffuseLightingElement.cpp
rename from content/svg/content/src/SVGFEDiffuseLightingElement.h
rename to dom/svg/SVGFEDiffuseLightingElement.h
rename from content/svg/content/src/SVGFEDisplacementMapElement.cpp
rename to dom/svg/SVGFEDisplacementMapElement.cpp
rename from content/svg/content/src/SVGFEDisplacementMapElement.h
rename to dom/svg/SVGFEDisplacementMapElement.h
rename from content/svg/content/src/SVGFEDistantLightElement.cpp
rename to dom/svg/SVGFEDistantLightElement.cpp
rename from content/svg/content/src/SVGFEDistantLightElement.h
rename to dom/svg/SVGFEDistantLightElement.h
rename from content/svg/content/src/SVGFEDropShadowElement.cpp
rename to dom/svg/SVGFEDropShadowElement.cpp
rename from content/svg/content/src/SVGFEDropShadowElement.h
rename to dom/svg/SVGFEDropShadowElement.h
rename from content/svg/content/src/SVGFEFloodElement.cpp
rename to dom/svg/SVGFEFloodElement.cpp
rename from content/svg/content/src/SVGFEFloodElement.h
rename to dom/svg/SVGFEFloodElement.h
rename from content/svg/content/src/SVGFEGaussianBlurElement.cpp
rename to dom/svg/SVGFEGaussianBlurElement.cpp
rename from content/svg/content/src/SVGFEGaussianBlurElement.h
rename to dom/svg/SVGFEGaussianBlurElement.h
rename from content/svg/content/src/SVGFEImageElement.cpp
rename to dom/svg/SVGFEImageElement.cpp
rename from content/svg/content/src/SVGFEImageElement.h
rename to dom/svg/SVGFEImageElement.h
rename from content/svg/content/src/SVGFEMergeElement.cpp
rename to dom/svg/SVGFEMergeElement.cpp
rename from content/svg/content/src/SVGFEMergeElement.h
rename to dom/svg/SVGFEMergeElement.h
rename from content/svg/content/src/SVGFEMergeNodeElement.cpp
rename to dom/svg/SVGFEMergeNodeElement.cpp
rename from content/svg/content/src/SVGFEMergeNodeElement.h
rename to dom/svg/SVGFEMergeNodeElement.h
rename from content/svg/content/src/SVGFEMorphologyElement.cpp
rename to dom/svg/SVGFEMorphologyElement.cpp
rename from content/svg/content/src/SVGFEMorphologyElement.h
rename to dom/svg/SVGFEMorphologyElement.h
rename from content/svg/content/src/SVGFEOffsetElement.cpp
rename to dom/svg/SVGFEOffsetElement.cpp
rename from content/svg/content/src/SVGFEOffsetElement.h
rename to dom/svg/SVGFEOffsetElement.h
rename from content/svg/content/src/SVGFEPointLightElement.cpp
rename to dom/svg/SVGFEPointLightElement.cpp
rename from content/svg/content/src/SVGFEPointLightElement.h
rename to dom/svg/SVGFEPointLightElement.h
rename from content/svg/content/src/SVGFESpecularLightingElement.cpp
rename to dom/svg/SVGFESpecularLightingElement.cpp
rename from content/svg/content/src/SVGFESpecularLightingElement.h
rename to dom/svg/SVGFESpecularLightingElement.h
rename from content/svg/content/src/SVGFESpotLightElement.cpp
rename to dom/svg/SVGFESpotLightElement.cpp
rename from content/svg/content/src/SVGFESpotLightElement.h
rename to dom/svg/SVGFESpotLightElement.h
rename from content/svg/content/src/SVGFETileElement.cpp
rename to dom/svg/SVGFETileElement.cpp
rename from content/svg/content/src/SVGFETileElement.h
rename to dom/svg/SVGFETileElement.h
rename from content/svg/content/src/SVGFETurbulenceElement.cpp
rename to dom/svg/SVGFETurbulenceElement.cpp
rename from content/svg/content/src/SVGFETurbulenceElement.h
rename to dom/svg/SVGFETurbulenceElement.h
rename from content/svg/content/src/SVGFilterElement.cpp
rename to dom/svg/SVGFilterElement.cpp
rename from content/svg/content/src/SVGFilterElement.h
rename to dom/svg/SVGFilterElement.h
rename from content/svg/content/src/SVGForeignObjectElement.cpp
rename to dom/svg/SVGForeignObjectElement.cpp
rename from content/svg/content/src/SVGForeignObjectElement.h
rename to dom/svg/SVGForeignObjectElement.h
rename from content/svg/content/src/SVGFragmentIdentifier.cpp
rename to dom/svg/SVGFragmentIdentifier.cpp
rename from content/svg/content/src/SVGFragmentIdentifier.h
rename to dom/svg/SVGFragmentIdentifier.h
rename from content/svg/content/src/SVGGElement.cpp
rename to dom/svg/SVGGElement.cpp
rename from content/svg/content/src/SVGGElement.h
rename to dom/svg/SVGGElement.h
rename from content/svg/content/src/SVGGradientElement.cpp
rename to dom/svg/SVGGradientElement.cpp
rename from content/svg/content/src/SVGGradientElement.h
rename to dom/svg/SVGGradientElement.h
rename from content/svg/content/src/SVGGraphicsElement.cpp
rename to dom/svg/SVGGraphicsElement.cpp
rename from content/svg/content/src/SVGGraphicsElement.h
rename to dom/svg/SVGGraphicsElement.h
rename from content/svg/content/src/SVGIFrameElement.cpp
rename to dom/svg/SVGIFrameElement.cpp
rename from content/svg/content/src/SVGIFrameElement.h
rename to dom/svg/SVGIFrameElement.h
rename from content/svg/content/src/SVGIRect.h
rename to dom/svg/SVGIRect.h
rename from content/svg/content/src/SVGImageElement.cpp
rename to dom/svg/SVGImageElement.cpp
rename from content/svg/content/src/SVGImageElement.h
rename to dom/svg/SVGImageElement.h
rename from content/svg/content/src/SVGIntegerPairSMILType.cpp
rename to dom/svg/SVGIntegerPairSMILType.cpp
rename from content/svg/content/src/SVGIntegerPairSMILType.h
rename to dom/svg/SVGIntegerPairSMILType.h
rename from content/svg/content/src/SVGLength.cpp
rename to dom/svg/SVGLength.cpp
rename from content/svg/content/src/SVGLength.h
rename to dom/svg/SVGLength.h
rename from content/svg/content/src/SVGLengthList.cpp
rename to dom/svg/SVGLengthList.cpp
rename from content/svg/content/src/SVGLengthList.h
rename to dom/svg/SVGLengthList.h
rename from content/svg/content/src/SVGLengthListSMILType.cpp
rename to dom/svg/SVGLengthListSMILType.cpp
rename from content/svg/content/src/SVGLengthListSMILType.h
rename to dom/svg/SVGLengthListSMILType.h
rename from content/svg/content/src/SVGLineElement.cpp
rename to dom/svg/SVGLineElement.cpp
rename from content/svg/content/src/SVGLineElement.h
rename to dom/svg/SVGLineElement.h
rename from content/svg/content/src/SVGMPathElement.cpp
rename to dom/svg/SVGMPathElement.cpp
rename from content/svg/content/src/SVGMPathElement.h
rename to dom/svg/SVGMPathElement.h
rename from content/svg/content/src/SVGMarkerElement.cpp
rename to dom/svg/SVGMarkerElement.cpp
rename from content/svg/content/src/SVGMarkerElement.h
rename to dom/svg/SVGMarkerElement.h
rename from content/svg/content/src/SVGMaskElement.cpp
rename to dom/svg/SVGMaskElement.cpp
rename from content/svg/content/src/SVGMaskElement.h
rename to dom/svg/SVGMaskElement.h
rename from content/svg/content/src/SVGMatrix.cpp
rename to dom/svg/SVGMatrix.cpp
rename from content/svg/content/src/SVGMatrix.h
rename to dom/svg/SVGMatrix.h
rename from content/svg/content/src/SVGMetadataElement.cpp
rename to dom/svg/SVGMetadataElement.cpp
rename from content/svg/content/src/SVGMetadataElement.h
rename to dom/svg/SVGMetadataElement.h
rename from content/svg/content/src/SVGMotionSMILAnimationFunction.cpp
rename to dom/svg/SVGMotionSMILAnimationFunction.cpp
rename from content/svg/content/src/SVGMotionSMILAnimationFunction.h
rename to dom/svg/SVGMotionSMILAnimationFunction.h
rename from content/svg/content/src/SVGMotionSMILAttr.cpp
rename to dom/svg/SVGMotionSMILAttr.cpp
rename from content/svg/content/src/SVGMotionSMILAttr.h
rename to dom/svg/SVGMotionSMILAttr.h
rename from content/svg/content/src/SVGMotionSMILPathUtils.cpp
rename to dom/svg/SVGMotionSMILPathUtils.cpp
rename from content/svg/content/src/SVGMotionSMILPathUtils.h
rename to dom/svg/SVGMotionSMILPathUtils.h
rename from content/svg/content/src/SVGMotionSMILType.cpp
rename to dom/svg/SVGMotionSMILType.cpp
rename from content/svg/content/src/SVGMotionSMILType.h
rename to dom/svg/SVGMotionSMILType.h
rename from content/svg/content/src/SVGNumberList.cpp
rename to dom/svg/SVGNumberList.cpp
rename from content/svg/content/src/SVGNumberList.h
rename to dom/svg/SVGNumberList.h
rename from content/svg/content/src/SVGNumberListSMILType.cpp
rename to dom/svg/SVGNumberListSMILType.cpp
rename from content/svg/content/src/SVGNumberListSMILType.h
rename to dom/svg/SVGNumberListSMILType.h
rename from content/svg/content/src/SVGNumberPairSMILType.cpp
rename to dom/svg/SVGNumberPairSMILType.cpp
rename from content/svg/content/src/SVGNumberPairSMILType.h
rename to dom/svg/SVGNumberPairSMILType.h
rename from content/svg/content/src/SVGOrientSMILType.cpp
rename to dom/svg/SVGOrientSMILType.cpp
rename from content/svg/content/src/SVGOrientSMILType.h
rename to dom/svg/SVGOrientSMILType.h
rename from content/svg/content/src/SVGPathData.cpp
rename to dom/svg/SVGPathData.cpp
rename from content/svg/content/src/SVGPathData.h
rename to dom/svg/SVGPathData.h
rename from content/svg/content/src/SVGPathElement.cpp
rename to dom/svg/SVGPathElement.cpp
rename from content/svg/content/src/SVGPathElement.h
rename to dom/svg/SVGPathElement.h
rename from content/svg/content/src/SVGPathSegListSMILType.cpp
rename to dom/svg/SVGPathSegListSMILType.cpp
rename from content/svg/content/src/SVGPathSegListSMILType.h
rename to dom/svg/SVGPathSegListSMILType.h
rename from content/svg/content/src/SVGPathSegUtils.cpp
rename to dom/svg/SVGPathSegUtils.cpp
rename from content/svg/content/src/SVGPathSegUtils.h
rename to dom/svg/SVGPathSegUtils.h
rename from content/svg/content/src/SVGPatternElement.cpp
rename to dom/svg/SVGPatternElement.cpp
rename from content/svg/content/src/SVGPatternElement.h
rename to dom/svg/SVGPatternElement.h
rename from content/svg/content/src/SVGPoint.h
rename to dom/svg/SVGPoint.h
rename from content/svg/content/src/SVGPointList.cpp
rename to dom/svg/SVGPointList.cpp
rename from content/svg/content/src/SVGPointList.h
rename to dom/svg/SVGPointList.h
rename from content/svg/content/src/SVGPointListSMILType.cpp
rename to dom/svg/SVGPointListSMILType.cpp
rename from content/svg/content/src/SVGPointListSMILType.h
rename to dom/svg/SVGPointListSMILType.h
rename from content/svg/content/src/SVGPolygonElement.cpp
rename to dom/svg/SVGPolygonElement.cpp
rename from content/svg/content/src/SVGPolygonElement.h
rename to dom/svg/SVGPolygonElement.h
rename from content/svg/content/src/SVGPolylineElement.cpp
rename to dom/svg/SVGPolylineElement.cpp
rename from content/svg/content/src/SVGPolylineElement.h
rename to dom/svg/SVGPolylineElement.h
rename from content/svg/content/src/SVGPreserveAspectRatio.cpp
rename to dom/svg/SVGPreserveAspectRatio.cpp
rename from content/svg/content/src/SVGPreserveAspectRatio.h
rename to dom/svg/SVGPreserveAspectRatio.h
rename from content/svg/content/src/SVGRect.cpp
rename to dom/svg/SVGRect.cpp
rename from content/svg/content/src/SVGRect.h
rename to dom/svg/SVGRect.h
rename from content/svg/content/src/SVGRectElement.cpp
rename to dom/svg/SVGRectElement.cpp
rename from content/svg/content/src/SVGRectElement.h
rename to dom/svg/SVGRectElement.h
rename from content/svg/content/src/SVGSVGElement.cpp
rename to dom/svg/SVGSVGElement.cpp
rename from content/svg/content/src/SVGSVGElement.h
rename to dom/svg/SVGSVGElement.h
rename from content/svg/content/src/SVGScriptElement.cpp
rename to dom/svg/SVGScriptElement.cpp
rename from content/svg/content/src/SVGScriptElement.h
rename to dom/svg/SVGScriptElement.h
rename from content/svg/content/src/SVGSetElement.cpp
rename to dom/svg/SVGSetElement.cpp
rename from content/svg/content/src/SVGSetElement.h
rename to dom/svg/SVGSetElement.h
rename from content/svg/content/src/SVGStopElement.cpp
rename to dom/svg/SVGStopElement.cpp
rename from content/svg/content/src/SVGStopElement.h
rename to dom/svg/SVGStopElement.h
rename from content/svg/content/src/SVGStringList.cpp
rename to dom/svg/SVGStringList.cpp
rename from content/svg/content/src/SVGStringList.h
rename to dom/svg/SVGStringList.h
rename from content/svg/content/src/SVGStyleElement.cpp
rename to dom/svg/SVGStyleElement.cpp
rename from content/svg/content/src/SVGStyleElement.h
rename to dom/svg/SVGStyleElement.h
rename from content/svg/content/src/SVGSwitchElement.cpp
rename to dom/svg/SVGSwitchElement.cpp
rename from content/svg/content/src/SVGSwitchElement.h
rename to dom/svg/SVGSwitchElement.h
rename from content/svg/content/src/SVGSymbolElement.cpp
rename to dom/svg/SVGSymbolElement.cpp
rename from content/svg/content/src/SVGSymbolElement.h
rename to dom/svg/SVGSymbolElement.h
rename from content/svg/content/src/SVGTSpanElement.cpp
rename to dom/svg/SVGTSpanElement.cpp
rename from content/svg/content/src/SVGTSpanElement.h
rename to dom/svg/SVGTSpanElement.h
rename from content/svg/content/src/SVGTagList.h
rename to dom/svg/SVGTagList.h
rename from content/svg/content/src/SVGTests.cpp
rename to dom/svg/SVGTests.cpp
rename from content/svg/content/src/SVGTests.h
rename to dom/svg/SVGTests.h
rename from content/svg/content/src/SVGTextContentElement.cpp
rename to dom/svg/SVGTextContentElement.cpp
rename from content/svg/content/src/SVGTextContentElement.h
rename to dom/svg/SVGTextContentElement.h
rename from content/svg/content/src/SVGTextElement.cpp
rename to dom/svg/SVGTextElement.cpp
rename from content/svg/content/src/SVGTextElement.h
rename to dom/svg/SVGTextElement.h
rename from content/svg/content/src/SVGTextPathElement.cpp
rename to dom/svg/SVGTextPathElement.cpp
rename from content/svg/content/src/SVGTextPathElement.h
rename to dom/svg/SVGTextPathElement.h
rename from content/svg/content/src/SVGTextPositioningElement.cpp
rename to dom/svg/SVGTextPositioningElement.cpp
rename from content/svg/content/src/SVGTextPositioningElement.h
rename to dom/svg/SVGTextPositioningElement.h
rename from content/svg/content/src/SVGTitleElement.cpp
rename to dom/svg/SVGTitleElement.cpp
rename from content/svg/content/src/SVGTitleElement.h
rename to dom/svg/SVGTitleElement.h
rename from content/svg/content/src/SVGTransform.cpp
rename to dom/svg/SVGTransform.cpp
rename from content/svg/content/src/SVGTransform.h
rename to dom/svg/SVGTransform.h
rename from content/svg/content/src/SVGTransformList.cpp
rename to dom/svg/SVGTransformList.cpp
rename from content/svg/content/src/SVGTransformList.h
rename to dom/svg/SVGTransformList.h
rename from content/svg/content/src/SVGTransformListParser.cpp
rename to dom/svg/SVGTransformListParser.cpp
rename from content/svg/content/src/SVGTransformListParser.h
rename to dom/svg/SVGTransformListParser.h
rename from content/svg/content/src/SVGTransformListSMILType.cpp
rename to dom/svg/SVGTransformListSMILType.cpp
rename from content/svg/content/src/SVGTransformListSMILType.h
rename to dom/svg/SVGTransformListSMILType.h
rename from content/svg/content/src/SVGTransformableElement.cpp
rename to dom/svg/SVGTransformableElement.cpp
rename from content/svg/content/src/SVGTransformableElement.h
rename to dom/svg/SVGTransformableElement.h
rename from content/svg/content/src/SVGUseElement.cpp
rename to dom/svg/SVGUseElement.cpp
rename from content/svg/content/src/SVGUseElement.h
rename to dom/svg/SVGUseElement.h
rename from content/svg/content/src/SVGViewBoxSMILType.cpp
rename to dom/svg/SVGViewBoxSMILType.cpp
rename from content/svg/content/src/SVGViewBoxSMILType.h
rename to dom/svg/SVGViewBoxSMILType.h
rename from content/svg/content/src/SVGViewElement.cpp
rename to dom/svg/SVGViewElement.cpp
rename from content/svg/content/src/SVGViewElement.h
rename to dom/svg/SVGViewElement.h
rename from content/svg/content/src/SVGZoomEvent.cpp
rename to dom/svg/SVGZoomEvent.cpp
rename from content/svg/content/src/SVGZoomEvent.h
rename to dom/svg/SVGZoomEvent.h
rename from content/svg/content/src/crashtests/307322-1.svg
rename to dom/svg/crashtests/307322-1.svg
rename from content/svg/content/src/crashtests/327705-1.svg
rename to dom/svg/crashtests/327705-1.svg
rename from content/svg/content/src/crashtests/336994-1.html
rename to dom/svg/crashtests/336994-1.html
rename from content/svg/content/src/crashtests/344888-1.svg
rename to dom/svg/crashtests/344888-1.svg
rename from content/svg/content/src/crashtests/345445-1.svg
rename to dom/svg/crashtests/345445-1.svg
rename from content/svg/content/src/crashtests/360836-1.svg
rename to dom/svg/crashtests/360836-1.svg
rename from content/svg/content/src/crashtests/367357-1.xhtml
rename to dom/svg/crashtests/367357-1.xhtml
rename from content/svg/content/src/crashtests/369051-1.svg
rename to dom/svg/crashtests/369051-1.svg
rename from content/svg/content/src/crashtests/369249-1.svg
rename to dom/svg/crashtests/369249-1.svg
rename from content/svg/content/src/crashtests/369291-1.svg
rename to dom/svg/crashtests/369291-1.svg
rename from content/svg/content/src/crashtests/369291-2.svg
rename to dom/svg/crashtests/369291-2.svg
rename from content/svg/content/src/crashtests/369568-1.svg
rename to dom/svg/crashtests/369568-1.svg
rename from content/svg/content/src/crashtests/372046-1.svg
rename to dom/svg/crashtests/372046-1.svg
rename from content/svg/content/src/crashtests/372046-2.svg
rename to dom/svg/crashtests/372046-2.svg
rename from content/svg/content/src/crashtests/374882-1.svg
rename to dom/svg/crashtests/374882-1.svg
rename from content/svg/content/src/crashtests/380101-1.svg
rename to dom/svg/crashtests/380101-1.svg
rename from content/svg/content/src/crashtests/381777-1.svg
rename to dom/svg/crashtests/381777-1.svg
rename from content/svg/content/src/crashtests/383685-1.svg
rename to dom/svg/crashtests/383685-1.svg
rename from content/svg/content/src/crashtests/385096.html
rename to dom/svg/crashtests/385096.html
rename from content/svg/content/src/crashtests/385554-1.html
rename to dom/svg/crashtests/385554-1.html
rename from content/svg/content/src/crashtests/385554-2.xul
rename to dom/svg/crashtests/385554-2.xul
rename from content/svg/content/src/crashtests/388712-1.svg
rename to dom/svg/crashtests/388712-1.svg
rename from content/svg/content/src/crashtests/395616-1.html
rename to dom/svg/crashtests/395616-1.html
rename from content/svg/content/src/crashtests/396618-1.html
rename to dom/svg/crashtests/396618-1.html
rename from content/svg/content/src/crashtests/397017-1.html
rename to dom/svg/crashtests/397017-1.html
rename from content/svg/content/src/crashtests/397551-1.svg
rename to dom/svg/crashtests/397551-1.svg
rename from content/svg/content/src/crashtests/397704-1.svg
rename to dom/svg/crashtests/397704-1.svg
rename from content/svg/content/src/crashtests/398926-both-different.svg
rename to dom/svg/crashtests/398926-both-different.svg
rename from content/svg/content/src/crashtests/398926-both-same.svg
rename to dom/svg/crashtests/398926-both-same.svg
rename from content/svg/content/src/crashtests/398926-fill.svg
rename to dom/svg/crashtests/398926-fill.svg
rename from content/svg/content/src/crashtests/398926-stroke.svg
rename to dom/svg/crashtests/398926-stroke.svg
rename from content/svg/content/src/crashtests/405639-1.svg
rename to dom/svg/crashtests/405639-1.svg
rename from content/svg/content/src/crashtests/406361-1.html
rename to dom/svg/crashtests/406361-1.html
rename from content/svg/content/src/crashtests/409811-1.html
rename to dom/svg/crashtests/409811-1.html
rename from content/svg/content/src/crashtests/410659-1.svg
rename to dom/svg/crashtests/410659-1.svg
rename from content/svg/content/src/crashtests/410659-2.svg
rename to dom/svg/crashtests/410659-2.svg
rename from content/svg/content/src/crashtests/410659-3.svg
rename to dom/svg/crashtests/410659-3.svg
rename from content/svg/content/src/crashtests/412104-1.svg
rename to dom/svg/crashtests/412104-1.svg
rename from content/svg/content/src/crashtests/413174-1.svg
rename to dom/svg/crashtests/413174-1.svg
rename from content/svg/content/src/crashtests/414188-1.svg
rename to dom/svg/crashtests/414188-1.svg
rename from content/svg/content/src/crashtests/427325-1.svg
rename to dom/svg/crashtests/427325-1.svg
rename from content/svg/content/src/crashtests/428228-1.svg
rename to dom/svg/crashtests/428228-1.svg
rename from content/svg/content/src/crashtests/428841-1.svg
rename to dom/svg/crashtests/428841-1.svg
rename from content/svg/content/src/crashtests/435209-1.svg
rename to dom/svg/crashtests/435209-1.svg
rename from content/svg/content/src/crashtests/436418-mpathRoot-1.svg
rename to dom/svg/crashtests/436418-mpathRoot-1.svg
rename from content/svg/content/src/crashtests/448244-1.svg
rename to dom/svg/crashtests/448244-1.svg
rename from content/svg/content/src/crashtests/466576-1.xhtml
rename to dom/svg/crashtests/466576-1.xhtml
rename from content/svg/content/src/crashtests/499879-1.svg
rename to dom/svg/crashtests/499879-1.svg
rename from content/svg/content/src/crashtests/535691-1.svg
rename to dom/svg/crashtests/535691-1.svg
rename from content/svg/content/src/crashtests/539167-1.svg
rename to dom/svg/crashtests/539167-1.svg
rename from content/svg/content/src/crashtests/573316-1.svg
rename to dom/svg/crashtests/573316-1.svg
rename from content/svg/content/src/crashtests/579356-1.svg
rename to dom/svg/crashtests/579356-1.svg
rename from content/svg/content/src/crashtests/579356-2.svg
rename to dom/svg/crashtests/579356-2.svg
rename from content/svg/content/src/crashtests/595608-1.svg
rename to dom/svg/crashtests/595608-1.svg
rename from content/svg/content/src/crashtests/601251-1.html
rename to dom/svg/crashtests/601251-1.html
rename from content/svg/content/src/crashtests/601406-1.svg
rename to dom/svg/crashtests/601406-1.svg
rename from content/svg/content/src/crashtests/603145-1.svg
rename to dom/svg/crashtests/603145-1.svg
rename from content/svg/content/src/crashtests/613899-1.svg
rename to dom/svg/crashtests/613899-1.svg
rename from content/svg/content/src/crashtests/613899-2.svg
rename to dom/svg/crashtests/613899-2.svg
rename from content/svg/content/src/crashtests/719779-1.svg
rename to dom/svg/crashtests/719779-1.svg
rename from content/svg/content/src/crashtests/723441-1.html
rename to dom/svg/crashtests/723441-1.html
rename from content/svg/content/src/crashtests/723441-resource.svg
rename to dom/svg/crashtests/723441-resource.svg
rename from content/svg/content/src/crashtests/751515-1.svg
rename to dom/svg/crashtests/751515-1.svg
rename from content/svg/content/src/crashtests/761507-1.svg
rename to dom/svg/crashtests/761507-1.svg
rename from content/svg/content/src/crashtests/831561.html
rename to dom/svg/crashtests/831561.html
rename from content/svg/content/src/crashtests/837450-1.svg
rename to dom/svg/crashtests/837450-1.svg
rename from content/svg/content/src/crashtests/842463-1.html
rename to dom/svg/crashtests/842463-1.html
rename from content/svg/content/src/crashtests/847138-1.svg
rename to dom/svg/crashtests/847138-1.svg
rename from content/svg/content/src/crashtests/864509.svg
rename to dom/svg/crashtests/864509.svg
rename from content/svg/content/src/crashtests/880544-1.svg
rename to dom/svg/crashtests/880544-1.svg
rename from content/svg/content/src/crashtests/880544-2.svg
rename to dom/svg/crashtests/880544-2.svg
rename from content/svg/content/src/crashtests/880544-3.svg
rename to dom/svg/crashtests/880544-3.svg
rename from content/svg/content/src/crashtests/880544-4.svg
rename to dom/svg/crashtests/880544-4.svg
rename from content/svg/content/src/crashtests/880544-5.svg
rename to dom/svg/crashtests/880544-5.svg
rename from content/svg/content/src/crashtests/898915-1.svg
rename to dom/svg/crashtests/898915-1.svg
rename from content/svg/content/src/crashtests/crashtests.list
rename to dom/svg/crashtests/crashtests.list
rename from content/svg/content/src/crashtests/zero-size-image.svg
rename to dom/svg/crashtests/zero-size-image.svg
rename from content/svg/content/src/moz.build
rename to dom/svg/moz.build
--- a/content/svg/content/src/moz.build
+++ b/dom/svg/moz.build
@@ -31,16 +31,17 @@ EXPORTS.mozilla.dom += [
     'SVGAnimateMotionElement.h',
     'SVGAnimateTransformElement.h',
     'SVGAnimationElement.h',
     'SVGCircleElement.h',
     'SVGClipPathElement.h',
     'SVGComponentTransferFunctionElement.h',
     'SVGDefsElement.h',
     'SVGDescElement.h',
+    'SVGDocument.h',
     'SVGEllipseElement.h',
     'SVGFEBlendElement.h',
     'SVGFEColorMatrixElement.h',
     'SVGFEComponentTransferElement.h',
     'SVGFECompositeElement.h',
     'SVGFEConvolveMatrixElement.h',
     'SVGFEDiffuseLightingElement.h',
     'SVGFEDisplacementMapElement.h',
@@ -155,16 +156,17 @@ UNIFIED_SOURCES += [
     'SVGAnimateTransformElement.cpp',
     'SVGAnimationElement.cpp',
     'SVGAttrValueWrapper.cpp',
     'SVGCircleElement.cpp',
     'SVGClipPathElement.cpp',
     'SVGContentUtils.cpp',
     'SVGDefsElement.cpp',
     'SVGDescElement.cpp',
+    'SVGDocument.cpp',
     'SVGElementFactory.cpp',
     'SVGEllipseElement.cpp',
     'SVGFEBlendElement.cpp',
     'SVGFEColorMatrixElement.cpp',
     'SVGFEComponentTransferElement.cpp',
     'SVGFECompositeElement.cpp',
     'SVGFEConvolveMatrixElement.cpp',
     'SVGFEDiffuseLightingElement.cpp',
@@ -247,21 +249,23 @@ UNIFIED_SOURCES += [
     'SVGZoomEvent.cpp',
 ]
 
 FAIL_ON_WARNINGS = True
 
 include('/ipc/chromium/chromium-config.mozbuild')
 
 FINAL_LIBRARY = 'gklayout'
+
 LOCAL_INCLUDES += [
     '/content/base/src',
     '/content/html/content/src',
     '/dom',
     '/dom/smil',
     '/dom/xbl',
     '/dom/xml',
     '/layout/generic',
     '/layout/style',
     '/layout/svg',
     '/layout/xul',
 ]
 
+MOCHITEST_MANIFESTS += ['test/mochitest.ini']
rename from content/svg/content/src/nsISVGPoint.cpp
rename to dom/svg/nsISVGPoint.cpp
rename from content/svg/content/src/nsISVGPoint.h
rename to dom/svg/nsISVGPoint.h
rename from content/svg/content/src/nsSVGAngle.cpp
rename to dom/svg/nsSVGAngle.cpp
rename from content/svg/content/src/nsSVGAngle.h
rename to dom/svg/nsSVGAngle.h
rename from content/svg/content/src/nsSVGAnimatedTransformList.cpp
rename to dom/svg/nsSVGAnimatedTransformList.cpp
rename from content/svg/content/src/nsSVGAnimatedTransformList.h
rename to dom/svg/nsSVGAnimatedTransformList.h
rename from content/svg/content/src/nsSVGAttrTearoffTable.h
rename to dom/svg/nsSVGAttrTearoffTable.h
rename from content/svg/content/src/nsSVGBoolean.cpp
rename to dom/svg/nsSVGBoolean.cpp
rename from content/svg/content/src/nsSVGBoolean.h
rename to dom/svg/nsSVGBoolean.h
rename from content/svg/content/src/nsSVGClass.cpp
rename to dom/svg/nsSVGClass.cpp
rename from content/svg/content/src/nsSVGClass.h
rename to dom/svg/nsSVGClass.h
rename from content/svg/content/src/nsSVGDataParser.cpp
rename to dom/svg/nsSVGDataParser.cpp
rename from content/svg/content/src/nsSVGDataParser.h
rename to dom/svg/nsSVGDataParser.h
rename from content/svg/content/src/nsSVGElement.cpp
rename to dom/svg/nsSVGElement.cpp
rename from content/svg/content/src/nsSVGElement.h
rename to dom/svg/nsSVGElement.h
rename from content/svg/content/src/nsSVGEnum.cpp
rename to dom/svg/nsSVGEnum.cpp
rename from content/svg/content/src/nsSVGEnum.h
rename to dom/svg/nsSVGEnum.h
rename from content/svg/content/src/nsSVGFeatures.cpp
rename to dom/svg/nsSVGFeatures.cpp
rename from content/svg/content/src/nsSVGFeatures.h
rename to dom/svg/nsSVGFeatures.h
rename from content/svg/content/src/nsSVGFeaturesList.h
rename to dom/svg/nsSVGFeaturesList.h
rename from content/svg/content/src/nsSVGFilters.cpp
rename to dom/svg/nsSVGFilters.cpp
rename from content/svg/content/src/nsSVGFilters.h
rename to dom/svg/nsSVGFilters.h
rename from content/svg/content/src/nsSVGInteger.cpp
rename to dom/svg/nsSVGInteger.cpp
rename from content/svg/content/src/nsSVGInteger.h
rename to dom/svg/nsSVGInteger.h
rename from content/svg/content/src/nsSVGIntegerPair.cpp
rename to dom/svg/nsSVGIntegerPair.cpp
rename from content/svg/content/src/nsSVGIntegerPair.h
rename to dom/svg/nsSVGIntegerPair.h
rename from content/svg/content/src/nsSVGLength2.cpp
rename to dom/svg/nsSVGLength2.cpp
rename from content/svg/content/src/nsSVGLength2.h
rename to dom/svg/nsSVGLength2.h
rename from content/svg/content/src/nsSVGNumber2.cpp
rename to dom/svg/nsSVGNumber2.cpp
rename from content/svg/content/src/nsSVGNumber2.h
rename to dom/svg/nsSVGNumber2.h
rename from content/svg/content/src/nsSVGNumberPair.cpp
rename to dom/svg/nsSVGNumberPair.cpp
rename from content/svg/content/src/nsSVGNumberPair.h
rename to dom/svg/nsSVGNumberPair.h
rename from content/svg/content/src/nsSVGPathDataParser.cpp
rename to dom/svg/nsSVGPathDataParser.cpp
rename from content/svg/content/src/nsSVGPathDataParser.h
rename to dom/svg/nsSVGPathDataParser.h
rename from content/svg/content/src/nsSVGPathGeometryElement.cpp
rename to dom/svg/nsSVGPathGeometryElement.cpp
rename from content/svg/content/src/nsSVGPathGeometryElement.h
rename to dom/svg/nsSVGPathGeometryElement.h
rename from content/svg/content/src/nsSVGPolyElement.cpp
rename to dom/svg/nsSVGPolyElement.cpp
rename from content/svg/content/src/nsSVGPolyElement.h
rename to dom/svg/nsSVGPolyElement.h
rename from content/svg/content/src/nsSVGString.cpp
rename to dom/svg/nsSVGString.cpp
rename from content/svg/content/src/nsSVGString.h
rename to dom/svg/nsSVGString.h
rename from content/svg/content/src/nsSVGTransform.cpp
rename to dom/svg/nsSVGTransform.cpp
rename from content/svg/content/src/nsSVGTransform.h
rename to dom/svg/nsSVGTransform.h
rename from content/svg/content/src/nsSVGViewBox.cpp
rename to dom/svg/nsSVGViewBox.cpp
rename from content/svg/content/src/nsSVGViewBox.h
rename to dom/svg/nsSVGViewBox.h
rename from content/svg/content/test/MutationEventChecker.js
rename to dom/svg/test/MutationEventChecker.js
rename from content/svg/content/test/a_href_destination.svg
rename to dom/svg/test/a_href_destination.svg
rename from content/svg/content/test/a_href_helper_01.svg
rename to dom/svg/test/a_href_helper_01.svg
rename from content/svg/content/test/a_href_helper_02_03.svg
rename to dom/svg/test/a_href_helper_02_03.svg
rename from content/svg/content/test/a_href_helper_04.svg
rename to dom/svg/test/a_href_helper_04.svg
rename from content/svg/content/test/animated-svg-image-helper.html
rename to dom/svg/test/animated-svg-image-helper.html
rename from content/svg/content/test/animated-svg-image-helper.svg
rename to dom/svg/test/animated-svg-image-helper.svg
rename from content/svg/content/test/bbox-helper.svg
rename to dom/svg/test/bbox-helper.svg
rename from content/svg/content/test/bounds-helper.svg
rename to dom/svg/test/bounds-helper.svg
rename from content/svg/content/test/dataTypes-helper.svg
rename to dom/svg/test/dataTypes-helper.svg
rename from content/svg/content/test/fragments-helper.svg
rename to dom/svg/test/fragments-helper.svg
rename from content/svg/content/test/getCTM-helper.svg
rename to dom/svg/test/getCTM-helper.svg
rename from content/svg/content/test/getSubStringLength-helper.svg
rename to dom/svg/test/getSubStringLength-helper.svg
rename from content/svg/content/test/matrixUtils.js
rename to dom/svg/test/matrixUtils.js
rename from content/svg/content/test/mochitest.ini
rename to dom/svg/test/mochitest.ini
rename from content/svg/content/test/pointer-events.js
rename to dom/svg/test/pointer-events.js
rename from content/svg/content/test/scientific-helper.svg
rename to dom/svg/test/scientific-helper.svg
rename from content/svg/content/test/selectSubString-helper.svg
rename to dom/svg/test/selectSubString-helper.svg
rename from content/svg/content/test/switch-helper.svg
rename to dom/svg/test/switch-helper.svg
rename from content/svg/content/test/test_SVGLengthList-2.xhtml
rename to dom/svg/test/test_SVGLengthList-2.xhtml
rename from content/svg/content/test/test_SVGLengthList.xhtml
rename to dom/svg/test/test_SVGLengthList.xhtml
rename from content/svg/content/test/test_SVGMatrix.xhtml
rename to dom/svg/test/test_SVGMatrix.xhtml
rename from content/svg/content/test/test_SVGNumberList.xhtml
rename to dom/svg/test/test_SVGNumberList.xhtml
rename from content/svg/content/test/test_SVGPathSegList.xhtml
rename to dom/svg/test/test_SVGPathSegList.xhtml
rename from content/svg/content/test/test_SVGPointList.xhtml
rename to dom/svg/test/test_SVGPointList.xhtml
rename from content/svg/content/test/test_SVGStringList.xhtml
rename to dom/svg/test/test_SVGStringList.xhtml
rename from content/svg/content/test/test_SVGStyleElement.xhtml
rename to dom/svg/test/test_SVGStyleElement.xhtml
rename from content/svg/content/test/test_SVGTransformList.xhtml
rename to dom/svg/test/test_SVGTransformList.xhtml
rename from content/svg/content/test/test_SVGTransformListAddition.xhtml
rename to dom/svg/test/test_SVGTransformListAddition.xhtml
rename from content/svg/content/test/test_SVGUnitTypes.html
rename to dom/svg/test/test_SVGUnitTypes.html
rename from content/svg/content/test/test_SVG_namespace_ids.html
rename to dom/svg/test/test_SVG_namespace_ids.html
rename from content/svg/content/test/test_SVGxxxList.xhtml
rename to dom/svg/test/test_SVGxxxList.xhtml
rename from content/svg/content/test/test_SVGxxxListIndexing.xhtml
rename to dom/svg/test/test_SVGxxxListIndexing.xhtml
rename from content/svg/content/test/test_a_href_01.xhtml
rename to dom/svg/test/test_a_href_01.xhtml
rename from content/svg/content/test/test_a_href_02.xhtml
rename to dom/svg/test/test_a_href_02.xhtml
rename from content/svg/content/test/test_animLengthObjectIdentity.xhtml
rename to dom/svg/test/test_animLengthObjectIdentity.xhtml
rename from content/svg/content/test/test_animLengthReadonly.xhtml
rename to dom/svg/test/test_animLengthReadonly.xhtml
rename from content/svg/content/test/test_animLengthUnits.xhtml
rename to dom/svg/test/test_animLengthUnits.xhtml
rename from content/svg/content/test/test_bbox-with-invalid-viewBox.xhtml
rename to dom/svg/test/test_bbox-with-invalid-viewBox.xhtml
rename from content/svg/content/test/test_bbox.xhtml
rename to dom/svg/test/test_bbox.xhtml
rename from content/svg/content/test/test_bounds.html
rename to dom/svg/test/test_bounds.html
rename from content/svg/content/test/test_bug872812.html
rename to dom/svg/test/test_bug872812.html
rename from content/svg/content/test/test_dataTypes.html
rename to dom/svg/test/test_dataTypes.html
rename from content/svg/content/test/test_dataTypesModEvents.html
rename to dom/svg/test/test_dataTypesModEvents.html
rename from content/svg/content/test/test_fragments.html
rename to dom/svg/test/test_fragments.html
rename from content/svg/content/test/test_getCTM.html
rename to dom/svg/test/test_getCTM.html
rename from content/svg/content/test/test_getElementById.xhtml
rename to dom/svg/test/test_getElementById.xhtml
rename from content/svg/content/test/test_getSubStringLength.xhtml
rename to dom/svg/test/test_getSubStringLength.xhtml
rename from content/svg/content/test/test_hasFeature.xhtml
rename to dom/svg/test/test_hasFeature.xhtml
--- a/content/svg/content/test/test_hasFeature.xhtml
+++ b/dom/svg/test/test_hasFeature.xhtml
@@ -59,17 +59,17 @@ var features = [
   ["MutationNameEvents", "3.0", true],
   ["HTMLEvents", "3.0", true],
   ["LS", "3.0", true],
   ["LS-Async", "3.0", true],
   ["Validation", "3.0", true],
   ["XPath", "3.0", "true"],
 
   // current SVG feature string support status:
-  //   content/svg/content/src/nsSVGFeaturesList.h
+  //   dom/svg/nsSVGFeaturesList.h
   // SVG 1.1
   // Static festures
   ["http://www.w3.org/TR/SVG11/feature#CoreAttribute", "1.1", true],
   ["http://www.w3.org/TR/SVG11/feature#Structure", "1.1", true],
   ["http://www.w3.org/TR/SVG11/feature#ContainerAttribute", "1.1", false],
   ["http://www.w3.org/TR/SVG11/feature#ConditionalProcessing", "1.1", true],
   ["http://www.w3.org/TR/SVG11/feature#Image", "1.1", true],
   ["http://www.w3.org/TR/SVG11/feature#Style", "1.1", true],
rename from content/svg/content/test/test_lang.xhtml
rename to dom/svg/test/test_lang.xhtml
rename from content/svg/content/test/test_length.xhtml
rename to dom/svg/test/test_length.xhtml
rename from content/svg/content/test/test_lengthParsing.html
rename to dom/svg/test/test_lengthParsing.html
rename from content/svg/content/test/test_non-scaling-stroke.html
rename to dom/svg/test/test_non-scaling-stroke.html
rename from content/svg/content/test/test_nonAnimStrings.xhtml
rename to dom/svg/test/test_nonAnimStrings.xhtml
rename from content/svg/content/test/test_onerror.xhtml
rename to dom/svg/test/test_onerror.xhtml
rename from content/svg/content/test/test_pathAnimInterpolation.xhtml
rename to dom/svg/test/test_pathAnimInterpolation.xhtml
rename from content/svg/content/test/test_pathSeg.xhtml
rename to dom/svg/test/test_pathSeg.xhtml
rename from content/svg/content/test/test_pointAtLength.xhtml
rename to dom/svg/test/test_pointAtLength.xhtml
rename from content/svg/content/test/test_pointer-events-1a.xhtml
rename to dom/svg/test/test_pointer-events-1a.xhtml
rename from content/svg/content/test/test_pointer-events-1b.xhtml
rename to dom/svg/test/test_pointer-events-1b.xhtml
rename from content/svg/content/test/test_pointer-events-2.xhtml
rename to dom/svg/test/test_pointer-events-2.xhtml
rename from content/svg/content/test/test_pointer-events-3.xhtml
rename to dom/svg/test/test_pointer-events-3.xhtml
rename from content/svg/content/test/test_pointer-events-4.xhtml
rename to dom/svg/test/test_pointer-events-4.xhtml
rename from content/svg/content/test/test_pointer-events-5.xhtml
rename to dom/svg/test/test_pointer-events-5.xhtml
rename from content/svg/content/test/test_scientific.html
rename to dom/svg/test/test_scientific.html
rename from content/svg/content/test/test_selectSubString.xhtml
rename to dom/svg/test/test_selectSubString.xhtml
rename from content/svg/content/test/test_stroke-linecap-hit-testing.xhtml
rename to dom/svg/test/test_stroke-linecap-hit-testing.xhtml
rename from content/svg/content/test/test_switch.xhtml
rename to dom/svg/test/test_switch.xhtml
rename from content/svg/content/test/test_text.html
rename to dom/svg/test/test_text.html
rename from content/svg/content/test/test_text_2.html
rename to dom/svg/test/test_text_2.html
rename from content/svg/content/test/test_text_dirty.html
rename to dom/svg/test/test_text_dirty.html
rename from content/svg/content/test/test_text_lengthAdjust.html
rename to dom/svg/test/test_text_lengthAdjust.html
rename from content/svg/content/test/test_text_scaled.html
rename to dom/svg/test/test_text_scaled.html
rename from content/svg/content/test/test_text_selection.html
rename to dom/svg/test/test_text_selection.html
rename from content/svg/content/test/test_text_update.html
rename to dom/svg/test/test_text_update.html
rename from content/svg/content/test/test_transform.xhtml
rename to dom/svg/test/test_transform.xhtml
rename from content/svg/content/test/test_transformParsing.html
rename to dom/svg/test/test_transformParsing.html
rename from content/svg/content/test/test_valueAsString.xhtml
rename to dom/svg/test/test_valueAsString.xhtml
rename from content/svg/content/test/test_valueLeaks.xhtml
rename to dom/svg/test/test_valueLeaks.xhtml
rename from content/svg/content/test/test_viewport.html
rename to dom/svg/test/test_viewport.html
rename from content/svg/content/test/test_zoom.xhtml
rename to dom/svg/test/test_zoom.xhtml
rename from content/svg/content/test/text-helper-scaled.svg
rename to dom/svg/test/text-helper-scaled.svg
rename from content/svg/content/test/text-helper-selection.svg
rename to dom/svg/test/text-helper-selection.svg
rename from content/svg/content/test/text-helper.svg
rename to dom/svg/test/text-helper.svg
rename from content/svg/content/test/viewport-helper.svg
rename to dom/svg/test/viewport-helper.svg
rename from content/svg/content/test/zoom-helper.svg
rename to dom/svg/test/zoom-helper.svg
--- a/embedding/browser/webBrowser/moz.build
+++ b/embedding/browser/webBrowser/moz.build
@@ -44,11 +44,11 @@ UNIFIED_SOURCES += [
     'nsWebBrowserContentPolicy.cpp',
 ]
 
 FAIL_ON_WARNINGS = True
 
 FINAL_LIBRARY = 'webbrwsr'
 LOCAL_INCLUDES += [
     '../../../content/base/src',
-    '../../../content/svg/content/src',
+    '../../../dom/svg',
 ]
 
--- a/image/src/moz.build
+++ b/image/src/moz.build
@@ -48,16 +48,16 @@ FAIL_ON_WARNINGS = True
 
 include('/ipc/chromium/chromium-config.mozbuild')
 
 FINAL_LIBRARY = 'imglib2'
 
 LOCAL_INCLUDES += [
     # Because SVGDocumentWrapper.cpp includes "mozilla/dom/SVGSVGElement.h"
     '/content/base/src',
-    '/content/svg/content/src',
+    '/dom/svg',
     # We need to instantiate the decoders
     '/image/decoders',
     # Because VectorImage.cpp includes nsSVGUtils.h and nsSVGEffects.h
     '/layout/svg',
     # For URI-related functionality
     '/netwerk/base/src',
 ]
--- a/js/xpconnect/src/moz.build
+++ b/js/xpconnect/src/moz.build
@@ -81,18 +81,18 @@ if CONFIG['MOZ_JSDEBUGGER']:
 LOCAL_INCLUDES += [
     '../loader',
     '../wrappers',
     '/caps/include',
     '/content/base/public',
     '/content/base/src',
     '/content/html/content/src',
     '/content/html/document/src',
-    '/content/svg/content/src',
     '/dom/base',
+    '/dom/svg',
     '/dom/workers',
     '/js/ipc',
     '/layout/base',
     '/layout/style',
     '/xpcom/reflect/xptinfo/src',
 ]
 
 if CONFIG['MOZ_B2G_BT']:
--- a/layout/base/moz.build
+++ b/layout/base/moz.build
@@ -108,29 +108,29 @@ FAIL_ON_WARNINGS = True
 
 MSVC_ENABLE_PGO = True
 
 include('/ipc/chromium/chromium-config.mozbuild')
 
 LOCAL_INCLUDES += [
     '../../content/base/src',
     '../../content/html/content/src',
-    '../../content/svg/content/src',
     '../../view/src',
     '../forms',
     '../generic',
     '../mathml',
     '../printing',
     '../style',
     '../svg',
     '../tables',
     '../xul',
     '../xul/tree/',
     '/docshell/base',
     '/dom/base',
+    '/dom/svg',
     '/dom/xbl',
 ]
 
 FINAL_LIBRARY = 'gklayout'
 
 MOCHITEST_MANIFESTS += ['tests/mochitest.ini']
 MOCHITEST_CHROME_MANIFESTS += ['tests/chrome/chrome.ini']
 BROWSER_CHROME_MANIFESTS += ['tests/browser.ini']
--- a/layout/build/moz.build
+++ b/layout/build/moz.build
@@ -38,33 +38,33 @@ LOCAL_INCLUDES += [
     '../style',
     '../tables',
     '../xul',
     '/caps/include',
     '/content/base/src',
     '/content/canvas/src',
     '/content/html/content/src',
     '/content/html/document/src',
-    '/content/svg/content/src',
     '/content/xul/content/src',
     '/content/xul/document/src',
     '/content/xul/templates/src',
     '/docshell/base',
     '/dom/audiochannel',
     '/dom/base',
     '/dom/camera',
     '/dom/file',
     '/dom/filesystem',
     '/dom/media',
     '/dom/speakermanager',
     '/dom/src/geolocation',
     '/dom/src/json',
     '/dom/src/jsurl',
     '/dom/src/offline',
     '/dom/src/storage',
+    '/dom/svg',
     '/dom/telephony',
     '/dom/xbl',
     '/dom/xslt/base',
     '/dom/xslt/xml',
     '/dom/xslt/xpath',
     '/dom/xslt/xslt',
     '/editor/composer/src',
     '/editor/libeditor/base',
--- a/layout/svg/moz.build
+++ b/layout/svg/moz.build
@@ -47,20 +47,20 @@ UNIFIED_SOURCES += [
     'SVGViewFrame.cpp',
 ]
 
 FAIL_ON_WARNINGS = True
 
 FINAL_LIBRARY = 'gklayout'
 LOCAL_INCLUDES += [
     '../../content/base/src',
-    '../../content/svg/content/src',
     '../../widget',
     '../base',
     '../generic',
     '../style',
     '../xul',
+    '/dom/svg',
 ]
 
 RESOURCE_FILES += [
     'svg.css',
 ]
 
--- a/testing/crashtest/crashtests.list
+++ b/testing/crashtest/crashtests.list
@@ -4,32 +4,32 @@
 include ../../testing/crashtest/sanity/crashtests.list
 
 include ../../accessible/tests/crashtests/crashtests.list
 
 include ../../content/base/crashtests/crashtests.list
 include ../../content/canvas/crashtests/crashtests.list
 include ../../content/html/document/crashtests/crashtests.list
 include ../../content/html/content/crashtests/crashtests.list
-include ../../content/svg/content/src/crashtests/crashtests.list
 include ../../content/xul/content/crashtests/crashtests.list
 include ../../content/xul/document/crashtests/crashtests.list
 include ../../content/xul/templates/src/crashtests/crashtests.list
 
 # Bug 868152 - webaudio crash on tegra platform
 skip-if(Android) include ../../content/media/test/crashtests/crashtests.list
 
 include ../../docshell/base/crashtests/crashtests.list
 
 include ../../dom/base/crashtests/crashtests.list
 include ../../dom/bindings/crashtests/crashtests.list
 include ../../dom/events/crashtests/crashtests.list
 include ../../dom/indexedDB/crashtests/crashtests.list
 include ../../dom/mathml/crashtests/crashtests.list
 include ../../dom/smil/crashtests/crashtests.list
+include ../../dom/svg/crashtests/crashtests.list
 include ../../dom/xbl/crashtests/crashtests.list
 include ../../dom/xml/crashtests/crashtests.list
 include ../../dom/xslt/crashtests/crashtests.list
 
 # Bug 811873 - mozRTCPeerConnection doesn't support remote browser yet
 skip-if(B2G||browserIsRemote) include ../../dom/media/tests/crashtests/crashtests.list
 
 include ../../dom/src/offline/crashtests/crashtests.list