Bug Tracker


Ticket #6244 (closed bug: wontfix)

Opened 4 years ago

Last modified 4 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 4 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.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.


Add a comment

Modify Ticket

as closed

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.