createElement('image') incorrectly creates an HTMLImageElement

Confirmed Issue #8545675 • Assigned to Kris K.


Simon P.
Aug 19, 2016
This issue is public.
Found in
  • Microsoft Edge
Standard affected
DOM Standard

Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

document.createElement(‘image’) should create an HTMLUnknownElement (with local name “image”), not capable of showing images. In Edge it creates an HTMLImageElement (with local name “img”).

Test at

The only place where <image> is handled specially according to the specs is in the HTML tree builder where an “image” token is changed to an “img” token.


0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Brad E.”

      Changed Assigned To to “Travis L.”

      Changed Status to “Confirmed”

      Changed Assigned To from “Travis L.” to “Kris K.”

    You need to sign in to your Microsoft account to add a comment.

    Sign in