1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 21:54:58 +00:00
serenity/Tests/LibWeb/Text
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
..
data Tests/LibWeb: Move LibWeb test frames to their own directory 2024-02-19 22:11:59 -05:00
expected LibWeb: Fix hit-testing by excluding CSS transform from clip rect check 2024-02-22 07:36:20 +01:00
input LibWeb: Fix hit-testing by excluding CSS transform from clip rect check 2024-02-22 07:36:20 +01:00