Skip to content

Commit

Permalink
Bug 1834271 [wpt PR 40120] - Change WPT test for offset-path parsing,…
Browse files Browse the repository at this point in the history
… a=testonly

Automatic update from web-platform-tests
Change WPT test for offset-path parsing

1) As per https://drafts.csswg.org/css-box-4/#typedef-coord-box
<coord-box> can't be defined with margin-box.

2) "at <position" changes come from
w3c/csswg-drafts#8695 (comment)

Resolved here: web-platform-tests/interop#340

Change-Id: I6fe865d5248c7004257cd17669353d810f6e3d09
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4551246
Reviewed-by: Anders Hartvoll Ruud <andruudchromium.org>
Commit-Queue: Daniil Sakhapov <sakhapovchromium.org>
Cr-Commit-Position: refs/heads/main{#1150434}

--

wpt-commits: 77e63377e0476fe25da513b11b78f1525c5c91ee
wpt-pr: 40120

UltraBlame original commit: 6af80ffc63102ca16a772daca958c3ad783d4eab
  • Loading branch information
marco-c committed Jun 16, 2023
1 parent e4c31f0 commit 1503c10
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,12 @@

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

test_valid_value("offset-path", "circle(100px)", "circle(100px at 50% 50%)");
test_valid_value("offset-path", "margin-box");
test_valid_value("offset-path", "circle(100px)");
test_valid_value("offset-path", "circle(100px at 50% 50%)");
test_valid_value("offset-path", "border-box");
test_valid_value("offset-path", "inset(10% 20% 30% 40%) border-box");
test_valid_value("offset-path", "fill-box ellipse(50% 60%)", "ellipse(50% 60%) fill-box");
test_valid_value("offset-path", "content-box ellipse(50% 60% at 50% 50%)", "ellipse(50% 60% at 50% 50%) content-box");
</script>
</body>
</html>

0 comments on commit 1503c10

Please sign in to comment.