Bug 375658 - [CSS] gradient not removed when setting plain colour
Summary: [CSS] gradient not removed when setting plain colour
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Scripting (show other bugs)
Version: 4.2   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: 4.2 M7   Edit
Assignee: Brian de Alwis CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-29 14:45 EDT by Brian de Alwis CLA
Modified: 2012-03-29 14:47 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian de Alwis CLA 2012-03-29 14:45:10 EDT
Setting the background-color of a widget is currently a no-op after having previously set it to a gradient results.

Steps to reproduce:
0. Install the CSS Spy
1. Select a tree or table element and open the spy
2. Set the background-color to a gradient (e.g., '#ffffff #000000 50%')
3. Set the background-color to a plain color (e.g., '#ffffff')

See that the background color doesn't change.

There's also problems that the images generated don't always seem to be disposed of properly.
Comment 1 Brian de Alwis CLA 2012-03-29 14:46:58 EDT
Fixed in dc05fa5c4f397be8e04652f9431185233ba0b871