Bug 1849136 [wpt PR 41509] - Add WPT tests of clip-path on SVG defaulting to use...
commitc5d2006aa97080f6be9008a35da3a13ba6da697e
authorPhilip Rogers <pdr@chromium.org>
Fri, 8 Sep 2023 18:33:31 +0000 (8 18:33 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Wed, 13 Sep 2023 11:36:22 +0000 (13 11:36 +0000)
treefd0fdcae869a2ebeabbc078e6bc350c76648da14
parenta2720e4a24a8cd18ab0811bec569da04f279551c
Bug 1849136 [wpt PR 41509] - Add WPT tests of clip-path on SVG defaulting to use the stroke-box, a=testonly

Automatic update from web-platform-tests
Add WPT tests of clip-path on SVG defaulting to use the stroke-box

This patch adds two WPT tests covering the following lines from
http://www.w3.org/TR/css-masking-1/#the-clip-path:
1. If no reference box is specified, the border-box will be used as
  reference box.
2. For SVG elements without an associated CSS layout box, the used
  value for ... border-box and margin-box is stroke-box.

Bug: 694218
Change-Id: I93e589b371ccb92c5a7392c97d234d921fc5ead6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4789882
Commit-Queue: Fredrik Söderquist <fs@opera.com>
Reviewed-by: Fredrik Söderquist <fs@opera.com>
Auto-Submit: Philip Rogers <pdr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1184669}

--

wpt-commits: f559b5121d6b0d1ac0b547a8fddf13b8031957c7
wpt-pr: 41509
testing/web-platform/tests/css/css-masking/clip-path-svg-content/clip-path-inset-stroke-001.svg [new file with mode: 0644]
testing/web-platform/tests/css/css-masking/clip-path-svg-content/clip-path-inset-stroke-002.svg [new file with mode: 0644]