Skip to main content

Bug Tracker

Side navigation

#8404 closed bug (wontfix)

Opened February 28, 2011 06:58PM UTC

Closed March 07, 2011 12:11AM UTC

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

Reported by: FamLam <> Owned by:
Priority: low Milestone:
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.

Attachments (0)
Change History (2)

Changed February 28, 2011 07:00PM UTC by FamLam <> comment:1

Probably very well related:

Oops, forgot about browser bugs... sorry. Chrome wasn't very responsive on that bug however :|

Changed March 07, 2011 12:11AM UTC by rwaldron comment:2

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