Opened 9 years ago
Closed 9 years ago
#14269 closed bug (wontfix)
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: |
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.
Note: See
TracTickets for help on using
tickets.
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 namedwi-dth
and we are not going to mandate such usage.