Closed Bug 1117170 Opened 11 years ago Closed 11 years ago

Text constructor is not available in IE, even IE11

Categories

(L20n :: JS Library, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mgol, Unassigned)

Details

Attachments

(1 file)

The following: new Text('aaa'); doesn't work on IE, even 11. One has to use the old method: document.createTextNode('aaa'); This is one of these bugs like https://bugzilla.mozilla.org/show_bug.cgi?id=923048 that badly indicate the need for client-side testing... Just saying. ;)
Without this patch IE throws when overlaying elements
Attachment #8543343 - Flags: review?(stas)
Comment on attachment 8543343 [details] [diff] [review] createTextNode.patch Review of attachment 8543343 [details] [diff] [review]: ----------------------------------------------------------------- Thanks for catching this! r=me.
Attachment #8543343 - Flags: review?(stas) → review+
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: