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

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

Issue 2024023002: Typed CSSOM: Rename Perspective and PerspectiveTransformComponent to CSSPerspective (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/perspectiveTransformComponent.html
diff --git a/third_party/WebKit/LayoutTests/typedcssom/perspectiveTransformComponent.html b/third_party/WebKit/LayoutTests/typedcssom/perspectiveTransformComponent.html
deleted file mode 100644
index d879467f9970acd1c4fd5d3aba88984a483fe973..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/typedcssom/perspectiveTransformComponent.html
+++ /dev/null
@@ -1,30 +0,0 @@
-<!DOCTYPE html>
-<script src="../resources/testharness.js"></script>
-<script src="../resources/testharnessreport.js"></script>
-
-<script>
-
-test(function() {
- var calcLength = new CSSCalcLength({px: 10, percent: 3.2});
- assert_throws(null, function() { new Perspective(calcLength) });
-}, "Constructor should throw an error for CSSCalcLengths with a percentage type");
-
-test(function() {
- var simpleLength = new CSSSimpleLength(10, 'percent');
- assert_throws(null, function() { new Perspective(simpleLength) });
-}, "Constructor should throw an error for CSSSimpleLengths with a percentage type");
-
-test(function() {
- var simpleLength = new CSSSimpleLength(10, 'px');
- var calcLength = new CSSCalcLength({px: 10, em: 3.2});
- var perspectiveTransformSimple = new Perspective(simpleLength);
- var perspectiveTransformCalc = new Perspective(calcLength);
-
- assert_equals(perspectiveTransformSimple.cssString, 'perspective(10px)');
- assert_equals(perspectiveTransformCalc.cssString,'perspective(calc(3.2em + 10px))');
-}, "cssString should return a string of form perspective(<CSSLengthValue.cssString()>)");
-
-</script>
-
-<body>
-</body>

Powered by Google App Engine
This is Rietveld 408576698