ladybird/Userland
Aliaksandr Kalenik 20f68106a7 LibWeb: Fix getBoundingClientRect() for elements with "position: sticky"
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
2024-09-02 13:10:22 +02:00
..
Libraries LibWeb: Fix getBoundingClientRect() for elements with "position: sticky" 2024-09-02 13:10:22 +02:00
Services LibWebView+WebContent: Monitor for system time zone changes 2024-08-25 09:47:42 +02:00
Utilities LibWasm+LibWeb+test-wasm: Refcount Wasm::Module for function references 2024-08-22 09:36:40 +02:00