Opened 12 years ago
Closed 12 years ago
#7376 closed bug (worksforme)
Setting backgroundColor with .css in 1.4.3
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | undecided | Milestone: | 1.5 |
Component: | unfiled | Version: | 1.4.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Noticed a Div stopped changing colors when I upgraded jQuery today. This did work prior (with 1.4.2)
Setting $("div").css("backgroundColor", "red") doesn't work if the css for the same element has
div {
background:white;
}
By changing the css manipulator from backgroundColor to background, div background was successfully manipulated.
Change History (4)
comment:2 Changed 12 years ago by
Owner: | set to [email protected]… |
---|---|
Status: | new → pending |
comment:3 Changed 12 years ago by
Owner: | [email protected]… deleted |
---|---|
Status: | pending → new |
comment:4 Changed 12 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
No test case was provided. Closing. Feel free to reopen with a reproducible test case.
Note: See
TracTickets for help on using
tickets.
I can't reproduce this. test case.
Please provide a minimal test case on http://www.jsfiddle.net which shows your problem