On Tue, 18 Mar 2008 17:56:17 +0100, Travis Leithead <[EMAIL PROTECTED]> wrote:
Since this spec is presumably creating a language binding for JavaScript, (and assuming interface objects are Functions, as seen by Opera), then why does:var div = new HTMLDivElement(); produce a script error?
Because there's no such constructor defined. There's just an object there that gives the ability to prototype it, etc.
-- Anne van Kesteren <http://annevankesteren.nl/> <http://www.opera.com/>