Skip to main content

Bug Tracker

Side navigation

#14105 closed bug (duplicate)

Opened July 05, 2013 12:34PM UTC

Closed July 05, 2013 12:54PM UTC

$(object).css("border") doesn´t work in Firefox

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

I try to read the border css with the script in summary and everytime i get null as callback. i tried other options, e.g. "border-width" or "border-color", it doesn´t work in Firefox.

In Opera it works!

Attachments (0)
Change History (1)

Changed July 05, 2013 12:54PM UTC by gibson042 comment:1

resolution: → duplicate
status: newclosed

Duplicate of #13421.From

[Retrieval of] Shorthand CSS properties (e.g. margin, background, border) are not supported. For example, if you want to retrieve the rendered margin, use: $(elem).css('marginTop') and $(elem).css('marginRight'), and so on.

Use guaranteed-readable properties like "border-left-width", "border-bottom-color", etc.