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

Issue 539383002: Handle semicolons at end of keySplines value (Closed)

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

Description

Handle semicolons at end of keySplines value Firefox has more lenient behavior than we have: https://bugzilla.mozilla.org/show_bug.cgi?id=705236 Discussion on the w3c list indicates we want said behavior: http://lists.w3.org/Archives/Public/www-svg/2014Sep/0016.html Adopting this behavior for a single trailing semicolon fixes the testcase and makes the parsing code a bit simpler. animate-keySplines.html tests this behavior. When using more than one semicolon at the end of keySplines ignore parsing of the value and report an error on the console. keySplines-parsing-error.html tests this behavior. BUG=410379 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=182272

Patch Set 1 #

Patch Set 2 : Add test and report parsing errors #

Total comments: 1

Patch Set 3 : Fix nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -32 lines) Patch
M LayoutTests/svg/animations/keypoints-mismatch-expected.txt View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/svg/animations/script-tests/animate-keySplines.js View 1 1 chunk +2 lines, -2 lines 0 comments Download
A + LayoutTests/svg/custom/keySplines-parsing-error.html View 1 1 chunk +1 line, -1 line 0 comments Download
A LayoutTests/svg/custom/keySplines-parsing-error-expected.txt View 1 1 chunk +11 lines, -0 lines 0 comments Download
A LayoutTests/svg/custom/script-tests/keySplines-parsing-error.js View 1 1 chunk +7 lines, -0 lines 0 comments Download
M Source/core/svg/SVGAnimationElement.cpp View 1 2 2 chunks +24 lines, -29 lines 0 comments Download

Messages

Total messages: 16 (2 generated)
rwlbuis
PTAL
6 years, 3 months ago (2014-09-04 23:50:21 UTC) #2
pdr.
On 2014/09/04 23:50:21, rwlbuis wrote: > PTAL More lenient parsing sounds good to me, as ...
6 years, 3 months ago (2014-09-05 02:59:27 UTC) #3
fs
On 2014/09/05 02:59:27, pdr wrote: > On 2014/09/04 23:50:21, rwlbuis wrote: > > PTAL > ...
6 years, 3 months ago (2014-09-05 08:59:03 UTC) #4
rwlbuis
On 2014/09/05 08:59:03, fs wrote: > On 2014/09/05 02:59:27, pdr wrote: > > On 2014/09/04 ...
6 years, 3 months ago (2014-09-05 15:10:31 UTC) #5
rwlbuis
On 2014/09/05 02:59:27, pdr wrote: > On 2014/09/04 23:50:21, rwlbuis wrote: > > PTAL > ...
6 years, 3 months ago (2014-09-05 15:12:49 UTC) #6
kouhei (in TOK)
On 2014/09/05 15:12:49, rwlbuis wrote: > On 2014/09/05 02:59:27, pdr wrote: > > On 2014/09/04 ...
6 years, 3 months ago (2014-09-05 16:48:09 UTC) #7
Erik Dahlström (inactive)
On 2014/09/05 16:48:09, kouhei wrote: > On 2014/09/05 15:12:49, rwlbuis wrote: > > On 2014/09/05 ...
6 years, 3 months ago (2014-09-08 07:32:19 UTC) #8
rwlbuis
On 2014/09/08 07:32:19, Erik Dahlström wrote: > On 2014/09/05 16:48:09, kouhei wrote: > > On ...
6 years, 3 months ago (2014-09-17 15:17:44 UTC) #9
Erik Dahlström (inactive)
On 2014/09/17 15:17:44, rwlbuis wrote: > On 2014/09/08 07:32:19, Erik Dahlström wrote: > > On ...
6 years, 3 months ago (2014-09-18 15:56:06 UTC) #10
rwlbuis
On 2014/09/18 15:56:06, Erik Dahlström wrote: > On 2014/09/17 15:17:44, rwlbuis wrote: > > On ...
6 years, 3 months ago (2014-09-18 18:34:11 UTC) #11
rwlbuis
@pdr PTAL
6 years, 3 months ago (2014-09-18 18:59:32 UTC) #12
pdr.
LGTM with a nit. Please add a link to the spec discussion in the change ...
6 years, 3 months ago (2014-09-18 19:19:05 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/539383002/40001
6 years, 3 months ago (2014-09-18 20:32:43 UTC) #15
commit-bot: I haz the power
6 years, 3 months ago (2014-09-18 21:39:18 UTC) #16
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as 182272

Powered by Google App Engine
This is Rietveld 408576698