Modify ↓
Ticket #8404 (closed bug: wontfix)
$("object").attr("data") returns the incorrect value in Chrome
| Reported by: | FamLam <fam.lam@…> | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | 1.next |
| Component: | attributes | Version: | 1.5.1 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
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
comment:2 Changed 2 years ago by rwaldron
- Priority changed from undecided to low
- Resolution set to wontfix
- Status changed from new to closed
- Component changed from unfiled to attributes
http://www.w3.org/TR/html40/struct/objects.html#h-13.3
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:
http://www.w3.org/TR/html40/types.html#type-uri
It appears that data attributes of object elements will return a resolved URI
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

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 :|