Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(486)

Issue 474013004: Experimental SVG 1.1 DOM runtime flag. (Closed)

Created:
6 years, 3 months ago by Erik Dahlström (inactive)
Modified:
6 years, 2 months ago
CC:
blink-reviews, Eric Willigers, Steve Block, krit, arv+blink, Mike Lawther (Google), blink-reviews-animation_chromium.org, Timothy Loh, dstockwell, ed+blinkwatch_opera.com, shans, f(malita), Inactive, gyuyoung.kim_webkit.org, darktears, rjwright, Stephen Chennney, kouhei+svg_chromium.org, pdr., rwlbuis
Project:
blink
Visibility:
Public.

Description

Experimental SVG 1.1 DOM runtime flag. This adds UseCounters for SVG DOM, to see how much usage there is. SVG DOM support is enabled by default, but it will be possible to disable it with a commandline flag (--disable-svg1dom), see https://codereview.chromium.org/577943002. BUG=415074 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=183898

Patch Set 1 #

Patch Set 2 : fixups #

Patch Set 3 : rebased #

Patch Set 4 : UseCounter + make it possible to disable svgdom from commandline #

Total comments: 2

Patch Set 5 : rebase #

Patch Set 6 : review fixes #

Patch Set 7 : MeasureAs=SVGPathSegDOM + rebase #

Patch Set 8 : re-add MeasureAs on the constants #

Patch Set 9 : rebase #

Patch Set 10 : rebase #

Patch Set 11 : fix rebase mistake in UseCounters.h #

