Backed out changeset 4c4e45496cac (bug 946065) for mochitest crashes on windows; CLOSED TREE
authorEd Morley <emorley@mozilla.com>
Wed, 06 Aug 2014 17:06:57 +0100
changeset 219829 8d97586ffcfca80adc6c3bafbba8ecfe1bf78a5c
parent 219828 a7180856b416f85cdf10e026e02db9e93edb4a8d
child 219830 968a007bad3fe61fc8905004a7c1271690b398cd
push id3979
push userraliiev@mozilla.com
push dateMon, 13 Oct 2014 16:35:44 +0000
treeherdermozilla-beta@30f2cc610691 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs946065
milestone34.0a1
backs out4c4e45496cac9aed9b60898e42b91e341ea74c80
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
Backed out changeset 4c4e45496cac (bug 946065) for mochitest crashes on windows; CLOSED TREE
content/base/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/getBBox-method-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_getBBox-method.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_pathLength.html
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_pointer-events-6.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/canvas/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/getBBox-method-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_getBBox-method.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_pathLength.html
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_pointer-events-6.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 = 'xul'
 LOCAL_INCLUDES += [
     '/caps',
     '/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/moz.build
+++ b/content/moz.build
@@ -3,12 +3,13 @@
 # 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/.
 
 DIRS += [
     'base',
     'html',
     'media',
+    'svg',
     'xul',
 ]
 
 XPCSHELL_TESTS_MANIFESTS += ['test/unit/xpcshell.ini']
new file mode 100644
--- /dev/null
+++ b/content/svg/content/moz.build
@@ -0,0 +1,9 @@
+# -*- 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/.
+
+DIRS += ['src']
+
+MOCHITEST_MANIFESTS += ['test/mochitest.ini']
rename from dom/svg/DOMSVGAnimatedLengthList.cpp
rename to content/svg/content/src/DOMSVGAnimatedLengthList.cpp
rename from dom/svg/DOMSVGAnimatedLengthList.h
rename to content/svg/content/src/DOMSVGAnimatedLengthList.h
rename from dom/svg/DOMSVGAnimatedNumberList.cpp
rename to content/svg/content/src/DOMSVGAnimatedNumberList.cpp
rename from dom/svg/DOMSVGAnimatedNumberList.h
rename to content/svg/content/src/DOMSVGAnimatedNumberList.h
rename from dom/svg/DOMSVGLength.cpp
rename to content/svg/content/src/DOMSVGLength.cpp
rename from dom/svg/DOMSVGLength.h
rename to content/svg/content/src/DOMSVGLength.h
rename from dom/svg/DOMSVGLengthList.cpp
rename to content/svg/content/src/DOMSVGLengthList.cpp
rename from dom/svg/DOMSVGLengthList.h
rename to content/svg/content/src/DOMSVGLengthList.h
rename from dom/svg/DOMSVGNumber.cpp
rename to content/svg/content/src/DOMSVGNumber.cpp
rename from dom/svg/DOMSVGNumber.h
rename to content/svg/content/src/DOMSVGNumber.h
rename from dom/svg/DOMSVGNumberList.cpp
rename to content/svg/content/src/DOMSVGNumberList.cpp
rename from dom/svg/DOMSVGNumberList.h
rename to content/svg/content/src/DOMSVGNumberList.h
rename from dom/svg/DOMSVGPathSeg.cpp
rename to content/svg/content/src/DOMSVGPathSeg.cpp
rename from dom/svg/DOMSVGPathSeg.h
rename to content/svg/content/src/DOMSVGPathSeg.h
rename from dom/svg/DOMSVGPathSegList.cpp
rename to content/svg/content/src/DOMSVGPathSegList.cpp
rename from dom/svg/DOMSVGPathSegList.h
rename to content/svg/content/src/DOMSVGPathSegList.h
rename from dom/svg/DOMSVGPoint.cpp
rename to content/svg/content/src/DOMSVGPoint.cpp
rename from dom/svg/DOMSVGPoint.h
rename to content/svg/content/src/DOMSVGPoint.h
rename from dom/svg/DOMSVGPointList.cpp
rename to content/svg/content/src/DOMSVGPointList.cpp
rename from dom/svg/DOMSVGPointList.h
rename to content/svg/content/src/DOMSVGPointList.h
rename from dom/svg/DOMSVGStringList.cpp
rename to content/svg/content/src/DOMSVGStringList.cpp
rename from dom/svg/DOMSVGStringList.h
rename to content/svg/content/src/DOMSVGStringList.h
rename from dom/svg/DOMSVGTransformList.cpp
rename to content/svg/content/src/DOMSVGTransformList.cpp
rename from dom/svg/DOMSVGTransformList.h
rename to content/svg/content/src/DOMSVGTransformList.h
rename from dom/svg/SVGAElement.cpp
rename to content/svg/content/src/SVGAElement.cpp
rename from dom/svg/SVGAElement.h
rename to content/svg/content/src/SVGAElement.h
rename from dom/svg/SVGAltGlyphElement.cpp
rename to content/svg/content/src/SVGAltGlyphElement.cpp
rename from dom/svg/SVGAltGlyphElement.h
rename to content/svg/content/src/SVGAltGlyphElement.h
rename from dom/svg/SVGAngle.cpp
rename to content/svg/content/src/SVGAngle.cpp
rename from dom/svg/SVGAngle.h
rename to content/svg/content/src/SVGAngle.h
rename from dom/svg/SVGAnimateElement.cpp
rename to content/svg/content/src/SVGAnimateElement.cpp
rename from dom/svg/SVGAnimateElement.h
rename to content/svg/content/src/SVGAnimateElement.h
rename from dom/svg/SVGAnimateMotionElement.cpp
rename to content/svg/content/src/SVGAnimateMotionElement.cpp
rename from dom/svg/SVGAnimateMotionElement.h
rename to content/svg/content/src/SVGAnimateMotionElement.h
rename from dom/svg/SVGAnimateTransformElement.cpp
rename to content/svg/content/src/SVGAnimateTransformElement.cpp
rename from dom/svg/SVGAnimateTransformElement.h
rename to content/svg/content/src/SVGAnimateTransformElement.h
rename from dom/svg/SVGAnimatedAngle.cpp
rename to content/svg/content/src/SVGAnimatedAngle.cpp
rename from dom/svg/SVGAnimatedAngle.h
rename to content/svg/content/src/SVGAnimatedAngle.h
rename from dom/svg/SVGAnimatedBoolean.cpp
rename to content/svg/content/src/SVGAnimatedBoolean.cpp
rename from dom/svg/SVGAnimatedBoolean.h
rename to content/svg/content/src/SVGAnimatedBoolean.h
rename from dom/svg/SVGAnimatedEnumeration.cpp
rename to content/svg/content/src/SVGAnimatedEnumeration.cpp
rename from dom/svg/SVGAnimatedEnumeration.h
rename to content/svg/content/src/SVGAnimatedEnumeration.h
rename from dom/svg/SVGAnimatedInteger.cpp
rename to content/svg/content/src/SVGAnimatedInteger.cpp
rename from dom/svg/SVGAnimatedInteger.h
rename to content/svg/content/src/SVGAnimatedInteger.h
rename from dom/svg/SVGAnimatedLength.cpp
rename to content/svg/content/src/SVGAnimatedLength.cpp
rename from dom/svg/SVGAnimatedLength.h
rename to content/svg/content/src/SVGAnimatedLength.h
rename from dom/svg/SVGAnimatedLengthList.cpp
rename to content/svg/content/src/SVGAnimatedLengthList.cpp
rename from dom/svg/SVGAnimatedLengthList.h
rename to content/svg/content/src/SVGAnimatedLengthList.h
rename from dom/svg/SVGAnimatedNumber.cpp
rename to content/svg/content/src/SVGAnimatedNumber.cpp
rename from dom/svg/SVGAnimatedNumber.h
rename to content/svg/content/src/SVGAnimatedNumber.h
rename from dom/svg/SVGAnimatedNumberList.cpp
rename to content/svg/content/src/SVGAnimatedNumberList.cpp
rename from dom/svg/SVGAnimatedNumberList.h
rename to content/svg/content/src/SVGAnimatedNumberList.h
rename from dom/svg/SVGAnimatedPathSegList.cpp
rename to content/svg/content/src/SVGAnimatedPathSegList.cpp
rename from dom/svg/SVGAnimatedPathSegList.h
rename to content/svg/content/src/SVGAnimatedPathSegList.h
rename from dom/svg/SVGAnimatedPointList.cpp
rename to content/svg/content/src/SVGAnimatedPointList.cpp
rename from dom/svg/SVGAnimatedPointList.h
rename to content/svg/content/src/SVGAnimatedPointList.h
rename from dom/svg/SVGAnimatedPreserveAspectRatio.cpp
rename to content/svg/content/src/SVGAnimatedPreserveAspectRatio.cpp
rename from dom/svg/SVGAnimatedPreserveAspectRatio.h
rename to content/svg/content/src/SVGAnimatedPreserveAspectRatio.h
rename from dom/svg/SVGAnimatedRect.cpp
rename to content/svg/content/src/SVGAnimatedRect.cpp
rename from dom/svg/SVGAnimatedRect.h
rename to content/svg/content/src/SVGAnimatedRect.h
rename from dom/svg/SVGAnimatedString.cpp
rename to content/svg/content/src/SVGAnimatedString.cpp
rename from dom/svg/SVGAnimatedString.h
rename to content/svg/content/src/SVGAnimatedString.h
rename from dom/svg/SVGAnimatedTransformList.cpp
rename to content/svg/content/src/SVGAnimatedTransformList.cpp
rename from dom/svg/SVGAnimatedTransformList.h
rename to content/svg/content/src/SVGAnimatedTransformList.h
rename from dom/svg/SVGAnimationElement.cpp
rename to content/svg/content/src/SVGAnimationElement.cpp
rename from dom/svg/SVGAnimationElement.h
rename to content/svg/content/src/SVGAnimationElement.h
rename from dom/svg/SVGAttrValueWrapper.cpp
rename to content/svg/content/src/SVGAttrValueWrapper.cpp
rename from dom/svg/SVGAttrValueWrapper.h
rename to content/svg/content/src/SVGAttrValueWrapper.h
rename from dom/svg/SVGCircleElement.cpp
rename to content/svg/content/src/SVGCircleElement.cpp
rename from dom/svg/SVGCircleElement.h
rename to content/svg/content/src/SVGCircleElement.h
rename from dom/svg/SVGClipPathElement.cpp
rename to content/svg/content/src/SVGClipPathElement.cpp
rename from dom/svg/SVGClipPathElement.h
rename to content/svg/content/src/SVGClipPathElement.h
rename from dom/svg/SVGComponentTransferFunctionElement.h
rename to content/svg/content/src/SVGComponentTransferFunctionElement.h
rename from dom/svg/SVGContentUtils.cpp
rename to content/svg/content/src/SVGContentUtils.cpp
rename from dom/svg/SVGContentUtils.h
rename to content/svg/content/src/SVGContentUtils.h
rename from dom/svg/SVGDefsElement.cpp
rename to content/svg/content/src/SVGDefsElement.cpp
rename from dom/svg/SVGDefsElement.h
rename to content/svg/content/src/SVGDefsElement.h
rename from dom/svg/SVGDescElement.cpp
rename to content/svg/content/src/SVGDescElement.cpp
rename from dom/svg/SVGDescElement.h
rename to content/svg/content/src/SVGDescElement.h
rename from dom/svg/SVGElementFactory.cpp
rename to content/svg/content/src/SVGElementFactory.cpp
rename from dom/svg/SVGElementFactory.h
rename to content/svg/content/src/SVGElementFactory.h
rename from dom/svg/SVGEllipseElement.cpp
rename to content/svg/content/src/SVGEllipseElement.cpp
rename from dom/svg/SVGEllipseElement.h
rename to content/svg/content/src/SVGEllipseElement.h
rename from dom/svg/SVGFEBlendElement.cpp
rename to content/svg/content/src/SVGFEBlendElement.cpp
rename from dom/svg/SVGFEBlendElement.h
rename to content/svg/content/src/SVGFEBlendElement.h
rename from dom/svg/SVGFEColorMatrixElement.cpp
rename to content/svg/content/src/SVGFEColorMatrixElement.cpp
rename from dom/svg/SVGFEColorMatrixElement.h
rename to content/svg/content/src/SVGFEColorMatrixElement.h
rename from dom/svg/SVGFEComponentTransferElement.cpp
rename to content/svg/content/src/SVGFEComponentTransferElement.cpp
rename from dom/svg/SVGFEComponentTransferElement.h
rename to content/svg/content/src/SVGFEComponentTransferElement.h
rename from dom/svg/SVGFECompositeElement.cpp
rename to content/svg/content/src/SVGFECompositeElement.cpp
rename from dom/svg/SVGFECompositeElement.h
rename to content/svg/content/src/SVGFECompositeElement.h
rename from dom/svg/SVGFEConvolveMatrixElement.cpp
rename to content/svg/content/src/SVGFEConvolveMatrixElement.cpp
rename from dom/svg/SVGFEConvolveMatrixElement.h
rename to content/svg/content/src/SVGFEConvolveMatrixElement.h
rename from dom/svg/SVGFEDiffuseLightingElement.cpp
rename to content/svg/content/src/SVGFEDiffuseLightingElement.cpp
rename from dom/svg/SVGFEDiffuseLightingElement.h
rename to content/svg/content/src/SVGFEDiffuseLightingElement.h
rename from dom/svg/SVGFEDisplacementMapElement.cpp
rename to content/svg/content/src/SVGFEDisplacementMapElement.cpp
rename from dom/svg/SVGFEDisplacementMapElement.h
rename to content/svg/content/src/SVGFEDisplacementMapElement.h
rename from dom/svg/SVGFEDistantLightElement.cpp
rename to content/svg/content/src/SVGFEDistantLightElement.cpp
rename from dom/svg/SVGFEDistantLightElement.h
rename to content/svg/content/src/SVGFEDistantLightElement.h
rename from dom/svg/SVGFEDropShadowElement.cpp
rename to content/svg/content/src/SVGFEDropShadowElement.cpp
rename from dom/svg/SVGFEDropShadowElement.h
rename to content/svg/content/src/SVGFEDropShadowElement.h
rename from dom/svg/SVGFEFloodElement.cpp
rename to content/svg/content/src/SVGFEFloodElement.cpp
rename from dom/svg/SVGFEFloodElement.h
rename to content/svg/content/src/SVGFEFloodElement.h
rename from dom/svg/SVGFEGaussianBlurElement.cpp
rename to content/svg/content/src/SVGFEGaussianBlurElement.cpp
rename from dom/svg/SVGFEGaussianBlurElement.h
rename to content/svg/content/src/SVGFEGaussianBlurElement.h
rename from dom/svg/SVGFEImageElement.cpp
rename to content/svg/content/src/SVGFEImageElement.cpp
rename from dom/svg/SVGFEImageElement.h
rename to content/svg/content/src/SVGFEImageElement.h
rename from dom/svg/SVGFEMergeElement.cpp
rename to content/svg/content/src/SVGFEMergeElement.cpp
rename from dom/svg/SVGFEMergeElement.h
rename to content/svg/content/src/SVGFEMergeElement.h
rename from dom/svg/SVGFEMergeNodeElement.cpp
rename to content/svg/content/src/SVGFEMergeNodeElement.cpp
rename from dom/svg/SVGFEMergeNodeElement.h
rename to content/svg/content/src/SVGFEMergeNodeElement.h
rename from dom/svg/SVGFEMorphologyElement.cpp
rename to content/svg/content/src/SVGFEMorphologyElement.cpp
rename from dom/svg/SVGFEMorphologyElement.h
rename to content/svg/content/src/SVGFEMorphologyElement.h
rename from dom/svg/SVGFEOffsetElement.cpp
rename to content/svg/content/src/SVGFEOffsetElement.cpp
rename from dom/svg/SVGFEOffsetElement.h
rename to content/svg/content/src/SVGFEOffsetElement.h
rename from dom/svg/SVGFEPointLightElement.cpp
rename to content/svg/content/src/SVGFEPointLightElement.cpp
rename from dom/svg/SVGFEPointLightElement.h
rename to content/svg/content/src/SVGFEPointLightElement.h
rename from dom/svg/SVGFESpecularLightingElement.cpp
rename to content/svg/content/src/SVGFESpecularLightingElement.cpp
rename from dom/svg/SVGFESpecularLightingElement.h
rename to content/svg/content/src/SVGFESpecularLightingElement.h
rename from dom/svg/SVGFESpotLightElement.cpp
rename to content/svg/content/src/SVGFESpotLightElement.cpp
rename from dom/svg/SVGFESpotLightElement.h
rename to content/svg/content/src/SVGFESpotLightElement.h
rename from dom/svg/SVGFETileElement.cpp
rename to content/svg/content/src/SVGFETileElement.cpp
rename from dom/svg/SVGFETileElement.h
rename to content/svg/content/src/SVGFETileElement.h
rename from dom/svg/SVGFETurbulenceElement.cpp
rename to content/svg/content/src/SVGFETurbulenceElement.cpp
rename from dom/svg/SVGFETurbulenceElement.h
rename to content/svg/content/src/SVGFETurbulenceElement.h
rename from dom/svg/SVGFilterElement.cpp
rename to content/svg/content/src/SVGFilterElement.cpp
rename from dom/svg/SVGFilterElement.h
rename to content/svg/content/src/SVGFilterElement.h
rename from dom/svg/SVGForeignObjectElement.cpp
rename to content/svg/content/src/SVGForeignObjectElement.cpp
rename from dom/svg/SVGForeignObjectElement.h
rename to content/svg/content/src/SVGForeignObjectElement.h
rename from dom/svg/SVGFragmentIdentifier.cpp
rename to content/svg/content/src/SVGFragmentIdentifier.cpp
rename from dom/svg/SVGFragmentIdentifier.h
rename to content/svg/content/src/SVGFragmentIdentifier.h
rename from dom/svg/SVGGElement.cpp
rename to content/svg/content/src/SVGGElement.cpp
rename from dom/svg/SVGGElement.h
rename to content/svg/content/src/SVGGElement.h
rename from dom/svg/SVGGradientElement.cpp
rename to content/svg/content/src/SVGGradientElement.cpp
rename from dom/svg/SVGGradientElement.h
rename to content/svg/content/src/SVGGradientElement.h
rename from dom/svg/SVGGraphicsElement.cpp
rename to content/svg/content/src/SVGGraphicsElement.cpp
rename from dom/svg/SVGGraphicsElement.h
rename to content/svg/content/src/SVGGraphicsElement.h
rename from dom/svg/SVGIFrameElement.cpp
rename to content/svg/content/src/SVGIFrameElement.cpp
rename from dom/svg/SVGIFrameElement.h
rename to content/svg/content/src/SVGIFrameElement.h
rename from dom/svg/SVGIRect.h
rename to content/svg/content/src/SVGIRect.h
rename from dom/svg/SVGImageElement.cpp
rename to content/svg/content/src/SVGImageElement.cpp
rename from dom/svg/SVGImageElement.h
rename to content/svg/content/src/SVGImageElement.h
rename from dom/svg/SVGIntegerPairSMILType.cpp
rename to content/svg/content/src/SVGIntegerPairSMILType.cpp
rename from dom/svg/SVGIntegerPairSMILType.h
rename to content/svg/content/src/SVGIntegerPairSMILType.h
rename from dom/svg/SVGLength.cpp
rename to content/svg/content/src/SVGLength.cpp
rename from dom/svg/SVGLength.h
rename to content/svg/content/src/SVGLength.h
rename from dom/svg/SVGLengthList.cpp
rename to content/svg/content/src/SVGLengthList.cpp
rename from dom/svg/SVGLengthList.h
rename to content/svg/content/src/SVGLengthList.h
rename from dom/svg/SVGLengthListSMILType.cpp
rename to content/svg/content/src/SVGLengthListSMILType.cpp
rename from dom/svg/SVGLengthListSMILType.h
rename to content/svg/content/src/SVGLengthListSMILType.h
rename from dom/svg/SVGLineElement.cpp
rename to content/svg/content/src/SVGLineElement.cpp
rename from dom/svg/SVGLineElement.h
rename to content/svg/content/src/SVGLineElement.h
rename from dom/svg/SVGMPathElement.cpp
rename to content/svg/content/src/SVGMPathElement.cpp
rename from dom/svg/SVGMPathElement.h
rename to content/svg/content/src/SVGMPathElement.h
rename from dom/svg/SVGMarkerElement.cpp
rename to content/svg/content/src/SVGMarkerElement.cpp
rename from dom/svg/SVGMarkerElement.h
rename to content/svg/content/src/SVGMarkerElement.h
rename from dom/svg/SVGMaskElement.cpp
rename to content/svg/content/src/SVGMaskElement.cpp
rename from dom/svg/SVGMaskElement.h
rename to content/svg/content/src/SVGMaskElement.h
rename from dom/svg/SVGMatrix.cpp
rename to content/svg/content/src/SVGMatrix.cpp
rename from dom/svg/SVGMatrix.h
rename to content/svg/content/src/SVGMatrix.h
rename from dom/svg/SVGMetadataElement.cpp
rename to content/svg/content/src/SVGMetadataElement.cpp
rename from dom/svg/SVGMetadataElement.h
rename to content/svg/content/src/SVGMetadataElement.h
rename from dom/svg/SVGMotionSMILAnimationFunction.cpp
rename to content/svg/content/src/SVGMotionSMILAnimationFunction.cpp
rename from dom/svg/SVGMotionSMILAnimationFunction.h
rename to content/svg/content/src/SVGMotionSMILAnimationFunction.h
rename from dom/svg/SVGMotionSMILAttr.cpp
rename to content/svg/content/src/SVGMotionSMILAttr.cpp
rename from dom/svg/SVGMotionSMILAttr.h
rename to content/svg/content/src/SVGMotionSMILAttr.h
rename from dom/svg/SVGMotionSMILPathUtils.cpp
rename to content/svg/content/src/SVGMotionSMILPathUtils.cpp
rename from dom/svg/SVGMotionSMILPathUtils.h
rename to content/svg/content/src/SVGMotionSMILPathUtils.h
rename from dom/svg/SVGMotionSMILType.cpp
rename to content/svg/content/src/SVGMotionSMILType.cpp
rename from dom/svg/SVGMotionSMILType.h
rename to content/svg/content/src/SVGMotionSMILType.h
rename from dom/svg/SVGNumberList.cpp
rename to content/svg/content/src/SVGNumberList.cpp
rename from dom/svg/SVGNumberList.h
rename to content/svg/content/src/SVGNumberList.h
rename from dom/svg/SVGNumberListSMILType.cpp
rename to content/svg/content/src/SVGNumberListSMILType.cpp
rename from dom/svg/SVGNumberListSMILType.h
rename to content/svg/content/src/SVGNumberListSMILType.h
rename from dom/svg/SVGNumberPairSMILType.cpp
rename to content/svg/content/src/SVGNumberPairSMILType.cpp
rename from dom/svg/SVGNumberPairSMILType.h
rename to content/svg/content/src/SVGNumberPairSMILType.h
rename from dom/svg/SVGOrientSMILType.cpp
rename to content/svg/content/src/SVGOrientSMILType.cpp
rename from dom/svg/SVGOrientSMILType.h
rename to content/svg/content/src/SVGOrientSMILType.h
rename from dom/svg/SVGPathData.cpp
rename to content/svg/content/src/SVGPathData.cpp
rename from dom/svg/SVGPathData.h
rename to content/svg/content/src/SVGPathData.h
rename from dom/svg/SVGPathElement.cpp
rename to content/svg/content/src/SVGPathElement.cpp
rename from dom/svg/SVGPathElement.h
rename to content/svg/content/src/SVGPathElement.h
rename from dom/svg/SVGPathSegListSMILType.cpp
rename to content/svg/content/src/SVGPathSegListSMILType.cpp
rename from dom/svg/SVGPathSegListSMILType.h
rename to content/svg/content/src/SVGPathSegListSMILType.h
rename from dom/svg/SVGPathSegUtils.cpp
rename to content/svg/content/src/SVGPathSegUtils.cpp
rename from dom/svg/SVGPathSegUtils.h
rename to content/svg/content/src/SVGPathSegUtils.h
rename from dom/svg/SVGPatternElement.cpp
rename to content/svg/content/src/SVGPatternElement.cpp
rename from dom/svg/SVGPatternElement.h
rename to content/svg/content/src/SVGPatternElement.h
rename from dom/svg/SVGPoint.h
rename to content/svg/content/src/SVGPoint.h
rename from dom/svg/SVGPointList.cpp
rename to content/svg/content/src/SVGPointList.cpp
rename from dom/svg/SVGPointList.h
rename to content/svg/content/src/SVGPointList.h
rename from dom/svg/SVGPointListSMILType.cpp
rename to content/svg/content/src/SVGPointListSMILType.cpp
rename from dom/svg/SVGPointListSMILType.h
rename to content/svg/content/src/SVGPointListSMILType.h
rename from dom/svg/SVGPolygonElement.cpp
rename to content/svg/content/src/SVGPolygonElement.cpp
rename from dom/svg/SVGPolygonElement.h
rename to content/svg/content/src/SVGPolygonElement.h
rename from dom/svg/SVGPolylineElement.cpp
rename to content/svg/content/src/SVGPolylineElement.cpp
rename from dom/svg/SVGPolylineElement.h
rename to content/svg/content/src/SVGPolylineElement.h
rename from dom/svg/SVGPreserveAspectRatio.cpp
rename to content/svg/content/src/SVGPreserveAspectRatio.cpp
rename from dom/svg/SVGPreserveAspectRatio.h
rename to content/svg/content/src/SVGPreserveAspectRatio.h
rename from dom/svg/SVGRect.cpp
rename to content/svg/content/src/SVGRect.cpp
rename from dom/svg/SVGRect.h
rename to content/svg/content/src/SVGRect.h
rename from dom/svg/SVGRectElement.cpp
rename to content/svg/content/src/SVGRectElement.cpp
rename from dom/svg/SVGRectElement.h
rename to content/svg/content/src/SVGRectElement.h
rename from dom/svg/SVGSVGElement.cpp
rename to content/svg/content/src/SVGSVGElement.cpp
rename from dom/svg/SVGSVGElement.h
rename to content/svg/content/src/SVGSVGElement.h
rename from dom/svg/SVGScriptElement.cpp
rename to content/svg/content/src/SVGScriptElement.cpp
rename from dom/svg/SVGScriptElement.h
rename to content/svg/content/src/SVGScriptElement.h
rename from dom/svg/SVGSetElement.cpp
rename to content/svg/content/src/SVGSetElement.cpp
rename from dom/svg/SVGSetElement.h
rename to content/svg/content/src/SVGSetElement.h
rename from dom/svg/SVGStopElement.cpp
rename to content/svg/content/src/SVGStopElement.cpp
rename from dom/svg/SVGStopElement.h
rename to content/svg/content/src/SVGStopElement.h
rename from dom/svg/SVGStringList.cpp
rename to content/svg/content/src/SVGStringList.cpp
rename from dom/svg/SVGStringList.h
rename to content/svg/content/src/SVGStringList.h
rename from dom/svg/SVGStyleElement.cpp
rename to content/svg/content/src/SVGStyleElement.cpp
rename from dom/svg/SVGStyleElement.h
rename to content/svg/content/src/SVGStyleElement.h
rename from dom/svg/SVGSwitchElement.cpp
rename to content/svg/content/src/SVGSwitchElement.cpp
rename from dom/svg/SVGSwitchElement.h
rename to content/svg/content/src/SVGSwitchElement.h
rename from dom/svg/SVGSymbolElement.cpp
rename to content/svg/content/src/SVGSymbolElement.cpp
rename from dom/svg/SVGSymbolElement.h
rename to content/svg/content/src/SVGSymbolElement.h
rename from dom/svg/SVGTSpanElement.cpp
rename to content/svg/content/src/SVGTSpanElement.cpp
rename from dom/svg/SVGTSpanElement.h
rename to content/svg/content/src/SVGTSpanElement.h
rename from dom/svg/SVGTagList.h
rename to content/svg/content/src/SVGTagList.h
rename from dom/svg/SVGTests.cpp
rename to content/svg/content/src/SVGTests.cpp
rename from dom/svg/SVGTests.h
rename to content/svg/content/src/SVGTests.h
rename from dom/svg/SVGTextContentElement.cpp
rename to content/svg/content/src/SVGTextContentElement.cpp
rename from dom/svg/SVGTextContentElement.h
rename to content/svg/content/src/SVGTextContentElement.h
rename from dom/svg/SVGTextElement.cpp
rename to content/svg/content/src/SVGTextElement.cpp
rename from dom/svg/SVGTextElement.h
rename to content/svg/content/src/SVGTextElement.h
rename from dom/svg/SVGTextPathElement.cpp
rename to content/svg/content/src/SVGTextPathElement.cpp
rename from dom/svg/SVGTextPathElement.h
rename to content/svg/content/src/SVGTextPathElement.h
rename from dom/svg/SVGTextPositioningElement.cpp
rename to content/svg/content/src/SVGTextPositioningElement.cpp
rename from dom/svg/SVGTextPositioningElement.h
rename to content/svg/content/src/SVGTextPositioningElement.h
rename from dom/svg/SVGTitleElement.cpp
rename to content/svg/content/src/SVGTitleElement.cpp
rename from dom/svg/SVGTitleElement.h
rename to content/svg/content/src/SVGTitleElement.h
rename from dom/svg/SVGTransform.cpp
rename to content/svg/content/src/SVGTransform.cpp
rename from dom/svg/SVGTransform.h
rename to content/svg/content/src/SVGTransform.h
rename from dom/svg/SVGTransformList.cpp
rename to content/svg/content/src/SVGTransformList.cpp
rename from dom/svg/SVGTransformList.h
rename to content/svg/content/src/SVGTransformList.h
rename from dom/svg/SVGTransformListParser.cpp
rename to content/svg/content/src/SVGTransformListParser.cpp
rename from dom/svg/SVGTransformListParser.h
rename to content/svg/content/src/SVGTransformListParser.h
rename from dom/svg/SVGTransformListSMILType.cpp
rename to content/svg/content/src/SVGTransformListSMILType.cpp
rename from dom/svg/SVGTransformListSMILType.h
rename to content/svg/content/src/SVGTransformListSMILType.h
rename from dom/svg/SVGTransformableElement.cpp
rename to content/svg/content/src/SVGTransformableElement.cpp
rename from dom/svg/SVGTransformableElement.h
rename to content/svg/content/src/SVGTransformableElement.h
rename from dom/svg/SVGUseElement.cpp
rename to content/svg/content/src/SVGUseElement.cpp
rename from dom/svg/SVGUseElement.h
rename to content/svg/content/src/SVGUseElement.h
rename from dom/svg/SVGViewBoxSMILType.cpp
rename to content/svg/content/src/SVGViewBoxSMILType.cpp
rename from dom/svg/SVGViewBoxSMILType.h
rename to content/svg/content/src/SVGViewBoxSMILType.h
rename from dom/svg/SVGViewElement.cpp
rename to content/svg/content/src/SVGViewElement.cpp
rename from dom/svg/SVGViewElement.h
rename to content/svg/content/src/SVGViewElement.h
rename from dom/svg/SVGZoomEvent.cpp
rename to content/svg/content/src/SVGZoomEvent.cpp
rename from dom/svg/SVGZoomEvent.h
rename to content/svg/content/src/SVGZoomEvent.h
rename from dom/svg/crashtests/307322-1.svg
rename to content/svg/content/src/crashtests/307322-1.svg
rename from dom/svg/crashtests/327705-1.svg
rename to content/svg/content/src/crashtests/327705-1.svg
rename from dom/svg/crashtests/336994-1.html
rename to content/svg/content/src/crashtests/336994-1.html
rename from dom/svg/crashtests/344888-1.svg
rename to content/svg/content/src/crashtests/344888-1.svg
rename from dom/svg/crashtests/345445-1.svg
rename to content/svg/content/src/crashtests/345445-1.svg
rename from dom/svg/crashtests/360836-1.svg
rename to content/svg/content/src/crashtests/360836-1.svg
rename from dom/svg/crashtests/367357-1.xhtml
rename to content/svg/content/src/crashtests/367357-1.xhtml
rename from dom/svg/crashtests/369051-1.svg
rename to content/svg/content/src/crashtests/369051-1.svg
rename from dom/svg/crashtests/369249-1.svg
rename to content/svg/content/src/crashtests/369249-1.svg
rename from dom/svg/crashtests/369291-1.svg
rename to content/svg/content/src/crashtests/369291-1.svg
rename from dom/svg/crashtests/369291-2.svg
rename to content/svg/content/src/crashtests/369291-2.svg
rename from dom/svg/crashtests/369568-1.svg
rename to content/svg/content/src/crashtests/369568-1.svg
rename from dom/svg/crashtests/372046-1.svg
rename to content/svg/content/src/crashtests/372046-1.svg
rename from dom/svg/crashtests/372046-2.svg
rename to content/svg/content/src/crashtests/372046-2.svg
rename from dom/svg/crashtests/374882-1.svg
rename to content/svg/content/src/crashtests/374882-1.svg
rename from dom/svg/crashtests/380101-1.svg
rename to content/svg/content/src/crashtests/380101-1.svg
rename from dom/svg/crashtests/381777-1.svg
rename to content/svg/content/src/crashtests/381777-1.svg
rename from dom/svg/crashtests/383685-1.svg
rename to content/svg/content/src/crashtests/383685-1.svg
rename from dom/svg/crashtests/385096.html
rename to content/svg/content/src/crashtests/385096.html
rename from dom/svg/crashtests/385554-1.html
rename to content/svg/content/src/crashtests/385554-1.html
rename from dom/svg/crashtests/385554-2.xul
rename to content/svg/content/src/crashtests/385554-2.xul
rename from dom/svg/crashtests/388712-1.svg
rename to content/svg/content/src/crashtests/388712-1.svg
rename from dom/svg/crashtests/395616-1.html
rename to content/svg/content/src/crashtests/395616-1.html
rename from dom/svg/crashtests/396618-1.html
rename to content/svg/content/src/crashtests/396618-1.html
rename from dom/svg/crashtests/397017-1.html
rename to content/svg/content/src/crashtests/397017-1.html
rename from dom/svg/crashtests/397551-1.svg
rename to content/svg/content/src/crashtests/397551-1.svg
rename from dom/svg/crashtests/397704-1.svg
rename to content/svg/content/src/crashtests/397704-1.svg
rename from dom/svg/crashtests/398926-both-different.svg
rename to content/svg/content/src/crashtests/398926-both-different.svg
rename from dom/svg/crashtests/398926-both-same.svg
rename to content/svg/content/src/crashtests/398926-both-same.svg
rename from dom/svg/crashtests/398926-fill.svg
rename to content/svg/content/src/crashtests/398926-fill.svg
rename from dom/svg/crashtests/398926-stroke.svg
rename to content/svg/content/src/crashtests/398926-stroke.svg
rename from dom/svg/crashtests/405639-1.svg
rename to content/svg/content/src/crashtests/405639-1.svg
rename from dom/svg/crashtests/406361-1.html
rename to content/svg/content/src/crashtests/406361-1.html
rename from dom/svg/crashtests/409811-1.html
rename to content/svg/content/src/crashtests/409811-1.html
rename from dom/svg/crashtests/410659-1.svg
rename to content/svg/content/src/crashtests/410659-1.svg
rename from dom/svg/crashtests/410659-2.svg
rename to content/svg/content/src/crashtests/410659-2.svg
rename from dom/svg/crashtests/410659-3.svg
rename to content/svg/content/src/crashtests/410659-3.svg
rename from dom/svg/crashtests/412104-1.svg
rename to content/svg/content/src/crashtests/412104-1.svg
rename from dom/svg/crashtests/413174-1.svg
rename to content/svg/content/src/crashtests/413174-1.svg
rename from dom/svg/crashtests/414188-1.svg
rename to content/svg/content/src/crashtests/414188-1.svg
rename from dom/svg/crashtests/427325-1.svg
rename to content/svg/content/src/crashtests/427325-1.svg
rename from dom/svg/crashtests/428228-1.svg
rename to content/svg/content/src/crashtests/428228-1.svg
rename from dom/svg/crashtests/428841-1.svg
rename to content/svg/content/src/crashtests/428841-1.svg
rename from dom/svg/crashtests/435209-1.svg
rename to content/svg/content/src/crashtests/435209-1.svg
rename from dom/svg/crashtests/436418-mpathRoot-1.svg
rename to content/svg/content/src/crashtests/436418-mpathRoot-1.svg
rename from dom/svg/crashtests/448244-1.svg
rename to content/svg/content/src/crashtests/448244-1.svg
rename from dom/svg/crashtests/466576-1.xhtml
rename to content/svg/content/src/crashtests/466576-1.xhtml
rename from dom/svg/crashtests/499879-1.svg
rename to content/svg/content/src/crashtests/499879-1.svg
rename from dom/svg/crashtests/535691-1.svg
rename to content/svg/content/src/crashtests/535691-1.svg
rename from dom/svg/crashtests/539167-1.svg
rename to content/svg/content/src/crashtests/539167-1.svg
rename from dom/svg/crashtests/573316-1.svg
rename to content/svg/content/src/crashtests/573316-1.svg
rename from dom/svg/crashtests/579356-1.svg
rename to content/svg/content/src/crashtests/579356-1.svg
rename from dom/svg/crashtests/579356-2.svg
rename to content/svg/content/src/crashtests/579356-2.svg
rename from dom/svg/crashtests/595608-1.svg
rename to content/svg/content/src/crashtests/595608-1.svg
rename from dom/svg/crashtests/601251-1.html
rename to content/svg/content/src/crashtests/601251-1.html
rename from dom/svg/crashtests/601406-1.svg
rename to content/svg/content/src/crashtests/601406-1.svg
rename from dom/svg/crashtests/603145-1.svg
rename to content/svg/content/src/crashtests/603145-1.svg
rename from dom/svg/crashtests/613899-1.svg
rename to content/svg/content/src/crashtests/613899-1.svg
rename from dom/svg/crashtests/613899-2.svg
rename to content/svg/content/src/crashtests/613899-2.svg
rename from dom/svg/crashtests/719779-1.svg
rename to content/svg/content/src/crashtests/719779-1.svg
rename from dom/svg/crashtests/723441-1.html
rename to content/svg/content/src/crashtests/723441-1.html
rename from dom/svg/crashtests/723441-resource.svg
rename to content/svg/content/src/crashtests/723441-resource.svg
rename from dom/svg/crashtests/751515-1.svg
rename to content/svg/content/src/crashtests/751515-1.svg
rename from dom/svg/crashtests/761507-1.svg
rename to content/svg/content/src/crashtests/761507-1.svg
rename from dom/svg/crashtests/831561.html
rename to content/svg/content/src/crashtests/831561.html
rename from dom/svg/crashtests/837450-1.svg
rename to content/svg/content/src/crashtests/837450-1.svg
rename from dom/svg/crashtests/842463-1.html
rename to content/svg/content/src/crashtests/842463-1.html
rename from dom/svg/crashtests/847138-1.svg
rename to content/svg/content/src/crashtests/847138-1.svg
rename from dom/svg/crashtests/864509.svg
rename to content/svg/content/src/crashtests/864509.svg
rename from dom/svg/crashtests/880544-1.svg
rename to content/svg/content/src/crashtests/880544-1.svg
rename from dom/svg/crashtests/880544-2.svg
rename to content/svg/content/src/crashtests/880544-2.svg
rename from dom/svg/crashtests/880544-3.svg
rename to content/svg/content/src/crashtests/880544-3.svg
rename from dom/svg/crashtests/880544-4.svg
rename to content/svg/content/src/crashtests/880544-4.svg
rename from dom/svg/crashtests/880544-5.svg
rename to content/svg/content/src/crashtests/880544-5.svg
rename from dom/svg/crashtests/898915-1.svg
rename to content/svg/content/src/crashtests/898915-1.svg
rename from dom/svg/crashtests/crashtests.list
rename to content/svg/content/src/crashtests/crashtests.list
rename from dom/svg/crashtests/zero-size-image.svg
rename to content/svg/content/src/crashtests/zero-size-image.svg
new file mode 100644
--- /dev/null
+++ b/content/svg/content/src/moz.build
@@ -0,0 +1,267 @@
+# -*- 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 += [
+    'nsSVGClass.h',
+    'nsSVGElement.h',
+    'nsSVGFeatures.h',
+    'SVGAttrValueWrapper.h',
+    'SVGPreserveAspectRatio.h',
+    'SVGStringList.h',
+]
+
+EXPORTS.mozilla.dom += [
+    'nsSVGAnimatedTransformList.h',
+    'SVGAElement.h',
+    'SVGAltGlyphElement.h',
+    'SVGAngle.h',
+    'SVGAnimatedAngle.h',
+    'SVGAnimatedBoolean.h',
+    'SVGAnimatedEnumeration.h',
+    'SVGAnimatedInteger.h',
+    'SVGAnimatedLength.h',
+    'SVGAnimatedNumber.h',
+    'SVGAnimatedRect.h',
+    'SVGAnimatedString.h',
+    'SVGAnimatedTransformList.h',
+    'SVGAnimateElement.h',
+    'SVGAnimateMotionElement.h',
+    'SVGAnimateTransformElement.h',
+    'SVGAnimationElement.h',
+    'SVGCircleElement.h',
+    'SVGClipPathElement.h',
+    'SVGComponentTransferFunctionElement.h',
+    'SVGDefsElement.h',
+    'SVGDescElement.h',
+    'SVGEllipseElement.h',
+    'SVGFEBlendElement.h',
+    'SVGFEColorMatrixElement.h',
+    'SVGFEComponentTransferElement.h',
+    'SVGFECompositeElement.h',
+    'SVGFEConvolveMatrixElement.h',
+    'SVGFEDiffuseLightingElement.h',
+    'SVGFEDisplacementMapElement.h',
+    'SVGFEDistantLightElement.h',
+    'SVGFEDropShadowElement.h',
+    'SVGFEFloodElement.h',
+    'SVGFEGaussianBlurElement.h',
+    'SVGFEImageElement.h',
+    'SVGFEMergeElement.h',
+    'SVGFEMergeNodeElement.h',
+    'SVGFEMorphologyElement.h',
+    'SVGFEOffsetElement.h',
+    'SVGFEPointLightElement.h',
+    'SVGFESpecularLightingElement.h',
+    'SVGFESpotLightElement.h',
+    'SVGFETileElement.h',
+    'SVGFETurbulenceElement.h',
+    'SVGFilterElement.h',
+    'SVGForeignObjectElement.h',
+    'SVGGElement.h',
+    'SVGGradientElement.h',
+    'SVGGraphicsElement.h',
+    'SVGIFrameElement.h',
+    'SVGImageElement.h',
+    'SVGIRect.h',
+    'SVGLineElement.h',
+    'SVGMarkerElement.h',
+    'SVGMaskElement.h',
+    'SVGMatrix.h',
+    'SVGMetadataElement.h',
+    'SVGMPathElement.h',
+    'SVGPathElement.h',
+    'SVGPatternElement.h',
+    'SVGPolygonElement.h',
+    'SVGPolylineElement.h',
+    'SVGRect.h',
+    'SVGRectElement.h',
+    'SVGScriptElement.h',
+    'SVGSetElement.h',
+    'SVGStopElement.h',
+    'SVGStyleElement.h',
+    'SVGSVGElement.h',
+    'SVGSwitchElement.h',
+    'SVGSymbolElement.h',
+    'SVGTests.h',
+    'SVGTextContentElement.h',
+    'SVGTextElement.h',
+    'SVGTextPathElement.h',
+    'SVGTextPositioningElement.h',
+    'SVGTitleElement.h',
+    'SVGTransform.h',
+    'SVGTransformableElement.h',
+    'SVGTSpanElement.h',
+    'SVGUseElement.h',
+    'SVGViewElement.h',
+    'SVGZoomEvent.h',
+]
+
+UNIFIED_SOURCES += [
+    'DOMSVGAnimatedLengthList.cpp',
+    'DOMSVGAnimatedNumberList.cpp',
+    'DOMSVGLength.cpp',
+    'DOMSVGLengthList.cpp',
+    'DOMSVGNumber.cpp',
+    'DOMSVGNumberList.cpp',
+    'DOMSVGPathSeg.cpp',
+    'DOMSVGPathSegList.cpp',
+    'DOMSVGPoint.cpp',
+    'DOMSVGPointList.cpp',
+    'DOMSVGStringList.cpp',
+    'DOMSVGTransformList.cpp',
+    'nsISVGPoint.cpp',
+    'nsSVGAngle.cpp',
+    'nsSVGAnimatedTransformList.cpp',
+    'nsSVGBoolean.cpp',
+    'nsSVGClass.cpp',
+    'nsSVGDataParser.cpp',
+    'nsSVGElement.cpp',
+    'nsSVGEnum.cpp',
+    'nsSVGFeatures.cpp',
+    'nsSVGFilters.cpp',
+    'nsSVGInteger.cpp',
+    'nsSVGIntegerPair.cpp',
+    'nsSVGLength2.cpp',
+    'nsSVGNumber2.cpp',
+    'nsSVGNumberPair.cpp',
+    'nsSVGPathDataParser.cpp',
+    'nsSVGPathGeometryElement.cpp',
+    'nsSVGPolyElement.cpp',
+    'nsSVGString.cpp',
+    'nsSVGTransform.cpp',
+    'nsSVGViewBox.cpp',
+    'SVGAElement.cpp',
+    'SVGAltGlyphElement.cpp',
+    'SVGAngle.cpp',
+    'SVGAnimatedAngle.cpp',
+    'SVGAnimatedBoolean.cpp',
+    'SVGAnimatedEnumeration.cpp',
+    'SVGAnimatedInteger.cpp',
+    'SVGAnimatedLength.cpp',
+    'SVGAnimatedLengthList.cpp',
+    'SVGAnimatedNumber.cpp',
+    'SVGAnimatedNumberList.cpp',
+    'SVGAnimatedPathSegList.cpp',
+    'SVGAnimatedPointList.cpp',
+    'SVGAnimatedPreserveAspectRatio.cpp',
+    'SVGAnimatedRect.cpp',
+    'SVGAnimatedString.cpp',
+    'SVGAnimatedTransformList.cpp',
+    'SVGAnimateElement.cpp',
+    'SVGAnimateMotionElement.cpp',
+    'SVGAnimateTransformElement.cpp',
+    'SVGAnimationElement.cpp',
+    'SVGAttrValueWrapper.cpp',
+    'SVGCircleElement.cpp',
+    'SVGClipPathElement.cpp',
+    'SVGContentUtils.cpp',
+    'SVGDefsElement.cpp',
+    'SVGDescElement.cpp',
+    'SVGElementFactory.cpp',
+    'SVGEllipseElement.cpp',
+    'SVGFEBlendElement.cpp',
+    'SVGFEColorMatrixElement.cpp',
+    'SVGFEComponentTransferElement.cpp',
+    'SVGFECompositeElement.cpp',
+    'SVGFEConvolveMatrixElement.cpp',
+    'SVGFEDiffuseLightingElement.cpp',
+    'SVGFEDisplacementMapElement.cpp',
+    'SVGFEDistantLightElement.cpp',
+    'SVGFEDropShadowElement.cpp',
+    'SVGFEFloodElement.cpp',
+    'SVGFEGaussianBlurElement.cpp',
+    'SVGFEImageElement.cpp',
+    'SVGFEMergeElement.cpp',
+    'SVGFEMergeNodeElement.cpp',
+    'SVGFEMorphologyElement.cpp',
+    'SVGFEOffsetElement.cpp',
+    'SVGFEPointLightElement.cpp',
+    'SVGFESpecularLightingElement.cpp',
+    'SVGFESpotLightElement.cpp',
+    'SVGFETileElement.cpp',
+    'SVGFETurbulenceElement.cpp',
+    'SVGFilterElement.cpp',
+    'SVGForeignObjectElement.cpp',
+    'SVGFragmentIdentifier.cpp',
+    'SVGGElement.cpp',
+    'SVGGradientElement.cpp',
+    'SVGGraphicsElement.cpp',
+    'SVGIFrameElement.cpp',
+    'SVGImageElement.cpp',
+    'SVGIntegerPairSMILType.cpp',
+    'SVGLength.cpp',
+    'SVGLengthList.cpp',
+    'SVGLengthListSMILType.cpp',
+    'SVGLineElement.cpp',
+    'SVGMarkerElement.cpp',
+    'SVGMaskElement.cpp',
+    'SVGMatrix.cpp',
+    'SVGMetadataElement.cpp',
+    'SVGMotionSMILAnimationFunction.cpp',
+    'SVGMotionSMILAttr.cpp',
+    'SVGMotionSMILPathUtils.cpp',
+    'SVGMotionSMILType.cpp',
+    'SVGMPathElement.cpp',
+    'SVGNumberList.cpp',
+    'SVGNumberListSMILType.cpp',
+    'SVGNumberPairSMILType.cpp',
+    'SVGOrientSMILType.cpp',
+    'SVGPathData.cpp',
+    'SVGPathElement.cpp',
+    'SVGPathSegListSMILType.cpp',
+    'SVGPathSegUtils.cpp',
+    'SVGPatternElement.cpp',
+    'SVGPointList.cpp',
+    'SVGPointListSMILType.cpp',
+    'SVGPolygonElement.cpp',
+    'SVGPolylineElement.cpp',
+    'SVGPreserveAspectRatio.cpp',
+    'SVGRect.cpp',
+    'SVGRectElement.cpp',
+    'SVGScriptElement.cpp',
+    'SVGSetElement.cpp',
+    'SVGStopElement.cpp',
+    'SVGStringList.cpp',
+    'SVGStyleElement.cpp',
+    'SVGSVGElement.cpp',
+    'SVGSwitchElement.cpp',
+    'SVGSymbolElement.cpp',
+    'SVGTests.cpp',
+    'SVGTextContentElement.cpp',
+    'SVGTextElement.cpp',
+    'SVGTextPathElement.cpp',
+    'SVGTextPositioningElement.cpp',
+    'SVGTitleElement.cpp',
+    'SVGTransform.cpp',
+    'SVGTransformableElement.cpp',
+    'SVGTransformList.cpp',
+    'SVGTransformListParser.cpp',
+    'SVGTransformListSMILType.cpp',
+    'SVGTSpanElement.cpp',
+    'SVGUseElement.cpp',
+    'SVGViewBoxSMILType.cpp',
+    'SVGViewElement.cpp',
+    'SVGZoomEvent.cpp',
+]
+
+FAIL_ON_WARNINGS = True
+
+include('/ipc/chromium/chromium-config.mozbuild')
+
+FINAL_LIBRARY = 'xul'
+LOCAL_INCLUDES += [
+    '/content/base/src',
+    '/content/html/content/src',
+    '/dom',
+    '/dom/smil',
+    '/dom/xbl',
+    '/dom/xml',
+    '/layout/generic',
+    '/layout/style',
+    '/layout/svg',
+    '/layout/xul',
+]
+
rename from dom/svg/nsISVGPoint.cpp
rename to content/svg/content/src/nsISVGPoint.cpp
rename from dom/svg/nsISVGPoint.h
rename to content/svg/content/src/nsISVGPoint.h
rename from dom/svg/nsSVGAngle.cpp
rename to content/svg/content/src/nsSVGAngle.cpp
rename from dom/svg/nsSVGAngle.h
rename to content/svg/content/src/nsSVGAngle.h
rename from dom/svg/nsSVGAnimatedTransformList.cpp
rename to content/svg/content/src/nsSVGAnimatedTransformList.cpp
rename from dom/svg/nsSVGAnimatedTransformList.h
rename to content/svg/content/src/nsSVGAnimatedTransformList.h
rename from dom/svg/nsSVGAttrTearoffTable.h
rename to content/svg/content/src/nsSVGAttrTearoffTable.h
rename from dom/svg/nsSVGBoolean.cpp
rename to content/svg/content/src/nsSVGBoolean.cpp
rename from dom/svg/nsSVGBoolean.h
rename to content/svg/content/src/nsSVGBoolean.h
rename from dom/svg/nsSVGClass.cpp
rename to content/svg/content/src/nsSVGClass.cpp
rename from dom/svg/nsSVGClass.h
rename to content/svg/content/src/nsSVGClass.h
rename from dom/svg/nsSVGDataParser.cpp
rename to content/svg/content/src/nsSVGDataParser.cpp
rename from dom/svg/nsSVGDataParser.h
rename to content/svg/content/src/nsSVGDataParser.h
rename from dom/svg/nsSVGElement.cpp
rename to content/svg/content/src/nsSVGElement.cpp
rename from dom/svg/nsSVGElement.h
rename to content/svg/content/src/nsSVGElement.h
rename from dom/svg/nsSVGEnum.cpp
rename to content/svg/content/src/nsSVGEnum.cpp
rename from dom/svg/nsSVGEnum.h
rename to content/svg/content/src/nsSVGEnum.h
rename from dom/svg/nsSVGFeatures.cpp
rename to content/svg/content/src/nsSVGFeatures.cpp
rename from dom/svg/nsSVGFeatures.h
rename to content/svg/content/src/nsSVGFeatures.h
rename from dom/svg/nsSVGFeaturesList.h
rename to content/svg/content/src/nsSVGFeaturesList.h
rename from dom/svg/nsSVGFilters.cpp
rename to content/svg/content/src/nsSVGFilters.cpp
rename from dom/svg/nsSVGFilters.h
rename to content/svg/content/src/nsSVGFilters.h
rename from dom/svg/nsSVGInteger.cpp
rename to content/svg/content/src/nsSVGInteger.cpp
rename from dom/svg/nsSVGInteger.h
rename to content/svg/content/src/nsSVGInteger.h
rename from dom/svg/nsSVGIntegerPair.cpp
rename to content/svg/content/src/nsSVGIntegerPair.cpp
rename from dom/svg/nsSVGIntegerPair.h
rename to content/svg/content/src/nsSVGIntegerPair.h
rename from dom/svg/nsSVGLength2.cpp
rename to content/svg/content/src/nsSVGLength2.cpp
rename from dom/svg/nsSVGLength2.h
rename to content/svg/content/src/nsSVGLength2.h
rename from dom/svg/nsSVGNumber2.cpp
rename to content/svg/content/src/nsSVGNumber2.cpp
rename from dom/svg/nsSVGNumber2.h
rename to content/svg/content/src/nsSVGNumber2.h
rename from dom/svg/nsSVGNumberPair.cpp
rename to content/svg/content/src/nsSVGNumberPair.cpp
rename from dom/svg/nsSVGNumberPair.h
rename to content/svg/content/src/nsSVGNumberPair.h
rename from dom/svg/nsSVGPathDataParser.cpp
rename to content/svg/content/src/nsSVGPathDataParser.cpp
rename from dom/svg/nsSVGPathDataParser.h
rename to content/svg/content/src/nsSVGPathDataParser.h
rename from dom/svg/nsSVGPathGeometryElement.cpp
rename to content/svg/content/src/nsSVGPathGeometryElement.cpp
rename from dom/svg/nsSVGPathGeometryElement.h
rename to content/svg/content/src/nsSVGPathGeometryElement.h
rename from dom/svg/nsSVGPolyElement.cpp
rename to content/svg/content/src/nsSVGPolyElement.cpp
rename from dom/svg/nsSVGPolyElement.h
rename to content/svg/content/src/nsSVGPolyElement.h
rename from dom/svg/nsSVGString.cpp
rename to content/svg/content/src/nsSVGString.cpp
rename from dom/svg/nsSVGString.h
rename to content/svg/content/src/nsSVGString.h
rename from dom/svg/nsSVGTransform.cpp
rename to content/svg/content/src/nsSVGTransform.cpp
rename from dom/svg/nsSVGTransform.h
rename to content/svg/content/src/nsSVGTransform.h
rename from dom/svg/nsSVGViewBox.cpp
rename to content/svg/content/src/nsSVGViewBox.cpp
rename from dom/svg/nsSVGViewBox.h
rename to content/svg/content/src/nsSVGViewBox.h
rename from dom/svg/test/MutationEventChecker.js
rename to content/svg/content/test/MutationEventChecker.js
rename from dom/svg/test/a_href_destination.svg
rename to content/svg/content/test/a_href_destination.svg
rename from dom/svg/test/a_href_helper_01.svg
rename to content/svg/content/test/a_href_helper_01.svg
rename from dom/svg/test/a_href_helper_02_03.svg
rename to content/svg/content/test/a_href_helper_02_03.svg
rename from dom/svg/test/a_href_helper_04.svg
rename to content/svg/content/test/a_href_helper_04.svg
rename from dom/svg/test/animated-svg-image-helper.html
rename to content/svg/content/test/animated-svg-image-helper.html
rename from dom/svg/test/animated-svg-image-helper.svg
rename to content/svg/content/test/animated-svg-image-helper.svg
rename from dom/svg/test/bbox-helper.svg
rename to content/svg/content/test/bbox-helper.svg
rename from dom/svg/test/bounds-helper.svg
rename to content/svg/content/test/bounds-helper.svg
rename from dom/svg/test/dataTypes-helper.svg
rename to content/svg/content/test/dataTypes-helper.svg
rename from dom/svg/test/fragments-helper.svg
rename to content/svg/content/test/fragments-helper.svg
rename from dom/svg/test/getBBox-method-helper.svg
rename to content/svg/content/test/getBBox-method-helper.svg
rename from dom/svg/test/getCTM-helper.svg
rename to content/svg/content/test/getCTM-helper.svg
rename from dom/svg/test/getSubStringLength-helper.svg
rename to content/svg/content/test/getSubStringLength-helper.svg
rename from dom/svg/test/matrixUtils.js
rename to content/svg/content/test/matrixUtils.js
rename from dom/svg/test/mochitest.ini
rename to content/svg/content/test/mochitest.ini
rename from dom/svg/test/pointer-events.js
rename to content/svg/content/test/pointer-events.js
rename from dom/svg/test/scientific-helper.svg
rename to content/svg/content/test/scientific-helper.svg
rename from dom/svg/test/selectSubString-helper.svg
rename to content/svg/content/test/selectSubString-helper.svg
rename from dom/svg/test/switch-helper.svg
rename to content/svg/content/test/switch-helper.svg
rename from dom/svg/test/test_SVGLengthList-2.xhtml
rename to content/svg/content/test/test_SVGLengthList-2.xhtml
rename from dom/svg/test/test_SVGLengthList.xhtml
rename to content/svg/content/test/test_SVGLengthList.xhtml
rename from dom/svg/test/test_SVGMatrix.xhtml
rename to content/svg/content/test/test_SVGMatrix.xhtml
rename from dom/svg/test/test_SVGNumberList.xhtml
rename to content/svg/content/test/test_SVGNumberList.xhtml
rename from dom/svg/test/test_SVGPathSegList.xhtml
rename to content/svg/content/test/test_SVGPathSegList.xhtml
rename from dom/svg/test/test_SVGPointList.xhtml
rename to content/svg/content/test/test_SVGPointList.xhtml
rename from dom/svg/test/test_SVGStringList.xhtml
rename to content/svg/content/test/test_SVGStringList.xhtml
rename from dom/svg/test/test_SVGStyleElement.xhtml
rename to content/svg/content/test/test_SVGStyleElement.xhtml
rename from dom/svg/test/test_SVGTransformList.xhtml
rename to content/svg/content/test/test_SVGTransformList.xhtml
rename from dom/svg/test/test_SVGTransformListAddition.xhtml
rename to content/svg/content/test/test_SVGTransformListAddition.xhtml
rename from dom/svg/test/test_SVGUnitTypes.html
rename to content/svg/content/test/test_SVGUnitTypes.html
rename from dom/svg/test/test_SVG_namespace_ids.html
rename to content/svg/content/test/test_SVG_namespace_ids.html
rename from dom/svg/test/test_SVGxxxList.xhtml
rename to content/svg/content/test/test_SVGxxxList.xhtml
rename from dom/svg/test/test_SVGxxxListIndexing.xhtml
rename to content/svg/content/test/test_SVGxxxListIndexing.xhtml
rename from dom/svg/test/test_a_href_01.xhtml
rename to content/svg/content/test/test_a_href_01.xhtml
rename from dom/svg/test/test_a_href_02.xhtml
rename to content/svg/content/test/test_a_href_02.xhtml
rename from dom/svg/test/test_animLengthObjectIdentity.xhtml
rename to content/svg/content/test/test_animLengthObjectIdentity.xhtml
rename from dom/svg/test/test_animLengthReadonly.xhtml
rename to content/svg/content/test/test_animLengthReadonly.xhtml
rename from dom/svg/test/test_animLengthUnits.xhtml
rename to content/svg/content/test/test_animLengthUnits.xhtml
rename from dom/svg/test/test_bbox-with-invalid-viewBox.xhtml
rename to content/svg/content/test/test_bbox-with-invalid-viewBox.xhtml
rename from dom/svg/test/test_bbox.xhtml
rename to content/svg/content/test/test_bbox.xhtml
rename from dom/svg/test/test_bounds.html
rename to content/svg/content/test/test_bounds.html
rename from dom/svg/test/test_bug872812.html
rename to content/svg/content/test/test_bug872812.html
rename from dom/svg/test/test_dataTypes.html
rename to content/svg/content/test/test_dataTypes.html
rename from dom/svg/test/test_dataTypesModEvents.html
rename to content/svg/content/test/test_dataTypesModEvents.html
rename from dom/svg/test/test_fragments.html
rename to content/svg/content/test/test_fragments.html
rename from dom/svg/test/test_getBBox-method.html
rename to content/svg/content/test/test_getBBox-method.html
rename from dom/svg/test/test_getCTM.html
rename to content/svg/content/test/test_getCTM.html
rename from dom/svg/test/test_getElementById.xhtml
rename to content/svg/content/test/test_getElementById.xhtml
rename from dom/svg/test/test_getSubStringLength.xhtml
rename to content/svg/content/test/test_getSubStringLength.xhtml
rename from dom/svg/test/test_hasFeature.xhtml
rename to content/svg/content/test/test_hasFeature.xhtml
--- a/dom/svg/test/test_hasFeature.xhtml
+++ b/content/svg/content/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:
-  //   dom/svg/nsSVGFeaturesList.h
+  //   content/svg/content/src/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 dom/svg/test/test_lang.xhtml
rename to content/svg/content/test/test_lang.xhtml
rename from dom/svg/test/test_length.xhtml
rename to content/svg/content/test/test_length.xhtml
rename from dom/svg/test/test_lengthParsing.html
rename to content/svg/content/test/test_lengthParsing.html
rename from dom/svg/test/test_non-scaling-stroke.html
rename to content/svg/content/test/test_non-scaling-stroke.html
rename from dom/svg/test/test_nonAnimStrings.xhtml
rename to content/svg/content/test/test_nonAnimStrings.xhtml
rename from dom/svg/test/test_onerror.xhtml
rename to content/svg/content/test/test_onerror.xhtml
rename from dom/svg/test/test_pathAnimInterpolation.xhtml
rename to content/svg/content/test/test_pathAnimInterpolation.xhtml
rename from dom/svg/test/test_pathLength.html
rename to content/svg/content/test/test_pathLength.html
rename from dom/svg/test/test_pathSeg.xhtml
rename to content/svg/content/test/test_pathSeg.xhtml
rename from dom/svg/test/test_pointAtLength.xhtml
rename to content/svg/content/test/test_pointAtLength.xhtml
rename from dom/svg/test/test_pointer-events-1a.xhtml
rename to content/svg/content/test/test_pointer-events-1a.xhtml
rename from dom/svg/test/test_pointer-events-1b.xhtml
rename to content/svg/content/test/test_pointer-events-1b.xhtml
rename from dom/svg/test/test_pointer-events-2.xhtml
rename to content/svg/content/test/test_pointer-events-2.xhtml
rename from dom/svg/test/test_pointer-events-3.xhtml
rename to content/svg/content/test/test_pointer-events-3.xhtml
rename from dom/svg/test/test_pointer-events-4.xhtml
rename to content/svg/content/test/test_pointer-events-4.xhtml
rename from dom/svg/test/test_pointer-events-5.xhtml
rename to content/svg/content/test/test_pointer-events-5.xhtml
rename from dom/svg/test/test_pointer-events-6.xhtml
rename to content/svg/content/test/test_pointer-events-6.xhtml
rename from dom/svg/test/test_scientific.html
rename to content/svg/content/test/test_scientific.html
rename from dom/svg/test/test_selectSubString.xhtml
rename to content/svg/content/test/test_selectSubString.xhtml
rename from dom/svg/test/test_stroke-linecap-hit-testing.xhtml
rename to content/svg/content/test/test_stroke-linecap-hit-testing.xhtml
rename from dom/svg/test/test_switch.xhtml
rename to content/svg/content/test/test_switch.xhtml
rename from dom/svg/test/test_text.html
rename to content/svg/content/test/test_text.html
rename from dom/svg/test/test_text_2.html
rename to content/svg/content/test/test_text_2.html
rename from dom/svg/test/test_text_dirty.html
rename to content/svg/content/test/test_text_dirty.html
rename from dom/svg/test/test_text_lengthAdjust.html
rename to content/svg/content/test/test_text_lengthAdjust.html
rename from dom/svg/test/test_text_scaled.html
rename to content/svg/content/test/test_text_scaled.html
rename from dom/svg/test/test_text_selection.html
rename to content/svg/content/test/test_text_selection.html
rename from dom/svg/test/test_text_update.html
rename to content/svg/content/test/test_text_update.html
rename from dom/svg/test/test_transform.xhtml
rename to content/svg/content/test/test_transform.xhtml
rename from dom/svg/test/test_transformParsing.html
rename to content/svg/content/test/test_transformParsing.html
rename from dom/svg/test/test_valueAsString.xhtml
rename to content/svg/content/test/test_valueAsString.xhtml
rename from dom/svg/test/test_valueLeaks.xhtml
rename to content/svg/content/test/test_valueLeaks.xhtml
rename from dom/svg/test/test_viewport.html
rename to content/svg/content/test/test_viewport.html
rename from dom/svg/test/test_zoom.xhtml
rename to content/svg/content/test/test_zoom.xhtml
rename from dom/svg/test/text-helper-scaled.svg
rename to content/svg/content/test/text-helper-scaled.svg
rename from dom/svg/test/text-helper-selection.svg
rename to content/svg/content/test/text-helper-selection.svg
rename from dom/svg/test/text-helper.svg
rename to content/svg/content/test/text-helper.svg
rename from dom/svg/test/viewport-helper.svg
rename to content/svg/content/test/viewport-helper.svg
rename from dom/svg/test/zoom-helper.svg
rename to content/svg/content/test/zoom-helper.svg
rename from dom/svg/SVGDocument.cpp
rename to content/svg/document/src/SVGDocument.cpp
rename from dom/svg/SVGDocument.h
rename to content/svg/document/src/SVGDocument.h
new file mode 100644
--- /dev/null
+++ b/content/svg/document/src/moz.build
@@ -0,0 +1,25 @@
+# -*- 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 = 'xul'
rename from dom/svg/moz.build
rename to content/svg/moz.build
--- a/dom/svg/moz.build
+++ b/content/svg/moz.build
@@ -1,273 +1,7 @@
 # -*- 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/.
 
