Bug Tracker

Modify

Ticket #7376 (closed bug: worksforme)

Opened 3 years ago

Last modified 2 years ago

Setting backgroundColor with .css in 1.4.3

Reported by: michael@… Owned by:
Priority: undecided Milestone: 1.5
Component: unfiled Version: 1.4.3
Keywords: Cc:
Blocking: Blocked by:

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

comment:1 Changed 3 years ago by jitter

I can't reproduce this.  test case.

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

Last edited 3 years ago by jitter (previous) (diff)

comment:2 Changed 3 years ago by rwaldron

  • Owner set to michael@…
  • Status changed from new to pending

comment:3 Changed 2 years ago by jitter

  • Owner michael@… deleted
  • Status changed from pending to new

comment:4 Changed 2 years ago by jitter

  • Status changed from new to closed
  • Resolution set to worksforme

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

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.