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

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

Issue 2126473002: Revert CSSMatrix classname to CSSMatrixTransformComponent (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update webexposed tests as well Created 4 years, 5 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/cssTransformValue.html
diff --git a/third_party/WebKit/LayoutTests/typedcssom/cssTransformValue.html b/third_party/WebKit/LayoutTests/typedcssom/cssTransformValue.html
index 70127c7777339e45381033710ed33eddb6e6c533..affeaf1fb0e32e4863da5c118623afaf867be3ed 100644
--- a/third_party/WebKit/LayoutTests/typedcssom/cssTransformValue.html
+++ b/third_party/WebKit/LayoutTests/typedcssom/cssTransformValue.html
@@ -12,21 +12,21 @@ test(function() {
test(function() {
var transformArray = [new CSSScale(2,2),
- new CSSMatrix(1,1,1,1,1,1), new CSSScale(5,6)];
+ new CSSMatrixTransformComponent(1,1,1,1,1,1), new CSSScale(5,6)];
var transformValue = new CSSTransformValue(transformArray);
assert_true(transformValue.is2D());
}, "is2D returns true for transformValues containing only 2D transformComponents");
test(function() {
var transformArray = [new CSSScale(2,2),
- new CSSMatrix(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1), new CSSScale(5,6)];
+ new CSSMatrixTransformComponent(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1), new CSSScale(5,6)];
var transformValue = new CSSTransformValue(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 CSSMatrix(1,1,1,1,1,1), new CSSScale(5,6)];
+ new CSSMatrixTransformComponent(1,1,1,1,1,1), new CSSScale(5,6)];
var transformValue = new CSSTransformValue(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 CSSMatrix);
+ assert_true(newTransformArray[1] instanceof CSSMatrixTransformComponent);
assert_true(newTransformArray[2] instanceof CSSScale);
}, "CSSTransformValue can iterate through all its all its transformComponent members");

Powered by Google App Engine
This is Rietveld 408576698