mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 20:24:57 +00:00
![]() Ceiling width or height of a chrome viewport (this function is only used when a chrome notifies LibWeb about a new viewport size) is never correct. If we do that, PageClient::page_did_layout will set content size to be 1 larger than an actual physical width or height respectively (it always ceils) and thus a spurious scrollbar will appear. This prevents occasional scrollbar flickering in Ladybird/Qt on Wayland with fractional scaling enabled on compositors supporting wp-fractional-scale-v1. |
||
---|---|---|
.. | ||
EditEventHandler.cpp | ||
EditEventHandler.h | ||
EventHandler.cpp | ||
EventHandler.h | ||
Page.cpp | ||
Page.h |