ladybird/Tests/LibWeb/Text/input/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.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
block-element-inside-inline-element.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
box-outside-of-abspos-containing-block-border-rect.html
button.html
click-outside-of-box-with-hidden-overflow.html 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.html Meta: Add DOCTYPEs to text tests that need rebaselining after 2025-03-20 11:50:49 +01:00
css-transforms.html LibWeb: Transform PaintableBox::hit_test positions 2024-11-23 22:06:32 +01:00
empty-anonymous-container-overlapping.html 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.html
grid.html
hit-testing-an-xml-svg-should-not-crash.svg LibWeb: Rename internals.signalTextTestIsDone() to signalTestIsDone() 2025-03-18 20:09:46 +01:00
inline-content-inside-anonymous-container.html LibWeb: Do not hit test anonymous containers' box for inline content 2025-07-05 23:56:42 +01:00
inline-stacking-context.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
nested-inline-paintables.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
open-details-by-clicking-on-triangle.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
overflow-hidden-wrapped-into-css-translate.html
overflow-scroll.html LibWeb: Scale font size by 1.15 for line-height: normal 2025-05-05 13:15:56 +02:00
pointer-events-no-parent-extension.html Meta: Add DOCTYPEs to text tests that need rebaselining after 2025-03-20 11:50:49 +01:00
pointer-events.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
positioned-z-index-0-and-floats.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
stacking-context-inside-scrollable-box.html
svg-path.html
text.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00