Bug Tracker

Opened 6 years ago

Closed 6 years ago

#14355 closed bug (cantfix)

text method returns a bullet in IE11 RTM when used on a LI element more than one time

Reported by: Bundyo Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.10.2
Keywords: Cc:
Blocked by: Blocking:

Description

This is an IE11 bug, but also affects jQuery, so I'm adding it here for a possible workaround in the library.

When textContent property is used more than once on a LI element, a bullet character is prepended to the text. This affects the text method, which also returns the bullet. innerText and outerText don't exhibit similar problems and may be used as a workaround.

Test case with textContent: http://jsbin.com/EfiTijA/5/edit

Test case with jQuery text method: http://jsbin.com/EfiTijA/4/edit

The actual element accessed doesn't matter.

Change History (2)

comment:2 Changed 6 years ago by dmethvin

Resolution: cantfix
Status: newclosed

Let's hope it gets fixed soon, and I think it will. Any internal fix on our part would be pretty complex.

Note: See TracTickets for help on using tickets.