On Tue, 12 Feb 2013 12:24:59 +0100, Anne van Kesteren <[email protected]> wrote:

If the goal of custom elements is to expose the guts of what happens
https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/custom/index.html#monkeypatch-create-element
is the wrong solution. Currently new Image() and createElement("img")
are equivalent and no additional magic is required. Same for new
Audio() and createElement("audio").

Not quite, actually. new Audio() sets the content attribute preload="auto".

--
Simon Pieters
Opera Software

Reply via email to