Skip to main content

Bug Tracker

Side navigation

#3925 closed bug (wontfix)

Opened January 20, 2009 01:56PM UTC

Closed June 18, 2010 01:11AM UTC

Last modified January 06, 2013 08:51PM UTC

.data not work text nodes in IE 6/7

Reported by: vidmich Owned by:
Priority: major Milestone: 1.3.1
Component: data Version: 1.2.6
Keywords: Cc:
Blocked by: Blocking:

IE 6/7 doesn't allow custom properties in text nodes

so ie throw "Object doesn't support this property or method" exception

probably on elem[ expando ] line in data function (I didn't debug jquery code)

please review this

Attachments (0)
Change History (3)

Changed June 12, 2010 03:47AM UTC by dmethvin comment:1

component: unfileddata

Changed June 18, 2010 01:11AM UTC by dmethvin comment:2

resolution: → wontfix
status: newclosed

I'm going to close this as a wontfix, not sure we can do anything about data on text nodes. If you have a test case showing that jQuery is trying to assign data to a text node, please reopen and attach it.

Changed January 06, 2013 08:51PM UTC by comment:3

FYI 1.8.3.

I'm doing some test to handle runtime languages and backup the original text template in the data of the same textNode come in handy, the following example work for all the major browsers I'm checking (IE9 also) but not IE/6/7/8.

IE8 stop on line 1569: elem[ internalKey ] (internalKey is defined), same error as above "Object doesn't support..."

(let me know if the link expire)