W3C home > Mailing lists > Public > www-style@w3.org > November 2012

Re: Request for Comments: Proposal for Touch-Based Animation Scrubbing

From: Tobie Langel <tobie@fb.com>
Date: Fri, 30 Nov 2012 17:04:49 +0000
To: François REMY <francois.remy.dev@outlook.com>, "Dean Jackson" <dino@apple.com>, "Tab Atkins Jr." <jackalmage@gmail.com>
CC: Simon Fraser <smfr@me.com>, Rik Cabanier <cabanier@gmail.com>, "www-style list" <www-style@w3.org>
Message-ID: <F9981AFB970564408FEB7DFCF62D4408436C2A74@PRN-MBX01-4.TheFacebook.com>
On 11/30/12 5:47 PM, "François REMY" <francois.remy.dev@outlook.com> wrote:

>|  From: Tobie Langel
>|  Currently, the lack of events on which to prefetch and append new
>|  while scrolling makes it impossible to implement infinite scrolling
>|  without re-implementing everything in JavaScript. Other UI refinements
>|  (pull to refresh, etc.) suffer from similar issues. Re-implementing
>|  scrolling in JavaScript prevents the browsers from carrying adequate
>|  optimization, yields sub-optimal experiences for the users and is
>|  extremely costly in engineering resources.
>Unfortunately, this proposal is not aimed at all at solving the 'normal'
>scrolling performance, but rather at solving a popular hack around
>where you want to run 'scrolling animations' (for example a cartoon
>enters the page from the left as you scroll further).

Infinite scrolling requires a full re-implementation in JS of scrolling
because scroll events are buffered and only triggered once the scroll is
finished, which prevents new content from being pre-fetched and appended
to the DOM.

My understanding from reading the proposal's "Known issues" section is
that Tab is looking into solutions to have animation events fired when
hitting notches as "authors will want reliable, easy ways to respond to
them, since the actual end of the action wonıt be easily observable (due
to momentum and such)."[1]

I'm not the resident expert in these matters, but it seems this would help
the infinite scroll use case. Or am I understanding this completely wrong?

Received on Friday, 30 November 2012 17:05:25 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:06 UTC