gecko-dev/dom/svg
Jonathan Kingston 556ed99119 Bug 1173199 - Create preference to disable MathML. r=heycam, r=huseby, r=smaug
If the mathml.disabled preference is true, treat <math> and other MathML
elements as generic XML elements.

This patch disables the rendering code of MathML however preserves the
namespace so to reduce the breakage.

Original patch by: Kathy Brade <brade@pearlcrescent.com>

MozReview-Commit-ID: A2f2Q2b4eqR

--HG--
extra : rebase_source : 3c8530816727c01b68a831d560bfe16e7b02bd9d
2016-06-28 15:24:48 +01:00
..
crashtests bug 1282985, don't try to notify about page load of already stopped page, r=khuey 2016-06-30 13:04:01 +03:00
test Bug 843480 - zoom on iframe is applied twice. r=jwatt 2016-08-03 07:37:35 +01:00
DOMSVGAnimatedLengthList.cpp
DOMSVGAnimatedLengthList.h Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
DOMSVGAnimatedNumberList.cpp
DOMSVGAnimatedNumberList.h Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
DOMSVGLength.cpp Bug 1288228 part 2: When a DOMSVGLength is CC'd, remove it from tearoff table and drop its weak ref to wrapped val. r=jwatt 2016-07-21 11:11:37 -07:00
DOMSVGLength.h Bug 1288228 part 1: Move cleanup code from DOMSVGLength destructor into a helper-function. r=jwatt 2016-07-21 10:49:38 -07:00
DOMSVGLengthList.cpp
DOMSVGLengthList.h Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
DOMSVGNumber.cpp Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
DOMSVGNumber.h Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
DOMSVGNumberList.cpp
DOMSVGNumberList.h Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
DOMSVGPathSeg.cpp
DOMSVGPathSeg.h Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
DOMSVGPathSegList.cpp
DOMSVGPathSegList.h Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
DOMSVGPoint.cpp
DOMSVGPoint.h Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
DOMSVGPointList.cpp
DOMSVGPointList.h Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
DOMSVGStringList.cpp
DOMSVGStringList.h Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
DOMSVGTransformList.cpp
DOMSVGTransformList.h Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
SVGAElement.cpp
SVGAElement.h
SVGAngle.cpp
SVGAngle.h
SVGAnimateElement.cpp
SVGAnimateElement.h
SVGAnimateMotionElement.cpp
SVGAnimateMotionElement.h
SVGAnimateTransformElement.cpp
SVGAnimateTransformElement.h
SVGAnimatedAngle.cpp
SVGAnimatedAngle.h
SVGAnimatedBoolean.cpp
SVGAnimatedBoolean.h
SVGAnimatedEnumeration.cpp
SVGAnimatedEnumeration.h
SVGAnimatedInteger.cpp
SVGAnimatedInteger.h
SVGAnimatedLength.cpp
SVGAnimatedLength.h
SVGAnimatedLengthList.cpp
SVGAnimatedLengthList.h
SVGAnimatedNumber.cpp
SVGAnimatedNumber.h
SVGAnimatedNumberList.cpp
SVGAnimatedNumberList.h
SVGAnimatedPathSegList.cpp
SVGAnimatedPathSegList.h
SVGAnimatedPointList.cpp
SVGAnimatedPointList.h
SVGAnimatedPreserveAspectRatio.cpp Bug 1280425 part 2: Remove code associated with now-unsupported "defer" in SVG. r=dholbert 2016-06-30 17:28:56 -07:00
SVGAnimatedPreserveAspectRatio.h Bug 1280425 part 2: Remove code associated with now-unsupported "defer" in SVG. r=dholbert 2016-06-30 17:28:56 -07:00
SVGAnimatedRect.cpp
SVGAnimatedRect.h
SVGAnimatedString.cpp
SVGAnimatedString.h
SVGAnimatedTransformList.cpp
SVGAnimatedTransformList.h
SVGAnimationElement.cpp Bug 1173199 - Create preference to disable MathML. r=heycam, r=huseby, r=smaug 2016-06-28 15:24:48 +01:00
SVGAnimationElement.h Bug 1173199 - Create preference to disable MathML. r=heycam, r=huseby, r=smaug 2016-06-28 15:24:48 +01:00
SVGAttrValueWrapper.cpp
SVGAttrValueWrapper.h
SVGCircleElement.cpp
SVGCircleElement.h
SVGClipPathElement.cpp
SVGClipPathElement.h
SVGComponentTransferFunctionElement.h
SVGContentUtils.cpp Bug 1058040, part 2 - Rename gfxTextContextPaint to SVGContextPaint and add some code comments. r=dholbert 2016-07-22 14:56:09 +01:00
SVGContentUtils.h Bug 1058040, part 2 - Rename gfxTextContextPaint to SVGContextPaint and add some code comments. r=dholbert 2016-07-22 14:56:09 +01:00
SVGDefsElement.cpp
SVGDefsElement.h
SVGDescElement.cpp
SVGDescElement.h
SVGDocument.cpp Bug 1244074 - Part 4: Use StyleSheetHandle instead of concrete style sheet class in most places. r=dholbert 2016-02-24 18:01:12 +11:00
SVGDocument.h
SVGElementFactory.cpp Bug 1274505 - Remove SVG-based custom element support. r=wchen 2016-07-26 00:35:00 -04:00
SVGElementFactory.h Bug 1274505 - Remove SVG-based custom element support. r=wchen 2016-07-26 00:35:00 -04:00
SVGEllipseElement.cpp
SVGEllipseElement.h
SVGFEBlendElement.cpp
SVGFEBlendElement.h
SVGFEColorMatrixElement.cpp
SVGFEColorMatrixElement.h
SVGFEComponentTransferElement.cpp
SVGFEComponentTransferElement.h
SVGFECompositeElement.cpp
SVGFECompositeElement.h
SVGFEConvolveMatrixElement.cpp
SVGFEConvolveMatrixElement.h
SVGFEDiffuseLightingElement.cpp
SVGFEDiffuseLightingElement.h
SVGFEDisplacementMapElement.cpp
SVGFEDisplacementMapElement.h
SVGFEDistantLightElement.cpp
SVGFEDistantLightElement.h
SVGFEDropShadowElement.cpp
SVGFEDropShadowElement.h
SVGFEFloodElement.cpp
SVGFEFloodElement.h
SVGFEGaussianBlurElement.cpp
SVGFEGaussianBlurElement.h
SVGFEImageElement.cpp Bug 1277862, part 3 - Rename Moz2D's Filter to SamplingFilter in the rest of the tree. r=Bas 2016-05-25 17:01:18 +01:00
SVGFEImageElement.h
SVGFEMergeElement.cpp
SVGFEMergeElement.h
SVGFEMergeNodeElement.cpp
SVGFEMergeNodeElement.h
SVGFEMorphologyElement.cpp
SVGFEMorphologyElement.h
SVGFEOffsetElement.cpp
SVGFEOffsetElement.h
SVGFEPointLightElement.cpp
SVGFEPointLightElement.h
SVGFESpecularLightingElement.cpp
SVGFESpecularLightingElement.h
SVGFESpotLightElement.cpp
SVGFESpotLightElement.h
SVGFETileElement.cpp
SVGFETileElement.h
SVGFETurbulenceElement.cpp Bug 1284837 - Disallow implicit conversions from float to integer when creating IntPoint and IntSize objects. r=botond 2016-07-26 16:48:30 +02:00
SVGFETurbulenceElement.h
SVGFilterElement.cpp
SVGFilterElement.h
SVGForeignObjectElement.cpp
SVGForeignObjectElement.h
SVGFragmentIdentifier.cpp
SVGFragmentIdentifier.h
SVGGElement.cpp
SVGGElement.h
SVGGradientElement.cpp
SVGGradientElement.h Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
SVGGraphicsElement.cpp Bug 1173199 - Create preference to disable MathML. r=heycam, r=huseby, r=smaug 2016-06-28 15:24:48 +01:00
SVGGraphicsElement.h Bug 1173199 - Create preference to disable MathML. r=heycam, r=huseby, r=smaug 2016-06-28 15:24:48 +01:00
SVGIRect.h
SVGImageElement.cpp Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-05-05 01:45:00 -07:00
SVGImageElement.h
SVGIntegerPairSMILType.cpp
SVGIntegerPairSMILType.h Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj 2016-07-08 14:39:53 -07:00
SVGLength.cpp Bug 1277106 - Part 2: Expand MOZ_UTF16() strings to u"" string literals. r=Waldo 2016-07-20 22:03:25 -07:00
SVGLength.h
SVGLengthList.cpp
SVGLengthList.h Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-02-02 17:36:30 +02:00
SVGLengthListSMILType.cpp
SVGLengthListSMILType.h Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj 2016-07-08 14:39:53 -07:00
SVGLineElement.cpp
SVGLineElement.h
SVGMPathElement.cpp Bug 1263782 - Kill off the deprecated nsINode::IsInDoc(). r=baku 2016-03-31 11:58:25 +01:00
SVGMPathElement.h
SVGMarkerElement.cpp
SVGMarkerElement.h Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
SVGMaskElement.cpp
SVGMaskElement.h
SVGMatrix.cpp
SVGMatrix.h Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
SVGMetadataElement.cpp
SVGMetadataElement.h
SVGMotionSMILAnimationFunction.cpp
SVGMotionSMILAnimationFunction.h Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
SVGMotionSMILAttr.cpp
SVGMotionSMILAttr.h
SVGMotionSMILPathUtils.cpp
SVGMotionSMILPathUtils.h
SVGMotionSMILType.cpp
SVGMotionSMILType.h Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj 2016-07-08 14:39:53 -07:00
SVGNumberList.cpp Bug 1277106 - Part 2: Expand MOZ_UTF16() strings to u"" string literals. r=Waldo 2016-07-20 22:03:25 -07:00
SVGNumberList.h
SVGNumberListSMILType.cpp
SVGNumberListSMILType.h Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj 2016-07-08 14:39:53 -07:00
SVGNumberPairSMILType.cpp
SVGNumberPairSMILType.h Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj 2016-07-08 14:39:53 -07:00
SVGOrientSMILType.cpp
SVGOrientSMILType.h Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj 2016-07-08 14:39:53 -07:00
SVGPathData.cpp
SVGPathData.h
SVGPathElement.cpp
SVGPathElement.h
SVGPathSegListSMILType.cpp
SVGPathSegListSMILType.h Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj 2016-07-08 14:39:53 -07:00
SVGPathSegUtils.cpp Bug 1277106 - Part 2: Expand MOZ_UTF16() strings to u"" string literals. r=Waldo 2016-07-20 22:03:25 -07:00
SVGPathSegUtils.h
SVGPatternElement.cpp
SVGPatternElement.h Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
SVGPoint.h
SVGPointList.cpp Bug 1277106 - Part 2: Expand MOZ_UTF16() strings to u"" string literals. r=Waldo 2016-07-20 22:03:25 -07:00
SVGPointList.h
SVGPointListSMILType.cpp
SVGPointListSMILType.h Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj 2016-07-08 14:39:53 -07:00
SVGPolygonElement.cpp
SVGPolygonElement.h
SVGPolylineElement.cpp
SVGPolylineElement.h
SVGPreserveAspectRatio.cpp Bug 1280425 part 2: Remove code associated with now-unsupported "defer" in SVG. r=dholbert 2016-06-30 17:28:56 -07:00
SVGPreserveAspectRatio.h Bug 1280425 part 2: Remove code associated with now-unsupported "defer" in SVG. r=dholbert 2016-06-30 17:28:56 -07:00
SVGRect.cpp
SVGRect.h
SVGRectElement.cpp
SVGRectElement.h
SVGSVGElement.cpp Merge autoland into mozilla-central; a=merge 2016-07-04 09:01:56 -07:00
SVGSVGElement.h Bug 1264809 - (Part 1) Decouple SetImageOverridePreserveAspectRatio from mIsPaintingSVGImageElement setting. r=dholbert 2016-07-01 00:41:00 +02:00
SVGScriptElement.cpp Bug 1286321 - always ignore language attribute when processing script element if type attribute is defined. r=bz 2016-07-13 12:10:13 -04:00
SVGScriptElement.h Bug 1286321 - always ignore language attribute when processing script element if type attribute is defined. r=bz 2016-07-13 12:10:13 -04:00
SVGSetElement.cpp
SVGSetElement.h
SVGStopElement.cpp
SVGStopElement.h
SVGStringList.cpp
SVGStringList.h
SVGStyleElement.cpp Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-05-05 01:45:00 -07:00
SVGStyleElement.h
SVGSwitchElement.cpp Bug 1279690 Part 2 - switch should always allowReorder. r=cam, r=dholbert 2016-06-24 18:47:18 +01:00
SVGSwitchElement.h
SVGSymbolElement.cpp Bug 1173199 - Create preference to disable MathML. r=heycam, r=huseby, r=smaug 2016-06-28 15:24:48 +01:00
SVGSymbolElement.h Bug 1173199 - Create preference to disable MathML. r=heycam, r=huseby, r=smaug 2016-06-28 15:24:48 +01:00
SVGTSpanElement.cpp
SVGTSpanElement.h
SVGTagList.h Bug 1260032 - drop support for altGlyph as a tspan. r=cam r=peterv (DOM Peer) 2016-05-10 10:02:20 +01:00
SVGTests.cpp Bug 1173199 - Create preference to disable MathML. r=heycam, r=huseby, r=smaug 2016-06-28 15:24:48 +01:00
SVGTests.h Bug 1173199 - Create preference to disable MathML. r=heycam, r=huseby, r=smaug 2016-06-28 15:24:48 +01:00
SVGTextContentElement.cpp
SVGTextContentElement.h
SVGTextElement.cpp
SVGTextElement.h
SVGTextPathElement.cpp
SVGTextPathElement.h
SVGTextPositioningElement.cpp
SVGTextPositioningElement.h
SVGTitleElement.cpp
SVGTitleElement.h
SVGTransform.cpp
SVGTransform.h
SVGTransformList.cpp
SVGTransformList.h
SVGTransformListParser.cpp
SVGTransformListParser.h
SVGTransformListSMILType.cpp
SVGTransformListSMILType.h Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj 2016-07-08 14:39:53 -07:00
SVGTransformableElement.cpp Bug 1273766 - part3: purge NS_UpdateHint inline. r=heycam 2016-05-23 11:26:03 +08:00
SVGTransformableElement.h Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
SVGUseElement.cpp Bug 1288590: Rename nsAttrInfo to mozilla::dom::BorrowedAttrInfo. r=bholley 2016-07-27 11:18:33 -07:00
SVGUseElement.h
SVGViewBoxSMILType.cpp
SVGViewBoxSMILType.h Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj 2016-07-08 14:39:53 -07:00
SVGViewElement.cpp
SVGViewElement.h
SVGZoomEvent.cpp Bug 1259655 - part 1 Rename WidgetEventTime::time to WidgetEventTime::mTime r=masayuki 2016-03-28 13:29:42 +09:00
SVGZoomEvent.h Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
moz.build Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
nsISVGPoint.cpp
nsISVGPoint.h Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
nsSVGAngle.cpp Bug 1277106 - Part 2: Expand MOZ_UTF16() strings to u"" string literals. r=Waldo 2016-07-20 22:03:25 -07:00
nsSVGAngle.h
nsSVGAnimatedTransformList.cpp Bug 1255276 part 2: Make nsSVGAnimatedTransformList remember its previous HasTransform() value, so we can detect attr changes which are effectively creating the attr. r=longsonr 2016-03-14 17:37:36 -07:00
nsSVGAnimatedTransformList.h Bug 1255276 part 2: Make nsSVGAnimatedTransformList remember its previous HasTransform() value, so we can detect attr changes which are effectively creating the attr. r=longsonr 2016-03-14 17:37:36 -07:00
nsSVGAttrTearoffTable.h
nsSVGBoolean.cpp
nsSVGBoolean.h
nsSVGClass.cpp
nsSVGClass.h
nsSVGDataParser.cpp
nsSVGDataParser.h
nsSVGElement.cpp Bug 1280772 - Part 2: Rename eCSSDeclaration to eGeckoCSSDeclaration. r=bholley 2016-06-24 13:35:12 +10:00
nsSVGElement.h Bug 824592 part 1. Get rid of nsStyledElementNotElementCSSInlineStyle, since quickstubs are long-since gone. r=peterv 2016-08-02 11:05:38 -07:00
nsSVGEnum.cpp
nsSVGEnum.h Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
nsSVGFeatures.cpp Bug 1173199 - Create preference to disable MathML. r=heycam, r=huseby, r=smaug 2016-06-28 15:24:48 +01:00
nsSVGFeatures.h Bug 1173199 - Create preference to disable MathML. r=heycam, r=huseby, r=smaug 2016-06-28 15:24:48 +01:00
nsSVGFeaturesList.h
nsSVGFilters.cpp
nsSVGFilters.h
nsSVGInteger.cpp
nsSVGInteger.h Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
nsSVGIntegerPair.cpp
nsSVGIntegerPair.h Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
nsSVGLength2.cpp Bug 1283539 - Make SVGLength.convertToSpecifiedUnits work for percentage units on outer svg elements. r=dholbert 2016-07-22 18:17:05 +01:00
nsSVGLength2.h Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
nsSVGNumber2.cpp
nsSVGNumber2.h Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
nsSVGNumberPair.cpp
nsSVGNumberPair.h Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
nsSVGPathDataParser.cpp
nsSVGPathDataParser.h
nsSVGPathGeometryElement.cpp
nsSVGPathGeometryElement.h
nsSVGPolyElement.cpp
nsSVGPolyElement.h
nsSVGString.cpp
nsSVGString.h Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
nsSVGTransform.cpp Bug 1277106 - Part 2: Expand MOZ_UTF16() strings to u"" string literals. r=Waldo 2016-07-20 22:03:25 -07:00
nsSVGTransform.h
nsSVGViewBox.cpp Bug 1277106 - Part 2: Expand MOZ_UTF16() strings to u"" string literals. r=Waldo 2016-07-20 22:03:25 -07:00
nsSVGViewBox.h Bug 1269174: Fix nsSVGViewBox::HasRect() to return false instead of using stale mBaseVal. r=longsonr 2016-05-03 07:40:26 -07:00