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

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

Issue 2857333005: [css-typed-om] make all attributes of CSSScale mutable. (Closed)
Patch Set: [css-typed-om] make all attributes of CSSScale mutable. 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/cssScale.html
diff --git a/third_party/WebKit/LayoutTests/typedcssom/cssScale.html b/third_party/WebKit/LayoutTests/typedcssom/cssScale.html
index 30ff36b38f293dcad5c9b4f8aacf63ebe0e6b727..cb8ed48ded37b5599d481bf203a0fbc54284dee7 100644
--- a/third_party/WebKit/LayoutTests/typedcssom/cssScale.html
+++ b/third_party/WebKit/LayoutTests/typedcssom/cssScale.html
@@ -91,4 +91,13 @@ test(function() {
}
}, "Test that asMatrix is constructed correctly for CSSScale.");
+test(function() {
+ var actual = new CSSScale(0, 0, 0);
+ actual.x = 1;
+ actual.y = 2;
+ actual.z = 3;
+ assert_equals(actual.x, 1);
+ assert_equals(actual.y, 2);
+ assert_equals(actual.z, 3);
+}, "Test that x, y, z are mutable attributes.");
</script>

Powered by Google App Engine
This is Rietveld 408576698