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

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

Issue 2884963002: [css-typed-om] replace is2D() method with attribute in CSSTransformValue. (Closed)
Patch Set: [css-typed-om] replace is2D() method with attribute in CSSTransformValue. 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/cssTransformValue.html
diff --git a/third_party/WebKit/LayoutTests/typedcssom/cssTransformValue.html b/third_party/WebKit/LayoutTests/typedcssom/cssTransformValue.html
index 9b669b01e2e95c37f35662e69a6b043107269d89..fb11be9b1cdb2d59451fd54def431e9a6e0c4643 100644
--- a/third_party/WebKit/LayoutTests/typedcssom/cssTransformValue.html
+++ b/third_party/WebKit/LayoutTests/typedcssom/cssTransformValue.html
@@ -13,14 +13,14 @@ test(function() {
var transformArray = [new CSSScale(2,2),
new CSSMatrixComponent(1,1,1,1,1,1), new CSSScale(5,6)];
var transformValue = new CSSTransformValue(transformArray);
- assert_true(transformValue.is2D());
+ assert_true(transformValue.is2D);
}, "is2D returns true for transformValues containing only 2D transformComponents");
test(function() {
var transformArray = [new CSSScale(2,2),
new CSSMatrixComponent(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());
+ assert_false(transformValue.is2D);
}, "is2D returns false for transformValues containing both 2D and 3D transformComponents");
test(function() {

Powered by Google App Engine
This is Rietveld 408576698