mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-01 21:37:00 +00:00
Use offset from ScrollFrame which is an actual value a box is shifted by while painting. Also change `update_paint_and_hit_testing_properties_if_needed()` to refresh scroll frames state, because `getBoundingClientRect()` now depends on them. Fixes wrong file tree sidebar location and excessive layout invalidations caused by some miscalculation on JS-side when wrong bounding client rect is provided on Github PR pages like https://github.com/LadybirdBrowser/ladybird/pull/1232/files
132 KiB
132 KiB