Skip to content

Commit 97cc74a

Browse files
Change WPT test for offset-path parsing
1) As per https://drafts.csswg.org/css-box-4/#typedef-coord-box can't be defined with margin-box. 2) Comes from w3c/csswg-drafts#8695 (comment) Resolved here: web-platform-tests/interop#340 Change-Id: I6fe865d5248c7004257cd17669353d810f6e3d09
1 parent 3528382 commit 97cc74a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

css/motion/parsing/offset-path-parsing-valid.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,12 @@
4444

4545
test_valid_value("offset-path", 'url("http://www.example.com/index.html#polyline1")');
4646

47-
test_valid_value("offset-path", "circle(100px)", "circle(100px at 50% 50%)");
48-
test_valid_value("offset-path", "margin-box");
47+
test_valid_value("offset-path", "circle(100px)");
48+
test_valid_value("offset-path", "circle(100px at 50% 50%)", "circle(100px at 50% 50%)");
49+
test_valid_value("offset-path", "border-box");
4950
test_valid_value("offset-path", "inset(10% 20% 30% 40%) border-box");
5051
test_valid_value("offset-path", "fill-box ellipse(50% 60%)", "ellipse(50% 60%) fill-box");
52+
test_valid_value("offset-path", "content-box ellipse(50% 60% at 50% 50%)", "ellipse(50% 60% at 50% 50%) content-box");
5153
script>
5254
body>
5355
html>

0 commit comments

Comments
 (0)