Closed Bug 1067162 Opened 10 years ago Closed 8 years ago

Elements aren't always created in the HTML namespace

Categories

(DevTools :: Console, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: vporof, Unassigned)

Details

I'm not sure if this is a bug or not, but it annoyed me.

STR:
Go to https://www.khronos.org/opengles/sdk/docs/man/xhtml/glBindTexture.xml (this page uses a crappy html namespace).

var canvas = document.createElement("canvas");
canvas.getContext // undefined

var canvas2 = document.createElementNS("http://www.w3.org/1999/xhtml", "canvas");
canvas2.getContext // function
Summary: Document elements aren't always created in the → Elements aren't always created in the HTML namespace
This is the same behavior as if you ran the script on the page, so marking invalid
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.