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

Re: [cssom-view] Specifying scroll options for scrollIntoView() without the "top" argument

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 22 Jul 2014 21:59:40 -0400
Message-ID: <53CF170C.4090307@mit.edu>
To: www-style@w3.org
On 7/22/14, 9:05 PM, Tab Atkins Jr. wrote:
> I propose we add a third overload that takes just a ScrollOptions
> dict

You mean just change the first overload to take an optional (has to be; 
it's a dictionary) ScrollOptions dict, right?

> If no one's implemented the current ScrollOptions overload yet

Gecko has it implemented, but it hasn't shipped yet.  We can probably 
change it if the changes happen soonish.

> That way you either
> call the function with the legacy boolean arg, or with the modern dict
> arg, not both.

This generally makes sense to me.

-Boris
Received on Wednesday, 23 July 2014 02:00:10 UTC

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