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

Unified Diff: third_party/WebKit/LayoutTests/css-parser/d-parsing.html

Issue 1439793003: SVG: Promote d to a property (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: DECLARE_VIRTUAL_TRACE Created 5 years 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/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>

Powered by Google App Engine
This is Rietveld 408576698