#3667 closed bug (duplicate)
Getting "background-position" on Firefox 2.0.0.18 (and olders)
Reported by: | rickgbw | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.3 |
Component: | core | Version: | 1.2.6 |
Keywords: | Cc: | rickgbw | |
Blocked by: | Blocking: |
Description
When I want the Background Position of one element, the correct CSS name for this atribute is "background-position".
So, on FF2 when I put: $("#elem").css("background-position"); ... it returns undefined, but works fine if I use "backgroundPosition".
By the way, on FF3, using "background-position" works right.
I think that is important works the CSS property with the correct name (background-position).
Change History (6)
comment:1 Changed 14 years ago by
Cc: | rickgbw added |
---|---|
Component: | unfilled → core |
Owner: | flesler deleted |
comment:2 Changed 14 years ago by
comment:3 Changed 14 years ago by
FF2 only seems to work if it has been set with jQuery. Not if its been set with a external style sheet. Works fine with FF3
Note: See
TracTickets for help on using
tickets.
function attr: in core.js seems to handle this problem change if ( value === undefined )
* for
* you will see that fix (i guess), that fix under internet explorer :)