W3C home > Mailing lists > Public > www-archive@w3.org > February 2009

Re: Some notes on SVG parsing in HTML 5

From: Cameron McCormack <cam@mcc.id.au>
Date: Thu, 26 Feb 2009 19:50:15 +1100
To: Simon Pieters <simonp@opera.com>
Cc: public-svg-wg@w3.org, www-archive@w3.org
Message-ID: <20090226085015.GA30392@arc.mcc.id.au>
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):

Cameron McCormack ≝ http://mcc.id.au/
Received on Thursday, 26 February 2009 08:51:05 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:33:34 UTC