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

Issue 2907973002: [css-typed-om] add toMatrix() method in CSSTransformValue.idl (Closed)

Created:
3 years, 6 months ago by Hwanseung Lee
Modified:
3 years, 6 months ago
CC:
chromium-reviews, blink-reviews-css, dglazkov+blink, apavlov+blink_chromium.org, darktears, blink-reviews, rwlbuis
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[css-typed-om] add toMatrix() method in CSSTransformValue.idl The toMatrix() method of a CSSTransformValue this must, when called, perform the following steps: 1.Let matrix be a 4x4 matrix, initially set to the identity matrix. 2.For each func in this’s values to iterate over, set matrix to the result of multiplying matrix and func’s equivalent 4x4 transform matrix. 3.Return a new DOMMatrix representing matrix. https://drafts.css-houdini.org/css-typed-om-1/#dom-csstransformvalue-tomatrix BUG=545318 Review-Url: https://codereview.chromium.org/2907973002 Cr-Commit-Position: refs/heads/master@{#476841} Committed: https://chromium.googlesource.com/chromium/src/+/b24e869c0085f7cb80020f073f731c43ae97eb17

Patch Set 1 #

Patch Set 2 : fix test #

Patch Set 3 : add toMatrix() #

Total comments: 2

Patch Set 4 : make Create() function in DOMMatrix #

Messages

Total messages: 34 (26 generated)
Hwanseung Lee
@meade PTAL, thank you. @dominicc i divide multiplySelf() to two functions at DOMMatrix. could you ...
3 years, 6 months ago (2017-05-27 11:54:22 UTC) #12
meade_UTC10
cssom/ lgtm. Please wait for dom's review for DOMMatrix.
3 years, 6 months ago (2017-05-29 04:12:48 UTC) #15
Hwanseung Lee
@zino i divide multiplySelf() to two functions at DOMMatrix. could you review DOMMatrix files? thank ...
3 years, 6 months ago (2017-06-01 12:16:53 UTC) #17
zino
https://codereview.chromium.org/2907973002/diff/40001/third_party/WebKit/Source/core/css/cssom/CSSTransformValue.cpp File third_party/WebKit/Source/core/css/cssom/CSSTransformValue.cpp (right): https://codereview.chromium.org/2907973002/diff/40001/third_party/WebKit/Source/core/css/cssom/CSSTransformValue.cpp#newcode41 third_party/WebKit/Source/core/css/cssom/CSSTransformValue.cpp:41: DOMMatrix* matrix = DOMMatrix::fromMatrix(init, ASSERT_NO_EXCEPTION); IMHO, we don't need ...
3 years, 6 months ago (2017-06-02 02:31:22 UTC) #18
Hwanseung Lee
@zino PTAL, i add DOMMatrix::Create() function. https://codereview.chromium.org/2907973002/diff/40001/third_party/WebKit/Source/core/css/cssom/CSSTransformValue.cpp File third_party/WebKit/Source/core/css/cssom/CSSTransformValue.cpp (right): https://codereview.chromium.org/2907973002/diff/40001/third_party/WebKit/Source/core/css/cssom/CSSTransformValue.cpp#newcode41 third_party/WebKit/Source/core/css/cssom/CSSTransformValue.cpp:41: DOMMatrix* matrix = ...
3 years, 6 months ago (2017-06-02 13:25:51 UTC) #25
zino
lgtm
3 years, 6 months ago (2017-06-02 15:50:08 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/2907973002/60001
3 years, 6 months ago (2017-06-03 00:17:40 UTC) #31
commit-bot: I haz the power
3 years, 6 months ago (2017-06-03 00:23:27 UTC) #34
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/b24e869c0085f7cb80020f073f73...

Powered by Google App Engine
This is Rietveld 408576698