Unified diffs Side-by-side diffs Delta from patch set Stats (+394 lines, -326 lines) Patch
M Source/core/frame/UseCounter.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +5 lines, -0 lines 0 comments Download
M Source/core/svg/SVGAElement.idl View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M Source/core/svg/SVGAnimatedAngle.idl View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/svg/SVGAnimatedBoolean.idl View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/svg/SVGAnimatedEnumeration.idl View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/svg/SVGAnimatedInteger.idl View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/svg/SVGAnimatedLength.idl View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/svg/SVGAnimatedLengthList.idl View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/svg/SVGAnimatedNumber.idl View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/svg/SVGAnimatedNumberList.idl View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/svg/SVGAnimatedPreserveAspectRatio.idl View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/svg/SVGAnimatedRect.idl View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/svg/SVGAnimatedString.idl View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/svg/SVGAnimatedTransformList.idl View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
M Source/core/svg/SVGCircleElement.idl View 1 2 3 1 chunk +3 lines, -4 lines 0 comments Download
M Source/core/svg/SVGClipPathElement.idl View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGComponentTransferFunctionElement.idl View 1 2 3 6 7 1 chunk +13 lines, -14 lines 0 comments Download
M Source/core/svg/SVGCursorElement.idl View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/svg/SVGElement.idl View 1 2 3 2 chunks +1 line, -2 lines 0 comments Download
M Source/core/svg/SVGEllipseElement.idl View 1 2 3 1 chunk +4 lines, -5 lines 0 comments Download
M Source/core/svg/SVGFEBlendElement.idl View 1 2 3 6 7 1 chunk +9 lines, -9 lines 0 comments Download
M Source/core/svg/SVGFEColorMatrixElement.idl View 1 2 3 6 7 1 chunk +8 lines, -8 lines 0 comments Download
M Source/core/svg/SVGFEComponentTransferElement.idl View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGFECompositeElement.idl View 1 2 3 6 7 1 chunk +14 lines, -14 lines 0 comments Download
M Source/core/svg/SVGFEConvolveMatrixElement.idl View 1 2 3 6 7 1 chunk +16 lines, -16 lines 0 comments Download
M Source/core/svg/SVGFEDiffuseLightingElement.idl View 1 2 3 1 chunk +5 lines, -5 lines 0 comments Download
M Source/core/svg/SVGFEDisplacementMapElement.idl View 1 2 3 6 7 1 chunk +10 lines, -10 lines 0 comments Download
M Source/core/svg/SVGFEDropShadowElement.idl View 1 2 3 1 chunk +6 lines, -6 lines 0 comments Download
M Source/core/svg/SVGFEGaussianBlurElement.idl View 1 2 3 1 chunk +4 lines, -4 lines 0 comments Download
M Source/core/svg/SVGFEImageElement.idl View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M Source/core/svg/SVGFEMergeNodeElement.idl View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M Source/core/svg/SVGFEMorphologyElement.idl View 1 2 3 6 7 1 chunk +7 lines, -7 lines 0 comments Download
M Source/core/svg/SVGFEOffsetElement.idl View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M Source/core/svg/SVGFEPointLightElement.idl View 1 2 3 1 chunk +3 lines, -4 lines 0 comments Download
M Source/core/svg/SVGFESpecularLightingElement.idl View 1 2 3 1 chunk +4 lines, -4 lines 0 comments Download
M Source/core/svg/SVGFESpotLightElement.idl View 1 2 3 1 chunk +8 lines, -9 lines 0 comments Download
M Source/core/svg/SVGFETileElement.idl View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGFETurbulenceElement.idl View 1 2 3 6 7 1 chunk +12 lines, -12 lines 0 comments Download
M Source/core/svg/SVGFilterElement.idl View 1 2 3 1 chunk +9 lines, -10 lines 0 comments Download
M Source/core/svg/SVGFilterPrimitiveStandardAttributes.idl View 1 2 3 1 chunk +5 lines, -5 lines 0 comments Download
M Source/core/svg/SVGFitToViewBox.idl View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/svg/SVGForeignObjectElement.idl View 1 2 3 1 chunk +4 lines, -5 lines 0 comments Download
M Source/core/svg/SVGGradientElement.idl View 1 2 3 6 7 1 chunk +7 lines, -8 lines 0 comments Download
M Source/core/svg/SVGGraphicsElement.idl View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGImageElement.idl View 1 2 3 1 chunk +5 lines, -6 lines 0 comments Download
M Source/core/svg/SVGLength.idl View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/svg/SVGLengthList.idl View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/svg/SVGLineElement.idl View 1 2 3 1 chunk +4 lines, -5 lines 0 comments Download
M Source/core/svg/SVGLinearGradientElement.idl View 1 2 3 1 chunk +4 lines, -5 lines 0 comments Download
M Source/core/svg/SVGMarkerElement.idl View 1 2 3 6 7 1 chunk +15 lines, -15 lines 0 comments Download
M Source/core/svg/SVGMaskElement.idl View 1 2 3 1 chunk +6 lines, -6 lines 0 comments Download
M Source/core/svg/SVGNumberList.idl View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/svg/SVGPathElement.idl View 1 2 3 4 5 6 1 chunk +24 lines, -24 lines 0 comments Download
M Source/core/svg/SVGPathSeg.idl View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/svg/SVGPathSegArcAbs.idl View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/svg/SVGPathSegArcRel.idl View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/svg/SVGPathSegClosePath.idl View 1 chunk +3 lines, -1 line 0 comments Download
M Source/core/svg/SVGPathSegCurvetoCubicAbs.idl View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/svg/SVGPathSegCurvetoCubicRel.idl View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/svg/SVGPathSegCurvetoCubicSmoothAbs.idl View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/svg/SVGPathSegCurvetoCubicSmoothRel.idl View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/svg/SVGPathSegCurvetoQuadraticAbs.idl View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/svg/SVGPathSegCurvetoQuadraticRel.idl View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/svg/SVGPathSegCurvetoQuadraticSmoothAbs.idl View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/svg/SVGPathSegCurvetoQuadraticSmoothRel.idl View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/svg/SVGPathSegLinetoAbs.idl View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/svg/SVGPathSegLinetoHorizontalAbs.idl View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/svg/SVGPathSegLinetoHorizontalRel.idl View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/svg/SVGPathSegLinetoRel.idl View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/svg/SVGPathSegLinetoVerticalAbs.idl View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/svg/SVGPathSegLinetoVerticalRel.idl View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/svg/SVGPathSegList.idl View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M Source/core/svg/SVGPathSegMovetoAbs.idl View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/svg/SVGPathSegMovetoRel.idl View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/svg/SVGPointList.idl View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/svg/SVGPolygonElement.idl View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/svg/SVGPolylineElement.idl View 1 2 3 1 chunk +2 lines, -3 lines 0 comments Download
M Source/core/svg/SVGPreserveAspectRatio.idl View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M Source/core/svg/SVGRadialGradientElement.idl View 1 2 3 1 chunk +6 lines, -7 lines 0 comments Download
M Source/core/svg/SVGRectElement.idl View 1 2 3 1 chunk +6 lines, -7 lines 0 comments Download
M Source/core/svg/SVGRenderingIntent.idl View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M Source/core/svg/SVGSVGElement.idl View 1 2 3 3 chunks +16 lines, -16 lines 0 comments Download
M Source/core/svg/SVGStopElement.idl View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M Source/core/svg/SVGStringList.idl View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/svg/SVGTests.idl View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M Source/core/svg/SVGTextContentElement.idl View 1 2 3 6 7 2 chunks +5 lines, -6 lines 0 comments Download
M Source/core/svg/SVGTextPathElement.idl View 1 2 3 6 7 1 chunk +9 lines, -10 lines 0 comments Download
M Source/core/svg/SVGTextPositioningElement.idl View 1 2 3 1 chunk +5 lines, -6 lines 0 comments Download
M Source/core/svg/SVGTransform.idl View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/svg/SVGTransformList.idl View 1 2 3 4 5 2 chunks +3 lines, -1 line 0 comments Download
M Source/core/svg/SVGURIReference.idl View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGUnitTypes.idl View 1 2 3 6 7 1 chunk +3 lines, -3 lines 0 comments Download
M Source/core/svg/SVGUseElement.idl View 1 2 3 1 chunk +4 lines, -4 lines 0 comments Download
M Source/core/svg/SVGViewElement.idl View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGZoomAndPan.idl View 1 2 3 4 5 6 7 1 chunk +4 lines, -4 lines 0 comments Download
M Source/platform/RuntimeEnabledFeatures.in View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M Source/web/WebRuntimeFeatures.cpp View 1 2 3 4 5 6 7 8 9 10 1 chunk +5 lines, -0 lines 0 comments Download
M public/web/WebRuntimeFeatures.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (12 generated)
Erik Dahlström (inactive)
6 years, 3 months ago (2014-09-17 11:19:38 UTC) #2
fs
Should probably mention the split out SVGPathSegDOM counter in the description/commit message. I also wonder ...
6 years, 3 months ago (2014-09-17 13:04:31 UTC) #3
Mike West
On 2014/09/17 13:04:31, fs wrote: > I also wonder if: > > [MeasureAs=Foo] const unsigned ...
6 years, 3 months ago (2014-09-17 13:10:01 UTC) #4
Mike West
On 2014/09/17 13:10:01, Mike West wrote: > On 2014/09/17 13:04:31, fs wrote: > > I ...
6 years, 3 months ago (2014-09-17 13:10:36 UTC) #5
fs
On 2014/09/17 13:10:01, Mike West wrote: > On 2014/09/17 13:04:31, fs wrote: > > I ...
6 years, 3 months ago (2014-09-17 13:18:25 UTC) #6
Mike West
On 2014/09/17 13:18:25, fs wrote: > These are "IDL constants" though, which AFAIK take a ...
6 years, 3 months ago (2014-09-17 13:27:24 UTC) #7
kouhei (in TOK)
Would it be possible to use a separate counter for animatedtransformlist.baseval? d3js is using SVGDOM ...
6 years, 3 months ago (2014-09-17 23:44:48 UTC) #8
Erik Dahlström (inactive)
On 2014/09/17 23:44:48, kouhei wrote: > Would it be possible to use a separate counter ...
6 years, 3 months ago (2014-09-18 07:23:03 UTC) #9
Erik Dahlström (inactive)
Awaiting reviews for Source/platform/, public/web and Source/web. https://codereview.chromium.org/474013004/diff/60001/Source/core/svg/SVGPathElement.idl File Source/core/svg/SVGPathElement.idl (right): https://codereview.chromium.org/474013004/diff/60001/Source/core/svg/SVGPathElement.idl#newcode36 Source/core/svg/SVGPathElement.idl:36: [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] ...
6 years, 3 months ago (2014-09-19 09:12:36 UTC) #12
Nils Barth (inactive)
On 2014/09/17 13:27:24, Mike West (OOO until 24th) wrote: > Sorry, you're right. I thought ...
6 years, 2 months ago (2014-09-22 16:24:36 UTC) #13
Erik Dahlström (inactive)
On 2014/09/22 16:24:36, Nils Barth (inactive) wrote: > On 2014/09/17 13:27:24, Mike West (OOO until ...
6 years, 2 months ago (2014-09-23 11:04:02 UTC) #15
Erik Dahlström (inactive)
On 2014/09/23 11:04:02, Erik Dahlström wrote: > On 2014/09/22 16:24:36, Nils Barth (inactive) wrote: > ...
6 years, 2 months ago (2014-10-16 14:22:06 UTC) #17
Mike West
Can you rebase this onto ToT? I'm happy to take another look once the bots ...
6 years, 2 months ago (2014-10-16 15:12:07 UTC) #19
Erik Dahlström (inactive)
On 2014/10/16 15:12:07, Mike West wrote: > Can you rebase this onto ToT? I'm happy ...
6 years, 2 months ago (2014-10-17 10:26:38 UTC) #20
Mike West
LGTM. Once you have numbers, please do bring this to blink-dev@ for discussion.
6 years, 2 months ago (2014-10-17 10:41:04 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/474013004/160001
6 years, 2 months ago (2014-10-17 10:48:36 UTC) #23
commit-bot: I haz the power
Failed to apply patch for Source/core/frame/UseCounter.h: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 2 months ago (2014-10-17 11:57:35 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/474013004/180001
6 years, 2 months ago (2014-10-17 12:29:34 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/474013004/200001
6 years, 2 months ago (2014-10-17 13:43:59 UTC) #31
commit-bot: I haz the power
6 years, 2 months ago (2014-10-17 16:05:11 UTC) #32
Message was sent while issue was closed.
Committed patchset #11 (id:200001) as 183898

Powered by Google App Engine
This is Rietveld 408576698