mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-25 17:25:08 +02:00
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.
6 lines
106 B
Plaintext
6 lines
106 B
Plaintext
scale: 2
|
|
offsetLeft before scroll: 0
|
|
before scroll: left
|
|
offsetLeft after scroll: 400
|
|
after scroll: right
|