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

Issue 148173018: [SVG] SVGAnimatedString{,List} migration to new SVG property impl. (Closed)

Created:
6 years, 10 months ago by kouhei (in TOK)
Modified:
6 years, 10 months ago
Reviewers:
haraken, pdr., fs
CC:
blink-reviews, shans, eae+blinkwatch, fs, apavlov+blink_chromium.org, adamk+blink_chromium.org, pdr, Steve Block, dino_apple.com, rwlbuis, Nils Barth (inactive), Nate Chapin, arv+blink, alancutter (OOO until 2018), bemjb+rendering_chromium.org, dsinclair, Timothy Loh, abarth-chromium, marja+watch_chromium.org, dglazkov+blink, jchaffraix+rendering, Eric Willigers, rjwright, zoltan1, sof, krit, gyuyoung.kim_webkit.org, darktears, haraken, dstockwell, kojih, jsbell+bindings_chromium.org, leviw+renderwatch, Mike Lawther (Google), ed+blinkwatch_opera.com, f(malita), Inactive, Stephen Chennney, watchdog-blink-watchlist_google.com
Visibility:
Public.

Description

[SVG] SVGAnimatedString{,List} migration to new SVG property impl. This CL replaces SVGAnimatedString{,List} with NewSVGProperty based implementation. The original SVGStringList had a hack where it parsed empty string to a list with a single empty string [''], but this hack is removed. This CL also fixes a bug in SVGTest where 'systemLanguage' constraint was always rejected when multiple languages were specified. For details, see design doc: https://docs.google.com/document/d/1bg7CUyUszqdwmENY3JX6_PoQD6uHRCNcRPJMlC4qlkw/edit?usp=sharing BUG=308818 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=166227

Patch Set 1 #

Patch Set 2 : remove if 0 #

Total comments: 24

Patch Set 3 : haraken #

Patch Set 4 : rebase / fix LayoutTests #

Patch Set 5 : remove debug print #

