W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2015

Re: [whatwg] Proposal: Allow disabling of default scroll restoration behavior

From: Robin Berjon <robin@w3.org>
Date: Wed, 25 Mar 2015 17:14:35 +0100
Message-ID: <5512DEEB.3000107@w3.org>
To: Anne van Kesteren <annevk@annevk.nl>, Majid Valipour <majidvp@chromium.org>
Cc: WHATWG <whatwg@whatwg.org>, japhet@chromium.org, Rick Byers <rbyers@chromium.org>
On 25/03/2015 14:54 , Anne van Kesteren wrote:
> The only suggestion I have is that instead of having four-argument
> methods we might want to consider introducing two new methods that
> take a dictionary. E.g. history.push() and history.replace(). Giving
> the page more control over the scroll position when navigating makes
> sense to me.

+1

This has the added benefit of getting rid of the second argument wart.

-- 
Robin Berjon - http://berjon.com/ - @robinberjon
Received on Wednesday, 25 March 2015 16:15:04 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:29 UTC