W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > November 2010

[Bug 11204] innerHTML on MathML elements

From: <bugzilla@jessica.w3.org>
Date: Wed, 03 Nov 2010 09:19:49 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1PDZVV-0004O8-NG@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=11204

--- Comment #4 from David Carlisle <davidc@nag.co.uk> 2010-11-03 09:19:49 UTC ---
(In reply to comment #1)
> It's really not the HTML spec's place to add new methods on Element (much less
> directly on SVGElement), as far as I can tell...

pre html5 if you used <math> in html (and for example styled it with css) then
innerHTML and friends would work, but HTML5, as a side effect of specifying
<math> explicitly is in "foreign content" has apparently stopped this working.

Why should the user care in which room at tpac each element was originally
defined, getElementById for example returns any element whether it's html or
mathml or svg, but then if you use innerHTML on the returned node it either
works or returns undefined, depending.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Wednesday, 3 November 2010 09:19:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 November 2010 09:19:53 GMT