Bug Tracker

Ticket #6244 (closed bug: wontfix)

Opened 5 years ago

Last modified 5 years ago

function attr

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


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'

Change History

comment:1 Changed 5 years ago by john

  • Status changed from new to closed
  • Resolution set to wontfix

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.

Note: See TracTickets for help on using tickets.