Skip to main content

Bug Tracker

Side navigation

#12702 closed bug (notabug)

Opened October 11, 2012 08:47AM UTC

Closed October 15, 2012 03:42PM UTC

$(string) somethings not right

Reported by: 丁雷 shanghai, dinglei1219@163.com Owned by:
Priority: low Milestone: None
Component: attributes Version: 1.8.2
Keywords: Cc:
Blocked by: Blocking:
Description

$(string) changed string uppercase to lowercase:

example:

var xx = '<div><table><tr><td><input type="text" positiveNumber="true"/></td></tr></table></div>';

console.log(xx);

xx = $(xx);

console.log(xx.html());

summary:

it makes positiveNumber to positivenumber

Attachments (0)
Change History (2)

Changed October 11, 2012 09:55AM UTC by Christian Meixner <christian.meixner@bippesbrandao.de> comment:1

HTML-attributes are not case sensitive in html5. So only user lower case attributes.

Changed October 15, 2012 03:42PM UTC by mikesherov comment:2

component: unfiledattributes
priority: undecidedlow
resolution: → notabug
status: newclosed

Christian Meixner is correct.