mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-11 17:37:33 +02:00
Most paintable boxes do not expose scrollbars or resize handles. Check for scrollable axes and resizability before constructing chrome metrics or creating scrollbar widgets. This keeps the common no-scrollbar case from creating a `HitTestResult`, fetching ChromeMetrics, allocating `Scrollbar` objects, and recomputing scrollbar geometry unnecessarily.
60 KiB
60 KiB