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

Issue 21042009: [SVG2] Merge SVGStyledElement into SVGElement (Closed)

Created:
7 years, 4 months ago by do-not-use
Modified:
7 years, 4 months ago
CC:
blink-reviews, eae+blinkwatch, leviw+renderwatch, dglazkov+blink, jchaffraix+rendering, pdr, Stephen Chennney, lgombos
Visibility:
Public.

Description

[SVG2] Merge SVGStyledElement into SVGElement Merge SVGStyledElement into SVGElement as per the latest SVG2 specification: https://svgwg.org/svg2-draft/single-page.html#types-InterfaceSVGElement This greatly simplifies the inheritance model in SVG and is a big step towards supporting SVG2. BUG=231536 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=155264

Patch Set 1 #

Patch Set 2 : Build fix #

Total comments: 1

Patch Set 3 : Rebase on master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+631 lines, -819 lines) Patch
M Source/core/core.gypi View 1 2 2 chunks +0 lines, -3 lines 0 comments Download
M Source/core/rendering/svg/ReferenceFilterBuilder.cpp View 4 chunks +7 lines, -7 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGContainer.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/svg/RenderSVGContainer.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/svg/RenderSVGHiddenContainer.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGHiddenContainer.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/svg/RenderSVGModelObject.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGModelObject.cpp View 2 chunks +4 lines, -6 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGResourceClipper.cpp View 3 chunks +3 lines, -3 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGResourceContainer.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/svg/RenderSVGResourceContainer.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/svg/RenderSVGResourceFilterPrimitive.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/svg/RenderSVGResourceMarker.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/svg/RenderSVGResourceMarker.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/rendering/svg/RenderSVGResourceMasker.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGResourcePattern.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/svg/RenderSVGRoot.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGRoot.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGViewportContainer.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/svg/RenderSVGViewportContainer.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/svg/SVGRenderSupport.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/rendering/svg/SVGResources.cpp View 1 chunk +1 line, -2 lines 0 comments Download
M Source/core/svg/SVGAElement.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGAnimatedType.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/svg/SVGAnimationElement.cpp View 5 chunks +4 lines, -9 lines 0 comments Download
M Source/core/svg/SVGDescElement.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/svg/SVGDescElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGDescElement.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGElement.h View 1 8 chunks +37 lines, -5 lines 0 comments Download
M Source/core/svg/SVGElement.cpp View 10 chunks +402 lines, -14 lines 0 comments Download
M Source/core/svg/SVGElement.idl View 1 chunk +5 lines, -0 lines 0 comments Download
M Source/core/svg/SVGElementInstance.h View 2 chunks +1 line, -2 lines 0 comments Download
M Source/core/svg/SVGElementInstance.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/svg/SVGFEBlendElement.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGFEColorMatrixElement.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGFEComponentTransferElement.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGFECompositeElement.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGFEConvolveMatrixElement.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGFEDiffuseLightingElement.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGFEDisplacementMapElement.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGFEDropShadowElement.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGFEFloodElement.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGFEGaussianBlurElement.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGFEImageElement.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGFEMergeElement.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGFEMorphologyElement.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGFEOffsetElement.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGFESpecularLightingElement.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGFETileElement.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGFETurbulenceElement.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGFilterElement.h View 2 chunks +3 lines, -2 lines 0 comments Download
M Source/core/svg/SVGFilterElement.cpp View 1 2 4 chunks +4 lines, -4 lines 0 comments Download
M Source/core/svg/SVGFilterElement.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGFilterPrimitiveStandardAttributes.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/svg/SVGFilterPrimitiveStandardAttributes.cpp View 1 2 6 chunks +6 lines, -7 lines 0 comments Download
M Source/core/svg/SVGFontElement.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/svg/SVGFontElement.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/svg/SVGGElement.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGGlyphElement.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/svg/SVGGlyphElement.cpp View 2 chunks +4 lines, -4 lines 0 comments Download
M Source/core/svg/SVGGlyphRefElement.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/svg/SVGGlyphRefElement.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/svg/SVGGlyphRefElement.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGGradientElement.h View 3 chunks +4 lines, -2 lines 0 comments Download
M Source/core/svg/SVGGradientElement.cpp View 4 chunks +5 lines, -5 lines 0 comments Download
M Source/core/svg/SVGGradientElement.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGGraphicsElement.h View 3 chunks +4 lines, -2 lines 0 comments Download
M Source/core/svg/SVGGraphicsElement.cpp View 1 2 3 chunks +4 lines, -4 lines 0 comments Download
M Source/core/svg/SVGGraphicsElement.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGLocatable.cpp View 1 chunk +1 line, -2 lines 0 comments Download
M Source/core/svg/SVGMarkerElement.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/svg/SVGMarkerElement.cpp View 1 2 4 chunks +5 lines, -5 lines 0 comments Download
M Source/core/svg/SVGMarkerElement.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGMaskElement.h View 2 chunks +3 lines, -2 lines 0 comments Download
M Source/core/svg/SVGMaskElement.cpp View 1 2 4 chunks +5 lines, -5 lines 0 comments Download
M Source/core/svg/SVGMaskElement.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGMissingGlyphElement.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/svg/SVGMissingGlyphElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGMissingGlyphElement.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGPatternElement.h View 3 chunks +3 lines, -2 lines 0 comments Download
M Source/core/svg/SVGPatternElement.cpp View 1 2 4 chunks +5 lines, -5 lines 0 comments Download
M Source/core/svg/SVGPatternElement.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGStopElement.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/svg/SVGStopElement.cpp View 1 2 3 chunks +4 lines, -4 lines 0 comments Download
M Source/core/svg/SVGStopElement.idl View 1 chunk +1 line, -1 line 0 comments Download
D Source/core/svg/SVGStyledElement.h View 1 chunk +0 lines, -100 lines 0 comments Download
D Source/core/svg/SVGStyledElement.cpp View 1 chunk +0 lines, -472 lines 0 comments Download
D Source/core/svg/SVGStyledElement.idl View 1 chunk +0 lines, -36 lines 0 comments Download
M Source/core/svg/SVGSymbolElement.h View 2 chunks +4 lines, -2 lines 0 comments Download
M Source/core/svg/SVGSymbolElement.cpp View 1 2 3 chunks +4 lines, -4 lines 0 comments Download
M Source/core/svg/SVGSymbolElement.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGTRefElement.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/svg/SVGTests.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/svg/SVGTitleElement.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/svg/SVGTitleElement.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/svg/SVGTitleElement.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGUseElement.cpp View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/svg/SVGViewElement.h View 1 chunk +4 lines, -4 lines 0 comments Download
M Source/core/svg/SVGViewElement.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/svg/graphics/filters/SVGFEImage.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/svg/properties/SVGAnimatedPropertyMacros.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 14 (0 generated)
do-not-use
https://codereview.chromium.org/21042009/diff/4001/Source/core/svg/SVGElement.cpp File Source/core/svg/SVGElement.cpp (right): https://codereview.chromium.org/21042009/diff/4001/Source/core/svg/SVGElement.cpp#newcode157 Source/core/svg/SVGElement.cpp:157: bool SVGElement::rendererIsNeededInternal(const NodeRenderingContext& context) This is the tough part: ...
7 years, 4 months ago (2013-07-30 15:44:07 UTC) #1
pdr.
This is EPIC! On 2013/07/30 15:44:07, Christophe Dumez wrote: > https://codereview.chromium.org/21042009/diff/4001/Source/core/svg/SVGElement.cpp > File Source/core/svg/SVGElement.cpp (right): ...
7 years, 4 months ago (2013-07-31 06:13:19 UTC) #2
pdr.
7 years, 4 months ago (2013-07-31 06:14:02 UTC) #3
do-not-use
On 2013/07/31 06:13:19, pdr wrote: > This is EPIC! Hehe, I was happy to finally ...
7 years, 4 months ago (2013-07-31 06:24:46 UTC) #4
pdr.
On 2013/07/31 06:24:46, Christophe Dumez wrote: > > Could you create SVGCustomTagElement that extends from ...
7 years, 4 months ago (2013-07-31 06:30:08 UTC) #5
krit
On 2013/07/30 15:44:07, Christophe Dumez wrote: > https://codereview.chromium.org/21042009/diff/4001/Source/core/svg/SVGElement.cpp > File Source/core/svg/SVGElement.cpp (right): > > https://codereview.chromium.org/21042009/diff/4001/Source/core/svg/SVGElement.cpp#newcode157 ...
7 years, 4 months ago (2013-07-31 07:41:07 UTC) #6
do-not-use
On 2013/07/31 07:41:07, krit wrote: > On 2013/07/30 15:44:07, Christophe Dumez wrote: > > > ...
7 years, 4 months ago (2013-07-31 07:47:35 UTC) #7
f(malita)
Great patch! On 2013/07/31 07:41:07, krit wrote: > I would go the same way as ...
7 years, 4 months ago (2013-07-31 15:26:45 UTC) #8
do-not-use
Great, so everyone seems to prefer introducing an "SVGCustomTagElement" class and overriding rendererIsNeeded() there to ...
7 years, 4 months ago (2013-07-31 15:33:12 UTC) #9
f(malita)
On 2013/07/31 15:33:12, Christophe Dumez wrote: > a. How about 'SVGUnknownElement' for the name? (for ...
7 years, 4 months ago (2013-07-31 15:51:48 UTC) #10
do-not-use
On 2013/07/31 15:51:48, Florin Malita wrote: > On 2013/07/31 15:33:12, Christophe Dumez wrote: > > ...
7 years, 4 months ago (2013-07-31 17:53:58 UTC) #11
pdr.
On 2013/07/31 15:33:12, Christophe Dumez wrote: > Great, so everyone seems to prefer introducing an ...
7 years, 4 months ago (2013-07-31 18:13:22 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@sisa.samsung.com/21042009/17001
7 years, 4 months ago (2013-07-31 18:31:14 UTC) #13
commit-bot: I haz the power
7 years, 4 months ago (2013-07-31 20:27:57 UTC) #14
Message was sent while issue was closed.
Change committed as 155264

Powered by Google App Engine
This is Rietveld 408576698