mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-24 00:49:46 +00:00
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. |
||
|---|---|---|
| .. | ||
| basic.html | ||
| block-element-inside-inline-element.html | ||
| box-outside-of-abspos-containing-block-border-rect.html | ||
| button.html | ||
| click-outside-of-box-with-hidden-overflow.html | ||
| click-outside-of-box-with-lines-and-hidden-overflow.html | ||
| css-transforms.html | ||
| empty-anonymous-container-overlapping.html | ||
| float-with-inline-sibling-after.html | ||
| grid.html | ||
| hit-testing-an-xml-svg-should-not-crash.svg | ||
| inline-content-inside-anonymous-container.html | ||
| inline-stacking-context.html | ||
| nested-inline-paintables.html | ||
| open-details-by-clicking-on-triangle.html | ||
| overflow-hidden-wrapped-into-css-translate.html | ||
| overflow-scroll.html | ||
| pointer-events-no-parent-extension.html | ||
| pointer-events.html | ||
| positioned-z-index-0-and-floats.html | ||
| stacking-context-inside-scrollable-box.html | ||
| svg-path.html | ||
| text.html | ||