layout: Add initial support for clip-path: [<basic-shape> || <shape-box>] (#33107)

* Turn on clip-path tests and add results

Signed-off-by: Martin Robinson <mrobinson@igalia.com>

* enhance: Add support for `clip-path: [<basic-shape> || <shape-box>]`

Signed-off-by: Chocolate Pie <106949016+chocolate-pie@users.noreply.github.com>

* Changes from review

Signed-off-by: Martin Robinson <mrobinson@igalia.com>

---------

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Signed-off-by: Chocolate Pie <106949016+chocolate-pie@users.noreply.github.com>
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
Chocolate Pie 2024-08-29 00:00:34 +09:00 committed by GitHub
parent f810983fd2
commit 590527176e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
56 changed files with 450 additions and 89 deletions

View file

@ -0,0 +1,2 @@
[clip-path-blending-offset.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[clip-path-borderBox-1a.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[clip-path-borderBox-1c.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[clip-path-circle-001.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[clip-path-circle-002.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[clip-path-circle-003.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[clip-path-circle-004.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[clip-path-circle-005.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[clip-path-circle-006.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[clip-path-circle-007.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[clip-path-circle-008.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[clip-path-circle-closest-corner.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[clip-path-circle-farthest-corner.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[clip-path-contentBox-1a.html]
expected: FAIL

View file

@ -1,2 +1,2 @@
[clip-path-descendant-text-mutated-001.html]
expected: FAIL
expected: TIMEOUT

View file

@ -1,2 +0,0 @@
[clip-path-ellipse-001.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[clip-path-ellipse-002.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[clip-path-ellipse-003.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[clip-path-ellipse-004.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[clip-path-ellipse-005.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[clip-path-ellipse-006.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[clip-path-ellipse-007.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[clip-path-ellipse-008.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[clip-path-ellipse-closest-farthest-corner.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[clip-path-fillBox-1a.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[clip-path-filter-order.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[clip-path-fixed-nested.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[clip-path-fixed-scroll.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[clip-path-foreignobject-non-zero-xy.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[clip-path-geometryBox-2.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[clip-path-inline-007.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[clip-path-mix-blend-mode-1.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[clip-path-paddingBox-1a.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[clip-path-paddingBox-1c.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[clip-path-path-003.html]
expected: FAIL

View file

@ -0,0 +1,3 @@
[clip-path-path-with-zoom-hittest.html]
[clip-path: path() hit-test takes zoom into account]
expected: FAIL

View file

@ -0,0 +1,2 @@
[clip-path-path-with-zoom.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[clip-path-round-zero-size.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[clip-path-scaled-video.html]
expected: FAIL

View file

@ -1,2 +1,2 @@
[clip-path-scroll.html]
expected: TIMEOUT
expected: FAIL

View file

@ -0,0 +1,2 @@
[clip-path-shape-005.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[clip-path-shape-006.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[clip-path-shape-foreignobject-non-zero-xy.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[clip-path-strokeBox-1a.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[clip-path-svg-text-font-loading.html]
expected: TIMEOUT

View file

@ -0,0 +1,2 @@
[clip-path-url-reference-svg-foreignobject-zoomed.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[clip-path-viewBox-1c.html]
expected: FAIL

View file

@ -1,10 +0,0 @@
[interpolation.html]
[Test circle with negative easing on clip-path]
expected: FAIL
[Test ellipse with negative easing on clip-path]
expected: FAIL
[Test inset with negative easing on clip-path]
expected: FAIL

View file

@ -0,0 +1,2 @@
[svg-clip-path-fixed-values.html]
expected: FAIL