Side navigation
#9318 closed bug (fixed)
Opened May 17, 2011 05:21PM UTC
Closed August 05, 2011 02:45PM UTC
Last modified March 17, 2012 08:54PM UTC
Calling data on a jQuery object with HTML5 data attributes has strange behaviour with if attribute names contain numbers.
Reported by: | oliver.nightingale1@gmail.com | Owned by: | rwaldron |
---|---|---|---|
Priority: | high | Milestone: | 1.6.3 |
Component: | data | Version: | 1.6 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
test case - http://jsfiddle.net/BRv6U/1/
If any of the data attributes have numbers separated by hyphens they are missing from the returned object of data attributes.
Have been able to reproduce this bug in Chrome 13, FireFox 4. Safari 5.0.5 on OS X 10.6.7
Attachments (0)
Change History (6)
Changed May 17, 2011 06:31PM UTC by comment:1
component: | unfiled → data |
---|---|
owner: | → rwaldron |
priority: | undecided → high |
status: | new → assigned |
Changed July 12, 2011 06:57PM UTC by comment:3
Confirmed in bug triage.
Changed August 05, 2011 02:07PM UTC by comment:4
Further reduced test case: http://jsfiddle.net/rwaldron/MZycX/
Changed August 05, 2011 02:45PM UTC by comment:5
Changed August 26, 2011 02:40AM UTC by comment:6
milestone: | 1.next → 1.6.3 |
---|
Confirmed.