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

Issue 446803002: Implement translate() and translateSelf() in DOMMatrix. (Closed)

Created:
6 years, 4 months ago by zino
Modified:
6 years, 4 months ago
Reviewers:
krit, Rik
CC:
arv+blink, blink-reviews, blink-reviews-dom_chromium.org, Inactive, dglazkov+blink, eae+blinkwatch, rwlbuis, sof
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Implement translate() and translateSelf() in DOMMatrix. The methods multiply a translation transformation on the current matrix. The specification: http://dev.w3.org/fxtf/geometry/ Intent to Implement: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/V_bJNtOg0oM BUG=388780 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=180418

Patch Set 1 #

Total comments: 4

Patch Set 2 : use TransformationMatrix #

Patch Set 3 : use TransformationMatrix #

Total comments: 3

Patch Set 4 : #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+161 lines, -1 line) Patch
M LayoutTests/TestExpectations View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
A LayoutTests/fast/dom/geometry-interfaces-dom-matrix-translate.html View 1 1 chunk +123 lines, -0 lines 0 comments Download
M Source/core/dom/DOMMatrix.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/dom/DOMMatrix.cpp View 1 2 3 4 1 chunk +16 lines, -0 lines 0 comments Download
M Source/core/dom/DOMMatrix.idl View 1 chunk +4 lines, -0 lines 0 comments Download
M Source/core/dom/DOMMatrixReadOnly.h View 1 2 chunks +4 lines, -0 lines 0 comments Download
M Source/core/dom/DOMMatrixReadOnly.cpp View 1 2 chunks +6 lines, -1 line 0 comments Download
M Source/core/dom/DOMMatrixReadOnly.idl View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
zino
Please take a look. Thank you.
6 years, 4 months ago (2014-08-06 09:23:51 UTC) #1
Rik
lgtm
6 years, 4 months ago (2014-08-06 16:30:37 UTC) #2
abarth-chromium
This looks plausible, but I'm not really interested in reviewing these CLs. You'll need to ...
6 years, 4 months ago (2014-08-06 20:11:22 UTC) #3
zino
+ @krit Dear Dirk, I heard you was interested in implementing geometry interfaces in WebKit. ...
6 years, 4 months ago (2014-08-07 01:14:31 UTC) #4
krit
Looks great! Just some snippets. I think we should share more code with TransformationMatrix https://codereview.chromium.org/446803002/diff/1/LayoutTests/fast/dom/geometry-interfaces-dom-matrix-translate.html ...
6 years, 4 months ago (2014-08-08 06:24:15 UTC) #5
zino
Hi Dirk, I addressed all your comments. Could you review again? Thank you. https://codereview.chromium.org/446803002/diff/1/LayoutTests/fast/dom/geometry-interfaces-dom-matrix-translate.html File ...
6 years, 4 months ago (2014-08-16 03:23:32 UTC) #6
krit
https://codereview.chromium.org/446803002/diff/60001/Source/core/dom/DOMMatrix.cpp File Source/core/dom/DOMMatrix.cpp (right): https://codereview.chromium.org/446803002/diff/60001/Source/core/dom/DOMMatrix.cpp#newcode40 Source/core/dom/DOMMatrix.cpp:40: if (m_matrix.isIdentity()) { Just use translate3d() and translate() don't ...
6 years, 4 months ago (2014-08-16 07:03:06 UTC) #7
zino
Hi Dirk, Could you take a look again? https://codereview.chromium.org/446803002/diff/60001/Source/core/dom/DOMMatrix.cpp File Source/core/dom/DOMMatrix.cpp (right): https://codereview.chromium.org/446803002/diff/60001/Source/core/dom/DOMMatrix.cpp#newcode40 Source/core/dom/DOMMatrix.cpp:40: if ...
6 years, 4 months ago (2014-08-16 16:50:42 UTC) #8
krit
On 2014/08/16 16:50:42, zino wrote: > Hi Dirk, > > Could you take a look ...
6 years, 4 months ago (2014-08-16 18:07:57 UTC) #9
zino
On 2014/08/16 18:07:57, krit wrote: > IMO code optimizations should go to TransformationMatrix. In general, ...
6 years, 4 months ago (2014-08-17 00:12:17 UTC) #10
krit
lgtm
6 years, 4 months ago (2014-08-17 08:40:59 UTC) #11
zino
The CQ bit was checked by jinho.bang@samsung.com
6 years, 4 months ago (2014-08-17 08:56:51 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jinho.bang@samsung.com/446803002/100001
6 years, 4 months ago (2014-08-17 08:57:27 UTC) #13
commit-bot: I haz the power
6 years, 4 months ago (2014-08-17 09:52:07 UTC) #14
Message was sent while issue was closed.
Committed patchset #5 (100001) as 180418

Powered by Google App Engine
This is Rietveld 408576698