Skip to main content

Bug Tracker

Side navigation

#9860 closed bug (cantfix)

Opened July 19, 2011 12:28PM UTC

Closed July 19, 2011 01:18PM UTC

Last modified March 14, 2012 03:53AM UTC

jQuery.css() does not return all details for multiple backgrounds in Safari 5 (OS-X)

Reported by: Owned by:
Priority: low Milestone: None
Component: css Version: 1.6.2
Keywords: Cc:
Blocked by: Blocking:

Having defined multiple backgrounds (using the three long-hand background-repeat, background-position and background-image properties in an external CSS style sheet), when using the jQuery css method on the appropriate element to find the background string ($('#page').css('background-position') for example), the full string for all the different backgrounds is returned in Firefox and Chromium (versions 5 and 12), but in Safari 5 (on OS-X) only the first value pair is returned.

This seems to be the same for all versions of jQuery.

Please see the jsFiddle for a small working example.

Attachments (0)
Change History (1)

Changed July 19, 2011 01:18PM UTC by timmywil comment:1

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

Unfortunately, I don't think there's anything we can do here.

It doesn't seem to be possible to retrieve all of the values either with uncomputed or computed retrieval.