Skip to main content

Bug Tracker

Side navigation

#13383 closed bug (invalid)

Opened February 04, 2013 01:36PM UTC

Closed February 26, 2013 08:59AM UTC

$(...).attr("defer") returns "defer" instead of actual attribute.

Reported by: Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.9.0
Keywords: Cc:
Blocked by: Blocking:

Given <a href="" defer="foo">, $("a").attr("defer") returns "defer" instead of the expected "foo". When no attribute named "defer" is present, it returns undefined, as expected.

Attachments (0)
Change History (2)

Changed February 12, 2013 03:28AM UTC by dmethvin comment:1

owner: →
status: newpending

Since defer is a boolean attribute there would be a lot of hell to pay if it returned something falsy to users that think it should be truthy if specified at all. Is the current behavior breaking something?

Changed February 26, 2013 08:59AM UTC by trac-o-bot comment:2

resolution: → invalid
status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!