Bug Tracker

Opened 11 years ago

Closed 9 years ago

Last modified 7 years ago

#3925 closed bug (wontfix)

.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:

Description

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

Change History (3)

comment:1 Changed 10 years ago by dmethvin

Component: unfileddata

comment:2 Changed 9 years ago by dmethvin

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.

comment:3 Changed 7 years ago by xenogenesi@…

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..."

http://jsbin.com/axayiq/4/edit (let me know if the link expire)

Note: See TracTickets for help on using tickets.