Unified diffs Side-by-side diffs Delta from patch set Stats (+924 lines, -797 lines) Patch
M Source/bindings/scripts/code_generator_v8.pm View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M Source/core/core.gypi View 1 2 3 2 chunks +6 lines, -1 line 0 comments Download
M Source/core/css/CSSCursorImageValue.cpp View 3 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/rendering/svg/ReferenceFilterBuilder.cpp View 3 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/svg/RenderSVGResourceFilter.cpp View 3 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/svg/RenderSVGTextPath.cpp View 3 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/svg/SVGResources.cpp View 3 1 chunk +3 lines, -3 lines 0 comments Download
M Source/core/svg/SVGAElement.h View 3 2 chunks +4 lines, -2 lines 0 comments Download
M Source/core/svg/SVGAElement.cpp View 3 5 chunks +15 lines, -14 lines 0 comments Download
M Source/core/svg/SVGAltGlyphElement.h View 3 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/svg/SVGAltGlyphElement.cpp View 3 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/svg/SVGAnimateElement.h View 3 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/svg/SVGAnimatedNewPropertyAnimator.cpp View 3 3 chunks +7 lines, -1 line 0 comments Download
M Source/core/svg/SVGAnimatedString.h View 3 1 chunk +38 lines, -42 lines 0 comments Download
D Source/core/svg/SVGAnimatedString.cpp View 3 1 chunk +0 lines, -97 lines 0 comments Download
M Source/core/svg/SVGAnimatedType.h View 3 3 chunks +0 lines, -8 lines 0 comments Download
M Source/core/svg/SVGAnimatedType.cpp View 3 7 chunks +6 lines, -20 lines 0 comments Download
M Source/core/svg/SVGAnimationElement.h View 3 1 chunk +0 lines, -5 lines 0 comments Download
M Source/core/svg/SVGAnimationElement.cpp View 3 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGAnimatorFactory.h View 3 2 chunks +4 lines, -4 lines 0 comments Download
M Source/core/svg/SVGCursorElement.h View 3 2 chunks +2 lines, -6 lines 0 comments Download
M Source/core/svg/SVGCursorElement.cpp View 3 2 chunks +6 lines, -5 lines 0 comments Download
M Source/core/svg/SVGElement.h View 3 3 chunks +5 lines, -3 lines 0 comments Download
M Source/core/svg/SVGElement.cpp View 1 2 3 5 chunks +6 lines, -4 lines 0 comments Download
M Source/core/svg/SVGFEBlendElement.h View 3 2 chunks +4 lines, -2 lines 0 comments Download
M Source/core/svg/SVGFEBlendElement.cpp View 3 3 chunks +14 lines, -15 lines 0 comments Download
M Source/core/svg/SVGFEColorMatrixElement.h View 3 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/svg/SVGFEColorMatrixElement.cpp View 3 4 chunks +6 lines, -9 lines 0 comments Download
M Source/core/svg/SVGFEComponentTransferElement.h View 3 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/svg/SVGFEComponentTransferElement.cpp View 3 2 chunks +10 lines, -8 lines 0 comments Download
M Source/core/svg/SVGFECompositeElement.h View 3 2 chunks +4 lines, -2 lines 0 comments Download
M Source/core/svg/SVGFECompositeElement.cpp View 3 5 chunks +11 lines, -17 lines 0 comments Download
M Source/core/svg/SVGFEConvolveMatrixElement.h View 3 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/svg/SVGFEConvolveMatrixElement.cpp View 3 7 chunks +6 lines, -9 lines 0 comments Download
M Source/core/svg/SVGFEDiffuseLightingElement.h View 3 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/svg/SVGFEDiffuseLightingElement.cpp View 3 4 chunks +6 lines, -9 lines 0 comments Download
M Source/core/svg/SVGFEDisplacementMapElement.h View 3 2 chunks +4 lines, -2 lines 0 comments Download
M Source/core/svg/SVGFEDisplacementMapElement.cpp View 3 4 chunks +11 lines, -17 lines 0 comments Download
M Source/core/svg/SVGFEDropShadowElement.h View 3 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/svg/SVGFEDropShadowElement.cpp View 3 4 chunks +6 lines, -9 lines 0 comments Download
M Source/core/svg/SVGFEGaussianBlurElement.h View 3 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/svg/SVGFEGaussianBlurElement.cpp View 3 3 chunks +6 lines, -9 lines 0 comments Download
M Source/core/svg/SVGFEImageElement.h View 3 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/svg/SVGFEImageElement.cpp View 3 5 chunks +7 lines, -6 lines 0 comments Download
M Source/core/svg/SVGFEMergeElement.cpp View 3 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGFEMergeNodeElement.h View 3 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/svg/SVGFEMergeNodeElement.cpp View 3 2 chunks +9 lines, -7 lines 0 comments Download
M Source/core/svg/SVGFEMorphologyElement.h View 3 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/svg/SVGFEMorphologyElement.cpp View 3 4 chunks +6 lines, -9 lines 0 comments Download
M Source/core/svg/SVGFEOffsetElement.h View 3 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/svg/SVGFEOffsetElement.cpp View 3 4 chunks +6 lines, -9 lines 0 comments Download
M Source/core/svg/SVGFESpecularLightingElement.h View 3 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/svg/SVGFESpecularLightingElement.cpp View 3 5 chunks +6 lines, -9 lines 0 comments Download
M Source/core/svg/SVGFETileElement.h View 3 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/svg/SVGFETileElement.cpp View 3 3 chunks +10 lines, -8 lines 0 comments Download
M Source/core/svg/SVGFilterElement.h View 3 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/svg/SVGFilterElement.cpp View 3 4 chunks +4 lines, -3 lines 0 comments Download
M Source/core/svg/SVGFilterPrimitiveStandardAttributes.h View 3 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/svg/SVGFilterPrimitiveStandardAttributes.cpp View 3 4 chunks +3 lines, -3 lines 0 comments Download
M Source/core/svg/SVGFontFaceUriElement.cpp View 3 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGForeignObjectElement.h View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/svg/SVGForeignObjectElement.cpp View 1 2 3 2 chunks +0 lines, -3 lines 0 comments Download
M Source/core/svg/SVGGlyphRefElement.h View 3 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/svg/SVGGlyphRefElement.cpp View 3 2 chunks +6 lines, -4 lines 0 comments Download
M Source/core/svg/SVGGradientElement.h View 3 2 chunks +3 lines, -1 line 0 comments Download
M Source/core/svg/SVGGradientElement.cpp View 3 2 chunks +9 lines, -5 lines 0 comments Download
M Source/core/svg/SVGGraphicsElement.h View 3 1 chunk +0 lines, -5 lines 0 comments Download
M Source/core/svg/SVGGraphicsElement.cpp View 3 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGImageElement.h View 3 2 chunks +4 lines, -2 lines 0 comments Download
M Source/core/svg/SVGImageElement.cpp View 3 5 chunks +7 lines, -6 lines 0 comments Download
M Source/core/svg/SVGLinearGradientElement.cpp View 3 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGMPathElement.h View 3 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/svg/SVGMPathElement.cpp View 1 2 3 4 chunks +11 lines, -9 lines 0 comments Download
M Source/core/svg/SVGMaskElement.h View 3 1 chunk +0 lines, -5 lines 0 comments Download
M Source/core/svg/SVGMaskElement.cpp View 3 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGPatternElement.h View 3 2 chunks +2 lines, -6 lines 0 comments Download
M Source/core/svg/SVGPatternElement.cpp View 3 4 chunks +7 lines, -6 lines 0 comments Download
M Source/core/svg/SVGRadialGradientElement.cpp View 3 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGScriptElement.h View 3 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/svg/SVGScriptElement.cpp View 1 2 3 5 chunks +14 lines, -16 lines 0 comments Download
A + Source/core/svg/SVGStaticStringList.h View 1 2 3 1 chunk +27 lines, -21 lines 0 comments Download
A + Source/core/svg/SVGStaticStringList.cpp View 1 2 3 1 chunk +61 lines, -11 lines 0 comments Download
A + Source/core/svg/SVGString.h View 3 1 chunk +33 lines, -23 lines 0 comments Download
A + Source/core/svg/SVGString.cpp View 3 1 chunk +23 lines, -7 lines 0 comments Download
M Source/core/svg/SVGStringList.h View 1 2 3 1 chunk +73 lines, -34 lines 0 comments Download
M Source/core/svg/SVGStringList.cpp View 1 2 3 1 chunk +112 lines, -20 lines 0 comments Download
M Source/core/svg/SVGStringList.idl View 3 1 chunk +2 lines, -0 lines 0 comments Download
A Source/core/svg/SVGStringListTearOff.h View 1 2 3 1 chunk +141 lines, -0 lines 0 comments Download
A + Source/core/svg/SVGStringListTearOff.cpp View 3 1 chunk +3 lines, -8 lines 0 comments Download
M Source/core/svg/SVGTests.h View 3 3 chunks +8 lines, -23 lines 0 comments Download
M Source/core/svg/SVGTests.cpp View 1 2 3 4 4 chunks +46 lines, -127 lines 0 comments Download
M Source/core/svg/SVGTextPathElement.h View 3 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/svg/SVGTextPathElement.cpp View 3 3 chunks +5 lines, -4 lines 0 comments Download
M Source/core/svg/SVGURIReference.h View 3 2 chunks +0 lines, -4 lines 0 comments Download
M Source/core/svg/SVGURIReference.cpp View 3 1 chunk +0 lines, -10 lines 0 comments Download
M Source/core/svg/SVGUseElement.h View 3 2 chunks +3 lines, -2 lines 0 comments Download
M Source/core/svg/SVGUseElement.cpp View 3 9 chunks +11 lines, -10 lines 0 comments Download
M Source/core/svg/SVGViewElement.h View 3 3 chunks +3 lines, -3 lines 0 comments Download
M Source/core/svg/SVGViewElement.cpp View 3 3 chunks +10 lines, -8 lines 0 comments Download
M Source/core/svg/properties/NewSVGAnimatedProperty.h View 3 1 chunk +1 line, -2 lines 0 comments Download
M Source/core/svg/properties/SVGPropertyInfo.h View 3 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/svg/properties/SVGPropertyTearOff.h View 3 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
kouhei (in TOK)
haraken, pdr: Would you take a look?
6 years, 10 months ago (2014-01-29 02:15:38 UTC) #1
haraken
https://codereview.chromium.org/148173018/diff/20001/Source/core/svg/SVGCursorElement.cpp File Source/core/svg/SVGCursorElement.cpp (left): https://codereview.chromium.org/148173018/diff/20001/Source/core/svg/SVGCursorElement.cpp#oldcode87 Source/core/svg/SVGCursorElement.cpp:87: || SVGURIReference::parseAttribute(name, value)) { Why can you remove SVGURIReference::parseAttribute? ...
6 years, 10 months ago (2014-01-29 05:17:59 UTC) #2
kouhei (in TOK)
haraken: PTAL https://codereview.chromium.org/148173018/diff/20001/Source/core/svg/SVGCursorElement.cpp File Source/core/svg/SVGCursorElement.cpp (left): https://codereview.chromium.org/148173018/diff/20001/Source/core/svg/SVGCursorElement.cpp#oldcode87 Source/core/svg/SVGCursorElement.cpp:87: || SVGURIReference::parseAttribute(name, value)) { On 2014/01/29 05:18:00, ...
6 years, 10 months ago (2014-01-30 08:18:55 UTC) #3
haraken
I scanned the CL again, LGTM. This CL is doing almost mechanical changes. If all ...
6 years, 10 months ago (2014-01-30 11:00:07 UTC) #4
fs
(Patch Set 3 looks like it would be "[SVG] SVGAnimatedPathSeg{,List} migration..." - rebase/upload gone awry?) ...
6 years, 10 months ago (2014-01-30 12:22:31 UTC) #5
kouhei (in TOK)
On 2014/01/30 12:22:31, fs wrote: > (Patch Set 3 looks like it would be "[SVG] ...
6 years, 10 months ago (2014-01-31 04:52:32 UTC) #6
kouhei (in TOK)
On 2014/01/30 12:22:31, fs wrote: > (Patch Set 3 looks like it would be "[SVG] ...
6 years, 10 months ago (2014-01-31 04:52:33 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kouhei@chromium.org/148173018/60001
6 years, 10 months ago (2014-01-31 04:55:51 UTC) #8
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-01-31 05:23:22 UTC) #9
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-01-31 05:23:47 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kouhei@chromium.org/148173018/80001
6 years, 10 months ago (2014-01-31 05:27:56 UTC) #11
commit-bot: I haz the power
Retried try job too often on win_blink_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_blink_rel&number=24881
6 years, 10 months ago (2014-01-31 07:59:24 UTC) #12
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-01-31 07:59:28 UTC) #13
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-01-31 07:59:30 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kouhei@chromium.org/148173018/80001
6 years, 10 months ago (2014-01-31 08:00:44 UTC) #15
commit-bot: I haz the power
Retried try job too often on win_blink_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_blink_rel&number=24931
6 years, 10 months ago (2014-01-31 11:04:14 UTC) #16
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-01-31 11:04:20 UTC) #17
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-01-31 11:04:22 UTC) #18
kouhei (in TOK)
The CQ bit was checked by kouhei@chromium.org
6 years, 10 months ago (2014-01-31 14:21:40 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kouhei@chromium.org/148173018/80001
6 years, 10 months ago (2014-01-31 14:21:52 UTC) #20
commit-bot: I haz the power
Change committed as 166227
6 years, 10 months ago (2014-01-31 18:05:30 UTC) #21
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-01-31 18:05:34 UTC) #22
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-01-31 18:05:37 UTC) #23
commit-bot: I haz the power
6 years, 10 months ago (2014-01-31 18:05:37 UTC) #24
Message was sent while issue was closed.
CQ bit was unchecked on CL. Ignoring.

Powered by Google App Engine
This is Rietveld 408576698