Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 307216 - [design] Composite can crash when using background-image: none
Summary: [design] Composite can crash when using background-image: none
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.3   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 1.3 M7   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 306695
  Show dependency tree
 
Reported: 2010-03-26 12:36 EDT by Tim Buschtoens CLA
Modified: 2010-03-29 09:14 EDT (History)
1 user (show)

See Also:


Attachments
fix (1.38 KB, patch)
2010-03-26 13:08 EDT, Tim Buschtoens CLA
holger.staudacher: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Buschtoens CLA 2010-03-26 12:36:29 EDT
To reproduce:
- In Composite.default.css, set background-image: none;
  (This will be necessary to solve bug 306695).
- Start controls-demo, go to tab "Composite"
- Issue 1:
  - Check "Background Gradient"
  - Check "Background Image"
  - The Gradient is still displayed (correct behavior)
  - Uncheck "Background Gradient"
  - The image should be seen, but isn't
  - Uncheck "Background Image"
- Issue 2:
  - Set a rounded border, then repeat above steps
  - This time the image can be seen, but when 
    unchecking "Backgound Image" the applications crashes.

The error is "Could not evaluate javascript response: TypeError: source is null".
Comment 1 Tim Buschtoens CLA 2010-03-26 13:08:11 EDT
Created attachment 163104 [details]
fix
Comment 2 Holger Staudacher CLA 2010-03-29 09:14:12 EDT
Patch reviewed and changes committed to CVS HEAD.