Opened 11 years ago

Last modified 10 years ago

#12254 closed defect

IE9: dijit._editor.RichText: error in IE-specific code branch — at Version 1

Reported by: Kenneth G. Franqueiro Owned by:
Priority: high Milestone: 1.5.2
Component: Editor Version: 1.6.0b1
Keywords: ie9 editor Cc:
Blocked By: Blocking:

Description (last modified by Kenneth G. Franqueiro)

This is observable in themeTester. As soon as it loads, two errors occur with the message "SCRIPT5022: DOM Exception: INVALID_CHARACTER_ERR (5)". Both are traceable to dijit._editor.RichText line 746:

var tabStop = (this.tabStop = dojo.doc.createElement('<div tabIndex=-1>'));

This code is apparently relevant to #4996, and despite the fact that the string being passed to createElement doesn't seem remotely valid, it doesn't cause problems in any versions of IE previous to 9. I'm not sure whether limiting this code path to IE < 9 would introduce a regression of #4996 in IE9.

Change History (1)

comment:1 Changed 11 years ago by Kenneth G. Franqueiro

Description: modified (diff)
Note: See TracTickets for help on using tickets.