New issue
Advanced search Search tips

Issue 884123 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 833617
Closed: Jan 17
EstimatedDays: ----
NextAction: ----
OS: Linux , Android , Windows , Chrome , Mac
Pri: 2
Type: Bug

Sign in to add a comment

Interop issue: scrollIntoView can't scroll multiple elements at the same time

Project Member Reported by, Sep 14

Issue description


Both of the test cases above work in WebKit (with the patch on and Firefox. In Chromium, the first test case works but the second one fails to scroll to the element when scrolling is asked to be performed smoothly via CSS or DOM API. I haven't got a chance to debug further to figure out the issue, maybe my test case is just wrong.
Components: -Blink Blink>Scroll
Looks like something's going wrong when doing a smooth scrollIntoView on the child of a scrollable div.
Labels: -Pri-3 Hotlist-Interop Pri-2
Status: Assigned (was: Untriaged)
sunyunjia@, could you please look into it?
Components: -Internals>Compositing>Scroll
Not composited scroll.
Just for the record, I'm adding a bunch of WPT tests for scroll behavior in and some of them fails because of this scrollIntoView bug.
Labels: OS-Android OS-Chrome OS-Linux OS-Mac OS-Windows
Summary: Interop issue: scrollIntoView can't scroll multiple elements at the same time (was: Issues with smooth scrolling and scrollIntoView)
IIRC we cancel any ongoing animation when we start a scrollIntoView so that explains the second test case - we try scrolling the DIVs(/IFRAMEs) in order but each one cancels the previous so only the final DIV scrolls. Deleting the last DIV using dev tools makes the one before it work.

FWIW, in Firefox, both iframes scroll smoothly in order but the DIVs don't scroll at all.

sunyunjia@/majidvp@: Do you know if this behavior is spec-compliant? Could you please triage this - could we fix this to get interop with Safari and others?

Comment 6 by, Jan 17 (6 days ago)

Mergedinto: 833617
Status: Duplicate (was: Assigned)

Sign in to add a comment