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

Unified Diff: third_party/WebKit/LayoutTests/css-parser/unitless-zero-angle.html

Issue 2898133002: CSS: Use count unitless 0 supplied as <angle> (Closed)
Patch Set: test Created 3 years, 7 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/css/usecounter-angle-zero-custom.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/css-parser/unitless-zero-angle.html
diff --git a/third_party/WebKit/LayoutTests/css-parser/unitless-zero-angle.html b/third_party/WebKit/LayoutTests/css-parser/unitless-zero-angle.html
new file mode 100644
index 0000000000000000000000000000000000000000..0639b870dcbc81fcb4090fba9ee3aa10f861eaae
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/css-parser/unitless-zero-angle.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="resources/property-parsing-test.js"></script>
+<script>
+assert_valid_value("image-orientation", "0deg");
+assert_valid_value("rotate", "0deg");
+assert_valid_value("offset-path", "ray(0deg farthest-corner)");
+
+assert_invalid_value("image-orientation", "0");
+assert_invalid_value("rotate", "0");
+assert_invalid_value("offset-path", "ray(0 farthest-corner)");
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/css/usecounter-angle-zero-custom.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698