Index: LayoutTests/transforms/transform-style-parsing.html |
diff --git a/LayoutTests/transforms/transform-style-parsing.html b/LayoutTests/transforms/transform-style-parsing.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1011a63458002b8944a92475df9dd76253eddbed |
--- /dev/null |
+++ b/LayoutTests/transforms/transform-style-parsing.html |
@@ -0,0 +1,17 @@ |
+<!DOCTYPE html> |
+<script src="../resources/testharness.js"></script> |
+<script src="../resources/testharnessreport.js"></script> |
+<div id="target"></div> |
+<script src="resources/parsing-test-helper.js"></script> |
+<script> |
+expect = expect.bind(this, 'transform-style', 'transformStyle'); |
+ |
+expect('initial').parsesAs('initial').isComputedTo('flat'); |
+expect('inherit').parsesAs('inherit'); |
+ |
+expect('flat').parsesAs('flat').isComputedTo('flat'); |
+expect('preserve-3d').parsesAs('preserve-3d').isComputedTo('preserve-3d'); |
+ |
+expect('none').isInvalid(); |
+expect('0').isInvalid(); |
+</script> |