| Index: third_party/WebKit/LayoutTests/typedcssom/cssScale.html
|
| diff --git a/third_party/WebKit/LayoutTests/typedcssom/cssScale.html b/third_party/WebKit/LayoutTests/typedcssom/cssScale.html
|
| index 45daef7436ab69060535a794de90704f4da11110..82c084d6def356a556bb91751e9a74a169975d18 100644
|
| --- a/third_party/WebKit/LayoutTests/typedcssom/cssScale.html
|
| +++ b/third_party/WebKit/LayoutTests/typedcssom/cssScale.html
|
| @@ -107,14 +107,15 @@ test(() => {
|
| for (let params of testParams) {
|
| test(() => {
|
| var input = params.input;
|
| - var inputAsMatrix = input.asMatrix();
|
| - assert_equals(inputAsMatrix.is2D(), input.is2D());
|
| + var transformValue = new CSSTransformValue([input]);
|
| + var inputAsMatrix = transformValue.toMatrix();
|
| + assert_equals(inputAsMatrix.is2D, input.is2D());
|
|
|
| var expectedMatrix = input.is2D() ?
|
| new DOMMatrixReadOnly([input.x, 0, 0, input.y, 0, 0]) :
|
| new DOMMatrixReadOnly(
|
| [input.x, 0, 0, 0, 0, input.y, 0, 0, 0, 0, input.z, 0, 0, 0, 0, 1]);
|
| - assert_matrix_approx_equals(inputAsMatrix.matrix, expectedMatrix, EPSILON);
|
| + assert_matrix_approx_equals(inputAsMatrix, expectedMatrix, EPSILON);
|
| }, "asMatrix is constructed correctly for " + params.cssText);
|
| }
|
|
|
|
|