Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 402530

Summary: [CSS] Styling Engine should be able to parse SWT color constants
Product: [Eclipse Project] Platform Reporter: Bogdan Gheorghe <gheorghe>
Component: UIAssignee: Bogdan Gheorghe <gheorghe>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jdsalingerjr, pwebster, remy.suen, robin
Version: 4.3   
Target Milestone: 4.3 M6   
Hardware: PC   
OS: Windows 7   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=421659
https://bugs.eclipse.org/bugs/show_bug.cgi?id=420036
https://bugs.eclipse.org/bugs/show_bug.cgi?id=459961
Whiteboard:

Description Bogdan Gheorghe CLA 2013-03-06 10:15:22 EST
SWT provides access to specific OS-theme colors and these are currently used in the 3.x UI. We should provide a way for them to be used directly in stylesheets.
Comment 1 Bogdan Gheorghe CLA 2013-03-06 17:40:51 EST
Fixed in master > 20130306
Comment 3 Paul Webster CLA 2013-07-04 13:57:33 EDT
*** Bug 278498 has been marked as a duplicate of this bug. ***
Comment 4 Robin Stocker CLA 2013-10-19 16:03:32 EDT
Was it intentional that values are only recognized like this:

COLOR-WIDGET-FOREGROUND

but not like this?:

COLOR_WIDGET_FOREGROUND
Comment 5 Robin Stocker CLA 2013-10-21 18:58:10 EDT
(In reply to Robin Stocker from comment #4)

See bug 420036.