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

Issue 303263008: [SVG2] Add support for the 'turn' unit in <angle>. (Closed)

Created:
6 years, 6 months ago by Erik Dahlström (inactive)
Modified:
6 years, 6 months ago
Reviewers:
tkent, pdr., krit, fs, Chris Evans
CC:
blink-reviews, ed+blinkwatch_opera.com, f(malita), gyuyoung.kim_webkit.org, Stephen Chennney, kouhei+svg_chromium.org, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : add reftest #

Total comments: 4

Patch Set 3 : review fixes #

Patch Set 4 : add unitType and const tests #

Patch Set 5 : compilefix :P #

Total comments: 7

Patch Set 6 : fix nits #

Patch Set 7 : hide the internals of SVGAngle #

Total comments: 9

Patch Set 8 : review fixes #

Total comments: 4

Patch Set 9 : fix nits #

Total comments: 4

Patch Set 10 : fixups for MathExtras #

Unified diffs Side-by-side diffs Delta from patch set Stats (+311 lines, -4 lines) Patch
A LayoutTests/fast/svg/svgangle.html View 1 2 3 4 5 6 1 chunk +188 lines, -0 lines 0 comments Download
A LayoutTests/svg/css/svg-angle-turn.svg View 1 1 chunk +32 lines, -0 lines 0 comments Download
A LayoutTests/svg/css/svg-angle-turn-expected.svg View 1 1 chunk +32 lines, -0 lines 0 comments Download
M Source/core/svg/SVGAngle.h View 1 chunk +2 lines, -1 line 0 comments Download
M Source/core/svg/SVGAngle.cpp View 1 2 3 4 5 6 8 chunks +39 lines, -1 line 0 comments Download
M Source/core/svg/SVGAngleTearOff.h View 1 2 3 4 5 6 7 2 chunks +4 lines, -2 lines 0 comments Download
M Source/core/svg/SVGAngleTearOff.cpp View 1 2 3 4 5 6 7 8 2 chunks +10 lines, -0 lines 0 comments Download
M Source/wtf/MathExtras.h View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 40 (0 generated)
fs
https://codereview.chromium.org/303263008/diff/20001/Source/core/svg/SVGAngle.h File Source/core/svg/SVGAngle.h (right): https://codereview.chromium.org/303263008/diff/20001/Source/core/svg/SVGAngle.h#newcode71 Source/core/svg/SVGAngle.h:71: SVG_ANGLETYPE_TURN = 5 Should this be exposed on the ...
6 years, 6 months ago (2014-06-02 12:49:38 UTC) #1
pdr.
https://codereview.chromium.org/303263008/diff/20001/Source/core/svg/SVGAngle.cpp File Source/core/svg/SVGAngle.cpp (right): https://codereview.chromium.org/303263008/diff/20001/Source/core/svg/SVGAngle.cpp#newcode288 Source/core/svg/SVGAngle.cpp:288: m_valueInSpecifiedUnits = deg2grad(turn2deg(m_valueInSpecifiedUnits)); Is this just m_valueInSpecifiedUnits * 400? ...
6 years, 6 months ago (2014-06-02 13:56:49 UTC) #2
Erik Dahlström (inactive)
https://codereview.chromium.org/303263008/diff/20001/Source/core/svg/SVGAngle.cpp File Source/core/svg/SVGAngle.cpp (right): https://codereview.chromium.org/303263008/diff/20001/Source/core/svg/SVGAngle.cpp#newcode288 Source/core/svg/SVGAngle.cpp:288: m_valueInSpecifiedUnits = deg2grad(turn2deg(m_valueInSpecifiedUnits)); On 2014/06/02 13:56:49, pdr wrote: > ...
6 years, 6 months ago (2014-06-03 15:30:27 UTC) #3
pdr.
On 2014/06/03 15:30:27, Erik Dahlström wrote: > https://codereview.chromium.org/303263008/diff/20001/Source/core/svg/SVGAngle.cpp > File Source/core/svg/SVGAngle.cpp (right): > > https://codereview.chromium.org/303263008/diff/20001/Source/core/svg/SVGAngle.cpp#newcode288 ...
6 years, 6 months ago (2014-06-03 15:39:56 UTC) #4
krit
On 2014/06/03 15:39:56, pdr wrote: > On 2014/06/03 15:30:27, Erik Dahlström wrote: > > > ...
6 years, 6 months ago (2014-06-03 15:49:43 UTC) #5
krit
On 2014/06/03 15:49:43, krit wrote: > On 2014/06/03 15:39:56, pdr wrote: > > On 2014/06/03 ...
6 years, 6 months ago (2014-06-03 15:49:59 UTC) #6
fs
https://codereview.chromium.org/303263008/diff/80001/LayoutTests/fast/svg/svgangle.html File LayoutTests/fast/svg/svgangle.html (right): https://codereview.chromium.org/303263008/diff/80001/LayoutTests/fast/svg/svgangle.html#newcode92 LayoutTests/fast/svg/svgangle.html:92: throw e; Nit: Looks having no try-catch block would ...
6 years, 6 months ago (2014-06-03 15:52:47 UTC) #7
fs
On 2014/06/03 15:49:59, krit wrote: > On 2014/06/03 15:49:43, krit wrote: > > On 2014/06/03 ...
6 years, 6 months ago (2014-06-03 15:53:54 UTC) #8
pdr.
On 2014/06/03 15:49:43, krit wrote: > no LGTM if the comment means you add it. ...
6 years, 6 months ago (2014-06-03 15:54:31 UTC) #9
Erik Dahlström (inactive)
On 2014/06/03 15:54:31, pdr wrote: > On 2014/06/03 15:49:43, krit wrote: > > no LGTM ...
6 years, 6 months ago (2014-06-04 09:09:18 UTC) #10
Erik Dahlström (inactive)
https://codereview.chromium.org/303263008/diff/80001/LayoutTests/fast/svg/svgangle.html File LayoutTests/fast/svg/svgangle.html (right): https://codereview.chromium.org/303263008/diff/80001/LayoutTests/fast/svg/svgangle.html#newcode104 LayoutTests/fast/svg/svgangle.html:104: catch(e) {} On 2014/06/03 15:52:48, fs wrote: > Nit: ...
6 years, 6 months ago (2014-06-04 09:28:21 UTC) #11
Erik Dahlström (inactive)
The CQ bit was checked by ed@opera.com
6 years, 6 months ago (2014-06-04 11:12:38 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ed@opera.com/303263008/100001
6 years, 6 months ago (2014-06-04 11:13:22 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-04 11:13:23 UTC) #14
commit-bot: I haz the power
A disapproval has been posted by following reviewers: dschulze@chromium.org. Please make sure to get positive ...
6 years, 6 months ago (2014-06-04 11:13:24 UTC) #15
fs
LGTM. I agree w/ pdr on the enum-issue. https://codereview.chromium.org/303263008/diff/80001/LayoutTests/fast/svg/svgangle.html File LayoutTests/fast/svg/svgangle.html (right): https://codereview.chromium.org/303263008/diff/80001/LayoutTests/fast/svg/svgangle.html#newcode104 LayoutTests/fast/svg/svgangle.html:104: catch(e) ...
6 years, 6 months ago (2014-06-04 11:21:15 UTC) #16
Erik Dahlström (inactive)
The CQ bit was checked by ed@opera.com
6 years, 6 months ago (2014-06-04 11:23:01 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ed@opera.com/303263008/100001
6 years, 6 months ago (2014-06-04 11:23:26 UTC) #18
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-04 11:23:28 UTC) #19
commit-bot: I haz the power
A disapproval has been posted by following reviewers: dschulze@chromium.org. Please make sure to get positive ...
6 years, 6 months ago (2014-06-04 11:23:29 UTC) #20
krit
On 2014/06/03 15:54:31, pdr wrote: > On 2014/06/03 15:49:43, krit wrote: > > no LGTM ...
6 years, 6 months ago (2014-06-04 11:54:13 UTC) #21
Erik Dahlström (inactive)
On 2014/06/04 11:54:13, krit wrote: > On 2014/06/03 15:54:31, pdr wrote: > > On 2014/06/03 ...
6 years, 6 months ago (2014-06-04 13:42:39 UTC) #22
Erik Dahlström (inactive)
On 2014/06/04 13:42:39, Erik Dahlström wrote: > On 2014/06/04 11:54:13, krit wrote: > > On ...
6 years, 6 months ago (2014-06-09 16:52:16 UTC) #23
fs
https://codereview.chromium.org/303263008/diff/120001/Source/core/svg/SVGAngleTearOff.cpp File Source/core/svg/SVGAngleTearOff.cpp (right): https://codereview.chromium.org/303263008/diff/120001/Source/core/svg/SVGAngleTearOff.cpp#newcode114 Source/core/svg/SVGAngleTearOff.cpp:114: exceptionState.throwDOMException(SyntaxError, "The value provided ('" + value + "') ...
6 years, 6 months ago (2014-06-10 11:13:30 UTC) #24
krit
https://codereview.chromium.org/303263008/diff/120001/Source/core/svg/SVGAngleTearOff.cpp File Source/core/svg/SVGAngleTearOff.cpp (right): https://codereview.chromium.org/303263008/diff/120001/Source/core/svg/SVGAngleTearOff.cpp#newcode114 Source/core/svg/SVGAngleTearOff.cpp:114: exceptionState.throwDOMException(SyntaxError, "The value provided ('" + value + "') ...
6 years, 6 months ago (2014-06-10 11:45:48 UTC) #25
Erik Dahlström (inactive)
https://codereview.chromium.org/303263008/diff/120001/Source/core/svg/SVGAngleTearOff.cpp File Source/core/svg/SVGAngleTearOff.cpp (right): https://codereview.chromium.org/303263008/diff/120001/Source/core/svg/SVGAngleTearOff.cpp#newcode114 Source/core/svg/SVGAngleTearOff.cpp:114: exceptionState.throwDOMException(SyntaxError, "The value provided ('" + value + "') ...
6 years, 6 months ago (2014-06-10 16:57:42 UTC) #26
fs
https://codereview.chromium.org/303263008/diff/120001/Source/core/svg/SVGAngleTearOff.h File Source/core/svg/SVGAngleTearOff.h (right): https://codereview.chromium.org/303263008/diff/120001/Source/core/svg/SVGAngleTearOff.h#newcode71 Source/core/svg/SVGAngleTearOff.h:71: bool isValidAngle() { return target()->unitType() <= SVGAngle::SVG_ANGLETYPE_GRAD; } On ...
6 years, 6 months ago (2014-06-11 07:29:08 UTC) #27
Erik Dahlström (inactive)
https://codereview.chromium.org/303263008/diff/140001/Source/core/svg/SVGAngleTearOff.cpp File Source/core/svg/SVGAngleTearOff.cpp (right): https://codereview.chromium.org/303263008/diff/140001/Source/core/svg/SVGAngleTearOff.cpp#newcode112 Source/core/svg/SVGAngleTearOff.cpp:112: String old = target()->valueAsString(); On 2014/06/11 07:29:07, fs wrote: ...
6 years, 6 months ago (2014-06-11 08:04:25 UTC) #28
Erik Dahlström (inactive)
6 years, 6 months ago (2014-06-11 08:04:28 UTC) #29
krit
On 2014/06/11 08:04:28, Erik Dahlström wrote: Lgtm from me
6 years, 6 months ago (2014-06-11 08:06:59 UTC) #30
Erik Dahlström (inactive)
The CQ bit was checked by ed@opera.com
6 years, 6 months ago (2014-06-11 08:09:19 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ed@opera.com/303263008/160001
6 years, 6 months ago (2014-06-11 08:09:51 UTC) #32
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: blink_presubmit on tryserver.blink ...
6 years, 6 months ago (2014-06-11 09:19:55 UTC) #33
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-11 09:23:29 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: blink_presubmit on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/blink_presubmit/builds/7437)
6 years, 6 months ago (2014-06-11 09:23:30 UTC) #35
Erik Dahlström (inactive)
On 2014/06/11 09:23:30, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
6 years, 6 months ago (2014-06-11 10:31:45 UTC) #36
tkent
lgtm https://codereview.chromium.org/303263008/diff/160001/Source/wtf/MathExtras.h File Source/wtf/MathExtras.h (right): https://codereview.chromium.org/303263008/diff/160001/Source/wtf/MathExtras.h#newcode211 Source/wtf/MathExtras.h:211: inline double turn2grad(double t) { return t * ...
6 years, 6 months ago (2014-06-12 00:18:26 UTC) #37
Erik Dahlström (inactive)
The CQ bit was checked by ed@opera.com
6 years, 6 months ago (2014-06-12 08:37:45 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ed@opera.com/303263008/180001
6 years, 6 months ago (2014-06-12 08:38:45 UTC) #39
commit-bot: I haz the power
6 years, 6 months ago (2014-06-12 09:47:38 UTC) #40
Message was sent while issue was closed.
Change committed as 176014

Powered by Google App Engine
This is Rietveld 408576698