W3C home > Mailing lists > Public > www-style@w3.org > July 2014

Re: [cssom-view] Element.scrollIntoView should just have the "top" argument optional

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 11 Jul 2014 16:38:27 -0400
Message-ID: <53C04B43.6030800@mit.edu>
To: www-style list <www-style@w3.org>
On 7/11/14, 4:36 PM, Boris Zbarsky wrote:
> Unless the intent is to have calls like this:
>
>    scrollIntoView(undefined);
>
> be equivalent to scrollIntoView(false), of course...

Ah, that is the intent, for compat reasons.  It might be nice to make 
that clearer in the spec via a note or something...

-Boris
Received on Friday, 11 July 2014 20:38:54 UTC

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