Bug Tracker

Ticket #9860 (closed bug: cantfix)

Opened 3 years ago

Last modified 3 years ago

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

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

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

comment:1 Changed 3 years ago by timmywil

  • Priority changed from undecided to low
  • Resolution set to cantfix
  • Status changed from new to closed
  • Component changed from unfiled to css

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.