Ticket #377 (closed defect: duplicate)
Element does not support namespacing
| Reported by: | 131.php@… | Owned by: | kamicane |
|---|---|---|---|
| Type: | defect | Priority: | minor |
| Milestone: | Mootools version 1.3 | Component: | Core |
| Keywords: | namespace, Element | Cc: | kamicane |
Description
When you create a "new Element". Mootools proceed with
el = document.createElement(el);
In order to make it XHTML compliant, i had to add
var XHTML = "http://www.w3.org/1999/xhtml";
el=document.createElementNS
?document.createElementNS(XHTML,el)
:document.createElement(el);
IE6/7 doesn't support/bother namespacing, so there's no "issue" here.
Regards - 131
Change History
Note: See
TracTickets for help on using
tickets.