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

Issue 1699893003: setOrientTo{Auto|Angle} should reflect on orient attribute (Closed)

Created:
4 years, 10 months ago by Shanmuga Pandi
Modified:
4 years, 10 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

setOrientTo{Auto|Angle} should reflect on orient attribute Earlier, setOrientTo{Auto|Angle} modifies only the SVGAngle value and units, but not changing orient attribute value. As per the spec, it should set the value on orient attribute. https://www.w3.org/TR/svg-markers/#__svg__SVGMarkerElement__setOrientToAuto BUG=586330 Committed: https://crrev.com/cffddfc0131ffda1f890dc244e4624abf5e742ce Cr-Commit-Position: refs/heads/master@{#376718}

Patch Set 1 #

Total comments: 18

Patch Set 2 : Added setAttribute #

Patch Set 3 : fixed nits #

Total comments: 4

Patch Set 4 : Align with review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -6 lines) Patch
A third_party/WebKit/LayoutTests/svg/markers/marker-orientation-set.html View 1 2 3 1 chunk +19 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGMarkerElement.cpp View 1 1 chunk +2 lines, -6 lines 0 comments Download

Messages

Total messages: 25 (8 generated)
Shanmuga Pandi
PTAL!!
4 years, 10 months ago (2016-02-17 06:34:22 UTC) #4
rwlbuis
https://codereview.chromium.org/1699893003/diff/1/third_party/WebKit/Source/core/svg/SVGMarkerElement.cpp File third_party/WebKit/Source/core/svg/SVGMarkerElement.cpp (right): https://codereview.chromium.org/1699893003/diff/1/third_party/WebKit/Source/core/svg/SVGMarkerElement.cpp#newcode120 third_party/WebKit/Source/core/svg/SVGMarkerElement.cpp:120: orientAttribute->setValue("auto"); Have you considered using setAttribute?
4 years, 10 months ago (2016-02-17 22:38:02 UTC) #5
Shanmuga Pandi
On 2016/02/17 22:38:02, rwlbuis wrote: > https://codereview.chromium.org/1699893003/diff/1/third_party/WebKit/Source/core/svg/SVGMarkerElement.cpp > File third_party/WebKit/Source/core/svg/SVGMarkerElement.cpp (right): > > https://codereview.chromium.org/1699893003/diff/1/third_party/WebKit/Source/core/svg/SVGMarkerElement.cpp#newcode120 > ...
4 years, 10 months ago (2016-02-18 05:17:45 UTC) #6
rwlbuis
On 2016/02/18 05:17:45, Shanmuga Pandi wrote: > On 2016/02/17 22:38:02, rwlbuis wrote: > > > ...
4 years, 10 months ago (2016-02-18 16:47:12 UTC) #7
rwlbuis
On 2016/02/18 16:47:12, rwlbuis wrote: > On 2016/02/18 05:17:45, Shanmuga Pandi wrote: > > On ...
4 years, 10 months ago (2016-02-18 16:47:56 UTC) #8
Shanmuga Pandi
+ Reviewers PTAL!!
4 years, 10 months ago (2016-02-19 05:03:49 UTC) #11
fs
https://codereview.chromium.org/1699893003/diff/1/third_party/WebKit/LayoutTests/svg/markers/marker-orientation-set.html File third_party/WebKit/LayoutTests/svg/markers/marker-orientation-set.html (right): https://codereview.chromium.org/1699893003/diff/1/third_party/WebKit/LayoutTests/svg/markers/marker-orientation-set.html#newcode4 third_party/WebKit/LayoutTests/svg/markers/marker-orientation-set.html:4: <svg width="1" height="1" visibility="hidden"> Specifying 'visibility' here is pretty ...
4 years, 10 months ago (2016-02-19 10:33:13 UTC) #12
Shanmuga Pandi
https://codereview.chromium.org/1699893003/diff/1/third_party/WebKit/Source/core/svg/SVGMarkerElement.cpp File third_party/WebKit/Source/core/svg/SVGMarkerElement.cpp (right): https://codereview.chromium.org/1699893003/diff/1/third_party/WebKit/Source/core/svg/SVGMarkerElement.cpp#newcode119 third_party/WebKit/Source/core/svg/SVGMarkerElement.cpp:119: if (Attribute* orientAttribute = ensureUniqueElementData().attributes().find(SVGNames::orientAttr)) On 2016/02/19 10:33:13, fs ...
4 years, 10 months ago (2016-02-19 11:30:30 UTC) #13
fs
https://codereview.chromium.org/1699893003/diff/1/third_party/WebKit/Source/core/svg/SVGMarkerElement.cpp File third_party/WebKit/Source/core/svg/SVGMarkerElement.cpp (right): https://codereview.chromium.org/1699893003/diff/1/third_party/WebKit/Source/core/svg/SVGMarkerElement.cpp#newcode119 third_party/WebKit/Source/core/svg/SVGMarkerElement.cpp:119: if (Attribute* orientAttribute = ensureUniqueElementData().attributes().find(SVGNames::orientAttr)) On 2016/02/19 at 11:30:29, ...
4 years, 10 months ago (2016-02-19 12:38:35 UTC) #14
Shanmuga Pandi
https://codereview.chromium.org/1699893003/diff/1/third_party/WebKit/Source/core/svg/SVGMarkerElement.cpp File third_party/WebKit/Source/core/svg/SVGMarkerElement.cpp (right): https://codereview.chromium.org/1699893003/diff/1/third_party/WebKit/Source/core/svg/SVGMarkerElement.cpp#newcode119 third_party/WebKit/Source/core/svg/SVGMarkerElement.cpp:119: if (Attribute* orientAttribute = ensureUniqueElementData().attributes().find(SVGNames::orientAttr)) On 2016/02/19 12:38:35, fs ...
4 years, 10 months ago (2016-02-19 14:46:44 UTC) #15
Shanmuga Pandi
PTAL! https://codereview.chromium.org/1699893003/diff/1/third_party/WebKit/LayoutTests/svg/markers/marker-orientation-set.html File third_party/WebKit/LayoutTests/svg/markers/marker-orientation-set.html (right): https://codereview.chromium.org/1699893003/diff/1/third_party/WebKit/LayoutTests/svg/markers/marker-orientation-set.html#newcode4 third_party/WebKit/LayoutTests/svg/markers/marker-orientation-set.html:4: <svg width="1" height="1" visibility="hidden"> On 2016/02/19 10:33:13, fs ...
4 years, 10 months ago (2016-02-22 06:45:07 UTC) #16
fs
https://codereview.chromium.org/1699893003/diff/40001/third_party/WebKit/LayoutTests/svg/markers/marker-orientation-set.html File third_party/WebKit/LayoutTests/svg/markers/marker-orientation-set.html (right): https://codereview.chromium.org/1699893003/diff/40001/third_party/WebKit/LayoutTests/svg/markers/marker-orientation-set.html#newcode12 third_party/WebKit/LayoutTests/svg/markers/marker-orientation-set.html:12: }, "Tests with setOrientToAngle"); Maybe more descriptive as "getAttribute('orient') ...
4 years, 10 months ago (2016-02-22 11:43:31 UTC) #17
Shanmuga Pandi
https://codereview.chromium.org/1699893003/diff/40001/third_party/WebKit/LayoutTests/svg/markers/marker-orientation-set.html File third_party/WebKit/LayoutTests/svg/markers/marker-orientation-set.html (right): https://codereview.chromium.org/1699893003/diff/40001/third_party/WebKit/LayoutTests/svg/markers/marker-orientation-set.html#newcode12 third_party/WebKit/LayoutTests/svg/markers/marker-orientation-set.html:12: }, "Tests with setOrientToAngle"); On 2016/02/22 11:43:31, fs wrote: ...
4 years, 10 months ago (2016-02-22 11:50:09 UTC) #18
fs
lgtm
4 years, 10 months ago (2016-02-22 12:10:34 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1699893003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1699893003/60001
4 years, 10 months ago (2016-02-22 12:33:26 UTC) #21
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 10 months ago (2016-02-22 13:36:14 UTC) #23
commit-bot: I haz the power
4 years, 10 months ago (2016-02-22 13:37:32 UTC) #25
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/cffddfc0131ffda1f890dc244e4624abf5e742ce
Cr-Commit-Position: refs/heads/master@{#376718}

Powered by Google App Engine
This is Rietveld 408576698