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

Unified Diff: third_party/WebKit/LayoutTests/typedcssom/transformValue.html

Issue 2038453002: Typed CSSOM: Rename Matrix to CSSMatrix and MatrixTransformComponent to CSSMatrixTransformComponent (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/typedcssom/transformValue.html
diff --git a/third_party/WebKit/LayoutTests/typedcssom/transformValue.html b/third_party/WebKit/LayoutTests/typedcssom/transformValue.html
index c93a264989f725844b8a5bb69248d98d1bd443eb..9b5e310f87dd1be44549d517db23e0aa329a3eaa 100644
--- a/third_party/WebKit/LayoutTests/typedcssom/transformValue.html
+++ b/third_party/WebKit/LayoutTests/typedcssom/transformValue.html
@@ -12,21 +12,21 @@ test(function() {
test(function() {
var transformArray = [new CSSScale(2,2),
- new Matrix(1,1,1,1,1,1), new CSSScale(5,6)];
+ new CSSMatrix(1,1,1,1,1,1), new CSSScale(5,6)];
var transformValue = new TransformValue(transformArray);
assert_true(transformValue.is2D());
}, "is2D returns true for transformValues containing only 2D transformComponents");
test(function() {
var transformArray = [new CSSScale(2,2),
- new Matrix(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1), new CSSScale(5,6)];
+ new CSSMatrix(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1), new CSSScale(5,6)];
var transformValue = new TransformValue(transformArray);
assert_false(transformValue.is2D());
}, "is2D returns false for transformValues containing both 2D and 3D transformComponents");
test(function() {
var transformArray = [new CSSScale(2,2),
- new Matrix(1,1,1,1,1,1), new CSSScale(5,6)];
+ new CSSMatrix(1,1,1,1,1,1), new CSSScale(5,6)];
var transformValue = new TransformValue(transformArray);
var newTransformArray = [];
@@ -35,7 +35,7 @@ test(function() {
}
assert_true(newTransformArray.length == 3);
assert_true(newTransformArray[0] instanceof CSSScale);
- assert_true(newTransformArray[1] instanceof Matrix);
+ assert_true(newTransformArray[1] instanceof CSSMatrix);
assert_true(newTransformArray[2] instanceof CSSScale);
}, "TransformValue can iterate through all its all its transformComponent members");

Powered by Google App Engine
This is Rietveld 408576698