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

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

Issue 2879233002: [css-typed-om] Replace cssText with stringifier at CSSTransformComponent (Closed)
Patch Set: [css-typed-om] replace cssText with toString at CSSTransformComponent Created 3 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/cssMatrixComponent.html
diff --git a/third_party/WebKit/LayoutTests/typedcssom/cssMatrixComponent.html b/third_party/WebKit/LayoutTests/typedcssom/cssMatrixComponent.html
index bb84910a144bf6122df6cabd44e7bbfff58f1ad6..20640ab50b55f3caf962baf0f88357e489e9db8f 100644
--- a/third_party/WebKit/LayoutTests/typedcssom/cssMatrixComponent.html
+++ b/third_party/WebKit/LayoutTests/typedcssom/cssMatrixComponent.html
@@ -52,9 +52,9 @@ test(function() {
test(function() {
for (var i = 0; i < values.length; ++i) {
- assert_equals(values[i].input.cssText, values[i].cssText);
+ assert_equals(values[i].input.toString(), values[i].cssText);
}
-}, "Test that the cssText for CSSMatrixComponent is correct.");
+}, "Test that the toString for CSSMatrixComponent is correct.");
test(function() {
assert_throws(null, function() { new CSSMatrixComponent(); });
@@ -73,7 +73,7 @@ test(function() {
assert_equals(inputAsMatrix[attribute], values[i].input[attribute]);
}
assert_equals(inputAsMatrix.is2D(), values[i].input.is2D());
- assert_equals(inputAsMatrix.cssText, values[i].input.cssText);
+ assert_equals(inputAsMatrix.toString(), values[i].input.toString());
}
}, "Test that asMatrix has all the same properties as the original CSSMatrixComponent.");

Powered by Google App Engine
This is Rietveld 408576698