Bug Tracker

Opened 5 years ago

Closed 5 years ago

#11309 closed bug (fixed)

hexadecimal-formatted data-* attributes parsed incorrectly

Reported by: gibson042 Owned by: sindresorhus
Priority: low Milestone: 1.7.2
Component: data Version: 1.7.1
Keywords: Cc:
Blocked by: Blocking:


Found while debating #11297.


Values matching /^0x[0-9a-f]+$/i pass jQuery.isNumeric, but are returned from parseFloat as 0, resulting in incorrect element data.

Change History (2)

comment:1 Changed 5 years ago by sindresorhus

  • Component changed from unfiled to data
  • Owner set to sindresorhus
  • Priority changed from undecided to low
  • Status changed from new to assigned

comment:2 Changed 5 years ago by dmethvin

  • Milestone changed from None to 1.7.2
  • Resolution set to fixed
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.