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

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

Issue 2867883003: [CSS Typed OM] Delete obsolete number and length classes from Typed OM (Closed)
Patch Set: Update failing LayoutTests 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/cssPerspective.html
diff --git a/third_party/WebKit/LayoutTests/typedcssom/cssPerspective.html b/third_party/WebKit/LayoutTests/typedcssom/cssPerspective.html
index 227c78abd5d524b16de925f009abec9eb90d2094..c802639b6f8fcf6046ea18827d7daf321220fce4 100644
--- a/third_party/WebKit/LayoutTests/typedcssom/cssPerspective.html
+++ b/third_party/WebKit/LayoutTests/typedcssom/cssPerspective.html
@@ -5,18 +5,18 @@
<script>
test(function() {
- var calcLength = new CSSCalcLength({px: 10, percent: 3.2});
+ var calcLength = new CSSCalcValue({px: 10, percent: 3.2});
assert_throws(null, function() { new CSSPerspective(calcLength) });
-}, "Constructor should throw an error for CSSCalcLengths with a percentage type");
+}, "Constructor should throw an error for CSSCalcValues with a percentage type");
test(function() {
- var simpleLength = new CSSSimpleLength(10, 'percent');
+ var simpleLength = new CSSUnitValue(10, 'percent');
assert_throws(null, function() { new CSSPerspective(simpleLength) });
-}, "Constructor should throw an error for CSSSimpleLengths with a percentage type");
+}, "Constructor should throw an error for CSSUnitValues with a percentage type");
test(function() {
- var simpleLength = new CSSSimpleLength(10, 'px');
- var calcLength = new CSSCalcLength({px: 10, em: 3.2});
+ var simpleLength = new CSSUnitValue(10, 'px');
+ var calcLength = new CSSCalcValue({px: 10, em: 3.2});
var perspectiveTransformSimple = new CSSPerspective(simpleLength);
var perspectiveTransformCalc = new CSSPerspective(calcLength);

Powered by Google App Engine
This is Rietveld 408576698