1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 20:24:57 +00:00
serenity/Userland/Libraries/LibWeb/Page
Dan Klishch 56d355a15e LibWeb: Properly round CSSPixels values in device_to_css_rect
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.
2024-02-21 20:08:25 +01:00
..
EditEventHandler.cpp LibWeb: Change DOM::Position to be GC-allocated 2023-09-26 21:25:54 +02:00
EditEventHandler.h LibWeb: Change DOM::Position to be GC-allocated 2023-09-26 21:25:54 +02:00
EventHandler.cpp LibWeb: Display an IBeam cursor by default when mousing over a text node 2024-02-13 19:47:39 +01:00
EventHandler.h LibWeb: Use paintable to represent event tracking node 2024-01-15 09:00:35 +01:00
Page.cpp LibWeb: Properly round CSSPixels values in device_to_css_rect 2024-02-21 20:08:25 +01:00
Page.h LibWeb+WebContent: Do not embed attributes as data in the Inspector HTML 2024-02-20 17:04:36 +01:00