Bug Tracker

Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#9860 closed bug (cantfix)

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

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

Description

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 http://jsfiddle.net/eWQNq/ for a small working example.

Change History (1)

comment:1 Changed 12 years ago by Timmy Willison

Component: unfiledcss
Priority: undecidedlow
Resolution: cantfix
Status: newclosed

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

http://jsfiddle.net/eWQNq/2/

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

Note: See TracTickets for help on using tickets.