[whatwg] insertAdjacentHTML

Dean Edwards dean.edwards at gmail.com
Tue Nov 24 17:37:36 PST 2009


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



More information about the whatwg mailing list