Skip to main content

Bug Tracker

Side navigation

#7376 closed bug (worksforme)

Opened November 02, 2010 09:36AM UTC

Closed December 01, 2010 04:46PM UTC

Setting backgroundColor with .css in 1.4.3

Reported by: michael@intrigo.com 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.

Attachments (0)
Change History (4)

Changed November 02, 2010 12:35PM UTC by jitter comment:1

_comment0: I can't reproduce this. [http://www.jsfiddle.net/jitter/Uy2TW/ test case]. \ \ Please provide a minimal test case which shows your problem on http://www.jsfiddle.net1288701361610442

I can't reproduce this. test case.

Please provide a minimal test case on http://www.jsfiddle.net which shows your problem

Changed November 02, 2010 06:09PM UTC by rwaldron comment:2

owner: → michael@intrigo.com
status: newpending

Changed December 01, 2010 04:45PM UTC by jitter comment:3

owner: michael@intrigo.com
status: pendingnew

Changed December 01, 2010 04:46PM UTC by jitter comment:4

resolution: → worksforme
status: newclosed

No test case was provided. Closing. Feel free to reopen with a reproducible test case.