Skip to main content

Bug Tracker

Side navigation

#6244 closed bug (wontfix)

Opened March 08, 2010 04:52PM UTC

Closed March 08, 2010 05:01PM UTC

function attr

Reported by: rilinor Owned by:
Priority: Milestone: 1.4.3
Component: attributes Version: 1.4.2
Keywords: attr Cc:
Blocked by: Blocking:
Description

In IE this code returns 'undefined': alert($('test2', '<test1><test2 abc="123"></test2></test1>').attr('abc'));

But this one returns '123': alert($('test2', '<p><test2 abc="123"></test2></p>').attr('abc'));

Is it a bug or a feature?

p.s. In firefox both of them return '123'

Attachments (0)
Change History (1)

Changed March 08, 2010 05:01PM UTC by john comment:1

resolution: → wontfix
status: newclosed

Well, you're putting custom elements inside other custom elements - which isn't built correctly in Internet Explorer (it has trouble interpreting custom elements within that context). That is a universal problem with Internet Explorer and not something that we can readily fix.