[Bug 11204] innerHTML on MathML elements


--- 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 UTC