Skip to main content

Bug Tracker

Side navigation

#12674 closed bug (notabug)

Opened October 08, 2012 01:14PM UTC

Closed October 08, 2012 02:44PM UTC

Last modified October 08, 2012 02:52PM UTC

$.css not working in browsers == !Chrome

Reported by: Ronak Shah Owned by:
Priority: low Milestone: None
Component: css Version: 1.8.2
Keywords: Cc:
Blocked by: Blocking:

I'm using


, which is working in Chrome but not in other browsers

Please see this link:

This is working in Google Chrome Version 24.0.1284.2 dev-m

But it is not working in:

  • Firefox 15.0.1
  • IE10
  • IE9

Other browser not tested.

Attachments (0)
Change History (2)

Changed October 08, 2012 02:44PM UTC by mikesherov comment:1

component: unfiledcss
priority: undecidedlow
resolution: → notabug
status: newclosed

Thanks for contributing!

From "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."

The fact that it works in Chrome is a happy accident, but not something we support or intend to support. Thanks!

Changed October 08, 2012 02:52PM UTC by dmethvin comment:2

It doesn't "work" in Chrome either: