|
| 1 | +This is a testharness.js-based test. |
| 2 | +PASS e.style['offset-path'] = "none" should set the property value |
| 3 | +PASS Serialization should round-trip after setting e.style['offset-path'] = "none" |
| 4 | +PASS e.style['offset-path'] = "ray(0rad closest-side)" should set the property value |
| 5 | +PASS Serialization should round-trip after setting e.style['offset-path'] = "ray(0rad closest-side)" |
| 6 | +PASS e.style['offset-path'] = "ray(0.25turn closest-corner contain)" should set the property value |
| 7 | +PASS Serialization should round-trip after setting e.style['offset-path'] = "ray(0.25turn closest-corner contain)" |
| 8 | +PASS e.style['offset-path'] = "ray(200grad farthest-side)" should set the property value |
| 9 | +PASS Serialization should round-trip after setting e.style['offset-path'] = "ray(200grad farthest-side)" |
| 10 | +PASS e.style['offset-path'] = "ray(270deg farthest-corner contain)" should set the property value |
| 11 | +PASS Serialization should round-trip after setting e.style['offset-path'] = "ray(270deg farthest-corner contain)" |
| 12 | +PASS e.style['offset-path'] = "ray(-720deg sides)" should set the property value |
| 13 | +PASS Serialization should round-trip after setting e.style['offset-path'] = "ray(-720deg sides)" |
| 14 | +PASS e.style['offset-path'] = "ray(calc(180deg - 45deg) farthest-side)" should set the property value |
| 15 | +PASS Serialization should round-trip after setting e.style['offset-path'] = "ray(calc(180deg - 45deg) farthest-side)" |
| 16 | +PASS e.style['offset-path'] = "path('m 0 0 h -100')" should set the property value |
| 17 | +PASS Serialization should round-trip after setting e.style['offset-path'] = "path('m 0 0 h -100')" |
| 18 | +PASS 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 |
| 19 | +PASS 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')" |
| 20 | +FAIL e.style['offset-path'] = "url(\"http://www.example.com/index.html#polyline1\")" should set the property value assert_not_equals: got disallowed value "" |
| 21 | +FAIL Serialization should round-trip after setting e.style['offset-path'] = "url(\"http://www.example.com/index.html#polyline1\")" assert_equals: expected "url(\"http://www.example.com/index.html#polyline1\")" but got "" |
| 22 | +FAIL e.style['offset-path'] = "circle(100px)" should set the property value assert_not_equals: got disallowed value "" |
| 23 | +FAIL Serialization should round-trip after setting e.style['offset-path'] = "circle(100px)" assert_equals: expected "circle(100px)" but got "" |
| 24 | +FAIL e.style['offset-path'] = "margin-box" should set the property value assert_not_equals: got disallowed value "" |
| 25 | +FAIL Serialization should round-trip after setting e.style['offset-path'] = "margin-box" assert_equals: expected "margin-box" but got "" |
| 26 | +FAIL e.style['offset-path'] = "inset(10% 20% 30% 40%) border-box" should set the property value assert_not_equals: got disallowed value "" |
| 27 | +FAIL Serialization should round-trip after setting e.style['offset-path'] = "inset(10% 20% 30% 40%) border-box" assert_equals: expected "inset(10% 20% 30% 40%) border-box" but got "" |
| 28 | +FAIL e.style['offset-path'] = "fill-box ellipse(50% 60%)" should set the property value assert_not_equals: got disallowed value "" |
| 29 | +FAIL Serialization should round-trip after setting e.style['offset-path'] = "fill-box ellipse(50% 60%)" assert_equals: expected "ellipse(50% 60%) fill-box" but got "" |
| 30 | +Harness: the test ran to completion. |
| 31 | + |
0 commit comments