W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2010

[whatwg] link.sizes and [PutForwards=value]

From: Olli Pettay <Olli.Pettay@helsinki.fi>
Date: Fri, 15 Oct 2010 19:45:41 +0300
Message-ID: <4CB88535.9070007@helsinki.fi>
On 10/15/2010 02:45 PM, Anne van Kesteren wrote:
> On Thu, 14 Oct 2010 15:46:30 +0200, Olli Pettay
> <Olli.Pettay at helsinki.fi> wrote:
>> may I wonder why on earth any new API, like
>> link.sizes uses PutForwards?
>> IMHO, PutForwards should be limited to the
>> awkward DOM0 APIs like window.location.
>
> What's wrong with PutForwards?
>
It makes getters and setters work in a very different way.
Inconsistency in APIs isn't a good thing.


-Olli
Received on Friday, 15 October 2010 09:45:41 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:01 UTC