Class CssValues
java.lang.Object
org.eclipse.e4.ui.css.core.impl.dom.CssValues
The internal CSS value model produced by the parser. A small sealed hierarchy
of immutable values that replaces the former
Measure /
RGBColorImpl / CSSValueListImpl wrappers and removes the last SAC
dependency (LexicalUnit).
The variants still implement the W3C DOM-CSS interfaces so the property
handlers and converters that read values through CSSValue /
CSSPrimitiveValue keep working unchanged. Those consumers move to
pattern matching on the records in a later step, after which the W3C
interfaces can be dropped.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordrgb(...)or a#rgb/#rrggbbcolour.static final record26px,30%,75em- a number with a unit.static final recordA whitespace or comma separated sequence of values, e.g.static final record34or2.0- a unitless number.static final recordA separator (currently only,) carried inside a value list, kept for parity with the former SAC behaviour where the comma was a list item.static interfaceA single CSS value.static final recordred,'a string',url(x),inherit.static interfaceA parsed CSS value: either a primitive or a whitespace/comma separated list. -
Method Summary