1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-15 08:44:58 +00:00
serenity/Tests/LibWeb/Text/input/hit_testing
Aliaksandr Kalenik 9968c9f7a6 LibWeb: Fix hit-testing by excluding CSS transform from clip rect check
Transforms are applied to both clip rectangle and position, so we need
to remove the transform from clip rectangle before checking if position
falls within the clip rectangle.

In this change, the removal of transform is moved into
`Paintable::clip_rect()` that is shared between hit-testing and
painting.

This change fixes hit-testing in Discord's multifactor authentication
form.
2024-02-22 07:36:20 +01:00
..
basic.html LibWeb: Add hit testing API in internals object 2023-08-09 17:26:44 +02:00
button.html LibWeb: Fix hit-testing for button element 2024-02-13 14:22:14 +01:00
click-outside-of-box-with-hidden-overflow.html LibWeb: Use clip rectangles assigned to paintables in hit-testing 2024-01-30 11:22:22 +01:00
click-outside-of-box-with-lines-and-hidden-overflow.html LibWeb: Use clip rectangles assigned to paintables in hit-testing 2024-01-30 11:22:22 +01:00
float-with-inline-sibling-after.html LibWeb: Skip out-of-flow boxes when wrapping inlines in anonymous block 2023-12-11 13:19:12 +01:00
grid.html LibWeb: Treat grid item as it creates stacking context during painting 2023-08-22 11:33:24 +02:00
hit-testing-an-xml-svg-should-not-crash.svg Tests/LibWeb: Test hit testing in XML .svg files does not crash 2024-02-18 18:33:11 +01:00
inline-stacking-context.html LibWeb: Allow inline nodes to establish a stacking context 2024-01-05 19:36:55 +01:00
nested-inline-paintables.html LibWeb: Test nested elements in InlinePaintable::hit_test() 2024-01-25 15:53:18 +01:00
overflow-hidden-wrapped-into-css-translate.html LibWeb: Fix hit-testing by excluding CSS transform from clip rect check 2024-02-22 07:36:20 +01:00
overflow-scroll.html LibWeb: Account for scroll offset in hit-testing 2024-01-29 09:57:40 +01:00
svg-path.html LibWeb: Add hit-testing test for SVG path 2024-02-14 06:56:22 +01:00
text.html LibWeb: Add hit testing API in internals object 2023-08-09 17:26:44 +02:00