ladybird/Tests/LibWeb/Text/expected/hit_testing
Jelle Raaijmakers 2cc8f0821c LibWeb: Don't hit test anonymous containers if there are no fragments
We were always delegating hit tests to PaintableBox if a
PaintableWithLines has no fragments, which means that anonymous
containers could overlap with previous siblings and prioritize their
border box rect. Instead, the nearest non-anonymous ancestor should take
care of hit testing the children so the correct order is maintained.

To achieve this, we no longer do an early hit test in
PaintableWithLines::hit_test() if there are no fragments and default
to the later PaintableBox::hit_test() call that does take anonymous
containers into account.

Fixes the issue seen in #4864.
2025-07-05 23:56:42 +01:00
..
basic.txt
block-element-inside-inline-element.txt LibWeb: Improve caret positioning behavior inside fragments 2025-06-13 15:08:26 +02:00
box-outside-of-abspos-containing-block-border-rect.txt
button.txt
click-outside-of-box-with-hidden-overflow.txt Meta: Add DOCTYPEs to text tests that need rebaselining after 2025-03-20 11:50:49 +01:00
click-outside-of-box-with-lines-and-hidden-overflow.txt Meta: Add DOCTYPEs to text tests that need rebaselining after 2025-03-20 11:50:49 +01:00
css-transforms.txt
empty-anonymous-container-overlapping.txt LibWeb: Don't hit test anonymous containers if there are no fragments 2025-07-05 23:56:42 +01:00
float-with-inline-sibling-after.txt
grid.txt
hit-testing-an-xml-svg-should-not-crash.txt
inline-content-inside-anonymous-container.txt LibWeb: Do not hit test anonymous containers' box for inline content 2025-07-05 23:56:42 +01:00
inline-stacking-context.txt
nested-inline-paintables.txt LibWeb: Change printElement() to not output unnecessary space 2025-01-25 13:16:13 +00:00
open-details-by-clicking-on-triangle.txt
overflow-hidden-wrapped-into-css-translate.txt LibWeb: Change printElement() to not output unnecessary space 2025-01-25 13:16:13 +00:00
overflow-scroll.txt LibWeb: Change printElement() to not output unnecessary space 2025-01-25 13:16:13 +00:00
pointer-events-no-parent-extension.txt Meta: Add DOCTYPEs to text tests that need rebaselining after 2025-03-20 11:50:49 +01:00
pointer-events.txt LibWeb: Ignore fragments with pointer-events: none in hit-testing 2025-01-31 13:37:15 +01:00
positioned-z-index-0-and-floats.txt LibWeb: Change printElement() to not output unnecessary space 2025-01-25 13:16:13 +00:00
stacking-context-inside-scrollable-box.txt LibWeb: Change printElement() to not output unnecessary space 2025-01-25 13:16:13 +00:00
svg-path.txt
text.txt LibWeb: Improve caret positioning behavior inside fragments 2025-06-13 15:08:26 +02:00