-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
The bug has been split up to track individual parts of the implementation:
Bug 1010538 - Implement CSSOM-View scroll-behavior CSS property
Bug 1022818 - Implement CSSOM-View smooth scrolling DOM Methods
Bug 1022825 - Implement CSSOM-View smooth
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
While beginning implementation I noticed that there is smooth
scrolling functionality already implemented within
ScrollFrameHelper::AsyncScroll, using simple splines via
nsSMILKeySpline. This smooth scrolling behavior is used internally
and not
On Wed, Jun 11, 2014 at 10:41 AM, Kip Gilbert kgilb...@mozilla.com wrote:
While beginning implementation I noticed that there is smooth
scrolling functionality already implemented within
ScrollFrameHelper::AsyncScroll, using simple splines via
nsSMILKeySpline. This smooth scrolling behavior
On Tuesday, 27 May 2014 15:12:56 UTC-7, Robert O'Callahan wrote:
On Wed, May 28, 2014 at 6:14 AM, kgil...@mozilla.com wrote:
Is this behavior acceptable or would it be more desirable to always return
the actual scroll position in DOM methods?
All DOM methods that depend on the
The ScrollBehavior DOM API would certainly be useful by itself and solve some
of our immediate needs (paged B2G home page, for example). I also imagine that
it would not preclude us from implementing the css property in the future if we
implement it carefully.
I would like to hear feedback
On Wed, May 28, 2014 at 5:36 AM, Kearwood Gilbert
kearwood.gilb...@gmail.com wrote:
My greatest concern is that as platform conventions change, this behavior
could (or should) be updated to match. Web developers that depend on
particular acceleration / deceleration curves or time to
On Wed, May 28, 2014 at 6:14 AM, kgilb...@mozilla.com wrote:
Is this behavior acceptable or would it be more desirable to always return
the actual scroll position in DOM methods?
All DOM methods that depend on the scroll position (not just
scrollLeft/scrollTop but getBoundingClientRect etc
On Sun, May 25, 2014 at 4:59 PM, L. David Baron dba...@dbaron.org wrote:
On Saturday 2014-05-24 20:00 -0700, Jonas Sicking wrote:
I guess what I'm arguing is that smooth-scrolling vs. instant
scrolling shouldn't be a per-element CSS property, but rather a
per-callsite API argument.
I
On Fri, May 23, 2014 at 3:47 AM, Robert O'Callahan rob...@ocallahan.org wrote:
One use case that has come up for us in FirefoxOS is the ability to
add a few elements to the top of a page, shifting down the contents of
the page, but then make that transparent to the user by adjusting the
On 25.05.2014 05:00, Jonas Sicking wrote:
I guess what I'm arguing is that smooth-scrolling vs. instant
scrolling shouldn't be a per-element CSS property, but rather a
per-callsite API argument.
It seems to me that it will be the case that for a given element
you'll sometimes want to do smooth
On Saturday 2014-05-24 20:00 -0700, Jonas Sicking wrote:
I guess what I'm arguing is that smooth-scrolling vs. instant
scrolling shouldn't be a per-element CSS property, but rather a
per-callsite API argument.
I think I tend to agree; I noticed the same thing during the CSS WG
meeting last
On Thu, May 22, 2014 at 1:50 PM, Kip Gilbert kgilb...@mozilla.com wrote:
Link to standard:
http://dev.w3.org/csswg/cssom-view/#smooth-scrolling:-the-%27scroll-behavior%27-property
How will scroll-behavior: instant work on platforms that use APZ? I
worry about authors expect it to enable them
On 5/23/2014 6:12 AM, Jonas Sicking wrote:
That isn't possible with APZ since the user might be actively
scrolling and so if we just do something like
div.scrollTop += hightOfNewContent;
then the newly set scroll position will be based off of an old value
which has already changed on the
On Fri, May 23, 2014 at 10:12 PM, Jonas Sicking jo...@sicking.cc wrote:
How will scroll-behavior: instant work on platforms that use APZ? I
worry about authors expect it to enable them to do a bunch of DOM
mutations and then set the scroll position and allow them to be sure
that rendering
On 23/5/2014, 6:12, Jonas Sicking wrote:
Basically we need an API like
div.addToScrollPosition(hightOfNewContent);
This would allow the browser to send this delta to the compositing
thread along with the newly updated painting of the DOM.
This is certainly a valid use case, and it has come
Summary:
CSSOM-View defines a new css property, 'scroll-behavior'. When set to
'smooth', scrolling boxes will be scrolled in a smooth fashion using a
user-agent-defined function.
Implementing this property will enable more fluid scrolling interfaces
consistent with modern UI paradigms
16 matches
Mail list logo