Bug Tracker

Opened 6 years ago

Closed 6 years ago

#14269 closed bug (wontfix)

Webkit width and height returns with incorrect case.

Reported by: d333mon@… Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 2.0.3
Keywords: Cc:
Blocked by: Blocking:

Description

Effects: All webkit browsers. jQuery version: 2.0.3 and 1.10.1 Bug Example: http://jsfiddle.net/uAk7n/1/

When you retrieve the width or height of an element using a webkit browser, if that element has a scrollbar it will not calculate that scrollbars width or height correctly, unless you used all lower case letters in your .css call.

Change History (1)

comment:1 Changed 6 years ago by m_gol

Resolution: wontfix
Status: newclosed

We don't support such strange naming. Either write everything lower-case with dashes or camelized, i.e. for border-top-left-radius acceptable inputs are:
1) .css('border-top-left-radius')
2) .css('borderTopLeftRadius')

Accepting input like .css('wiDth') would suggest a property named wi-dth and we are not going to mandate such usage.

Note: See TracTickets for help on using tickets.