Bug 278091 [CSS] Measure.getCssText() with float value results in IllegalStateException
In theory we should be able to provide percentages as part of the gradients, e.g. CTabFolder:selected { background-color: #FF0000 #0000FF 30% } But this generates IllegalStateException calling getCSSText() on org.apache.batik.css.parser.CSSLexicalUnit$FloatLexicalUnit from Measure.getCSSText().
bundles/org.eclipse.e4.ui.css.core/src/org/eclipse/e4/ui/css/core/impl/dom/Measure.java
LexicalUnit value;
	public Measure(LexicalUnit value) {
		super();
		this.value = value;
	}
	/**
	 * Return a float representation of the receiver's value.
	 * @param valueType a short representing the value type, see {@link CSSValue#getCssValueType()}
	 */
	public float getFloatValue(short valueType) throws DOMException {
		
		
		
		if(value.getLexicalUnitType() == LexicalUnit.SAC_INTEGER)
			return value.getIntegerValue();