Jelle Raaijmakers
b7a554d1f2
LibWeb: Reorder paintable hit-testing to account for pointer-events
...
Instead of ignoring any paintable immediately when they're invisible to
hit-testing, consider every candidate and while the most specific
candidate is invisible to hit-testing, traverse up to its parent
paintable.
This more closely reflects the behavior expected when wrapping block
elements inside inline elements, where although the block element might
have `pointer-events: none`, it still becomes part of the hit-test body
of the inline parent.
This makes the following link work as expected:
<a href="https://ladybird.org ">
<div style="pointer-events: none">Ladybird</div>
</a>
2025-01-23 09:33:10 +01:00
..
2025-01-21 11:34:06 -05:00
2025-01-09 14:08:23 +00:00
2025-01-21 11:34:06 -05:00
2025-01-21 11:34:06 -05:00
2024-12-25 12:00:54 +01:00
2025-01-21 11:34:06 -05:00
2025-01-21 11:34:06 -05:00
2025-01-23 09:33:10 +01:00
2025-01-21 11:34:06 -05:00
2025-01-22 12:33:55 +00:00
2025-01-21 19:08:37 +01:00
2025-01-21 21:36:05 +01:00
2024-11-15 14:49:20 +01:00
2025-01-22 12:33:55 +00:00
2025-01-22 12:33:55 +00:00
2024-12-28 07:51:11 +01:00
2024-11-30 11:55:11 +01:00
2025-01-23 09:33:10 +01:00
2025-01-14 23:46:09 +01:00
2025-01-03 14:54:29 +01:00
2025-01-22 12:33:55 +00:00
2025-01-21 11:34:06 -05:00
2025-01-23 09:33:10 +01:00
2024-12-09 12:31:16 +01:00
2025-01-12 00:35:58 +01:00
2024-11-15 14:49:20 +01:00
2025-01-12 00:35:58 +01:00
2025-01-21 11:34:06 -05:00
2025-01-12 00:35:58 +01:00
2025-01-22 12:25:48 +00:00
2025-01-23 09:33:10 +01:00
2025-01-12 00:35:58 +01:00
2025-01-02 10:47:21 +01:00
2024-11-15 14:49:20 +01:00
2025-01-21 11:34:06 -05:00
2025-01-10 23:33:35 +01:00
2025-01-22 12:33:55 +00:00
2025-01-21 19:22:07 +00:00
2025-01-21 11:34:06 -05:00
2025-01-21 11:34:06 -05:00
2025-01-12 00:35:58 +01:00
2024-11-23 16:43:55 +01:00
2024-12-26 19:10:44 +01:00
2025-01-21 11:34:06 -05:00
2025-01-21 11:34:06 -05:00
2025-01-21 21:36:05 +01:00
2025-01-21 21:36:05 +01:00
2025-01-22 12:33:55 +00:00
2024-11-15 14:49:20 +01:00
2024-12-09 12:31:16 +01:00
2025-01-22 12:33:55 +00:00
2025-01-12 00:35:58 +01:00
2025-01-21 11:34:06 -05:00
2025-01-21 21:36:05 +01:00
2025-01-23 09:33:10 +01:00
2025-01-21 21:36:05 +01:00
2025-01-21 21:36:05 +01:00
2025-01-12 00:35:58 +01:00
2025-01-12 00:35:58 +01:00
2025-01-23 09:33:10 +01:00