Skip to main content

Bug Tracker

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


Reported by: amoschen Owned by: dmethvin
Priority: low Milestone:
Component: css Version: 1.4.2
Keywords: borderWidth Cc:
Blocked by: Blocking:

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 dmethvin comment:1

priority: → undecided

Border dimensions only have meaning if border-style is *not* "none":

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.

Changed October 14, 2010 09:42PM UTC by snover comment:2

priority: undecidedlow
status: newopen

Changed October 21, 2010 10:57PM UTC by snover comment:3


Retargeting due to severity of regressions in 1.4.3.

Changed December 07, 2010 03:31AM UTC by dmethvin comment:4

owner: → dmethvin
status: openassigned

Changed December 09, 2010 03:58AM UTC by dmethvin comment:5

Changed January 17, 2011 06:52PM UTC by dmethvin comment:6


Changed April 07, 2011 02:50PM UTC by dmethvin 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 john comment:8

resolution: → wontfix
status: assignedclosed

Yeah, sounds like we're just going to punt on this.

Changed June 04, 2011 05:45PM UTC by dmethvin comment:9

#9484 is a duplicate of this ticket.

Changed November 22, 2011 02:17PM UTC by dmethvin comment:10

#10855 is a duplicate of this ticket.