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

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

Issue 2368013002: [WIP] CSS Motion Path: offset shorthand ready for position and anchor
Patch Set: code review feedback 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/css3/motion-path/offset.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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");
9 assert_valid_value("offset", "center center path('M 0 0 L 100 100 M 100 200 L 20 0 200 Z L 300 300 Z') 100% 90deg/left bottom");
10 assert_invalid_value("offset", "auto");
11 assert_invalid_value("offset", "30deg");
12 assert_invalid_value("offset", "30deg path('M 20 30 A 60 70 80')");
13 assert_invalid_value("offset", "auto 30deg 90px");
14 assert_invalid_value("offset", "none /");
15 assert_invalid_value("offset", "none / 10px 20px 30deg");
16 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/css3/motion-path/offset.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698