Bug 282898 [CSS] ETabFolder should support background color behind tab area
Presently in CTabFolder, the unselected tab and the background color of the tab area are the same. We want them to be different. Not sure what property to use in CSS to support this, since background-color is presently used for the tabs themselves. One idea would be to make CTabItem be the element which supports color background-color :selected This would leave CTabFolder to interpret background color as the area behind the tabs.
bundles/org.eclipse.e4.ui.css.swt/src/org/eclipse/e4/ui/css/swt/properties/css2/CSSPropertyBackgroundSWTHandler.java
Widget widget = (Widget) element;
		if (value.getCssValueType() == CSSValue.CSS_PRIMITIVE_VALUE) {
			Color newColor = (Color) engine.convert(value, Color.class, widget
					.getDisplay());
			if (widget instanceof CTabItem) {
				CTabFolder folder = ((CTabItem) widget).getParent();
				if ("selected".equals(pseudo)) {
					folder.setSelectionBackground(newColor);
				} else {
					folder.setBackground(newColor);
				}
			} else if (widget instanceof Control) {
				((Control) widget).setBackground(newColor);
			}
		} else if (value.getCssValueType() == CSSValue.CSS_VALUE_LIST) {
			Gradient grad = (Gradient) engine.convert(value, Gradient.class,
					widget.getDisplay());
			if (widget instanceof CTabItem && "selected".equals(pseudo)) {
				CTabFolder folder = ((CTabItem) widget).getParent();
					folder.setSelectionBackground(
							CSSSWTColorHelper.getSWTColors(grad, folder.getDisplay()),
							CSSSWTColorHelper.getPercents(grad),
							true);
			} else if (widget instanceof Control) {
				GradientBackgroundListener.handle((Control) widget, grad);
			}
		}
	}
	/*
	 * (non-Javadoc)