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

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

Issue 2099513002: [Typed OM] Rename TransformValue -> CSSTransformValue (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@rename-transformcomponent
Patch Set: sync to head Created 4 years, 6 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
deleted file mode 100644
index a446403d14a72cf7707d43e7061533291f29e344..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/typedcssom/transformValue.html
+++ /dev/null
@@ -1,45 +0,0 @@
-<!DOCTYPE html>
-<script src="../resources/testharness.js"></script>
-<script src="../resources/testharnessreport.js"></script>
-
-<script>
-
-test(function() {
- var transformValueObject = new TransformValue();
- assert_true(transformValueObject instanceof TransformValue);
- assert_true(transformValueObject instanceof CSSStyleValue);
-}, "A TransformValue object can be constructed");
-
-test(function() {
- var transformArray = [new CSSScale(2,2),
- 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 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 CSSMatrix(1,1,1,1,1,1), new CSSScale(5,6)];
- var transformValue = new TransformValue(transformArray);
-
- var newTransformArray = [];
- for (var component of transformValue) {
- newTransformArray.push(component);
- }
- assert_true(newTransformArray.length == 3);
- assert_true(newTransformArray[0] instanceof CSSScale);
- assert_true(newTransformArray[1] instanceof CSSMatrix);
- assert_true(newTransformArray[2] instanceof CSSScale);
-}, "TransformValue can iterate through all its all its transformComponent members");
-
-</script>
-
-<body>
-</body>

Powered by Google App Engine
This is Rietveld 408576698