-MOCHITEST_MANIFESTS += ['test/mochitest.ini']
-
-
-EXPORTS += [
-    'nsSVGClass.h',
-    'nsSVGElement.h',
-    'nsSVGFeatures.h',
-    'SVGAttrValueWrapper.h',
-    'SVGPreserveAspectRatio.h',
-    'SVGStringList.h',
-]
-
-EXPORTS.mozilla.dom += [
-    'nsSVGAnimatedTransformList.h',
-    'SVGAElement.h',
-    'SVGAltGlyphElement.h',
-    'SVGAngle.h',
-    'SVGAnimatedAngle.h',
-    'SVGAnimatedBoolean.h',
-    'SVGAnimatedEnumeration.h',
-    'SVGAnimatedInteger.h',
-    'SVGAnimatedLength.h',
-    'SVGAnimatedNumber.h',
-    'SVGAnimatedRect.h',
-    'SVGAnimatedString.h',
-    'SVGAnimatedTransformList.h',
-    'SVGAnimateElement.h',
-    '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',
-    'SVGFEDistantLightElement.h',
-    'SVGFEDropShadowElement.h',
-    'SVGFEFloodElement.h',
-    'SVGFEGaussianBlurElement.h',
-    'SVGFEImageElement.h',
-    'SVGFEMergeElement.h',
-    'SVGFEMergeNodeElement.h',
-    'SVGFEMorphologyElement.h',
-    'SVGFEOffsetElement.h',
-    'SVGFEPointLightElement.h',
-    'SVGFESpecularLightingElement.h',
-    'SVGFESpotLightElement.h',
-    'SVGFETileElement.h',
-    'SVGFETurbulenceElement.h',
-    'SVGFilterElement.h',
-    'SVGForeignObjectElement.h',
-    'SVGGElement.h',
-    'SVGGradientElement.h',
-    'SVGGraphicsElement.h',
-    'SVGIFrameElement.h',
-    'SVGImageElement.h',
-    'SVGIRect.h',
-    'SVGLineElement.h',
-    'SVGMarkerElement.h',
-    'SVGMaskElement.h',
-    'SVGMatrix.h',
-    'SVGMetadataElement.h',
-    'SVGMPathElement.h',
-    'SVGPathElement.h',
-    'SVGPatternElement.h',
-    'SVGPolygonElement.h',
-    'SVGPolylineElement.h',
-    'SVGRect.h',
-    'SVGRectElement.h',
-    'SVGScriptElement.h',
-    'SVGSetElement.h',
-    'SVGStopElement.h',
-    'SVGStyleElement.h',
-    'SVGSVGElement.h',
-    'SVGSwitchElement.h',
-    'SVGSymbolElement.h',
-    'SVGTests.h',
-    'SVGTextContentElement.h',
-    'SVGTextElement.h',
-    'SVGTextPathElement.h',
-    'SVGTextPositioningElement.h',
-    'SVGTitleElement.h',
-    'SVGTransform.h',
-    'SVGTransformableElement.h',
-    'SVGTSpanElement.h',
-    'SVGUseElement.h',
-    'SVGViewElement.h',
-    'SVGZoomEvent.h',
-]
-
-UNIFIED_SOURCES += [
-    'DOMSVGAnimatedLengthList.cpp',
-    'DOMSVGAnimatedNumberList.cpp',
-    'DOMSVGLength.cpp',
-    'DOMSVGLengthList.cpp',
-    'DOMSVGNumber.cpp',
-    'DOMSVGNumberList.cpp',
-    'DOMSVGPathSeg.cpp',
-    'DOMSVGPathSegList.cpp',
-    'DOMSVGPoint.cpp',
-    'DOMSVGPointList.cpp',
-    'DOMSVGStringList.cpp',
-    'DOMSVGTransformList.cpp',
-    'nsISVGPoint.cpp',
-    'nsSVGAngle.cpp',
-    'nsSVGAnimatedTransformList.cpp',
-    'nsSVGBoolean.cpp',
-    'nsSVGClass.cpp',
-    'nsSVGDataParser.cpp',
-    'nsSVGElement.cpp',
-    'nsSVGEnum.cpp',
-    'nsSVGFeatures.cpp',
-    'nsSVGFilters.cpp',
-    'nsSVGInteger.cpp',
-    'nsSVGIntegerPair.cpp',
-    'nsSVGLength2.cpp',
-    'nsSVGNumber2.cpp',
-    'nsSVGNumberPair.cpp',
-    'nsSVGPathDataParser.cpp',
-    'nsSVGPathGeometryElement.cpp',
-    'nsSVGPolyElement.cpp',
-    'nsSVGString.cpp',
-    'nsSVGTransform.cpp',
-    'nsSVGViewBox.cpp',
-    'SVGAElement.cpp',
-    'SVGAltGlyphElement.cpp',
-    'SVGAngle.cpp',
-    'SVGAnimatedAngle.cpp',
-    'SVGAnimatedBoolean.cpp',
-    'SVGAnimatedEnumeration.cpp',
-    'SVGAnimatedInteger.cpp',
-    'SVGAnimatedLength.cpp',
-    'SVGAnimatedLengthList.cpp',
-    'SVGAnimatedNumber.cpp',
-    'SVGAnimatedNumberList.cpp',
-    'SVGAnimatedPathSegList.cpp',
-    'SVGAnimatedPointList.cpp',
-    'SVGAnimatedPreserveAspectRatio.cpp',
-    'SVGAnimatedRect.cpp',
-    'SVGAnimatedString.cpp',
-    'SVGAnimatedTransformList.cpp',
-    'SVGAnimateElement.cpp',
-    'SVGAnimateMotionElement.cpp',
-    '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',
-    'SVGFEDisplacementMapElement.cpp',
-    'SVGFEDistantLightElement.cpp',
-    'SVGFEDropShadowElement.cpp',
-    'SVGFEFloodElement.cpp',
-    'SVGFEGaussianBlurElement.cpp',
-    'SVGFEImageElement.cpp',
-    'SVGFEMergeElement.cpp',
-    'SVGFEMergeNodeElement.cpp',
-    'SVGFEMorphologyElement.cpp',
-    'SVGFEOffsetElement.cpp',
-    'SVGFEPointLightElement.cpp',
-    'SVGFESpecularLightingElement.cpp',
-    'SVGFESpotLightElement.cpp',
-    'SVGFETileElement.cpp',
-    'SVGFETurbulenceElement.cpp',
-    'SVGFilterElement.cpp',
-    'SVGForeignObjectElement.cpp',
-    'SVGFragmentIdentifier.cpp',
-    'SVGGElement.cpp',
-    'SVGGradientElement.cpp',
-    'SVGGraphicsElement.cpp',
-    'SVGIFrameElement.cpp',
-    'SVGImageElement.cpp',
-    'SVGIntegerPairSMILType.cpp',
-    'SVGLength.cpp',
-    'SVGLengthList.cpp',
-    'SVGLengthListSMILType.cpp',
-    'SVGLineElement.cpp',
-    'SVGMarkerElement.cpp',
-    'SVGMaskElement.cpp',
-    'SVGMatrix.cpp',
-    'SVGMetadataElement.cpp',
-    'SVGMotionSMILAnimationFunction.cpp',
-    'SVGMotionSMILAttr.cpp',
-    'SVGMotionSMILPathUtils.cpp',
-    'SVGMotionSMILType.cpp',
-    'SVGMPathElement.cpp',
-    'SVGNumberList.cpp',
-    'SVGNumberListSMILType.cpp',
-    'SVGNumberPairSMILType.cpp',
-    'SVGOrientSMILType.cpp',
-    'SVGPathData.cpp',
-    'SVGPathElement.cpp',
-    'SVGPathSegListSMILType.cpp',
-    'SVGPathSegUtils.cpp',
-    'SVGPatternElement.cpp',
-    'SVGPointList.cpp',
-    'SVGPointListSMILType.cpp',
-    'SVGPolygonElement.cpp',
-    'SVGPolylineElement.cpp',
-    'SVGPreserveAspectRatio.cpp',
-    'SVGRect.cpp',
-    'SVGRectElement.cpp',
-    'SVGScriptElement.cpp',
-    'SVGSetElement.cpp',
-    'SVGStopElement.cpp',
-    'SVGStringList.cpp',
-    'SVGStyleElement.cpp',
-    'SVGSVGElement.cpp',
-    'SVGSwitchElement.cpp',
-    'SVGSymbolElement.cpp',
-    'SVGTests.cpp',
-    'SVGTextContentElement.cpp',
-    'SVGTextElement.cpp',
-    'SVGTextPathElement.cpp',
-    'SVGTextPositioningElement.cpp',
-    'SVGTitleElement.cpp',
-    'SVGTransform.cpp',
-    'SVGTransformableElement.cpp',
-    'SVGTransformList.cpp',
-    'SVGTransformListParser.cpp',
-    'SVGTransformListSMILType.cpp',
-    'SVGTSpanElement.cpp',
-    'SVGUseElement.cpp',
-    'SVGViewBoxSMILType.cpp',
-    'SVGViewElement.cpp',
-    'SVGZoomEvent.cpp',
-]
-
-FAIL_ON_WARNINGS = True
-
-include('/ipc/chromium/chromium-config.mozbuild')
-
-LOCAL_INCLUDES += [
-    '/content/base/src',
-    '/content/html/content/src',
-    '/content/html/document/src',
-    '/dom',
-    '/dom/smil',
-    '/dom/xbl',
-    '/dom/xml',
-    '/layout/generic',
-    '/layout/style',
-    '/layout/svg',
-    '/layout/xul',
-]
-
-FINAL_LIBRARY = 'xul'
+DIRS += ['document/src', 'content']
--- a/dom/bindings/moz.build
+++ b/dom/bindings/moz.build
@@ -41,27 +41,27 @@ FAIL_ON_WARNINGS = True
 MSVC_ENABLE_PGO = True
 
 LOCAL_INCLUDES += [
     '/content/base/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/canvas',
     '/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/canvas/moz.build
+++ b/dom/canvas/moz.build
@@ -111,19 +111,19 @@ FAIL_ON_WARNINGS = True
 MSVC_ENABLE_PGO = True
 
 include('/ipc/chromium/chromium-config.mozbuild')
 
 FINAL_LIBRARY = 'xul'
 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',
 ]
 
 CXXFLAGS += CONFIG['MOZ_CAIRO_CFLAGS']
