On Fri, Oct 31, 2014 at 5:35 AM, Jonas Sicking <jo...@sicking.cc> wrote:
> Note that I can't find *any* functions in the spec which are descried > as asynchronous. > > I can only find things like, for example, element.scrollBy(), which is > defined in terms of reading scrollTop/scrollLeft, adding the value the > arguments passed to the function, and then calling element.scroll(). > Such an implementation strategy would result in ugly UI which would > not satisfy the use cases that were brought up in the other thread. > http://dev.w3.org/csswg/cssom-view/#concept-smooth-scroll Scripted smooth scrolls let the user-agent control the timing of the scroll. Thus, we can make them as asynchronous as we want. Rob -- oIo otoeololo oyooouo otohoaoto oaonoyooonoeo owohooo oioso oaonogoroyo owoiotoho oao oboroootohoeoro oooro osoiosotoeoro owoiololo oboeo osouobojoeocoto otooo ojouodogomoeonoto.o oAogoaoiono,o oaonoyooonoeo owohooo osoaoyoso otooo oao oboroootohoeoro oooro osoiosotoeoro,o o‘oRoaocoao,o’o oioso oaonosowoeoroaoboloeo otooo otohoeo ocooouoroto.o oAonodo oaonoyooonoeo owohooo osoaoyoso,o o‘oYooouo ofooooolo!o’o owoiololo oboeo oiono odoaonogoeoro ooofo otohoeo ofoioroeo ooofo ohoeololo. _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform