OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 <html> | |
3 <head> | |
4 <meta charset="utf-8"> | |
5 <title>Motion Path Module Level 1: parsing offset-anchor with valid values</titl e> | |
6 <link rel="author" title="Eric Willigers" href="mailto:ericwilligers@chromium.or g"> | |
7 <link rel="help" href="https://drafts.fxtf.org/motion-1/#offset-anchor-property" > | |
8 <meta name="assert" content="offset-anchor supports the full grammar 'auto | <po sition>'."> | |
suzyh_UTC10 (ex-contributor)
2017/05/25 03:52:57
Should there be an 'auto' test? (Likewise for othe
Eric Willigers
2017/05/25 11:43:12
Done. offset-position and offset-anchor now test a
| |
9 <script src="/resources/testharness.js"></script> | |
10 <script src="/resources/testharnessreport.js"></script> | |
11 <script src="resources/parsing-testcommon.js"></script> | |
12 </head> | |
13 <body> | |
14 <script> | |
15 assert_valid_value("offset-anchor", "left bottom"); | |
16 assert_valid_value("offset-anchor", "center center"); | |
17 assert_valid_value("offset-anchor", "right center"); | |
18 assert_valid_value("offset-anchor", "center top"); | |
19 assert_valid_value("offset-anchor", "center bottom"); | |
20 assert_valid_value("offset-anchor", "calc(10px + 20%) center"); | |
21 assert_valid_value("offset-anchor", "right 30em"); | |
22 assert_valid_value("offset-anchor", "10px 20%"); | |
23 assert_valid_value("offset-anchor", "left -10px top -20%"); | |
24 assert_valid_value("offset-anchor", "right 10% bottom 20em"); | |
25 </script> | |
26 </body> | |
27 </html> | |
OLD | NEW |