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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/geometry-interfaces-dom-matrix-skew.html

Issue 2283173003: Implement inverse & invertSelf function in DOMMatrix & DOMMatrixReadOnly. (Closed)
Patch Set: Implement inverse & invertSelf funtion in DomMatrix & DOMMatrixReadOnly. Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/dom/geometry-interfaces-dom-matrix-skew.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/geometry-interfaces-dom-matrix-skew.html b/third_party/WebKit/LayoutTests/fast/dom/geometry-interfaces-dom-matrix-skew.html
index ddcb26903166f05612716d9d9ae3b0423869eee7..69066f56aae8a56a3771a1a01aff7204f6722562 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/geometry-interfaces-dom-matrix-skew.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/geometry-interfaces-dom-matrix-skew.html
@@ -8,6 +8,7 @@
<body>
<script>
test(function() {
+ /* TODO create the DOMMatrix directly when the sequence constructor is supported. */
var matrix2d = new DOMMatrix(new DOMMatrixReadOnly([1, 2, 3, 3.1, 2, 1]));
matrix2d.skewXSelf();
assert_true(matrix2d.is2D);
@@ -20,6 +21,7 @@ test(function() {
}, "DOMMatrix skewX() - 2D matrix");
test(function() {
+ /* TODO create the DOMMatrix directly when the sequence constructor is supported. */
var matrix2d = new DOMMatrix(new DOMMatrixReadOnly([1, 2, 3, 3.1, 2, 1]));
matrix2d.skewXSelf(45);
assert_true(matrix2d.is2D);
@@ -32,6 +34,7 @@ test(function() {
}, "DOMMatrix skewX(45) - 2D matrix");
test(function() {
+ /* TODO create the DOMMatrix directly when the sequence constructor is supported. */
var matrix3d = new DOMMatrix(new DOMMatrixReadOnly([1, 2, 3, 4, 5, 6, 7, 8, 9, 10.1, 11, 12, 13, 14, 15, 16.6]));
matrix3d.skewXSelf();
assert_false(matrix3d.is2D);
@@ -54,6 +57,7 @@ test(function() {
}, "DOMMatrix skewX() - 3D matrix");
test(function() {
+ /* TODO create the DOMMatrix directly when the sequence constructor is supported. */
var matrix3d = new DOMMatrix(new DOMMatrixReadOnly([1, 2, 3, 4, 5, 6, 7, 8, 9, 10.1, 11, 12, 13, 14, 15, 16.6]));
matrix3d.skewXSelf(45);
assert_false(matrix3d.is2D);
@@ -76,6 +80,7 @@ test(function() {
}, "DOMMatrix skewX(45) - 3D matrix");
test(function() {
+ /* TODO create the DOMMatrix directly when the sequence constructor is supported. */
var matrix2d = new DOMMatrix(new DOMMatrixReadOnly([1, 2, 3, 3.1, 2, 1]));
matrix2d.skewYSelf();
assert_true(matrix2d.is2D);
@@ -88,6 +93,7 @@ test(function() {
}, "DOMMatrix skewY() - 2D matrix");
test(function() {
+ /* TODO create the DOMMatrix directly when the sequence constructor is supported. */
var matrix2d = new DOMMatrix(new DOMMatrixReadOnly([2, 2, 2, 2, 2, 2]));
matrix2d.skewYSelf(45);
assert_true(matrix2d.is2D);
@@ -100,6 +106,7 @@ test(function() {
}, "DOMMatrix skewY(45) - 2D matrix");
test(function() {
+ /* TODO create the DOMMatrix directly when the sequence constructor is supported. */
var matrix3d = new DOMMatrix(new DOMMatrixReadOnly([1, 2, 3, 4, 5, 6, 7, 8, 9, 10.1, 11, 12, 13, 14, 15, 16.6]));
matrix3d.skewYSelf();
assert_false(matrix3d.is2D);
@@ -122,6 +129,7 @@ test(function() {
}, "DOMMatrix skewY() - 3D matrix");
test(function() {
+ /* TODO create the DOMMatrix directly when the sequence constructor is supported. */
var matrix3d = new DOMMatrix(new DOMMatrixReadOnly([1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]));
matrix3d.skewYSelf(45);
assert_false(matrix3d.is2D);

Powered by Google App Engine
This is Rietveld 408576698