[Bug 8550] Add document.createElement("<div>") (Gecko quirks, IE)? [ms]

http://www.w3.org/Bugs/Public/show_bug.cgi?id=8550





--- Comment #12 from Maciej Stachowiak <mjs@apple.com>  2010-01-07 09:32:23 ---
(In reply to comment #11)
> Would Gecko be willing to remove support?
> Would Webkit/Opera be willing to add support?
> 
> If we add support, can we do it in all modes? I really don't like mode
> differences, because, as demonstrated above, they are confusing.
> 

If the quirk is truly necessary for Web compatibility, then I would not be
opposed. A few notes though:

1) The Safari team gets a lot of input on enterprise Web apps, including those
produced by IBM. These are usually high visibility compared to the average Web
compat bug. So perhaps this usage was never that common and/or has faded.

2) Should createelement("<div>") make an element with tagName "div" or tagName
"<div>"? In Mozilla it is the former, in IE the latter, supposedly either was
good enough for the enterprise Web apps that depended on this in 2004.

3) In general I prefer not to have quirks mode switches in the DOM. On the
other hand, making an element with < or > in its name is pretty bogus, and
results in an unserializable document, so perhaps in this case quirks-only is
justifiable.


-- 
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 Thursday, 7 January 2010 09:32:25 UTC