1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-15 08:34:59 +00:00
serenity/Tests/LibWeb/Text/expected/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.txt LibWeb: Add hit testing API in internals object 2023-08-09 17:26:44 +02:00
button.txt LibWeb: Fix hit-testing for button element 2024-02-13 14:22:14 +01:00
click-outside-of-box-with-hidden-overflow.txt 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.txt LibWeb: Use clip rectangles assigned to paintables in hit-testing 2024-01-30 11:22:22 +01:00
float-with-inline-sibling-after.txt LibWeb: Skip out-of-flow boxes when wrapping inlines in anonymous block 2023-12-11 13:19:12 +01:00
grid.txt 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.txt Tests/LibWeb: Test hit testing in XML .svg files does not crash 2024-02-18 18:33:11 +01:00
inline-stacking-context.txt LibWeb: Allow inline nodes to establish a stacking context 2024-01-05 19:36:55 +01:00
nested-inline-paintables.txt LibWeb: Test nested elements in InlinePaintable::hit_test() 2024-01-25 15:53:18 +01:00
overflow-hidden-wrapped-into-css-translate.txt LibWeb: Fix hit-testing by excluding CSS transform from clip rect check 2024-02-22 07:36:20 +01:00
overflow-scroll.txt LibWeb: Account for scroll offset in hit-testing 2024-01-29 09:57:40 +01:00
svg-path.txt LibWeb: Add hit-testing test for SVG path 2024-02-14 06:56:22 +01:00
text.txt LibWeb: Remove implicit conversion from float and double to CSSPixels 2023-08-26 23:53:45 +02:00