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

Unified Diff: third_party/WebKit/LayoutTests/transforms/cssmatrix-3d-interface.xhtml

Issue 2943213002: Revert of Make WebKitCSSMatrix an alias of DOMMatrix (Closed)
Patch Set: Revert of Make WebKitCSSMatrix an alias of DOMMatrix (patchset #16 id:300001 of https://codereview.… Created 3 years, 6 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/transforms/cssmatrix-3d-interface.xhtml
diff --git a/third_party/WebKit/LayoutTests/transforms/cssmatrix-3d-interface.xhtml b/third_party/WebKit/LayoutTests/transforms/cssmatrix-3d-interface.xhtml
index 2ea85b4354995e677644edbc2f58bba4442223de..392949fb829702c7e03423dc1df21e36699501b5 100644
--- a/third_party/WebKit/LayoutTests/transforms/cssmatrix-3d-interface.xhtml
+++ b/third_party/WebKit/LayoutTests/transforms/cssmatrix-3d-interface.xhtml
@@ -277,45 +277,9 @@ shouldBe('parseFloat(m.m43)', '30');
shouldBe('parseFloat(m.m44)', '1');
debug("");
-debug("Test not invertible 3d matrix");
+debug("Test throwing exception from inverse");
m = new WebKitCSSMatrix("matrix3d(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)"); // not invertible
-m2 = m.inverse();
-
-shouldBeNaN('m2.m11');
-shouldBeNaN('m2.m12');
-shouldBeNaN('m2.m13');
-shouldBeNaN('m2.m14');
-shouldBeNaN('m2.m21');
-shouldBeNaN('m2.m22');
-shouldBeNaN('m2.m23');
-shouldBeNaN('m2.m24');
-shouldBeNaN('m2.m31');
-shouldBeNaN('m2.m32');
-shouldBeNaN('m2.m33');
-shouldBeNaN('m2.m34');
-shouldBeNaN('m2.m41');
-shouldBeNaN('m2.m42');
-shouldBeNaN('m2.m43');
-shouldBeNaN('m2.m44');
-
-debug("");
-debug("Test immutability of inverse");
-shouldBe('m.m11', '0');
-shouldBe('m.m12', '0');
-shouldBe('m.m13', '0');
-shouldBe('m.m14', '0');
-shouldBe('m.m21', '0');
-shouldBe('m.m22', '0');
-shouldBe('m.m23', '0');
-shouldBe('m.m24', '0');
-shouldBe('m.m31', '0');
-shouldBe('m.m32', '0');
-shouldBe('m.m33', '0');
-shouldBe('m.m34', '0');
-shouldBe('m.m41', '0');
-shouldBe('m.m42', '0');
-shouldBe('m.m43', '0');
-shouldBe('m.m44', '0');
+shouldThrow('m.inverse()');
debug("");
debug("Test translate");

Powered by Google App Engine
This is Rietveld 408576698