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

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

Issue 1949343002: [Obsolete] Typed CSSOM: Prefix LengthValue, CalcLength and SimpleLength with "CSS" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rename layout test files 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
index eac86631917951972ccfb97cf20907b535794f0e..d879467f9970acd1c4fd5d3aba88984a483fe973 100644
--- a/third_party/WebKit/LayoutTests/typedcssom/perspectiveTransformComponent.html
+++ b/third_party/WebKit/LayoutTests/typedcssom/perspectiveTransformComponent.html
@@ -5,24 +5,24 @@
<script>
test(function() {
- var calcLength = new CalcLength({px: 10, percent: 3.2});
+ var calcLength = new CSSCalcLength({px: 10, percent: 3.2});
assert_throws(null, function() { new Perspective(calcLength) });
-}, "Constructor should throw an error for CalcLengths with a percentage type");
+}, "Constructor should throw an error for CSSCalcLengths with a percentage type");
test(function() {
- var simpleLength = new SimpleLength(10, 'percent');
+ var simpleLength = new CSSSimpleLength(10, 'percent');
assert_throws(null, function() { new Perspective(simpleLength) });
-}, "Constructor should throw an error for SimpleLengths with a percentage type");
+}, "Constructor should throw an error for CSSSimpleLengths with a percentage type");
test(function() {
- var simpleLength = new SimpleLength(10, 'px');
- var calcLength = new CalcLength({px: 10, em: 3.2});
+ 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(<LengthValue.cssString()>)");
+}, "cssString should return a string of form perspective(<CSSLengthValue.cssString()>)");
</script>

Powered by Google App Engine
This is Rietveld 408576698