Commit Graph

2 Commits

Author SHA1 Message Date
Aliaksandr Kalenik
42544c1ff5 LibWeb: Rebuild visual contexts after visual viewport scroll
When the visual viewport scrolls (e.g. panning while zoomed in), the
transform matrix baked into the AccumulatedVisualContext tree becomes
stale. Previously only set_needs_display(InvalidateDisplayList::No) was
called, which re-rendered with the old transform — making hit testing
and painting incorrect after visual viewport panning.
2026-01-31 19:20:09 +01:00
Aliaksandr Kalenik
5f0540f800 LibWeb: Add test for hit testing after visual viewport horizontal scroll 2026-01-31 19:20:09 +01:00