CSS get width property
|Reported by:||ventalator||Owned by:||brandon|
Currently when width has not been explicitly set in the CSS, jQuery returns the calculated width of the element. This is not the correct behavior because the default value of width is "auto".
If you access this property by the dom element.style.width it returns an empty string which is partially correct. Since jQuery is supposed to make things easier for developers shouldn't jQuery interpret this as the default value "auto"?
Change History (4)
comment:3 Changed 6 years ago by SlexAxton
- Milestone changed from 1.4 to 1.5
- Priority changed from minor to low
- Status changed from new to assigned