[whatwg] insertAdjacentHTML

Hi there,

I think that insertAdjacentHTML as defined in current section 3.5.7 [1]
could be much cleaner and clearer if

1 - "Adjacent" was dropped. It's useless. The name could be insertHTML.

2. if the values were "before", "firstchild", "lastchild", after"
    instead of the current "beforebegin", "afterbegin", "beforend" and
    "afterend" that seem to me visually related to start and end tags
    and not the element itself. Consistency with the existing DOM
    phraseology seems to me useful.

[1] 
http://www.whatwg.org/specs/web-apps/current-work/multipage/apis-in-html-documents.html#insertadjacenthtml%28%29

</Daniel>

Received on Tuesday, 24 November 2009 07:01:26 UTC