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

Side by Side Diff: third_party/WebKit/LayoutTests/css-parser/offset-parsing.html

Issue 2375343002: CSS Motion Path: offset-shorthand requires path before distance rotation (Closed)
Patch Set: rebase Created 4 years, 2 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../resources/testharness.js"></script>
3 <script src="../resources/testharnessreport.js"></script>
4 <script src="resources/property-parsing-test.js"></script>
5 <script>
6 // Verifies that offset shorthand values are properly parsed
7
8 assert_valid_value("offset", "path('M 0 0 H 1') -200% auto");
alancutter (OOO until 2018) 2016/10/04 04:42:15 Add more positive tests that cover the different b
Eric Willigers 2016/10/04 04:59:39 Done.
9 assert_invalid_value("offset", "center center path('M 0 0 L 100 100 M 100 200 L 200 200 Z L 300 300 Z') 100% 90deg/left bottom");
10 assert_invalid_value("offset", "100px");
11 assert_invalid_value("offset", "100px none auto 90deg");
12 assert_invalid_value("offset", "auto");
13 assert_invalid_value("offset", "30deg");
14 assert_invalid_value("offset", "30deg path('M 20 30 A 60 70 80')");
15 assert_invalid_value("offset", "auto 30deg 90px");
16 assert_invalid_value("offset", "none /");
17 assert_invalid_value("offset", "none / 10px 20px 30deg");
18 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698