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

Unified Diff: third_party/WebKit/LayoutTests/typedcssom/cssLengthValue.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/cssLengthValue.html
diff --git a/third_party/WebKit/LayoutTests/typedcssom/cssLengthValue.html b/third_party/WebKit/LayoutTests/typedcssom/cssLengthValue.html
deleted file mode 100644
index e0fc0e90e3cd644da7cb43a513db045b673712e4..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/typedcssom/cssLengthValue.html
+++ /dev/null
@@ -1,22 +0,0 @@
-<!DOCTYPE html>
-<script src='../resources/testharness.js'></script>
-<script src='../resources/testharnessreport.js'></script>
-<script>
-
-test(function() {
- var result = CSSLengthValue.from(5, 'px');
- assert_equals(result.constructor.name, CSSSimpleLength.name);
- assert_equals(result.value, 5);
- assert_equals(result.type, 'px');
-}, "Test that CSSLengthValue's static from(double value, LengthType type) method produces a CSSSimpleLength.");
-
-test(function() {
- var result = CSSLengthValue.from({px: 1, percent: 2.5});
- assert_equals(result.constructor.name, CSSCalcLength.name);
- assert_equals(result.px, 1);
- assert_equals(result.percent, 2.5);
-}, "Test that CSSLengthValue's static from(CalcDictionary dictionary) method produces a CSSCalcLength.");
-
-</script>
-<body>
-</body>

Powered by Google App Engine
This is Rietveld 408576698