--- a/dom/moz.build
+++ b/dom/moz.build
@@ -68,17 +68,16 @@ 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',
-    '/dom/svg',
+    '/content/svg/content/src',
     '/layout/style',
 ]
 
 FINAL_LIBRARY = 'xul'
--- 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 = 'xul'
 LOCAL_INCLUDES += [
     '../../../content/base/src',
-    '/dom/svg',
+    '../../../content/svg/content/src',
 ]
 
--- a/image/src/moz.build
+++ b/image/src/moz.build
@@ -49,17 +49,17 @@ FAIL_ON_WARNINGS = True
 
 include('/ipc/chromium/chromium-config.mozbuild')
 
 FINAL_LIBRARY = 'xul'
 
 LOCAL_INCLUDES += [
     # Because SVGDocumentWrapper.cpp includes "mozilla/dom/SVGSVGElement.h"
     '/content/base/src',
-    '/dom/svg',
+    '/content/svg/content/src',
     # 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
@@ -72,18 +72,18 @@ GENERATED_FILES = [
 LOCAL_INCLUDES += [
     '../loader',
     '../wrappers',
     '/caps',
     '/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',
 ]
 
 if CONFIG['MOZ_B2G_BT']:
--- a/layout/base/moz.build
+++ b/layout/base/moz.build
@@ -110,28 +110,28 @@ 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',
     '../forms',
     '../generic',
     '../mathml',
     '../printing',
     '../style',
     '../svg',
     '../tables',
     '../xul',
     '../xul/tree/',
     '/docshell/base',
     '/dom/base',
-    '/dom/svg',
     '/dom/xbl',
     '/view',
 ]
 
 FINAL_LIBRARY = 'xul'
 
 MOCHITEST_MANIFESTS += ['tests/mochitest.ini']
 MOCHITEST_CHROME_MANIFESTS += ['tests/chrome/chrome.ini']
--- a/layout/build/moz.build
+++ b/layout/build/moz.build
@@ -35,16 +35,17 @@ LOCAL_INCLUDES += [
     '../mathml',
     '../style',
     '../tables',
     '../xul',
     '/caps',
     '/content/base/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/canvas',
@@ -52,17 +53,16 @@ LOCAL_INCLUDES += [
     '/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',
     '/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 = 'xul'
 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,33 +4,33 @@
 include ../../testing/crashtest/sanity/crashtests.list
 
 include ../../accessible/tests/crashtests/crashtests.list
 
 include ../../content/base/crashtests/crashtests.list
 include ../../content/html/content/crashtests/crashtests.list
 include ../../content/html/document/crashtests/crashtests.list
 include ../../content/media/test/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
 
 include ../../docshell/base/crashtests/crashtests.list
 
 include ../../dom/base/crashtests/crashtests.list
 include ../../dom/bindings/crashtests/crashtests.list
 include ../../dom/canvas/crashtests/crashtests.list
 include ../../dom/events/crashtests/crashtests.list
 include ../../dom/indexedDB/crashtests/crashtests.list
 include ../../dom/mathml/crashtests/crashtests.list
 include ../../dom/plugins/test/crashtests/crashtests.list
 include ../../dom/smil/crashtests/crashtests.list
 include ../../dom/src/jsurl/crashtests/crashtests.list
 include ../../dom/src/offline/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(browserIsRemote||!webrtc) include ../../dom/media/tests/crashtests/crashtests.list
 
 include ../../editor/crashtests.list