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

Issue 2525233002: Move pathLength attribute from SVGPathElement to SVGGeometryElement. (Closed)

Created:
4 years ago by Shanmuga Pandi
Modified:
4 years ago
Reviewers:
fs, timvolodine, foolip
CC:
fs, android-webview-reviews_chromium.org, asvitkine+watch_chromium.org, blink-reviews, blink-reviews-w3ctests_chromium.org, chromium-reviews, krit, f(malita), gyuyoung2, kouhei+svg_chromium.org, pdr+svgwatchlist_chromium.org, rwlbuis, Stephen Chennney, tfarina
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move pathLength attribute from SVGPathElement to SVGGeometryElement. spec: https://svgwg.org/svg2-draft/types.html#InterfaceSVGGeometryElement BUG=596043 Committed: https://crrev.com/6fd1cbb3c5a636ee3830729e4b26ca1d5d78c8d6 Cr-Commit-Position: refs/heads/master@{#435194}

Patch Set 1 #

Total comments: 12

Patch Set 2 : Align with review comments #

Total comments: 6

Patch Set 3 : Added new testcase and align with other comments #

Total comments: 4

Patch Set 4 : Align with review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -60 lines) Patch
M android_webview/tools/system_webview_shell/test/data/webexposed/global-interface-listing-expected.txt View 2 chunks +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/imported/wpt/svg/historical-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/imported/wpt/svg/interfaces-expected.txt View 7 chunks +7 lines, -7 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/virtual/stable/webexposed/global-interface-listing-expected.txt View 1 2 chunks +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/platform/win/virtual/stable/webexposed/global-interface-listing-expected.txt View 1 2 chunks +1 line, -1 line 0 comments Download
A third_party/WebKit/LayoutTests/svg/stroke/pathlength-with-geometry-element.html View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/svg/stroke/pathlength-with-geometry-element-expected.html View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/virtual/stable/webexposed/global-interface-listing-expected.txt View 1 2 chunks +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt View 1 2 chunks +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/frame/UseCounter.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.cpp View 1 2 1 chunk +2 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGGeometryElement.h View 1 2 3 chunks +8 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGGeometryElement.cpp View 1 2 3 2 chunks +49 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/svg/SVGGeometryElement.idl View 1 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGPathElement.h View 1 2 3 chunks +1 line, -4 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGPathElement.cpp View 1 2 2 chunks +2 lines, -36 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGPathElement.idl View 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 34 (16 generated)
Shanmuga Pandi
PTAL!!! Thanks
4 years ago (2016-11-24 09:30:53 UTC) #6
foolip
lgtm % nits, but please wait for fs@ as I don't really know SVG :) ...
4 years ago (2016-11-24 09:56:09 UTC) #7
fs
https://codereview.chromium.org/2525233002/diff/1/third_party/WebKit/Source/core/svg/SVGGeometryElement.h File third_party/WebKit/Source/core/svg/SVGGeometryElement.h (right): https://codereview.chromium.org/2525233002/diff/1/third_party/WebKit/Source/core/svg/SVGGeometryElement.h#newcode52 third_party/WebKit/Source/core/svg/SVGGeometryElement.h:52: SVGAnimatedNumber* pathLength() const { return m_pathLength.get(); } I think ...
4 years ago (2016-11-24 11:58:00 UTC) #8
Shanmuga Pandi
PTAL!! https://codereview.chromium.org/2525233002/diff/1/third_party/WebKit/Source/core/frame/UseCounter.h File third_party/WebKit/Source/core/frame/UseCounter.h (right): https://codereview.chromium.org/2525233002/diff/1/third_party/WebKit/Source/core/frame/UseCounter.h#newcode1394 third_party/WebKit/Source/core/frame/UseCounter.h:1394: V8SVGGeometryElement_PathLength_AttributeGetter = 1692, On 2016/11/24 09:56:09, foolip wrote: ...
4 years ago (2016-11-28 10:14:47 UTC) #9
fs
Could you add a (simple) test for pathLength applying to a non-<path> element (<rect> ought ...
4 years ago (2016-11-28 10:29:42 UTC) #10
Shanmuga Pandi
PTAL!! Thanks https://codereview.chromium.org/2525233002/diff/20001/third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.cpp File third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.cpp (right): https://codereview.chromium.org/2525233002/diff/20001/third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.cpp#newcode82 third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.cpp:82: if (!element()->isSVGGeometryElement() || On 2016/11/28 10:29:42, fs ...
4 years ago (2016-11-28 12:24:14 UTC) #11
fs
lgtm https://codereview.chromium.org/2525233002/diff/40001/third_party/WebKit/LayoutTests/svg/stroke/pathlength-with-geometry-element.html File third_party/WebKit/LayoutTests/svg/stroke/pathlength-with-geometry-element.html (right): https://codereview.chromium.org/2525233002/diff/40001/third_party/WebKit/LayoutTests/svg/stroke/pathlength-with-geometry-element.html#newcode3 third_party/WebKit/LayoutTests/svg/stroke/pathlength-with-geometry-element.html:3: <rect width="50" height="50" pathLength="4" style="fill:rgb(0,0,255);" stroke-dashoffset="1" stroke-dasharray="1 1" ...
4 years ago (2016-11-28 12:42:47 UTC) #12
Shanmuga Pandi
https://codereview.chromium.org/2525233002/diff/40001/third_party/WebKit/LayoutTests/svg/stroke/pathlength-with-geometry-element.html File third_party/WebKit/LayoutTests/svg/stroke/pathlength-with-geometry-element.html (right): https://codereview.chromium.org/2525233002/diff/40001/third_party/WebKit/LayoutTests/svg/stroke/pathlength-with-geometry-element.html#newcode3 third_party/WebKit/LayoutTests/svg/stroke/pathlength-with-geometry-element.html:3: <rect width="50" height="50" pathLength="4" style="fill:rgb(0,0,255);" stroke-dashoffset="1" stroke-dasharray="1 1" stroke="black" ...
4 years ago (2016-11-28 14:16:13 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2525233002/60001
4 years ago (2016-11-29 04:50:35 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/314229)
4 years ago (2016-11-29 04:57:21 UTC) #22
Shanmuga Pandi
timvolodine@chromium.org: Please review changes in android_webview
4 years ago (2016-11-29 05:01:20 UTC) #24
foolip
https://codereview.chromium.org/2525233002/diff/1/third_party/WebKit/Source/core/svg/SVGPathElement.idl File third_party/WebKit/Source/core/svg/SVGPathElement.idl (right): https://codereview.chromium.org/2525233002/diff/1/third_party/WebKit/Source/core/svg/SVGPathElement.idl#newcode30 third_party/WebKit/Source/core/svg/SVGPathElement.idl:30: unsigned long getPathSegAtLength(float distance); On 2016/11/24 11:57:59, fs wrote: ...
4 years ago (2016-11-29 13:14:26 UTC) #25
fs
https://codereview.chromium.org/2525233002/diff/1/third_party/WebKit/Source/core/svg/SVGPathElement.idl File third_party/WebKit/Source/core/svg/SVGPathElement.idl (right): https://codereview.chromium.org/2525233002/diff/1/third_party/WebKit/Source/core/svg/SVGPathElement.idl#newcode30 third_party/WebKit/Source/core/svg/SVGPathElement.idl:30: unsigned long getPathSegAtLength(float distance); On 2016/11/29 at 13:14:26, foolip ...
4 years ago (2016-11-29 13:26:09 UTC) #26
timvolodine
On 2016/11/29 05:01:20, Shanmuga Pandi wrote: > mailto:timvolodine@chromium.org: Please review changes in android_webview android_webview/.. -- ...
4 years ago (2016-11-29 15:31:49 UTC) #27
foolip
On 2016/11/29 13:26:09, fs wrote: > https://codereview.chromium.org/2525233002/diff/1/third_party/WebKit/Source/core/svg/SVGPathElement.idl > File third_party/WebKit/Source/core/svg/SVGPathElement.idl (right): > > https://codereview.chromium.org/2525233002/diff/1/third_party/WebKit/Source/core/svg/SVGPathElement.idl#newcode30 > ...
4 years ago (2016-11-29 15:33:41 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2525233002/60001
4 years ago (2016-11-30 05:21:27 UTC) #30
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years ago (2016-11-30 09:12:07 UTC) #32
commit-bot: I haz the power
4 years ago (2016-11-30 09:16:07 UTC) #34
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/6fd1cbb3c5a636ee3830729e4b26ca1d5d78c8d6
Cr-Commit-Position: refs/heads/master@{#435194}

Powered by Google App Engine
This is Rietveld 408576698