mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-10-09 12:51:45 -04:00
Element.scrollContainer read the inline style= attribute only, so a scroller declared in a stylesheet was invisible to the scroll tool and to wheel scrolling, which then fell through to the viewport. StyleManager now tracks overflow-x and overflow-y alongside display, visibility, opacity and pointer-events, and exposes scrolls(el, axes) as an own-element probe. The overflow shorthand is expanded into its longhands in declaration order, in both the attribute scan and the materialized style object, so a shorthand and its longhands keep the precedence of the source text. overlay counts as auto, as in Chrome. Element.scrollContainer asks the style manager, and the two unused Props bits hold the new flags, so the per-element memo does not grow.