Index: third_party/WebKit/LayoutTests/typedcssom/numberValue.html |
diff --git a/third_party/WebKit/LayoutTests/typedcssom/numberValue.html b/third_party/WebKit/LayoutTests/typedcssom/numberValue.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..7d6f7e920f98dce30ee9faafec40afc7e1ed2324 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/typedcssom/numberValue.html |
@@ -0,0 +1,23 @@ |
+<!DOCTYPE html> |
+<script src="../resources/testharness.js"></script> |
+<script src="../resources/testharnessreport.js"></script> |
+ |
+<script> |
+var values = [ |
+ {input: new NumberValue(0), cssString: '0'}, |
+ {input: new NumberValue(1), cssString: '1'}, |
+ {input: new NumberValue(-2), cssString: '-2'}, |
+ {input: new NumberValue(3.4), cssString: '3.4'} |
+]; |
+ |
+test(function() { |
+ for (var i = 0; i < values.length; ++i) { |
+ assert_equals(values[i].input.cssString, values[i].cssString); |
+ } |
+}, "Test that the css string for NumberValue is correct."); |
+ |
+</script> |
+ |
+<body> |
+</body> |
+ |