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

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

Issue 1997503003: Typed CSSOM: Rename LengthValue to CSSLengthValue (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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/lengthValue.html
diff --git a/third_party/WebKit/LayoutTests/typedcssom/lengthValue.html b/third_party/WebKit/LayoutTests/typedcssom/lengthValue.html
deleted file mode 100644
index 760415b89870d9532e5e590eff1855527e5b77c8..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/typedcssom/lengthValue.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 = LengthValue.from(5, 'px');
- assert_true(result instanceof SimpleLength);
- assert_equals(result.value, 5);
- assert_equals(result.type, 'px');
-}, "Test that LengthValue's static from(double value, LengthType type) method produces a SimpleLength.");
-
-test(function() {
- var result = LengthValue.from({px: 1, percent: 2.5});
- assert_true(result instanceof CalcLength);
- assert_equals(result.px, 1);
- assert_equals(result.percent, 2.5);
-}, "Test that LengthValue's static from(CalcDictionary dictionary) method produces a CalcLength.");
-
-</script>
-<body>
-</body>

Powered by Google App Engine
This is Rietveld 408576698