Re: SVG in text/html

On Tue, 31 Mar 2009, Cameron McCormack wrote:
> > 
> > In practice no, because user agents use the same mechanism for 
> > creating nodes in the parser as they do for creating nodes from 
> > scripts using the document.createElementNS() API. (You'll notice 
> > there's no list for HTML elements either.) Thus this ends up being 
> > done as part of implementing the vocabulary itself, rather than as 
> > part of the syntax parsing.
> 
> That doesn’t say anything to the difficulty in searching for elements 
> to implement compared to the difficulty in searching for canonical cases 
> to use for elements/attributes during parsing, though.  I posit that 
> these difficulties are roughly the same.

I agree. We should probably have a list in Web DOM Core that gives all the 
element names/namespaces and interfaces that we expect Web platform user 
agents to implement when createElementNS() is called. cc'ing zcorpan, who 
is rewriting Web DOM Core, and would thus be the one to maintain this list.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Tuesday, 31 March 2009 01:12:26 UTC