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

Issue 62943002: Implement SVGGeometryElement (Closed)

Created:
7 years, 1 month ago by rwlbuis
Modified:
7 years, 1 month ago
Reviewers:
pdr., krit
CC:
blink-reviews, arv+blink, bemjb+rendering_chromium.org, zoltan1, eae+blinkwatch, leviw+renderwatch, f(malita), jchaffraix+rendering, pdr, Stephen Chennney
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Implement SVGGeometryElement Implement SVGGeometryElement as described in https://svgwg.org/svg2-draft/types.html#InterfaceSVGGeometryElement Use existing nodeAtPoint functionality from RenderSVGShape to implement the isPointInFill/Stroke methods of the interface. Because of this feature update svg2-inheritance.html and add tests for it in svg-ellipse.xhtml. TESTS=svg/dom/svg2-inheritance.html, svg/hittest/svg-ellipse.xhtml BUG=315802 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=161828

Patch Set 1 #

Patch Set 2 : Update copyrights #

Total comments: 14

Patch Set 3 : Add new test for isInPointFill/Stroke #

Patch Set 4 : Add correct expected result #

Patch Set 5 : Add SVGGeometryElement in expected results #

Unified diffs Side-by-side diffs Delta from patch set Stats (+539 lines, -120 lines) Patch
M LayoutTests/svg/dom/svg2-inheritance.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/svg/dom/svg2-inheritance-expected.txt View 1 2 6 chunks +9 lines, -9 lines 0 comments Download
A LayoutTests/svg/hittest/svg-isPointInFill.xhtml View 1 2 1 chunk +168 lines, -0 lines 0 comments Download
A LayoutTests/svg/hittest/svg-isPointInFill-expected.txt View 1 2 3 1 chunk +260 lines, -0 lines 0 comments Download
M LayoutTests/virtual/stable/webexposed/global-constructors-listing-expected.txt View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/webexposed/global-constructors-listing-expected.txt View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/core.gypi View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download
M Source/core/rendering/PointerEventsHitRules.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/PointerEventsHitRules.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/svg/RenderSVGShape.h View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGShape.cpp View 1 2 3 chunks +13 lines, -5 lines 0 comments Download
M Source/core/svg/SVGCircleElement.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/svg/SVGCircleElement.cpp View 3 chunks +3 lines, -3 lines 0 comments Download
M Source/core/svg/SVGCircleElement.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGEllipseElement.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/svg/SVGEllipseElement.cpp View 3 chunks +3 lines, -3 lines 0 comments Download
M Source/core/svg/SVGEllipseElement.idl View 1 chunk +1 line, -1 line 0 comments Download
A + Source/core/svg/SVGGeometryElement.h View 1 2 1 chunk +11 lines, -10 lines 0 comments Download
A + Source/core/svg/SVGGeometryElement.cpp View 1 2 2 chunks +25 lines, -52 lines 0 comments Download
A + Source/core/svg/SVGGeometryElement.idl View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M Source/core/svg/SVGLineElement.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/svg/SVGLineElement.cpp View 3 chunks +3 lines, -3 lines 0 comments Download
M Source/core/svg/SVGLineElement.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGPathElement.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/svg/SVGPathElement.cpp View 4 chunks +5 lines, -5 lines 0 comments Download
M Source/core/svg/SVGPathElement.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGPolyElement.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/svg/SVGPolyElement.cpp View 3 chunks +3 lines, -3 lines 0 comments Download
M Source/core/svg/SVGPolygonElement.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGPolylineElement.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/svg/SVGRectElement.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/svg/SVGRectElement.cpp View 3 chunks +3 lines, -3 lines 0 comments Download
M Source/core/svg/SVGRectElement.idl View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 20 (0 generated)
rwlbuis
First stab at this. I couldn't find anything on isPointInFill/Stroke behavior combined with clipping, so ...
7 years, 1 month ago (2013-11-06 20:03:15 UTC) #1
Inactive
Would be nice to add Samsung copyright for new files :)
7 years, 1 month ago (2013-11-06 20:10:34 UTC) #2
rwlbuis
Fixed copyrights and added krit as reviewer.
7 years, 1 month ago (2013-11-06 20:38:43 UTC) #3
pdr.
Overall an excellent change. Mostly nits but lets do one more round. Can you update ...
7 years, 1 month ago (2013-11-09 00:20:08 UTC) #4
krit
Just a briefly look https://codereview.chromium.org/62943002/diff/50001/Source/core/rendering/svg/RenderSVGShape.h File Source/core/rendering/svg/RenderSVGShape.h (right): https://codereview.chromium.org/62943002/diff/50001/Source/core/rendering/svg/RenderSVGShape.h#newcode82 Source/core/rendering/svg/RenderSVGShape.h:82: friend class SVGGeometryElement; The new ...
7 years, 1 month ago (2013-11-09 02:20:17 UTC) #5
rwlbuis
Address krit's comments. https://codereview.chromium.org/62943002/diff/50001/Source/core/rendering/svg/RenderSVGShape.h File Source/core/rendering/svg/RenderSVGShape.h (right): https://codereview.chromium.org/62943002/diff/50001/Source/core/rendering/svg/RenderSVGShape.h#newcode82 Source/core/rendering/svg/RenderSVGShape.h:82: friend class SVGGeometryElement; On 2013/11/09 02:20:18, ...
7 years, 1 month ago (2013-11-11 16:54:58 UTC) #6
rwlbuis
On 2013/11/09 00:20:08, pdr wrote: > Overall an excellent change. Mostly nits but lets do ...
7 years, 1 month ago (2013-11-11 16:58:41 UTC) #7
rwlbuis
On 2013/11/11 16:58:41, rwlbuis wrote: > https://codereview.chromium.org/62943002/diff/50001/Source/core/svg/SVGGeometryElement.idl#newcode33 > > Source/core/svg/SVGGeometryElement.idl:33: boolean isPointInStroke(SVGPoint > > point); ...
7 years, 1 month ago (2013-11-11 17:51:54 UTC) #8
rwlbuis
Hopefully this patch addresses all remarks!
7 years, 1 month ago (2013-11-11 20:42:06 UTC) #9
pdr.
On 2013/11/11 20:42:06, rwlbuis wrote: > Hopefully this patch addresses all remarks! LGTM!
7 years, 1 month ago (2013-11-11 21:10:08 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rob.buis@samsung.com/62943002/200001
7 years, 1 month ago (2013-11-11 21:14:07 UTC) #11
commit-bot: I haz the power
Retried try job too often on mac_blink_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_blink_rel&number=10747
7 years, 1 month ago (2013-11-11 23:48:10 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rob.buis@samsung.com/62943002/200001
7 years, 1 month ago (2013-11-12 00:19:05 UTC) #13
commit-bot: I haz the power
Failed to trigger a try job on linux_blink_rel HTTP Error 400: Bad Request
7 years, 1 month ago (2013-11-12 00:59:03 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rob.buis@samsung.com/62943002/410001
7 years, 1 month ago (2013-11-12 00:59:16 UTC) #15
commit-bot: I haz the power
Retried try job too often on linux_blink_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_blink_rel&number=12105
7 years, 1 month ago (2013-11-12 03:14:13 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rob.buis@samsung.com/62943002/410001
7 years, 1 month ago (2013-11-12 03:27:04 UTC) #17
commit-bot: I haz the power
Retried try job too often on linux_blink_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_blink_rel&number=12123
7 years, 1 month ago (2013-11-12 04:46:39 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rob.buis@samsung.com/62943002/620001
7 years, 1 month ago (2013-11-12 14:31:04 UTC) #19
commit-bot: I haz the power
7 years, 1 month ago (2013-11-12 17:16:20 UTC) #20
Message was sent while issue was closed.
Change committed as 161828

Powered by Google App Engine
This is Rietveld 408576698