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

Unified Diff: LayoutTests/transforms/transform-style-parsing.html

Issue 98663004: Add support for unprefixed CSS Transforms (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase. Created 6 years, 9 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: 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>
« no previous file with comments | « LayoutTests/transforms/transform-parsing-expected.txt ('k') | LayoutTests/transitions/unprefixed-perspective.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698