Skip to main content

Bug Tracker

Side navigation

#14269 closed bug (wontfix)

Opened August 16, 2013 09:28PM UTC

Closed August 19, 2013 04:57PM UTC

Webkit width and height returns with incorrect case.

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

Effects: All webkit browsers.

jQuery version: 2.0.3 and 1.10.1

Bug Example:

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.

Attachments (0)
Change History (1)

Changed August 19, 2013 04:57PM UTC by m_gol comment:1

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.