[Webkit-unassigned] [Bug 88360] createElement("image") creates an HTMLImageElement, although this hack should exist in parser only
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jun 5 23:02:27 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=88360
Alexey Proskuryakov <ap at webkit.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|createElement("image") |createElement("image")
|creates an element with |creates an
|localName "img" instead of |HTMLImageElement, although
|"image" |this hack should exist in
| |parser only
CC| |ian at hixie.ch
--- Comment #3 from Alexey Proskuryakov <ap at webkit.org> 2012-06-05 23:02:26 PST ---
OK, renaming the bug further.
Curiously, Firefox 13 does this:
[22:56:55.593] < document.createElement("image")
[22:56:55.596] > [object HTMLSpanElement]
--
[22:58:20.329] < document.createElement("foobar")
[22:58:20.331] > [object HTMLUnknownElement]
WebKit behavior is both closer to current spec and more logical, so why don't we specify what WebKit does?
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list