Bug Tracker

Ticket #7222 (closed bug: fixed)

Opened 4 years ago

Last modified 2 years ago

data() doesn't retrieve HTML 5 data-* attribtues

Reported by: jitter Owned by:
Priority: undecided Milestone: 1.4.4
Component: unfiled Version: 1.4.3
Keywords: Cc:
Blocking: Blocked by:

Description

When calling data() (with no parameter) the returned object doesn't include the since 1.4.3 supported HTML 5 data-* attributes

 test case

Change History

comment:1 Changed 4 years ago by John Resig

  • Status changed from new to closed
  • Resolution set to fixed

Make sure that .data() (no args) returns a list of all the data- properties as well. Also make sure that accessing a data- property via .data() doesn't cause it to change again at a later time (it should be static). Fixes #7222, #7223.

Changeset: 8a5df39045292397a06d08b4fab2ad29819b5d44

comment:2 Changed 4 years ago by john

#7332 is a duplicate of this ticket.

Note: See TracTickets for help on using tickets.