Ticket #6399 (assigned defect)

Opened 8 months ago

Last modified 6 months ago

dojox.fx.highlight tests fail on Safari

Reported by: guest Owned by: dante
Priority: normal Milestone: 1.4
Component: Dojox Version: 1.1.0
Severity: normal Keywords:
Cc: wolever@…

Description

Instead of fading to the background colour of the object, everything fades to black, then snaps to the correct colour.

This is Safari Version 3.1 (4525.13) on OS X 10.4.11 with Dojo 1.1.0

The test is dojox/fx/tests/test_highlight.html

Attachments

Picture 4.png (17.2 kB) - added by guest 8 months ago.
After fading from yellow to black (as seen here), the bgcolor snaps back to the correct colour.

Change History

Changed 8 months ago by guest

After fading from yellow to black (as seen here), the bgcolor snaps back to the correct colour.

Changed 8 months ago by dante

  • status changed from new to assigned
  • owner changed from BryanForbes to dante
  • milestone set to 1.2

Changed 8 months ago by bill

  • component changed from fx to Dojox

Changed 6 months ago by dante

  • milestone changed from 1.2 to 1.4

So I've determined what this is, but want to blame dojo.Color somehow -- though can't figure out where why. Both safari and FF3 report the endColor as being rgba(0,0,0,0), IE7 calls it "transparent", both cases are being checked for already, so the color animation used in safari isn't reading the 0 opacity, and animating to black ( rga(0,0,0) ) ... The internal onEnd handler is setting it back properly, which is why it "works", but yes, is horribly wrong to be going towards black here.

bumping to see if anything else can be determined in core Color class, or perhaps it's even in animateProperty.

Changed 6 months ago by dante

(In [14098]) refs #6399 - try setting the background style back to the orig value, which works, and shows this issue is in Color or animateProperty. needs further debugging.

Note: See TracTickets for help on using tickets.