fune/dom/svg
Boris Chiou ab6b587bfe Bug 1340422 - Part 10: Use style for GetDistancesFromOriginToEndsOfVisibleSegments(). r=emilio
When using a mpath elememt which linked to a external path element, we use
GetDistancesFromOriginToEndsOfVisibleSegments() to do a quick check if we
really need to build the path (note: see
SVGMotionSMILAnimationFunction::RebuildPathAndVerticesFromMpathElem),
so we have to get the d property value from style in this function.

Differential Revision: https://phabricator.services.mozilla.com/D116920
2021-06-09 21:17:25 +00:00
..
crashtests Bug 1692068 - Disable broken crashtests on tsan. r=necko-reviewers,decoder,dragana 2021-05-25 01:15:49 +00:00
test Bug 1340422 - Part 3: Resolve SVG path from CSS. r=emilio 2021-06-09 21:17:21 +00:00
DOMSVGAngle.cpp
DOMSVGAngle.h
DOMSVGAnimatedAngle.cpp
DOMSVGAnimatedAngle.h
DOMSVGAnimatedBoolean.cpp
DOMSVGAnimatedBoolean.h
DOMSVGAnimatedEnumeration.cpp
DOMSVGAnimatedEnumeration.h
DOMSVGAnimatedInteger.cpp
DOMSVGAnimatedInteger.h
DOMSVGAnimatedLength.cpp
DOMSVGAnimatedLength.h
DOMSVGAnimatedLengthList.cpp
DOMSVGAnimatedLengthList.h
DOMSVGAnimatedNumber.cpp
DOMSVGAnimatedNumber.h
DOMSVGAnimatedNumberList.cpp
DOMSVGAnimatedNumberList.h
DOMSVGAnimatedString.cpp
DOMSVGAnimatedString.h
DOMSVGAnimatedTransformList.cpp
DOMSVGAnimatedTransformList.h
DOMSVGLength.cpp
DOMSVGLength.h
DOMSVGLengthList.cpp
DOMSVGLengthList.h Bug 1678062 - Remove unnecessary includes. r=andi 2020-11-23 16:12:02 +00:00
DOMSVGNumber.cpp
DOMSVGNumber.h Bug 1678062 - Remove unnecessary includes. r=andi 2020-11-23 16:12:02 +00:00
DOMSVGNumberList.cpp
DOMSVGNumberList.h Bug 1678062 - Remove unnecessary includes. r=andi 2020-11-23 16:12:02 +00:00
DOMSVGPathSeg.cpp
DOMSVGPathSeg.h
DOMSVGPathSegList.cpp
DOMSVGPathSegList.h Bug 1678062 - Remove unnecessary includes. r=andi 2020-11-23 16:12:02 +00:00
DOMSVGPoint.cpp
DOMSVGPoint.h
DOMSVGPointList.cpp
DOMSVGPointList.h Bug 1678062 - Remove unnecessary includes. r=andi 2020-11-23 16:12:02 +00:00
DOMSVGStringList.cpp Bug 1706939 - Make the SVG attribute code a bit more generic. r=longsonr 2021-04-23 19:39:37 +00:00
DOMSVGStringList.h
DOMSVGTransform.cpp
DOMSVGTransform.h
DOMSVGTransformList.cpp
DOMSVGTransformList.h Bug 1678062 - Remove unnecessary includes. r=andi 2020-11-23 16:12:02 +00:00
moz.build Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00
SVGAElement.cpp Bug 1650145 - Replace all value uses of Empty[C]String by 0-length _ns literals. r=froydnj,geckoview-reviewers,agi 2020-09-23 15:17:15 +00:00
SVGAElement.h
SVGAnimatedBoolean.cpp
SVGAnimatedBoolean.h
SVGAnimatedClass.cpp
SVGAnimatedClass.h
SVGAnimatedClassOrString.cpp Bug 1626555 - Add dom/svg to the list of non-unified-build-compatible directories. r=sg 2020-11-10 13:44:03 +00:00
SVGAnimatedClassOrString.h
SVGAnimatedEnumeration.cpp Bug 1706939 - Make the SVG attribute code a bit more generic. r=longsonr 2021-04-23 19:39:37 +00:00
SVGAnimatedEnumeration.h
SVGAnimatedInteger.cpp
SVGAnimatedInteger.h
SVGAnimatedIntegerPair.cpp Bug 1679987 - Make nsTokenizerFlags a scoped enum and make them a template argument to nsTCharSeparatedTokenizer. r=xpcom-reviewers,necko-reviewers,nika 2020-12-16 19:10:21 +00:00
SVGAnimatedIntegerPair.h
SVGAnimatedLength.cpp
SVGAnimatedLength.h
SVGAnimatedLengthList.cpp
SVGAnimatedLengthList.h Bug 1706939 - Copy internal attribute values from SVG elements for printing. r=longsonr 2021-04-23 19:39:38 +00:00
SVGAnimatedNumber.cpp
SVGAnimatedNumber.h
SVGAnimatedNumberList.cpp
SVGAnimatedNumberList.h Merge autoland to mozilla-central. a=merge 2021-04-24 00:50:35 +03:00
SVGAnimatedNumberPair.cpp Bug 1679987 - Make nsTokenizerFlags a scoped enum and make them a template argument to nsTCharSeparatedTokenizer. r=xpcom-reviewers,necko-reviewers,nika 2020-12-16 19:10:21 +00:00
SVGAnimatedNumberPair.h
SVGAnimatedOrient.cpp Bug 1685543 - Expose auto-start-reverse enum value r=emilio 2021-01-08 00:05:11 +00:00
SVGAnimatedOrient.h Bug 1685543 - Expose auto-start-reverse enum value r=emilio 2021-01-08 00:05:11 +00:00
SVGAnimatedPathSegList.cpp
SVGAnimatedPathSegList.h
SVGAnimatedPointList.cpp
SVGAnimatedPointList.h
SVGAnimatedPreserveAspectRatio.cpp
SVGAnimatedPreserveAspectRatio.h
SVGAnimatedRect.cpp
SVGAnimatedRect.h Bug 1678062 - Remove unnecessary includes. r=andi 2020-11-23 16:12:02 +00:00
SVGAnimatedString.cpp
SVGAnimatedString.h Bug 1706939 - Copy internal attribute values from SVG elements for printing. r=longsonr 2021-04-23 19:39:38 +00:00
SVGAnimatedTransformList.cpp Bug 1679987 - Use nsTokenizedRange where easily possible. r=xpcom-reviewers,nika 2020-12-16 19:10:34 +00:00
SVGAnimatedTransformList.h
SVGAnimatedViewBox.cpp Bug 1679987 - Make nsTokenizerFlags a scoped enum and make them a template argument to nsTCharSeparatedTokenizer. r=xpcom-reviewers,necko-reviewers,nika 2020-12-16 19:10:21 +00:00
SVGAnimatedViewBox.h
SVGAnimateElement.cpp
SVGAnimateElement.h
SVGAnimateMotionElement.cpp
SVGAnimateMotionElement.h
SVGAnimateTransformElement.cpp
SVGAnimateTransformElement.h
SVGAnimationElement.cpp Bug 1682307 - use document URI rather than baseURI for local references with SMIL r=emilio 2020-12-21 03:49:33 +00:00
SVGAnimationElement.h
SVGAttrTearoffTable.h Bug 1634281 - Use nsTHashMap instead of nsDataHashtable. r=xpcom-reviewers,necko-reviewers,jgilbert,nika,valentin 2021-03-10 10:47:47 +00:00
SVGAttrValueWrapper.cpp
SVGAttrValueWrapper.h
SVGCircleElement.cpp Bug 1683907 - use the same logic for rendering and bounds checking r=emilio 2020-12-26 16:29:05 +00:00
SVGCircleElement.h
SVGClipPathElement.cpp
SVGClipPathElement.h
SVGComponentTransferFunctionElement.h
SVGContentUtils.cpp Bug 1703987 - Measure percentage stroke-widths on text/non-text svg content. r=dholbert 2021-04-09 13:07:07 +00:00
SVGContentUtils.h Bug 1676356 - Avoid including ServoStyleConsts.h in header files. r=emilio 2020-11-23 16:08:47 +00:00
SVGDataParser.cpp
SVGDataParser.h
SVGDefsElement.cpp
SVGDefsElement.h
SVGDescElement.cpp
SVGDescElement.h
SVGDocument.cpp
SVGDocument.h Bug 1551040 - Add const versions of Document casts. r=edgar 2021-01-17 14:44:44 +00:00
SVGElement.cpp Bug 1340422 - Part 8: Optimize attribute mapping by not parsing svg path string again. r=emilio 2021-06-09 21:17:24 +00:00
SVGElement.h Bug 1340422 - Part 7: Notify style system when SMIL animation changes d attribute. r=emilio 2021-06-09 21:17:23 +00:00
SVGElementFactory.cpp Bug 1634281 - Use nsTHashMap instead of nsDataHashtable. r=xpcom-reviewers,necko-reviewers,jgilbert,nika,valentin 2021-03-10 10:47:47 +00:00
SVGElementFactory.h
SVGEllipseElement.cpp Bug 1683907 - use the same logic for rendering and bounds checking r=emilio 2020-12-26 16:29:05 +00:00
SVGEllipseElement.h
SVGFEBlendElement.cpp
SVGFEBlendElement.h
SVGFEColorMatrixElement.cpp
SVGFEColorMatrixElement.h
SVGFEComponentTransferElement.cpp
SVGFEComponentTransferElement.h
SVGFECompositeElement.cpp Bug 1518099 - Add support for lighter operator in feComposite r=jrmuizel,emilio 2021-01-05 20:49:00 +00:00
SVGFECompositeElement.h
SVGFEConvolveMatrixElement.cpp Bug 1626555 - Add dom/svg to the list of non-unified-build-compatible directories. r=sg 2020-11-10 13:44:03 +00:00
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 1709577 - Remove CORS_* constants from imgIRequest, use CORSMode instead. r=tnikkel 2021-05-05 15:23:25 +00:00
SVGFEImageElement.h Bug 1474311 - check whether we should load images r=jwatt 2020-10-13 22:30:54 +00:00
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
SVGFETurbulenceElement.h
SVGFilterElement.cpp
SVGFilterElement.h
SVGFilters.cpp
SVGFilters.h
SVGForeignObjectElement.cpp Bug 1665921 - check result of SVGGeometryProperty calls r=emilio 2020-09-18 13:45:32 +00:00
SVGForeignObjectElement.h
SVGFragmentIdentifier.cpp Bug 1679987 - Use nsTokenizedRange where easily possible. r=xpcom-reviewers,nika 2020-12-16 19:10:34 +00:00
SVGFragmentIdentifier.h
SVGGElement.cpp
SVGGElement.h
SVGGeometryElement.cpp Bug 1340422 - Part 3: Resolve SVG path from CSS. r=emilio 2021-06-09 21:17:21 +00:00
SVGGeometryElement.h Bug 1667629 - support mpath pointing to shapes r=birtles,emilio 2020-10-01 16:19:37 +00:00
SVGGeometryProperty.cpp Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
SVGGeometryProperty.h Bug 1684567 - don't round unspecified image dimensions to integers r=emilio 2020-12-31 12:34:02 +00:00
SVGGradientElement.cpp
SVGGradientElement.h
SVGGraphicsElement.cpp Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
SVGGraphicsElement.h
SVGImageElement.cpp Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
SVGImageElement.h Bug 1474311 - check whether we should load images r=jwatt 2020-10-13 22:30:54 +00:00
SVGIntegerPairSMILType.cpp
SVGIntegerPairSMILType.h
SVGLength.cpp
SVGLength.h
SVGLengthList.cpp Bug 1679987 - Make nsTokenizerFlags a scoped enum and make them a template argument to nsTCharSeparatedTokenizer. r=xpcom-reviewers,necko-reviewers,nika 2020-12-16 19:10:21 +00:00
SVGLengthList.h Bug 1706939 - Copy internal attribute values from SVG elements for printing. r=longsonr 2021-04-23 19:39:38 +00:00
SVGLengthListSMILType.cpp
SVGLengthListSMILType.h
SVGLineElement.cpp
SVGLineElement.h
SVGMarkerElement.cpp Bug 1710840 - Part 2: Get rid of NS_ERROR_DOM_SVG_WRONG_TYPE_ERR; r=smaug 2021-05-12 23:32:38 +00:00
SVGMarkerElement.h Bug 1685543 - Expose auto-start-reverse enum value r=emilio 2021-01-08 00:05:11 +00:00
SVGMaskElement.cpp
SVGMaskElement.h
SVGMatrix.cpp Bug 987432 - remove unnecessary float casts in SkewX and SkewY r=dholbert 2021-01-02 17:17:26 +00:00
SVGMatrix.h
SVGMetadataElement.cpp
SVGMetadataElement.h
SVGMotionSMILAnimationFunction.cpp Bug 1667629 - support mpath pointing to shapes r=birtles,emilio 2020-10-01 16:19:37 +00:00
SVGMotionSMILAnimationFunction.h
SVGMotionSMILAttr.cpp
SVGMotionSMILAttr.h
SVGMotionSMILPathUtils.cpp Bug 1679987 - Make nsTokenizerFlags a scoped enum and make them a template argument to nsTCharSeparatedTokenizer. r=xpcom-reviewers,necko-reviewers,nika 2020-12-16 19:10:21 +00:00
SVGMotionSMILPathUtils.h
SVGMotionSMILType.cpp
SVGMotionSMILType.h
SVGMPathElement.cpp Bug 1682307 - use document URI rather than baseURI for local references with SMIL r=emilio 2020-12-21 03:49:33 +00:00
SVGMPathElement.h Bug 1667629 - support mpath pointing to shapes r=birtles,emilio 2020-10-01 16:19:37 +00:00
SVGNumberList.cpp Bug 1679987 - Make nsTokenizerFlags a scoped enum and make them a template argument to nsTCharSeparatedTokenizer. r=xpcom-reviewers,necko-reviewers,nika 2020-12-16 19:10:21 +00:00
SVGNumberList.h Merge autoland to mozilla-central. a=merge 2021-04-24 00:50:35 +03:00
SVGNumberListSMILType.cpp
SVGNumberListSMILType.h
SVGNumberPairSMILType.cpp
SVGNumberPairSMILType.h
SVGOrientSMILType.cpp
SVGOrientSMILType.h Bug 1685543 - Expose auto-start-reverse enum value r=emilio 2021-01-08 00:05:11 +00:00
SVGPathData.cpp Bug 1340422 - Part 10: Use style for GetDistancesFromOriginToEndsOfVisibleSegments(). r=emilio 2021-06-09 21:17:25 +00:00
SVGPathData.h Bug 1340422 - Part 10: Use style for GetDistancesFromOriginToEndsOfVisibleSegments(). r=emilio 2021-06-09 21:17:25 +00:00
SVGPathDataParser.cpp
SVGPathDataParser.h
SVGPathElement.cpp Bug 1340422 - Part 10: Use style for GetDistancesFromOriginToEndsOfVisibleSegments(). r=emilio 2021-06-09 21:17:25 +00:00
SVGPathElement.h Bug 1340422 - Part 10: Use style for GetDistancesFromOriginToEndsOfVisibleSegments(). r=emilio 2021-06-09 21:17:25 +00:00
SVGPathSegListSMILType.cpp
SVGPathSegListSMILType.h
SVGPathSegUtils.cpp Bug 1340422 - Part 3: Resolve SVG path from CSS. r=emilio 2021-06-09 21:17:21 +00:00
SVGPathSegUtils.h Bug 1340422 - Part 3: Resolve SVG path from CSS. r=emilio 2021-06-09 21:17:21 +00:00
SVGPatternElement.cpp
SVGPatternElement.h
SVGPoint.h
SVGPointList.cpp Bug 1679987 - Make nsTokenizerFlags a scoped enum and make them a template argument to nsTCharSeparatedTokenizer. r=xpcom-reviewers,necko-reviewers,nika 2020-12-16 19:10:21 +00:00
SVGPointList.h
SVGPointListSMILType.cpp
SVGPointListSMILType.h
SVGPolyElement.cpp
SVGPolyElement.h
SVGPolygonElement.cpp
SVGPolygonElement.h
SVGPolylineElement.cpp
SVGPolylineElement.h
SVGPreserveAspectRatio.cpp
SVGPreserveAspectRatio.h Bug 1678062 - Remove unnecessary includes. r=andi 2020-11-23 16:12:02 +00:00
SVGRect.cpp
SVGRect.h
SVGRectElement.cpp Bug 1683907 - use the same logic for rendering and bounds checking r=emilio 2020-12-26 16:29:05 +00:00
SVGRectElement.h
SVGScriptElement.cpp Bug 1650145 - Replace all value uses of Empty[C]String by 0-length _ns literals. r=froydnj,geckoview-reviewers,agi 2020-09-23 15:17:15 +00:00
SVGScriptElement.h
SVGSetElement.cpp
SVGSetElement.h
SVGStopElement.cpp
SVGStopElement.h
SVGStringList.cpp Bug 1583109 - Use StringJoin(Append) where easily possible. r=nika 2020-12-17 14:58:18 +00:00
SVGStringList.h
SVGStyleElement.cpp Bug 1700889 - remove xmlspace attribute from SVGStyleElement r=emilio 2021-03-25 17:15:43 +00:00
SVGStyleElement.h Bug 1700889 - remove xmlspace attribute from SVGStyleElement r=emilio 2021-03-25 17:15:43 +00:00
SVGSVGElement.cpp
SVGSVGElement.h
SVGSwitchElement.cpp Bug 1685421 - Part 2: Stop using NS_ERROR_DOM_HIERARCHY_REQUEST_ERR in nsINode; r=smaug 2021-06-02 13:43:39 +00:00
SVGSwitchElement.h Bug 1685421 - Part 2: Stop using NS_ERROR_DOM_HIERARCHY_REQUEST_ERR in nsINode; r=smaug 2021-06-02 13:43:39 +00:00
SVGSymbolElement.cpp
SVGSymbolElement.h
SVGTagList.h
SVGTests.cpp Bug 1679987 - Use nsTokenizedRange where easily possible. r=xpcom-reviewers,nika 2020-12-16 19:10:34 +00:00
SVGTests.h
SVGTextContentElement.cpp Bug 1667594 - Move nsLayoutUtils::RectCallback to namespace scope. r=emilio,jgilbert 2020-09-30 21:06:47 +00:00
SVGTextContentElement.h
SVGTextElement.cpp
SVGTextElement.h
SVGTextPathElement.cpp
SVGTextPathElement.h
SVGTextPositioningElement.cpp
SVGTextPositioningElement.h
SVGTitleElement.cpp Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
SVGTitleElement.h
SVGTransform.cpp
SVGTransform.h
SVGTransformableElement.cpp Bug 1667594 - Move nsLayoutUtils::RectCallback to namespace scope. r=emilio,jgilbert 2020-09-30 21:06:47 +00:00
SVGTransformableElement.h
SVGTransformList.cpp
SVGTransformList.h
SVGTransformListParser.cpp
SVGTransformListParser.h
SVGTransformListSMILType.cpp
SVGTransformListSMILType.h
SVGTSpanElement.cpp
SVGTSpanElement.h
SVGUseElement.cpp Bug 1685421 - Part 2: Stop using NS_ERROR_DOM_HIERARCHY_REQUEST_ERR in nsINode; r=smaug 2021-06-02 13:43:39 +00:00
SVGUseElement.h Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
SVGViewBoxSMILType.cpp
SVGViewBoxSMILType.h
SVGViewElement.cpp
SVGViewElement.h
SVGViewportElement.cpp Bug 1703592 - Deal with non-finite viewbox / viewports. r=longsonr 2021-04-09 13:10:55 +00:00
SVGViewportElement.h