Closed Bug 1086948 Opened 10 years ago Closed 10 years ago

Remove 'instant' option for the 'scroll-behavior' CSS property

Categories

(Core :: DOM: CSS Object Model, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla36

People

(Reporter: kip, Assigned: kip)

References

()

Details

Attachments

(1 file)

The 'scroll-behavior' CSS property should only accept 'auto' and 'smooth' The CSSOM-View specification has been updated to reflect conversations on www-style and W3.org bugs regarding the "scroll-behavior: instant" CSS value. As there are not strong use cases for disabling smooth scrolling effects that are enabled by default in the browser, the 'instant' option will be dropped. The decision for now has been to eliminate the "scroll-behavior: instant" CSS value and retain the "smooth" and "auto" values as implemented in Bug 1010538.
- Removed "instant" CSS keyword and references used by scroll-behavior. - Updated tests, removing scroll-behavior: instant test cases.
Attachment #8509703 - Flags: review?(bzbarsky)
This has been pushed to try, and came back green: https://treeherder.mozilla.org/ui/#/jobs?repo=try&revision=0170375f37a3
Comment on attachment 8509703 [details] [diff] [review] Bug 1086948 - Remove scroll-behavior: instant CSS value option,r=bz r=me
Attachment #8509703 - Flags: review?(bzbarsky) → review+
Attachment #8509703 - Attachment description: Bug 1086948 - Remove scroll-behavior: instant CSS value option → Bug 1086948 - Remove scroll-behavior: instant CSS value option,r=bz
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla36
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: