mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-10 17:12:55 +02:00
Fixes following mistakes: - "scrolling box" for a document is not `scrollable_overflow_rect()` but size of viewport (initial containing block, like spec says). - comparing edges of "scrolling box" with edges of target element does not make any sense because "scrolling box" edges are relative to page while result of `get_bounding_client_rect()` is relative to viewport.
107 KiB
107 KiB