You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[cssom-view] scrollIntoView needs to iterate flat tree ancestors, not shadow-including ancestors #12722
1.4. If container is not null and either scrolling box is a shadow-including inclusive ancestor of container or is a viewport whose document is a shadow-including inclusive ancestor of container, abort the rest of these steps.
This needs to be ancestor in the flat tree, not shadow-including inclusive ancestor. Or in fact why even bother checking in this convoluted way, just don't continue looping if container: "nearest" was provided?
Testcase (only relevant in Blink 140+, others don't support container yet):
changed the title [-][cssom-view] `scrollintoView` needs to iterate flat tree ancestors, not shadow-including ancestors[/-][+][cssom-view] `scrollIntoView` needs to iterate flat tree ancestors, not shadow-including ancestors[/+]on Sep 3, 2025
Activity
[-][cssom-view] `scrollintoView` needs to iterate flat tree ancestors, not shadow-including ancestors[/-][+][cssom-view] `scrollIntoView` needs to iterate flat tree ancestors, not shadow-including ancestors[/+]