Re: Element.create(): a proposal for more convenient element creation

On Mon, Aug 1, 2011 at 6:33 PM, Maciej Stachowiak <mjs@apple.com> wrote:
>
> In an IRC discussion with Ian Hickson and Tab Atkins, we can up with the
> following idea for convenient element creation:
>
> Element.create(tagName, attributeMap, children…)
>

Can we alternatively extend document.createElement?  Or was this
intentionally avoided to associate new elements with documents?

- Ryosuke

Received on Tuesday, 2 August 2011 01:46:34 UTC