Bug 167336

Summary: Support scroll-behavior for platform-specific smooth scrolling
Product: WebKit Reporter: Justin Mecham <Justin>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: hi, simon.fraser, wenson_hsieh
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=161611

Justin Mecham
Reported 2017-01-23 15:40:09 PST
See https://developer.mozilla.org/en-US/docs/Web/CSS/scroll-behavior and https://drafts.csswg.org/cssom-view/#propdef-scroll-behavior. It would be great to have this support as to not rely on JavaScript to replicate smooth scrolling behavior that may or may not match the platform's conventions.
Attachments
Simon Fraser (smfr)
Comment 1 2017-01-25 07:23:04 PST
*** This bug has been marked as a duplicate of bug 161611 ***
jonjohnjohnson
Comment 2 2018-03-15 11:40:08 PDT
Was just thinking about how tapping the status bar in iOS Safari "smooth" scrolls the user to the top of the document and wondered why 'scroll-behavior' still wasn't implemented. Just kinda thinking out loud here.
Note You need to log in before you can comment on or make changes to this bug.