Side navigation
#7058 closed bug (wontfix)
Opened September 21, 2010 11:06AM UTC
Closed April 17, 2011 11:41PM UTC
Last modified November 22, 2011 02:17PM UTC
.css('borderTopWidth')
Reported by: | amoschen | Owned by: | dmethvin |
---|---|---|---|
Priority: | low | Milestone: | 1.next |
Component: | css | Version: | 1.4.2 |
Keywords: | borderWidth | Cc: | |
Blocked by: | Blocking: |
Description
When using .css('borderTopWidth'), jquery doesn't take the situation into consideration that when the border-width has not been set in css file, ie's default value is 'medium' while other browsers are '0px'.
We'd better unify the return value to '0px' to avoid compatibility issues.
Attachments (0)
Change History (10)
Changed October 03, 2010 07:28PM UTC by comment:1
priority: | → undecided |
---|
Changed October 14, 2010 09:42PM UTC by comment:2
milestone: | 1.4.3 → 1.next |
---|---|
priority: | undecided → low |
status: | new → open |
Changed October 21, 2010 10:57PM UTC by comment:3
milestone: | 1.4.4 → 1.4.5 |
---|
Retargeting due to severity of regressions in 1.4.3.
Changed December 07, 2010 03:31AM UTC by comment:4
owner: | → dmethvin |
---|---|
status: | open → assigned |
Changed December 09, 2010 03:58AM UTC by comment:5
Pull request: https://github.com/jquery/jquery/pull/123
Changed January 17, 2011 06:52PM UTC by comment:6
milestone: | 1.4.5 → 1.5 |
---|
Changed April 07, 2011 02:50PM UTC by comment:7
milestone: | → 1.7 |
---|
I have a patch for this but am not convinced it's worth the bytes. Comment here and vote up the ticket if you think otherwise and we'll review for 1.7.
Changed April 17, 2011 11:41PM UTC by comment:8
milestone: | 1.7 → 1.next |
---|---|
resolution: | → wontfix |
status: | assigned → closed |
Yeah, sounds like we're just going to punt on this.
Changed November 22, 2011 02:17PM UTC by comment:10
#10855 is a duplicate of this ticket.
Border dimensions only have meaning if border-style is *not* "none":
http://www.w3.org/TR/CSS2/box.html#border-style-properties
If the browser supports getComputedStyle (basically, everyone but IE) then it takes this into account automatically. Since curCSS is now defined separately for the IE case, a workaround could be applied there.