W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2009

[whatwg] insertAdjacentHTML

From: Dean Edwards <dean.edwards@gmail.com>
Date: Wed, 25 Nov 2009 01:37:36 +0000
Message-ID: <4B0C8A60.7080501@gmail.com>
On 24/11/2009 15:24, Daniel Glazman wrote:
> Anne van Kesteren wrote:
>
>> The problem is that it is a legacy feature, much like innerHTML.
>
> That's not a problem. Make insertHTML with the new values and
> make insertAdjacentHTML with the old values just an alias to
> the new ones. Or the contrary. Or whatever. But it's not because
> it's shipped by MS that way that we must stick forever to such
> an horrible definition...
>

Adding aliases does not reduce the horribleness of an API.

-dean
Received on Tuesday, 24 November 2009 17:37:36 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:19 UTC