зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1429298 - Part 7: Tests. r=emilio
In wpt, now we support "offset-path: none | path()", so parsing none or path function should be correct. Animations which animate "from none" or "to none" will pass because we could serialize "none", even if we don't support animations on offset-path. Depends on D2968 Differential Revision: https://phabricator.services.mozilla.com/D2969 --HG-- rename : testing/web-platform/tests/css/motion/offset-path-string.html => testing/web-platform/tests/css/motion/offset-path-string-001.html rename : testing/web-platform/tests/css/motion/offset-path-string.html => testing/web-platform/tests/css/motion/offset-path-string-002.html extra : moz-landing-system : lando
This commit is contained in:
Родитель
bbea8d1bca
Коммит
ef9ee2f37d
|
@ -3074,7 +3074,11 @@ pref("layout.css.ruby.intercharacter.enabled", false);
|
|||
pref("layout.css.overscroll-behavior.enabled", true);
|
||||
|
||||
// Is support for motion-path enabled?
|
||||
#ifdef RELEASE_OR_BETA
|
||||
pref("layout.css.motion-path.enabled", false);
|
||||
#else
|
||||
pref("layout.css.motion-path.enabled", true);
|
||||
#endif
|
||||
|
||||
// pref for which side vertical scrollbars should be on
|
||||
// 0 = end-side in UI direction
|
||||
|
|
|
@ -165091,9 +165091,21 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"css/motion/offset-path-string.html": [
|
||||
"css/motion/offset-path-string-001.html": [
|
||||
[
|
||||
"/css/motion/offset-path-string.html",
|
||||
"/css/motion/offset-path-string-001.html",
|
||||
[
|
||||
[
|
||||
"/css/motion/offset-path-string-ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
{}
|
||||
]
|
||||
],
|
||||
"css/motion/offset-path-string-002.html": [
|
||||
[
|
||||
"/css/motion/offset-path-string-002.html",
|
||||
[
|
||||
[
|
||||
"/css/motion/offset-path-string-ref.html",
|
||||
|
@ -568266,14 +568278,18 @@
|
|||
"6c39e7b8f4cfafe05c07d166eb65570432912b7a",
|
||||
"reftest"
|
||||
],
|
||||
"css/motion/offset-path-string-001.html": [
|
||||
"79d957d82b8e3c603ed16598f461a805c90681dd",
|
||||
"reftest"
|
||||
],
|
||||
"css/motion/offset-path-string-002.html": [
|
||||
"0d2fcbbb661c2fe0e5b57ff780d78b2f8b6f627b",
|
||||
"reftest"
|
||||
],
|
||||
"css/motion/offset-path-string-ref.html": [
|
||||
"5c5ff5f6f2ddc4696f2d51266199fe052464d9e6",
|
||||
"support"
|
||||
],
|
||||
"css/motion/offset-path-string.html": [
|
||||
"79d957d82b8e3c603ed16598f461a805c90681dd",
|
||||
"reftest"
|
||||
],
|
||||
"css/motion/offset-rotate-001.html": [
|
||||
"55147698a7f2f02a57f0fe3adc8b33257d1e212f",
|
||||
"reftest"
|
||||
|
@ -568315,11 +568331,11 @@
|
|||
"testharness"
|
||||
],
|
||||
"css/motion/parsing/offset-path-parsing-invalid.html": [
|
||||
"c0a32486922b4b1b482817f409571e1e6c4219f7",
|
||||
"7fbd06a508a322ac0969eb11c4299de50fd254e7",
|
||||
"testharness"
|
||||
],
|
||||
"css/motion/parsing/offset-path-parsing-valid.html": [
|
||||
"c1e229e1a05a4c85845384ace9b884125f579415",
|
||||
"e7797686e4ac524ac9dc9f8525dbd5a24adeec29",
|
||||
"testharness"
|
||||
],
|
||||
"css/motion/parsing/offset-position-parsing-invalid.html": [
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
prefs: [layout.css.motion-path.enabled:true]
|
|
@ -1,7 +1,4 @@
|
|||
[offset-path-interpolation-001.html]
|
||||
["path('M 0 0 H 1 H 2')" and "path('M 0 0 H 3')" are valid offset-path values]
|
||||
expected: FAIL
|
||||
|
||||
[Animation between "path('M 0 0 H 1 H 2')" and "path('M 0 0 H 3')" at progress -1]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -20,9 +17,6 @@
|
|||
[Animation between "path('M 0 0 H 1 H 2')" and "path('M 0 0 H 3')" at progress 2]
|
||||
expected: FAIL
|
||||
|
||||
["path('M 1 2 L 3 4 Z')" and "none" are valid offset-path values]
|
||||
expected: FAIL
|
||||
|
||||
[Animation between "path('M 1 2 L 3 4 Z')" and "none" at progress -1]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -32,18 +26,6 @@
|
|||
[Animation between "path('M 1 2 L 3 4 Z')" and "none" at progress 0.125]
|
||||
expected: FAIL
|
||||
|
||||
[Animation between "path('M 1 2 L 3 4 Z')" and "none" at progress 0.875]
|
||||
expected: FAIL
|
||||
|
||||
[Animation between "path('M 1 2 L 3 4 Z')" and "none" at progress 1]
|
||||
expected: FAIL
|
||||
|
||||
[Animation between "path('M 1 2 L 3 4 Z')" and "none" at progress 2]
|
||||
expected: FAIL
|
||||
|
||||
["path('M 10 0 H 11')" and "path('M 20 0 V 2')" are valid offset-path values]
|
||||
expected: FAIL
|
||||
|
||||
[Animation between "path('M 10 0 H 11')" and "path('M 20 0 V 2')" at progress -1]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -62,9 +44,6 @@
|
|||
[Animation between "path('M 10 0 H 11')" and "path('M 20 0 V 2')" at progress 2]
|
||||
expected: FAIL
|
||||
|
||||
["path('M 1 2 L 4 6 Z')" and "path('M 1 2 H 4 V 6')" are valid offset-path values]
|
||||
expected: FAIL
|
||||
|
||||
[Animation between "path('M 1 2 L 4 6 Z')" and "path('M 1 2 H 4 V 6')" at progress -1]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -83,9 +62,6 @@
|
|||
[Animation between "path('M 1 2 L 4 6 Z')" and "path('M 1 2 H 4 V 6')" at progress 2]
|
||||
expected: FAIL
|
||||
|
||||
["path('M 0 0 Z')" and "path('M 0 0 Z')" are valid offset-path values]
|
||||
expected: FAIL
|
||||
|
||||
[Animation between "path('M 0 0 Z')" and "path('M 0 0 Z')" at progress -1]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -104,9 +80,6 @@
|
|||
[Animation between "path('M 0 0 Z')" and "path('M 0 0 Z')" at progress 2]
|
||||
expected: FAIL
|
||||
|
||||
["path('M 20 70')" and "path('M 100 30')" are valid offset-path values]
|
||||
expected: FAIL
|
||||
|
||||
[Animation between "path('M 20 70')" and "path('M 100 30')" at progress -1]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -125,9 +98,6 @@
|
|||
[Animation between "path('M 20 70')" and "path('M 100 30')" at progress 2]
|
||||
expected: FAIL
|
||||
|
||||
["path('m 20 70')" and "path('m 100 30')" are valid offset-path values]
|
||||
expected: FAIL
|
||||
|
||||
[Animation between "path('m 20 70')" and "path('m 100 30')" at progress -1]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -146,9 +116,6 @@
|
|||
[Animation between "path('m 20 70')" and "path('m 100 30')" at progress 2]
|
||||
expected: FAIL
|
||||
|
||||
["path('m 100 200 L 120 270')" and "path('m 100 200 L 200 230')" are valid offset-path values]
|
||||
expected: FAIL
|
||||
|
||||
[Animation between "path('m 100 200 L 120 270')" and "path('m 100 200 L 200 230')" at progress -1]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -167,9 +134,6 @@
|
|||
[Animation between "path('m 100 200 L 120 270')" and "path('m 100 200 L 200 230')" at progress 2]
|
||||
expected: FAIL
|
||||
|
||||
["path('m 100 200 l 20 70')" and "path('m 100 200 l 100 30')" are valid offset-path values]
|
||||
expected: FAIL
|
||||
|
||||
[Animation between "path('m 100 200 l 20 70')" and "path('m 100 200 l 100 30')" at progress -1]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
[offset-path-interpolation-002.html]
|
||||
["path('M 20 10 C 32 42 52 62 120 2200')" and "path('M 20 10 C 40 50 60 70 200 3000')" are valid offset-path values]
|
||||
expected: FAIL
|
||||
|
||||
[Animation between "path('M 20 10 C 32 42 52 62 120 2200')" and "path('M 20 10 C 40 50 60 70 200 3000')" at progress -1]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -20,9 +17,6 @@
|
|||
[Animation between "path('M 20 10 C 32 42 52 62 120 2200')" and "path('M 20 10 C 40 50 60 70 200 3000')" at progress 2]
|
||||
expected: FAIL
|
||||
|
||||
["path('m 20 10 c 12 32 32 52 100 2190')" and "path('m 20 10 c 20 40 40 60 180 2990')" are valid offset-path values]
|
||||
expected: FAIL
|
||||
|
||||
[Animation between "path('m 20 10 c 12 32 32 52 100 2190')" and "path('m 20 10 c 20 40 40 60 180 2990')" at progress -1]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -41,9 +35,6 @@
|
|||
[Animation between "path('m 20 10 c 12 32 32 52 100 2190')" and "path('m 20 10 c 20 40 40 60 180 2990')" at progress 2]
|
||||
expected: FAIL
|
||||
|
||||
["path('M 20 10 Q 32 42 120 2200')" and "path('M 20 10 Q 40 50 200 3000')" are valid offset-path values]
|
||||
expected: FAIL
|
||||
|
||||
[Animation between "path('M 20 10 Q 32 42 120 2200')" and "path('M 20 10 Q 40 50 200 3000')" at progress -1]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -62,9 +53,6 @@
|
|||
[Animation between "path('M 20 10 Q 32 42 120 2200')" and "path('M 20 10 Q 40 50 200 3000')" at progress 2]
|
||||
expected: FAIL
|
||||
|
||||
["path('m 20 10 q 12 32 100 2190')" and "path('m 20 10 q 20 40 180 2990')" are valid offset-path values]
|
||||
expected: FAIL
|
||||
|
||||
[Animation between "path('m 20 10 q 12 32 100 2190')" and "path('m 20 10 q 20 40 180 2990')" at progress -1]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -83,9 +71,6 @@
|
|||
[Animation between "path('m 20 10 q 12 32 100 2190')" and "path('m 20 10 q 20 40 180 2990')" at progress 2]
|
||||
expected: FAIL
|
||||
|
||||
["path('M 100 400 A 10 20 30 1 0 140 450')" and "path('M 300 200 A 50 60 70 0 1 380 290')" are valid offset-path values]
|
||||
expected: FAIL
|
||||
|
||||
[Animation between "path('M 100 400 A 10 20 30 1 0 140 450')" and "path('M 300 200 A 50 60 70 0 1 380 290')" at progress -1]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -104,9 +89,6 @@
|
|||
[Animation between "path('M 100 400 A 10 20 30 1 0 140 450')" and "path('M 300 200 A 50 60 70 0 1 380 290')" at progress 2]
|
||||
expected: FAIL
|
||||
|
||||
["path('m 100 400 a 10 20 30 1 0 40 50')" and "path('m 300 200 a 50 60 70 0 1 80 90')" are valid offset-path values]
|
||||
expected: FAIL
|
||||
|
||||
[Animation between "path('m 100 400 a 10 20 30 1 0 40 50')" and "path('m 300 200 a 50 60 70 0 1 80 90')" at progress -1]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
[offset-path-interpolation-003.html]
|
||||
["path('M 50 60 H 70')" and "path('M 10 140 H 270')" are valid offset-path values]
|
||||
expected: FAIL
|
||||
|
||||
[Animation between "path('M 50 60 H 70')" and "path('M 10 140 H 270')" at progress -1]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -20,9 +17,6 @@
|
|||
[Animation between "path('M 50 60 H 70')" and "path('M 10 140 H 270')" at progress 2]
|
||||
expected: FAIL
|
||||
|
||||
["path('m 50 60 h 20')" and "path('m 10 140 h 260')" are valid offset-path values]
|
||||
expected: FAIL
|
||||
|
||||
[Animation between "path('m 50 60 h 20')" and "path('m 10 140 h 260')" at progress -1]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -41,9 +35,6 @@
|
|||
[Animation between "path('m 50 60 h 20')" and "path('m 10 140 h 260')" at progress 2]
|
||||
expected: FAIL
|
||||
|
||||
["path('M 50 60 V 70')" and "path('M 10 140 V 270')" are valid offset-path values]
|
||||
expected: FAIL
|
||||
|
||||
[Animation between "path('M 50 60 V 70')" and "path('M 10 140 V 270')" at progress -1]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -62,9 +53,6 @@
|
|||
[Animation between "path('M 50 60 V 70')" and "path('M 10 140 V 270')" at progress 2]
|
||||
expected: FAIL
|
||||
|
||||
["path('m 50 60 v 10')" and "path('m 10 140 v 130')" are valid offset-path values]
|
||||
expected: FAIL
|
||||
|
||||
[Animation between "path('m 50 60 v 10')" and "path('m 10 140 v 130')" at progress -1]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -83,9 +71,6 @@
|
|||
[Animation between "path('m 50 60 v 10')" and "path('m 10 140 v 130')" at progress 2]
|
||||
expected: FAIL
|
||||
|
||||
["path('M 12 34 S 45 67 89 123')" and "path('M 20 26 S 61 51 113 99')" are valid offset-path values]
|
||||
expected: FAIL
|
||||
|
||||
[Animation between "path('M 12 34 S 45 67 89 123')" and "path('M 20 26 S 61 51 113 99')" at progress -1]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -104,9 +89,6 @@
|
|||
[Animation between "path('M 12 34 S 45 67 89 123')" and "path('M 20 26 S 61 51 113 99')" at progress 2]
|
||||
expected: FAIL
|
||||
|
||||
["path('m 12 34 s 33 33 77 89')" and "path('m 20 26 s 41 25 93 73')" are valid offset-path values]
|
||||
expected: FAIL
|
||||
|
||||
[Animation between "path('m 12 34 s 33 33 77 89')" and "path('m 20 26 s 41 25 93 73')" at progress -1]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -125,9 +107,6 @@
|
|||
[Animation between "path('m 12 34 s 33 33 77 89')" and "path('m 20 26 s 41 25 93 73')" at progress 2]
|
||||
expected: FAIL
|
||||
|
||||
["path('M 12 34 T 45 67')" and "path('M 20 26 T 61 51')" are valid offset-path values]
|
||||
expected: FAIL
|
||||
|
||||
[Animation between "path('M 12 34 T 45 67')" and "path('M 20 26 T 61 51')" at progress -1]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -146,9 +125,6 @@
|
|||
[Animation between "path('M 12 34 T 45 67')" and "path('M 20 26 T 61 51')" at progress 2]
|
||||
expected: FAIL
|
||||
|
||||
["path('m 12 34 t 33 33')" and "path('m 20 26 t 41 25')" are valid offset-path values]
|
||||
expected: FAIL
|
||||
|
||||
[Animation between "path('m 12 34 t 33 33')" and "path('m 20 26 t 41 25')" at progress -1]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
[offset-path-interpolation-004.html]
|
||||
["path('M 0 0 L 100 100 M 100 200 L 200 200 Z L 200 100 Z')" and "path('M 0 0 L 100 100 m 0 100 l 100 0 z l 300 100 z')" are valid offset-path values]
|
||||
expected: FAIL
|
||||
|
||||
[Animation between "path('M 0 0 L 100 100 M 100 200 L 200 200 Z L 200 100 Z')" and "path('M 0 0 L 100 100 m 0 100 l 100 0 z l 300 100 z')" at progress -1]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -20,9 +17,6 @@
|
|||
[Animation between "path('M 0 0 L 100 100 M 100 200 L 200 200 Z L 200 100 Z')" and "path('M 0 0 L 100 100 m 0 100 l 100 0 z l 300 100 z')" at progress 2]
|
||||
expected: FAIL
|
||||
|
||||
["path('M 0 0 L 100 100 M 100 200 L 200 200 Z L 200 100 Z')" and "path('M 0 0 L 100 100 m 0 100 l 100 0 z l 100 -100 z')" are valid offset-path values]
|
||||
expected: FAIL
|
||||
|
||||
[Animation between "path('M 0 0 L 100 100 M 100 200 L 200 200 Z L 200 100 Z')" and "path('M 0 0 L 100 100 m 0 100 l 100 0 z l 100 -100 z')" at progress -1]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -41,9 +35,6 @@
|
|||
[Animation between "path('M 0 0 L 100 100 M 100 200 L 200 200 Z L 200 100 Z')" and "path('M 0 0 L 100 100 m 0 100 l 100 0 z l 100 -100 z')" at progress 2]
|
||||
expected: FAIL
|
||||
|
||||
["path('m 10 20 l 40 50 z l 40 60 z m 60 70 l 90 60 z t 70 130')" and "path('M 210 220 L 170 190 Z L 90 120 Z M 110 130 L 200 230 Z T 220 220')" are valid offset-path values]
|
||||
expected: FAIL
|
||||
|
||||
[Animation between "path('m 10 20 l 40 50 z l 40 60 z m 60 70 l 90 60 z t 70 130')" and "path('M 210 220 L 170 190 Z L 90 120 Z M 110 130 L 200 230 Z T 220 220')" at progress -1]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -62,9 +53,6 @@
|
|||
[Animation between "path('m 10 20 l 40 50 z l 40 60 z m 60 70 l 90 60 z t 70 130')" and "path('M 210 220 L 170 190 Z L 90 120 Z M 110 130 L 200 230 Z T 220 220')" at progress 2]
|
||||
expected: FAIL
|
||||
|
||||
["path('m 10 20 c 40 50 30 60 80 70 c 120 130 170 140 110 160')" and "path('M 130 100 C 130 150 120 160 210 170 C 290 300 340 310 320 330')" are valid offset-path values]
|
||||
expected: FAIL
|
||||
|
||||
[Animation between "path('m 10 20 c 40 50 30 60 80 70 c 120 130 170 140 110 160')" and "path('M 130 100 C 130 150 120 160 210 170 C 290 300 340 310 320 330')" at progress -1]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -83,9 +71,6 @@
|
|||
[Animation between "path('m 10 20 c 40 50 30 60 80 70 c 120 130 170 140 110 160')" and "path('M 130 100 C 130 150 120 160 210 170 C 290 300 340 310 320 330')" at progress 2]
|
||||
expected: FAIL
|
||||
|
||||
["path('m 10 20 q 30 60 40 50 q 110 80 90 80')" and "path('M 130 100 Q 120 160 130 150 Q 200 150 180 190')" are valid offset-path values]
|
||||
expected: FAIL
|
||||
|
||||
[Animation between "path('m 10 20 q 30 60 40 50 q 110 80 90 80')" and "path('M 130 100 Q 120 160 130 150 Q 200 150 180 190')" at progress -1]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -104,9 +89,6 @@
|
|||
[Animation between "path('m 10 20 q 30 60 40 50 q 110 80 90 80')" and "path('M 130 100 Q 120 160 130 150 Q 200 150 180 190')" at progress 2]
|
||||
expected: FAIL
|
||||
|
||||
["path('m 10 20 s 30 60 40 50 s 110 60 90 70')" and "path('M 130 140 S 120 160 130 150 S 200 170 140 180')" are valid offset-path values]
|
||||
expected: FAIL
|
||||
|
||||
[Animation between "path('m 10 20 s 30 60 40 50 s 110 60 90 70')" and "path('M 130 140 S 120 160 130 150 S 200 170 140 180')" at progress -1]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -125,9 +107,6 @@
|
|||
[Animation between "path('m 10 20 s 30 60 40 50 s 110 60 90 70')" and "path('M 130 140 S 120 160 130 150 S 200 170 140 180')" at progress 2]
|
||||
expected: FAIL
|
||||
|
||||
["path('m 10 20 h 30 v 60 h 10 v -10 l 110 60')" and "path('M 130 140 H 120 V 160 H 130 V 150 L 200 170')" are valid offset-path values]
|
||||
expected: FAIL
|
||||
|
||||
[Animation between "path('m 10 20 h 30 v 60 h 10 v -10 l 110 60')" and "path('M 130 140 H 120 V 160 H 130 V 150 L 200 170')" at progress -1]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -146,9 +125,6 @@
|
|||
[Animation between "path('m 10 20 h 30 v 60 h 10 v -10 l 110 60')" and "path('M 130 140 H 120 V 160 H 130 V 150 L 200 170')" at progress 2]
|
||||
expected: FAIL
|
||||
|
||||
["path('m 10 20 a 10 20 30 1 0 40 50 a 110 120 30 1 1 140 50')" and "path('M 18 12 A 50 100 70 0 1 90 110 A 150 160 70 0 1 70 80')" are valid offset-path values]
|
||||
expected: FAIL
|
||||
|
||||
[Animation between "path('m 10 20 a 10 20 30 1 0 40 50 a 110 120 30 1 1 140 50')" and "path('M 18 12 A 50 100 70 0 1 90 110 A 150 160 70 0 1 70 80')" at progress -1]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -32,27 +32,9 @@
|
|||
[Animation between "ray(0deg closest-corner)" and "none" at progress 0.125]
|
||||
expected: FAIL
|
||||
|
||||
[Animation between "ray(0deg closest-corner)" and "none" at progress 0.875]
|
||||
expected: FAIL
|
||||
|
||||
[Animation between "ray(0deg closest-corner)" and "none" at progress 1]
|
||||
expected: FAIL
|
||||
|
||||
[Animation between "ray(0deg closest-corner)" and "none" at progress 2]
|
||||
expected: FAIL
|
||||
|
||||
["none" and "ray(20deg closest-side)" are valid offset-path values]
|
||||
expected: FAIL
|
||||
|
||||
[Animation between "none" and "ray(20deg closest-side)" at progress -1]
|
||||
expected: FAIL
|
||||
|
||||
[Animation between "none" and "ray(20deg closest-side)" at progress 0]
|
||||
expected: FAIL
|
||||
|
||||
[Animation between "none" and "ray(20deg closest-side)" at progress 0.125]
|
||||
expected: FAIL
|
||||
|
||||
[Animation between "none" and "ray(20deg closest-side)" at progress 0.875]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
[offset-path-string-001.html]
|
||||
expected: FAIL
|
||||
bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1429299
|
|
@ -1,2 +0,0 @@
|
|||
[offset-path-string.html]
|
||||
expected: FAIL
|
|
@ -5,12 +5,6 @@
|
|||
[Serialization should round-trip after setting e.style['offset-path'\] = "fill-box ellipse(50% 60%)"]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['offset-path'\] = "none" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[Serialization should round-trip after setting e.style['offset-path'\] = "none"]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['offset-path'\] = "ray(0rad closest-side)" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -44,18 +38,6 @@
|
|||
[e.style['offset-path'\] = "ray(calc(180deg - 45deg) farthest-side)" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['offset-path'\] = "path('m 0 0 h -100')" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[Serialization should round-trip after setting e.style['offset-path'\] = "path('m 0 0 h -100')"]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['offset-path'\] = "path('M 0 0 L 100 100 M 100 200 L 200 200 Z L 300 300 Z')" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[Serialization should round-trip after setting e.style['offset-path'\] = "path('M 0 0 L 100 100 M 100 200 L 200 200 Z L 300 300 Z')"]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['offset-path'\] = "url(\\"http://www.example.com/index.html#polyline1\\")" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -0,0 +1,24 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>CSS Motion Path: path(string) paths</title>
|
||||
<link rel="help" href="https://drafts.fxtf.org/motion-1/#offset-path-property">
|
||||
<link rel="match" href="offset-path-string-ref.html">
|
||||
<meta name="assert" content="This tests that path(<string>) generates a rotation and translation.">
|
||||
<style>
|
||||
#target {
|
||||
position: absolute;
|
||||
left: 300px;
|
||||
top: 0px;
|
||||
width: 300px;
|
||||
height: 200px;
|
||||
background-color: lime;
|
||||
transform-origin: 0px 0px;
|
||||
offset-path: path('m 0 120 v 200');
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="target"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -14,7 +14,7 @@
|
|||
<script>
|
||||
// arc path segments must have at least 7 arguments.
|
||||
// https://www.w3.org/TR/SVG/paths.html#PathDataEllipticalArcCommands
|
||||
test_invalid_value("offset-path", "path('M 20 30 A 60 70 80')");
|
||||
test_invalid_value("offset-path", 'path("M 20 30 A 60 70 80")');
|
||||
|
||||
test_invalid_value("offset-path", "ray(0 sides)");
|
||||
test_invalid_value("offset-path", "ray(0deg)");
|
||||
|
|
|
@ -21,8 +21,8 @@ test_valid_value("offset-path", "ray(270deg farthest-corner contain)");
|
|||
test_valid_value("offset-path", "ray(-720deg sides)");
|
||||
test_valid_value("offset-path", "ray(calc(180deg - 45deg) farthest-side)", "ray(calc(135deg) farthest-side)");
|
||||
|
||||
test_valid_value("offset-path", "path('m 0 0 h -100')");
|
||||
test_valid_value("offset-path", "path('M 0 0 L 100 100 M 100 200 L 200 200 Z L 300 300 Z')");
|
||||
test_valid_value("offset-path", 'path("m 0 0 h -100")');
|
||||
test_valid_value("offset-path", 'path("M 0 0 L 100 100 M 100 200 L 200 200 Z L 300 300 Z")');
|
||||
|
||||
test_valid_value("offset-path", 'url("http://www.example.com/index.html#polyline1")');
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче