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-04 11:47:09 +00:00
2024-11-15 14:49:20 +01:00
2025-01-23 09:33:10 +01:00
2024-12-28 05:39:32 -08:00
2025-01-08 11:18:13 +00:00
2024-11-25 21:13:53 +01:00
2024-11-25 21:13:53 +01:00
2024-11-25 21:13:53 +01:00
2024-11-15 14:49:20 +01:00
2024-11-15 14:49:20 +01:00
2025-01-08 11:18:13 +00:00
2024-11-15 14:49:20 +01:00
2025-01-13 20:03:28 -07:00
2024-11-23 20:20:12 +01:00
2024-11-25 21:13:53 +01:00
2024-12-21 23:09:52 +01:00
2024-11-23 20:20:12 +01:00
2025-01-07 09:05:04 +00:00
2024-12-21 23:09:52 +01:00
2024-11-29 12:36:52 +00:00
2024-11-29 12:36:52 +00:00
2025-01-21 16:05:12 +01:00
2024-11-15 14:49:20 +01:00
2025-01-08 11:18:13 +00:00
2024-11-15 14:49:20 +01:00
2024-11-25 21:13:53 +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-26 18:32:48 +01:00
2024-11-26 18:32:48 +01:00
2024-11-18 20:07:30 +01:00
2024-11-21 16:11:03 +01:00
2025-01-23 09:33:10 +01:00
2025-01-23 09:33:10 +01:00
2024-12-30 11:04:16 +01:00
2024-12-06 02:57:34 +01:00
2024-12-28 05:39:32 -08:00
2025-01-08 11:18:13 +00:00
2024-11-15 14:49:20 +01:00
2024-12-21 23:09:52 +01:00
2025-01-23 09:33:10 +01:00
2024-11-18 20:07:30 +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-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-25 21:13:53 +01:00
2024-11-15 14:49:20 +01:00
2024-12-18 18:54:20 +01:00
2024-11-24 14:30:32 +01:00
2024-11-21 16:11:03 +01:00
2024-11-21 16:11:03 +01:00
2024-11-25 21:13:53 +01:00
2024-11-15 14:49:20 +01:00
2025-01-08 14:37:28 +00:00
2024-11-15 14:49:20 +01:00