[whatwg] insertAdjacentHTML

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