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
..
2024-11-15 14:49:20 +01:00
2024-11-15 14:49:20 +01:00
2024-11-15 14:49:20 +01:00
2024-11-15 14:49:20 +01:00
2024-11-30 17:35:45 +01:00
2024-12-21 19:15:58 +01:00
2024-11-15 14:49:20 +01:00
2024-11-15 14:49:20 +01:00
2025-01-13 23:03:07 +01:00
2025-01-13 23:03:07 +01:00
2025-01-11 23:10:09 +01:00
2025-01-11 23:10:09 +01:00
2024-11-15 14:49:20 +01:00
2024-11-15 14:49:20 +01:00
2024-11-24 13:04:06 +00:00
2024-11-15 14:49:20 +01:00
2024-11-15 14:49:20 +01:00
2025-01-21 11:34:06 -05:00
2024-11-15 14:49:20 +01:00
2024-11-15 14:49:20 +01:00
2024-11-15 14:49:20 +01:00
2025-01-23 09:33:10 +01:00
2025-01-21 19:08:37 +01:00
2024-11-30 17:35:45 +01:00
2025-01-21 11:34:06 -05:00
2024-11-15 14:49:20 +01:00
2024-11-15 14:49:20 +01:00
2024-11-15 14:49:20 +01:00
2025-01-11 11:10:43 +01:00
2025-01-11 11:10:43 +01:00
2024-12-11 17:38:31 -07:00
2024-12-11 17:38:31 -07:00
2024-11-15 14:49:20 +01:00
2024-11-15 14:49:20 +01:00
2024-11-15 14:49:20 +01:00
2024-12-25 14:57:22 +00:00
2024-12-18 19:22:44 +00:00
2024-11-15 14:49:20 +01:00
2024-12-06 18:09:53 +00:00
2024-12-06 18:09:53 +00:00
2024-12-10 14:54:19 +01:00
2024-11-15 14:49:20 +01:00
2025-01-23 09:33:10 +01:00
2025-01-19 19:54:38 +01:00
2025-01-21 11:34:06 -05:00
2024-11-15 14:49:20 +01:00
2025-01-21 11:34:06 -05:00
2024-11-15 14:49:20 +01:00
2025-01-21 11:34:06 -05:00
2024-11-26 14:50:27 +01:00
2025-01-05 16:19:19 +00:00
2025-01-21 11:34:06 -05:00
2024-11-18 20:20:57 +01:00
2024-12-25 14:57:22 +00:00
2024-12-26 19:10:44 +01:00
2024-12-26 19:10:44 +01:00
2024-11-15 14:49:20 +01:00
2024-12-25 14:57:22 +00:00
2025-01-16 23:22:48 +01:00
2024-12-26 19:10:44 +01:00
2024-12-26 19:10:44 +01:00
2025-01-21 11:34:06 -05:00
2024-11-15 14:49:20 +01:00
2024-11-15 14:49:20 +01:00
2024-11-15 14:49:20 +01:00
2025-01-12 00:35:58 +01:00
2025-01-12 00:35:58 +01:00
2024-11-30 16:47:14 +00:00
2024-11-30 16:47:14 +00:00
2025-01-21 11:34:06 -05:00
2025-01-21 11:34:06 -05:00
2024-11-15 14:49:20 +01:00
2024-11-15 14:49:20 +01:00
2025-01-10 08:08:46 +00:00
2025-01-10 08:08:46 +00:00
2024-11-15 14:49:20 +01:00
2024-11-15 14:49:20 +01:00
2025-01-21 11:34:06 -05:00
2024-11-15 14:49:20 +01:00
2025-01-04 20:32:35 +01:00
2025-01-21 11:34:06 -05:00
2024-11-15 14:49:20 +01:00
2024-11-15 14:49:20 +01:00
2024-11-15 14:49:20 +01:00
2024-11-15 14:49:20 +01:00
2025-01-23 09:33:10 +01:00
2025-01-10 23:33:35 +01:00
2025-01-06 08:55:00 +00:00
2025-01-21 11:34:06 -05:00
2024-11-15 14:49:20 +01:00
2024-11-15 14:49:20 +01:00
2024-11-15 14:49:20 +01:00
2024-11-15 14:49:20 +01:00
2024-11-15 14:49:20 +01:00
2024-11-15 14:49:20 +01:00
2024-11-15 14:49:20 +01:00
2024-11-15 14:49:20 +01:00
2025-01-21 11:34:06 -05:00
2024-12-27 12:27:03 +01:00
2025-01-10 08:08:46 +00:00
2025-01-10 08:08:46 +00:00
2025-01-21 11:34:06 -05:00
2024-11-15 14:49:20 +01:00
2024-11-15 14:49:20 +01:00