Re: Why HTML should be taught as HTML without pretending it is XML

on 23.07.2007 22:47, Simon Pieters at simonp@opera.com wrote:

> It won't. If you say e.g. document.createElement("input"), it will not be
> a form control in Safari (which is per spec).

  Actually, createElement() creates elements in XHTML namespace in current
WebKit nightlies, see <http://bugs.webkit.org/show_bug.cgi?id=8007>. This is
a fairly recent change, made for consistency between HTML and XHTML, and for
compatibility with Firefox.

- WBR, Alexey Proskuryakov.

Received on Monday, 23 July 2007 23:33:32 UTC