haikuwebkit/LayoutTests/css3/masking
Cameron McCormack e0b57fbf63 Make RenderLayer::hitTestLayer not assume its renderer is a RenderBox
https://bugs.webkit.org/show_bug.cgi?id=227004
<rdar://79265788>

Reviewed by Simon Fraser.

Source/WebCore:

An inline box might have a clip-path on it, so we can't assume that
the layer's renderer is a RenderBox. Avoid the assertion by hit testing
incorrectly for now.

Test: css3/masking/clip-path-hit-test-on-inline-iframe-parent.html

* rendering/RenderLayer.cpp:
(WebCore::RenderLayer::hitTestLayer):

LayoutTests:

* css3/masking/clip-path-hit-test-on-inline-iframe-parent-expected.txt: Added.
* css3/masking/clip-path-hit-test-on-inline-iframe-parent.html: Added.


Canonical link: https://commits.webkit.org/238895@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@278969 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-06-17 00:27:58 +00:00
..
resources [LayoutTests] Delete unused LayoutTests/css3 resources 2021-06-11 23:22:59 +00:00
clip-path-animation-expected.txt
clip-path-animation.html
clip-path-border-box-expected.html
clip-path-border-box.html
clip-path-border-radius-border-box-000-expected.html
clip-path-border-radius-border-box-000.html
clip-path-border-radius-content-box-000-expected.html
clip-path-border-radius-content-box-000.html
clip-path-border-radius-content-box-001-expected.html
clip-path-border-radius-content-box-001.html
clip-path-border-radius-fill-box-001-expected.html
clip-path-border-radius-fill-box-001.html
clip-path-border-radius-padding-box-000-expected.html
clip-path-border-radius-padding-box-000.html
clip-path-border-radius-padding-box-001-expected.html
clip-path-border-radius-padding-box-001.html
clip-path-border-radius-stroke-box-000-expected.html
clip-path-border-radius-stroke-box-000.html
clip-path-border-radius-view-box-000-expected.html
clip-path-border-radius-view-box-000.html
clip-path-box-shape-on-inline-crash-expected.txt
clip-path-box-shape-on-inline-crash.html
clip-path-circle-border-box.html
clip-path-circle-content-box.html
clip-path-circle-expected.txt
clip-path-circle-margin-box-expected.html
clip-path-circle-margin-box.html
clip-path-circle-padding-box.html
clip-path-circle-relative-overflow-expected.html
clip-path-circle-relative-overflow.html
clip-path-circle.html
clip-path-content-box-expected.html
clip-path-content-box.html
clip-path-ellipse-expected.html
clip-path-ellipse.html
clip-path-filter-expected.html
clip-path-filter.html
clip-path-hit-test-iframe-expected.txt Hit-testing does not account for clip-path on <iframe> 2021-06-02 08:28:32 +00:00
clip-path-hit-test-iframe.html Hit-testing does not account for clip-path on <iframe> 2021-06-02 08:28:32 +00:00
clip-path-hit-test-img-expected.txt Hit-testing does not account for clip-path on <iframe> 2021-06-02 08:28:32 +00:00
clip-path-hit-test-img.html Hit-testing does not account for clip-path on <iframe> 2021-06-02 08:28:32 +00:00
clip-path-hit-test-on-absolute-position-iframe-parent-expected.txt Hit-testing does not account for clip-path set on parent of <iframe> 2021-06-02 22:00:38 +00:00
clip-path-hit-test-on-absolute-position-iframe-parent.html Hit-testing does not account for clip-path set on parent of <iframe> 2021-06-02 22:00:38 +00:00
clip-path-hit-test-on-iframe-parent-expected.txt Hit-testing does not account for clip-path set on parent of <iframe> 2021-06-02 22:00:38 +00:00
clip-path-hit-test-on-iframe-parent.html Hit-testing does not account for clip-path set on parent of <iframe> 2021-06-02 22:00:38 +00:00
clip-path-hit-test-on-inline-iframe-parent-expected.txt Make RenderLayer::hitTestLayer not assume its renderer is a RenderBox 2021-06-17 00:27:58 +00:00
clip-path-hit-test-on-inline-iframe-parent.html Make RenderLayer::hitTestLayer not assume its renderer is a RenderBox 2021-06-17 00:27:58 +00:00
clip-path-inset-corners-expected.html
clip-path-inset-corners.html
clip-path-inset-expected.html
clip-path-inset.html
clip-path-margin-box-expected.html
clip-path-margin-box.html
clip-path-overflow-expected.html
clip-path-overflow-hidden-bounds-expected.html REGRESSION (r259137): Clip-path rendering regression when element contains transformed child 2020-12-15 18:16:25 +00:00
clip-path-overflow-hidden-bounds.html REGRESSION (r259137): Clip-path rendering regression when element contains transformed child 2020-12-15 18:16:25 +00:00
clip-path-overflow-hidden-expected.html
clip-path-overflow-hidden.html
clip-path-overflow.html
clip-path-padding-box-expected.html
clip-path-padding-box.html
clip-path-polygon-evenodd-expected.html
clip-path-polygon-evenodd.html
clip-path-polygon-expected.html
clip-path-polygon-nonzero-expected.html
clip-path-polygon-nonzero.html
clip-path-polygon-percentage-expected.html
clip-path-polygon-percentage.html
clip-path-polygon-viewport-units-expected.html
clip-path-polygon-viewport-units.html
clip-path-polygon.html
clip-path-reference-2-expected.html
clip-path-reference-2.html
clip-path-reference-expected.html
clip-path-reference-local-url-with-base-expected.html
clip-path-reference-local-url-with-base.html
clip-path-reference-of-fake-clipPath-expected.txt
clip-path-reference-of-fake-clipPath.html
clip-path-reference-restore-expected.html
clip-path-reference-restore.html
clip-path-reference-userSpaceOnUse-expected.html
clip-path-reference-userSpaceOnUse.html
clip-path-reference.html
clip-path-restore-expected.html
clip-path-restore.html
clip-path-root-relative-bounds-expected.html
clip-path-root-relative-bounds.html
clip-path-with-path-expected.html
clip-path-with-path.html
large-clip-path-expected.txt
large-clip-path.html
mask-base64-expected.html
mask-base64.html
mask-image-client-crash-expected.txt
mask-image-client-crash.html
mask-image-initial-value-crash-expected.txt
mask-image-initial-value-crash.html
mask-luminance-gradient-expected.html
mask-luminance-gradient.html
mask-luminance-png.html
mask-luminance-svg-expected.html
mask-luminance-svg.html
mask-repeat-one-copy-expected.html
mask-repeat-one-copy.html
mask-repeat-round-auto1-expected.html
mask-repeat-round-auto1.html
mask-repeat-round-auto2-expected.html
mask-repeat-round-auto2.html
mask-repeat-round-border-expected.html
mask-repeat-round-border.html
mask-repeat-round-content-expected.html
mask-repeat-round-content.html
mask-repeat-round-padding-expected.html
mask-repeat-round-padding.html
mask-repeat-space-border-expected.html
mask-repeat-space-border.html
mask-repeat-space-content-expected.html
mask-repeat-space-content.html
mask-repeat-space-padding-expected.html
mask-repeat-space-padding.html
mask-svg-no-fragmentId-expected.html
mask-svg-no-fragmentId-tiled-expected.html
mask-svg-no-fragmentId-tiled.html
mask-svg-no-fragmentId.html
mask-svg-script-none-to-png-expected.html
mask-svg-script-none-to-png.html
mask-svg-script-png-to-none-expected.html
mask-svg-script-png-to-none.html