Index: third_party/WebKit/LayoutTests/css-parser/d-parsing.html |
diff --git a/third_party/WebKit/LayoutTests/css-parser/d-parsing.html b/third_party/WebKit/LayoutTests/css-parser/d-parsing.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..241c48ae662d21c12c8c5bfcd416a7e3cc04fdc1 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/css-parser/d-parsing.html |
@@ -0,0 +1,11 @@ |
+<!DOCTYPE html> |
+<script src="../resources/testharness.js"></script> |
+<script src="../resources/testharnessreport.js"></script> |
+<script src="resources/property-parsing-test.js"></script> |
+<script> |
+// Verifies that d property and its value are properly parsed |
+ |
+assert_valid_value("d", "path('M 0 0 L 100 100 M 100 200 L 200 200 Z L 300 300 Z')"); |
+assert_invalid_value("d", "none"); |
+assert_invalid_value("d", "path('M 20 30 A 60 70 80')"); |
+</script> |