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

Issue 1162453002: [svg2] Make SVGLength wrap a CSSPrimitiveValue (Closed)

Created:
5 years, 6 months ago by Erik Dahlström
Modified:
5 years, 1 month ago
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-animation_chromium.org, blink-reviews-css, blink-reviews-style_chromium.org, dglazkov+blink, krit, Eric Willigers, f(malita), gyuyoung2, kouhei+svg_chromium.org, pdr+svgwatchlist_chromium.org, rjwright, rwlbuis, Stephen Chennney, shans
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

[svg2] Make SVGLength wrap a CSSPrimitiveValue. BUG=467464

Patch Set 1 #

Patch Set 2 : tweak TE #

Total comments: 11

Patch Set 3 : review fixes #

Total comments: 6

Patch Set 4 : nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+212 lines, -368 lines) Patch
M LayoutTests/TestExpectations View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/svg/custom/svg-parse-overflow-1-expected.txt View 1 chunk +0 lines, -1 line 0 comments Download
M LayoutTests/svg/custom/svg-parse-overflow-2-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/svg/custom/svg-parse-overflow-3-expected.txt View 1 chunk +0 lines, -1 line 0 comments Download
M LayoutTests/svg/custom/svg-parse-overflow-4-expected.txt View 1 chunk +0 lines, -1 line 0 comments Download
M LayoutTests/svg/custom/svg-parse-overflow-5-expected.txt View 1 chunk +0 lines, -1 line 0 comments Download
M LayoutTests/svg/dom/SVGLength-expected.txt View 1 chunk +4 lines, -4 lines 0 comments Download
M LayoutTests/svg/dom/length-list-parser-expected.txt View Binary file 0 comments Download
M LayoutTests/svg/dom/script-tests/SVGLength.js View 1 chunk +6 lines, -4 lines 0 comments Download
M Source/core/animation/LengthSVGInterpolation.cpp View 1 2 5 chunks +21 lines, -22 lines 0 comments Download
M Source/core/css/CSSPrimitiveValue.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/css/parser/CSSParserFastPaths.cpp View 1 chunk +6 lines, -4 lines 0 comments Download
M Source/core/css/resolver/StyleBuilderConverter.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/svg/SVGAnimatedLength.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGLength.h View 1 2 3 4 chunks +24 lines, -24 lines 0 comments Download
M Source/core/svg/SVGLength.cpp View 1 2 6 chunks +57 lines, -256 lines 0 comments Download
M Source/core/svg/SVGLengthContext.h View 2 chunks +3 lines, -2 lines 0 comments Download
M Source/core/svg/SVGLengthContext.cpp View 3 chunks +30 lines, -29 lines 0 comments Download
M Source/core/svg/SVGLengthList.cpp View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/svg/SVGLengthTearOff.h View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M Source/core/svg/SVGLengthTearOff.cpp View 1 2 3 4 chunks +43 lines, -9 lines 0 comments Download
M Source/core/svg/SVGSVGElement.cpp View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M Source/core/svg/SVGTextContentElement.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 20 (4 generated)
Erik Dahlström
The remaining test failures seem to overlap with http://crbug.com/463358, so opening this for review. The ...
5 years, 6 months ago (2015-05-28 15:19:56 UTC) #2
pdr.
I think this is clever, clean, and a nice perf win too. +cc timloh, WDYT ...
5 years, 6 months ago (2015-05-28 21:28:19 UTC) #4
fs
https://codereview.chromium.org/1162453002/diff/20001/Source/core/svg/SVGLength.cpp File Source/core/svg/SVGLength.cpp (right): https://codereview.chromium.org/1162453002/diff/20001/Source/core/svg/SVGLength.cpp#newcode42 Source/core/svg/SVGLength.cpp:42: , m_value(CSSPrimitiveValue::create(0, CSSPrimitiveValue::CSS_NUMBER)) I wonder if we could have ...
5 years, 6 months ago (2015-05-29 08:09:42 UTC) #5
fs
https://codereview.chromium.org/1162453002/diff/20001/Source/core/svg/SVGLength.h File Source/core/svg/SVGLength.h (right): https://codereview.chromium.org/1162453002/diff/20001/Source/core/svg/SVGLength.h#newcode154 Source/core/svg/SVGLength.h:154: RefPtrWillBeMember<CSSPrimitiveValue> m_value; On 2015/05/29 08:09:42, fs wrote: > On ...
5 years, 6 months ago (2015-05-29 13:49:07 UTC) #6
Erik Dahlström
https://codereview.chromium.org/1162453002/diff/20001/Source/core/svg/SVGLength.h File Source/core/svg/SVGLength.h (right): https://codereview.chromium.org/1162453002/diff/20001/Source/core/svg/SVGLength.h#newcode53 Source/core/svg/SVGLength.h:53: CSSPrimitiveValue* getCSSPrimitiveValue() { return m_value.get(); } On 2015/05/28 21:28:19, ...
5 years, 6 months ago (2015-06-02 11:57:45 UTC) #7
pdr.
LGTM Could you please wait before committing for Fredrik's comments?
5 years, 6 months ago (2015-06-02 17:06:40 UTC) #8
fs
LGTM w/ small, almost nitish, issue. I'm going to start an Oilpan trybot for PS3 ...
5 years, 6 months ago (2015-06-02 18:20:09 UTC) #9
Timothy Loh
https://codereview.chromium.org/1162453002/diff/40001/Source/core/css/CSSPrimitiveValue.cpp File Source/core/css/CSSPrimitiveValue.cpp (right): https://codereview.chromium.org/1162453002/diff/40001/Source/core/css/CSSPrimitiveValue.cpp#newcode702 Source/core/css/CSSPrimitiveValue.cpp:702: if (isNumber()) Is this something that needs to be ...
5 years, 6 months ago (2015-06-03 01:31:08 UTC) #10
Erik Dahlström
https://codereview.chromium.org/1162453002/diff/40001/Source/core/css/CSSPrimitiveValue.cpp File Source/core/css/CSSPrimitiveValue.cpp (right): https://codereview.chromium.org/1162453002/diff/40001/Source/core/css/CSSPrimitiveValue.cpp#newcode702 Source/core/css/CSSPrimitiveValue.cpp:702: if (isNumber()) On 2015/06/03 01:31:08, Timothy Loh wrote: > ...
5 years, 6 months ago (2015-06-03 14:51:30 UTC) #11
fs
https://codereview.chromium.org/1162453002/diff/40001/Source/core/svg/SVGLengthTearOff.cpp File Source/core/svg/SVGLengthTearOff.cpp (right): https://codereview.chromium.org/1162453002/diff/40001/Source/core/svg/SVGLengthTearOff.cpp#newcode171 Source/core/svg/SVGLengthTearOff.cpp:171: if (unitType == CSSPrimitiveValue::CSS_UNKNOWN || unitType > CSSPrimitiveValue::CSS_PC) { ...
5 years, 6 months ago (2015-06-03 15:15:10 UTC) #12
Timothy Loh
https://codereview.chromium.org/1162453002/diff/40001/Source/core/css/CSSPrimitiveValue.cpp File Source/core/css/CSSPrimitiveValue.cpp (right): https://codereview.chromium.org/1162453002/diff/40001/Source/core/css/CSSPrimitiveValue.cpp#newcode702 Source/core/css/CSSPrimitiveValue.cpp:702: if (isNumber()) On 2015/06/03 14:51:30, Erik Dahlström wrote: > ...
5 years, 6 months ago (2015-06-04 02:10:16 UTC) #13
Erik Dahlström
On 2015/06/04 02:10:16, Timothy Loh wrote: > https://codereview.chromium.org/1162453002/diff/40001/Source/core/css/CSSPrimitiveValue.cpp > File Source/core/css/CSSPrimitiveValue.cpp (right): > > https://codereview.chromium.org/1162453002/diff/40001/Source/core/css/CSSPrimitiveValue.cpp#newcode702 ...
5 years, 6 months ago (2015-06-04 12:00:31 UTC) #14
fs
On 2015/06/04 12:00:31, Erik Dahlström wrote: > On 2015/06/04 02:10:16, Timothy Loh wrote: > > ...
5 years, 5 months ago (2015-07-06 11:44:48 UTC) #15
Stephen Chennney
Looks like this got dropped, close to landing, when Erik left us. I'll look into ...
5 years, 2 months ago (2015-10-22 16:11:33 UTC) #17
fs
On 2015/10/22 at 16:11:33, schenney wrote: > Looks like this got dropped, close to landing, ...
5 years, 2 months ago (2015-10-22 16:22:47 UTC) #18
Stephen Chennney
5 years, 1 month ago (2015-10-23 19:16:25 UTC) #19

Powered by Google App Engine
This is Rietveld 408576698