Skip to main content

Bug Tracker

Side navigation

#3066 closed bug (invalid)

Opened June 20, 2008 11:26AM UTC

Closed June 24, 2008 07:00PM UTC

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)

Attachments (0)
Change History (2)

Changed June 23, 2008 01:56PM UTC by booshtukka comment:1

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

A

Changed June 24, 2008 07:00PM UTC by flesler comment:2

resolution: → invalid
status: newclosed