Bug Tracker

Opened 12 years ago

Closed 12 years ago

#8404 closed bug (wontfix)

$("object").attr("data") returns the incorrect value in Chrome

Reported by: FamLam <[email protected]…> Owned by:
Priority: low Milestone: 1.next
Component: attributes Version: 1.5.1
Keywords: Cc:
Blocked by: Blocking:



The return value on Chrome (9.0.597.98 stable, but also all other versions) is the full URL. However, it should return the attribute.

Change History (2)

comment:1 Changed 12 years ago by FamLam <[email protected]…>

Probably very well related: http://code.google.com/p/chromium/issues/detail?id=42712 Oops, forgot about browser bugs... sorry. Chrome wasn't very responsive on that bug however :|

comment:2 Changed 12 years ago by Rick Waldron

Component: unfiledattributes
Priority: undecidedlow
Resolution: wontfix
Status: newclosed


If you follow the explanation of the attributes and how they are resolved, starting with data, followed by codebase then follow that up by reading:


It appears that data attributes of object elements will return a resolved URI

Note: See TracTickets for help on using tickets.