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

Issue 2349653002: Added support of getClientRects() for SVG Elements. (Closed)

Created:
4 years, 3 months ago by Shanmuga Pandi
Modified:
4 years, 2 months ago
Reviewers:
pdr., fs, foolip, rwlbuis
CC:
blink-reviews, blink-reviews-dom_chromium.org, chromium-reviews, dglazkov+blink, eae+blinkwatch, rwlbuis, sof
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Added support of getClientRects() for SVG Elements. As per spec, if the element has an associated SVG layout box return a sequence containing a single DOMRect object that describes the bounding box of the element as defined by the SVG specification, applying the transforms that apply to the element and its ancestors. Spec: https://drafts.csswg.org/cssom-view/#dom-element-getclientrects BUG=643044 Committed: https://crrev.com/f5b0ce2c5f861ddc285bf79fec1a4281a1d3db15 Cr-Commit-Position: refs/heads/master@{#421850}

Patch Set 1 #

Patch Set 2 : nits #

Total comments: 8

Patch Set 3 : Align with review comments #

Total comments: 7

Patch Set 4 : Align with review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -18 lines) Patch
A third_party/WebKit/LayoutTests/svg/custom/getClientRects.html View 1 2 1 chunk +46 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Element.h View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Element.cpp View 1 2 3 2 chunks +23 lines, -18 lines 0 comments Download

Messages

Total messages: 27 (13 generated)
Shanmuga Pandi
@rob, PTAL. Thanks
4 years, 3 months ago (2016-09-16 07:29:05 UTC) #2
Shanmuga Pandi
On 2016/09/16 07:29:05, Shanmuga Pandi wrote: > @rob, > PTAL. > Thanks Gentle Ping!!
4 years, 3 months ago (2016-09-19 10:46:16 UTC) #3
rwlbuis
https://codereview.chromium.org/2349653002/diff/20001/third_party/WebKit/Source/core/dom/Element.cpp File third_party/WebKit/Source/core/dom/Element.cpp (left): https://codereview.chromium.org/2349653002/diff/20001/third_party/WebKit/Source/core/dom/Element.cpp#oldcode1043 third_party/WebKit/Source/core/dom/Element.cpp:1043: // FIXME: Handle table/inline-table with a caption. Don't we ...
4 years, 3 months ago (2016-09-19 17:24:59 UTC) #4
Shanmuga Pandi
https://codereview.chromium.org/2349653002/diff/20001/third_party/WebKit/Source/core/dom/Element.cpp File third_party/WebKit/Source/core/dom/Element.cpp (left): https://codereview.chromium.org/2349653002/diff/20001/third_party/WebKit/Source/core/dom/Element.cpp#oldcode1043 third_party/WebKit/Source/core/dom/Element.cpp:1043: // FIXME: Handle table/inline-table with a caption. On 2016/09/19 ...
4 years, 3 months ago (2016-09-20 05:43:10 UTC) #5
rwlbuis
Peer looks good to me.
4 years, 3 months ago (2016-09-20 14:57:57 UTC) #6
Shanmuga Pandi
PTAL!! Thanks
4 years, 3 months ago (2016-09-22 06:21:37 UTC) #8
fs
Please expand the description a bit (IIRC, there's a specref that might make sense to ...
4 years, 3 months ago (2016-09-22 10:39:44 UTC) #9
Shanmuga Pandi
https://codereview.chromium.org/2349653002/diff/20001/third_party/WebKit/LayoutTests/svg/custom/getClientRects.html File third_party/WebKit/LayoutTests/svg/custom/getClientRects.html (right): https://codereview.chromium.org/2349653002/diff/20001/third_party/WebKit/LayoutTests/svg/custom/getClientRects.html#newcode2 third_party/WebKit/LayoutTests/svg/custom/getClientRects.html:2: <title>SVGElement::getClientRects()</title> On 2016/09/22 10:39:44, fs wrote: > Element.getClientRects() on ...
4 years, 2 months ago (2016-09-29 10:45:55 UTC) #17
fs
LGTM w/ nits https://codereview.chromium.org/2349653002/diff/40001/third_party/WebKit/Source/core/dom/Element.cpp File third_party/WebKit/Source/core/dom/Element.cpp (right): https://codereview.chromium.org/2349653002/diff/40001/third_party/WebKit/Source/core/dom/Element.cpp#newcode1049 third_party/WebKit/Source/core/dom/Element.cpp:1049: } else if (elementLayoutObject->isBoxModelObject() || elementLayoutObject->isBR()) ...
4 years, 2 months ago (2016-09-29 12:04:21 UTC) #18
Shanmuga Pandi
https://codereview.chromium.org/2349653002/diff/40001/third_party/WebKit/Source/core/dom/Element.cpp File third_party/WebKit/Source/core/dom/Element.cpp (right): https://codereview.chromium.org/2349653002/diff/40001/third_party/WebKit/Source/core/dom/Element.cpp#newcode1049 third_party/WebKit/Source/core/dom/Element.cpp:1049: } else if (elementLayoutObject->isBoxModelObject() || elementLayoutObject->isBR()) { On 2016/09/29 ...
4 years, 2 months ago (2016-09-29 13:14:13 UTC) #19
fs
https://codereview.chromium.org/2349653002/diff/40001/third_party/WebKit/Source/core/dom/Element.h File third_party/WebKit/Source/core/dom/Element.h (right): https://codereview.chromium.org/2349653002/diff/40001/third_party/WebKit/Source/core/dom/Element.h#newcode718 third_party/WebKit/Source/core/dom/Element.h:718: void clientQuads(Vector<FloatQuad>& quads); On 2016/09/29 at 13:14:13, Shanmuga Pandi ...
4 years, 2 months ago (2016-09-29 13:16:09 UTC) #20
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/2349653002/60001
4 years, 2 months ago (2016-09-29 13:17:50 UTC) #23
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 2 months ago (2016-09-29 16:56:19 UTC) #25
commit-bot: I haz the power
4 years, 2 months ago (2016-09-29 16:58:22 UTC) #27
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/f5b0ce2c5f861ddc285bf79fec1a4281a1d3db15
Cr-Commit-Position: refs/heads/master@{#421850}

Powered by Google App Engine
This is Rietveld 408576698