[cssom-view] Additions to the scrolling API

Hello,

The specification for smooth scrolling
<https://www.w3.org/TR/cssom-view-1/#extension-to-the-element-interface> is
great!

I have a proposal <https://github.com/mkay581/proposal-element-scroll> that
I’ve created that addresses a few pieces that I think can be added to this
spec. Most specifically, addressed in my proposal:

   1. Is it possible to make the scroll methods on the Window and Element
   interfaces return Promises?
   2. Can we give the developer more easing options besides auto, instant
   and smooth? I propose that add an easing property to the ScrollOptions
   that can be assigned a string identical to those of the CSS Transition
   single-transition-timing-function
   <https://drafts.csswg.org/css-transitions-1/#single-transition-timing-function>,
   which have already been introduced and adopted as part of the W3C
   specification.

​

-- 

mark

Sent while riding a hoverboard...
heyimmark.com :)

Received on Monday, 26 September 2016 15:44:59 UTC