Bug Tracker

Opened 12 years ago

Closed 12 years ago

#3066 closed bug (invalid)

Using text() on elements that have no textnode cause error in IE

Reported by: booshtukka Owned by:
Priority: major Milestone: 1.3
Component: core Version: 1.2.6
Keywords: Cc:
Blocked by: Blocking:

Description

When using text() on elements that have no textnode the following error occurs in IE:

Line 239 Unexpected call to method or property access

While I accept that it makes no sense to get text when there is none, I am using this in a loop where I cannot predict the element types and can see no way to detect the absense of a textnode. This fails gracefully in other browsers (i.e. achieves nothing)

Change History (2)

comment:1 Changed 12 years ago by booshtukka

I retract this bug. It is only when trying to use the text I get an error, which is completely valid.

A

comment:2 Changed 12 years ago by flesler

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.