Skip to main content

Bug Tracker

Side navigation

#2462 closed bug (duplicate)

Opened March 05, 2008 10:13PM UTC

Closed March 17, 2009 09:47PM UTC

backgroundPosition propertie

Reported by: ragamo Owned by:
Priority: major Milestone: 1.2.4
Component: core Version: 1.2.2
Keywords: Cc:
Blocked by: Blocking:
Description

.css({ backgroundPosition: ... doesn't work!

Attachments (0)
Change History (7)

Changed March 17, 2008 10:47PM UTC by flesler comment:1

It is working for me, do you have a test case ? at least tell us what browser/OS are you using and how are you setting the background position, and why do you say it doesn't work ? you don't see the change visually ? or something else.

Changed March 24, 2008 07:26PM UTC by ragamo comment:2

Replying to [comment:1 flesler]:

It is working for me, do you have a test case ? at least tell us what browser/OS are you using and how are you setting the background position, and why do you say it doesn't work ? you don't see the change visually ? or something else.

Doh!

Yes it is working! no bug here! xD

Seems i have commited an human error xD

Close this please

Changed March 27, 2008 04:54AM UTC by davidserduke comment:3

resolution: → worksforme
status: newclosed

Closed on request of author.

Changed August 22, 2008 10:56PM UTC by kswedberg comment:4

resolution: worksforme
status: closedreopened

Hi Ariel,

I'm reopening this ticket because there is a discrepancy between browsers:

IE6 and IE7 return undefined for css('backgroundPosition') but return correct results for css('backgroundPositionX') and css('backgroundPositionY').

FF3 returns correct results for css('backgroundPosition') but returns empty string for css('backgroundPositionX') and css('backgroundPositionY').

Safari3 returns correct results for all three.

Here is a test page:

http://test.learningjquery.com/background-position.html

Changed November 25, 2008 12:20PM UTC by sauy7 comment:5

Test cases and a potential fix here: http://heighes.com/tests/jquery/

Changed February 05, 2009 12:56AM UTC by moneal comment:6

FF2 only seems to work if it has been set with jQuery. Not if its been set with a external style sheet.

Changed March 17, 2009 09:47PM UTC by brandon comment:7

resolution: → duplicate
status: reopenedclosed

duplicate of #4295