Re: Some notes on SVG parsing in HTML 5

Simon Pieters:
> BTW, I missed this part in my first email:
>
> > Any element names that aren't recognised as SVG or HTML ones will be
> > created as plain Element objects (I think).
>
> No, the HTML parser always emits elements in the HTML, SVG or MathML
> namespace. If you're in SVG context, unknown elements will be SVG
> elements. (You'll note that the parser never compares against e.g.
> 'span' or 'g' so "unknown" elements will be treated the same as those
> under the relevant "Anything else" sections.)

Yeah, I recognised that mistake the next day (should’ve corrected the
email record though):

  http://www.w3.org/2009/02/17-svg-irc#T03-05-15
  
-- 
Cameron McCormack ≝ http://mcc.id.au/

Received on Thursday, 26 February 2009 08:51:05 UTC