New issue
Advanced search Search tips

Issue 801857 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

Honour and Extend scroll-behavior: smooth on different basic usages

Reported by utasirob...@gmail.com, Jan 13 2018

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3320.0 Safari/537.36

Steps to reproduce the problem:
1. Testcase: https://jsfiddle.net/8fc2g0u0/1/
2. Firefox passes the testcase.
3. Click on the ToTOP link at bottom.

What is the expected behavior?
The toTOP anchor fires smoothscrolling behavior

What went wrong?
Nothing. It is not implemented yet in the browser.

Did this work before? No 

Does this work in other browsers? Yes

Chrome version: 65.0.3320.0  Channel: canary
OS Version: 10.0
Flash Version:
 
Labels: Needs-Triage-M65
General usage motivation nowadays in this testcase: 

https://jsfiddle.net/utasir/5odf114c/1/
Cc: bokan@chromium.org majidvp@chromium.org
Owner: sunyunjia@chromium.org
Status: Assigned (was: Unconfirmed)
Just noticed that both linked test cases, only add "scroll-behavior: smooth" to the body element, not the html element, which appears won't enabled the smooth effect.
A general issue regarding the propagation of scroll-behavior from the body element to the viewport scroller makes this issue appear irrelevant. Firefox is going to remove the propagation, believed to be an error in implementation as well as an all around bad practice.

No one else has said the spec should be changed. So I'll probably close the issue and maybe this should be closed as wontfix?

cc sunyunjia@chromium.org
https://github.com/w3c/csswg-drafts/issues/2990

Comment 6 by sunyunjia@chromium.org, Jan 17 (6 days ago)

Cc: sunyunjia@chromium.org
Owner: ----

Comment 7 by sunyunjia@chromium.org, Jan 17 (6 days ago)

Status: Available (was: Assigned)

Sign in to add a comment