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

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: rebase 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 492d845a673b46bc430ed7ce39088c6c2086217d..61ad98b0ff4f2725012b635a64b541e12801656f 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