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

Issue 302643004: [SVG2] Allow leading and trailing whitespace in svg attributes (Closed)

Created:
6 years, 6 months ago by Erik Dahlström (inactive)
Modified:
6 years, 6 months ago
Reviewers:
pdr., Stephen Chennney, fs
CC:
blink-reviews, Eric Willigers, Steve Block, krit, rjwright, Mike Lawther (Google), blink-reviews-animation_chromium.org, fs, Timothy Loh, dstockwell, ed+blinkwatch_opera.com, shans, f(malita), gyuyoung.kim_webkit.org, darktears, Stephen Chennney, kouhei+svg_chromium.org, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/blink.git@relax_todouble_wtf
Visibility:
Public.

Description

[SVG2] Allow leading and trailing whitespace in svg attributes using <integer>, <angle>, <number>, <length> and <percentage>. BUG=377503, 339899 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175574 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175785

Patch Set 1 #

Patch Set 2 : fixups #

Patch Set 3 : bugfixes #

Patch Set 4 : review fixes #

Total comments: 8

Patch Set 5 : review fixes #

Patch Set 6 : angle parser fixes #

Patch Set 7 : remove turn unit for now #

Patch Set 8 : rebase + win compilefixes #

Patch Set 9 : split tests to combat slow xp trybots #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23653 lines, -118 lines) Patch
A LayoutTests/fast/svg/resources/whitespace-helper.js View 1 2 3 4 5 6 7 8 1 chunk +92 lines, -0 lines 0 comments Download
A LayoutTests/fast/svg/whitespace-angle.html View 1 2 3 4 5 6 7 8 1 chunk +34 lines, -0 lines 0 comments Download
A LayoutTests/fast/svg/whitespace-angle-expected.txt View 1 2 3 4 5 6 7 8 1 chunk +5040 lines, -0 lines 0 comments Download
A LayoutTests/fast/svg/whitespace-integer.html View 1 2 3 4 5 6 7 8 1 chunk +38 lines, -0 lines 0 comments Download
A LayoutTests/fast/svg/whitespace-integer-expected.txt View 1 2 3 4 5 6 7 8 1 chunk +1539 lines, -0 lines 0 comments Download
A LayoutTests/fast/svg/whitespace-length.html View 1 2 3 4 5 6 7 8 1 chunk +38 lines, -0 lines 0 comments Download
A LayoutTests/fast/svg/whitespace-length-expected.txt View 1 2 3 4 5 6 7 8 1 chunk +2628 lines, -0 lines 0 comments Download
A LayoutTests/fast/svg/whitespace-length-invalid.html View 1 2 3 4 5 6 7 8 1 chunk +38 lines, -0 lines 0 comments Download
A LayoutTests/fast/svg/whitespace-length-invalid-expected.txt View 1 2 3 4 5 6 7 8 1 chunk +9603 lines, -0 lines 0 comments Download
A LayoutTests/fast/svg/whitespace-number.html View 1 2 3 4 5 6 7 8 1 chunk +49 lines, -0 lines 0 comments Download
A LayoutTests/fast/svg/whitespace-number-expected.txt View 1 2 3 4 5 6 7 8 1 chunk +4410 lines, -0 lines 0 comments Download
M LayoutTests/svg/animations/script-tests/svglength-animation-invalid-value-2.js View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/svg/animations/script-tests/svglength-animation-invalid-value-3.js View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/svg/custom/invalid-length-units-expected.txt View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -4 lines 0 comments Download
M LayoutTests/svg/custom/script-tests/invalid-length-units.js View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -2 lines 0 comments Download
D LayoutTests/svg/hixie/error/015.xml View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -7 lines 0 comments Download
M Source/core/svg/SVGAngle.cpp View 1 2 3 4 5 6 7 8 2 chunks +21 lines, -29 lines 0 comments Download
M Source/core/svg/SVGAnimationElement.cpp View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGInteger.cpp View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/svg/SVGLength.cpp View 1 2 3 4 5 6 7 8 2 chunks +36 lines, -27 lines 0 comments Download
M Source/core/svg/SVGLengthList.cpp View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGNumber.cpp View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -14 lines 0 comments Download
M Source/core/svg/SVGParserUtilities.h View 1 2 3 4 5 6 7 8 4 chunks +13 lines, -12 lines 0 comments Download
M Source/core/svg/SVGParserUtilities.cpp View 1 2 3 4 5 6 7 8 9 chunks +51 lines, -10 lines 0 comments Download
M Source/core/svg/SVGPoint.cpp View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGPointList.cpp View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGRect.cpp View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGStringList.cpp View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGTransformList.cpp View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGViewSpec.cpp View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 18 (0 generated)
Erik Dahlström (inactive)
I'm not sure if we want to keep this behind a runtime flag, but I ...
6 years, 6 months ago (2014-05-28 17:01:45 UTC) #1
pdr.
On 2014/05/28 17:01:45, Erik Dahlström wrote: > I'm not sure if we want to keep ...
6 years, 6 months ago (2014-05-28 19:55:28 UTC) #2
Erik Dahlström (inactive)
On 2014/05/28 19:55:28, pdr wrote: > On 2014/05/28 17:01:45, Erik Dahlström wrote: > > I'm ...
6 years, 6 months ago (2014-06-02 08:15:14 UTC) #3
pdr.
I like where this is heading. Mostly just nits below. https://codereview.chromium.org/302643004/diff/40001/Source/core/svg/SVGAngle.cpp File Source/core/svg/SVGAngle.cpp (right): https://codereview.chromium.org/302643004/diff/40001/Source/core/svg/SVGAngle.cpp#newcode175 ...
6 years, 6 months ago (2014-06-02 14:35:19 UTC) #4
fs
https://codereview.chromium.org/302643004/diff/40001/Source/core/svg/SVGLength.cpp File Source/core/svg/SVGLength.cpp (right): https://codereview.chromium.org/302643004/diff/40001/Source/core/svg/SVGLength.cpp#newcode79 Source/core/svg/SVGLength.cpp:79: return firstChar == '%' ? LengthTypePercentage : (isSVGSpace(firstChar) ? ...
6 years, 6 months ago (2014-06-03 14:35:36 UTC) #5
Erik Dahlström (inactive)
https://codereview.chromium.org/302643004/diff/40001/Source/core/svg/SVGAngle.cpp File Source/core/svg/SVGAngle.cpp (right): https://codereview.chromium.org/302643004/diff/40001/Source/core/svg/SVGAngle.cpp#newcode175 Source/core/svg/SVGAngle.cpp:175: // If the unit contains three characters, but is ...
6 years, 6 months ago (2014-06-04 16:25:43 UTC) #6
pdr.
On 2014/06/04 16:25:43, Erik Dahlström wrote: > https://codereview.chromium.org/302643004/diff/40001/Source/core/svg/SVGAngle.cpp > File Source/core/svg/SVGAngle.cpp (right): > > https://codereview.chromium.org/302643004/diff/40001/Source/core/svg/SVGAngle.cpp#newcode175 ...
6 years, 6 months ago (2014-06-05 04:46:51 UTC) #7
Erik Dahlström (inactive)
The CQ bit was checked by ed@opera.com
6 years, 6 months ago (2014-06-05 07:53:01 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ed@opera.com/302643004/70001
6 years, 6 months ago (2014-06-05 07:53:31 UTC) #9
Erik Dahlström (inactive)
The CQ bit was unchecked by ed@opera.com
6 years, 6 months ago (2014-06-05 09:17:13 UTC) #10
Erik Dahlström (inactive)
The CQ bit was checked by ed@opera.com
6 years, 6 months ago (2014-06-05 12:39:48 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ed@opera.com/302643004/80001
6 years, 6 months ago (2014-06-05 12:40:14 UTC) #12
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: mac_blink_rel on tryserver.blink ...
6 years, 6 months ago (2014-06-05 13:49:40 UTC) #13
commit-bot: I haz the power
Change committed as 175574
6 years, 6 months ago (2014-06-05 14:36:43 UTC) #14
Erik Dahlström (inactive)
The CQ bit was checked by ed@opera.com
6 years, 6 months ago (2014-06-09 08:35:42 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ed@opera.com/302643004/90001
6 years, 6 months ago (2014-06-09 08:36:01 UTC) #16
Erik Dahlström (inactive)
Split test, attempt to reland after revert - https://codereview.chromium.org/319883002
6 years, 6 months ago (2014-06-09 08:37:01 UTC) #17
commit-bot: I haz the power
6 years, 6 months ago (2014-06-09 09:39:06 UTC) #18
Message was sent while issue was closed.
Change committed as 175785

Powered by Google App Engine
This is Rietveld 408576698