Ticket #5215 (closed enhancement: fixed)

Opened 3 years ago

Last modified 12 months ago

Effects color: Add support for rgba animations

Reported by: ericw Owned by: gnarf
Priority: minor Milestone: 1.9.0
Component: ui.effects.core Version: 1.5
Keywords: color Cc:
Blocking: Blocked by:

Description

rgba-values in color css attributes allow firefox 3 and safari 3 to have transparent colors. it would be great to be able to animate them with jquery using the jquery.color plugin.

Change History

comment:1 Changed 3 years ago by rdworth

  • Summary changed from Support for rgba animations in jquery.color to Effects color: Support for rgba animations in jquery.color

comment:2 Changed 3 years ago by rdworth

  • Summary changed from Effects color: Support for rgba animations in jquery.color to Effects color: Add support for rgba animations

comment:3 Changed 3 years ago by kapouer

It is also a problem with e.g. chromium, since :

> $(document.body).css('backgroundColor')
"rgba(0, 0, 0, 0)"

So one cannot save backgroundColor value to animate back and forth, since rgba is not understood by color plugin.

comment:4 Changed 3 years ago by piouPiouM

See my  commit on GitHub for a support of the rgba animations and  its demonstration.

comment:5 Changed 3 years ago by aidan

The patch looks good, why isn't this getting more attention!

comment:6 Changed 2 years ago by scott.gonzalez

#4736 is a duplicate of this ticket.

comment:7 Changed 2 years ago by gnarf

  • Status changed from new to open

comment:8 Changed 2 years ago by gnarf

  • Owner set to gnarf
  • Status changed from open to assigned
  • Milestone changed from 1.next to 1.9

comment:9 Changed 2 years ago by gnarf

  • Keywords color added

comment:10 Changed 12 months ago by Scott González

  • Status changed from assigned to closed
  • Resolution set to fixed

Upgrade to jquery-color 2.0pre. Fixes #6910 - Trying to animate the background color of a document fragment can easily fail. Fixes #5215 - Effects color: Add support for rgba animations. Fixes #4372 - Animate backgroundColor to 'transparent'. Fixes #5393 - getColor reports inaccurate color for transparent elements in Webkit. Fixes #3806 - Feature request: expose getRGB and getColor.

Changeset: 13d560b8f05a8eedbf28851824fe639a254f9fd0

Note: See TracTickets for help on using tickets.