Meziantou.Framework.WebPlatform.Css.TypedOm namespace

Classes

NameDescription
CssColorcolor() (https://drafts.css-houdini.org/css-typed-om-1/#csscolor).
CssColorValueA <color> value (https://drafts.css-houdini.org/css-typed-om-1/#csscolorvalue). The browsers do not reify the colors of the properties as color values (they are direct CssStyleValue objects, like in this library): the color values are created by their constructors and by CssColorValue.Parse.
CssHslhsl() and hsla() (https://drafts.css-houdini.org/css-typed-om-1/#csshsl).
CssHwbhwb() (https://drafts.css-houdini.org/css-typed-om-1/#csshwb).
CssImageValueAn <image> value (https://drafts.css-houdini.org/css-typed-om-1/#cssimagevalue). The object is opaque: it is only a value that can be set to a property that accepts images.
CssKeywordValueA keyword or an identifier (https://drafts.css-houdini.org/css-typed-om-1/#csskeywordvalue).
CssLablab() (https://drafts.css-houdini.org/css-typed-om-1/#csslab).
CssLchlch() (https://drafts.css-houdini.org/css-typed-om-1/#csslch).
CssMathClampThe clamp() function (https://drafts.css-houdini.org/css-typed-om-1/#cssmathclamp).
CssMathInvertThe inverse of a value (https://drafts.css-houdini.org/css-typed-om-1/#cssmathinvert), e.g. the right operand of a division.
CssMathMaxThe max() function (https://drafts.css-houdini.org/css-typed-om-1/#cssmathmax).
CssMathMinThe min() function (https://drafts.css-houdini.org/css-typed-om-1/#cssmathmin).
CssMathNegateThe negation of a value (https://drafts.css-houdini.org/css-typed-om-1/#cssmathnegate), e.g. the right operand of a subtraction.
CssMathProductA product of values (https://drafts.css-houdini.org/css-typed-om-1/#cssmathproduct), e.g. calc(2 * 1em).
CssMathSumA sum of values (https://drafts.css-houdini.org/css-typed-om-1/#cssmathsum), e.g. calc(1em + 5px).
CssMathValueA math expression (https://drafts.css-houdini.org/css-typed-om-1/#cssmathvalue): a tree of math values whose leaves are CssUnitValue objects, e.g. calc(1em + 5px) is a CssMathSum of 1em and 5px.
CssMatrixComponentmatrix() and matrix3d() (https://drafts.css-houdini.org/css-typed-om-1/#cssmatrixcomponent).
CssMatrixComponentOptionsThe CSSMatrixComponentOptions dictionary (https://drafts.css-houdini.org/css-typed-om-1/#dictdef-cssmatrixcomponentoptions).
CssNumericArrayThe read-only list of the values of a math value (https://drafts.css-houdini.org/css-typed-om-1/#cssnumericarray).
CssNumericTypeThe type of a numeric value, returned by CssNumericValue.Type (https://drafts.css-houdini.org/css-typed-om-1/#dictdef-cssnumerictype).
CssNumericValueA numeric value: a <number>, a <percentage>, a <dimension> or a math expression (https://drafts.css-houdini.org/css-typed-om-1/#cssnumericvalue).
CssOkLaboklab() (https://drafts.css-houdini.org/css-typed-om-1/#cssoklab).
CssOkLchoklch() (https://drafts.css-houdini.org/css-typed-om-1/#cssoklch).
CssPerspectiveperspective() (https://drafts.css-houdini.org/css-typed-om-1/#cssperspective).
CssRgbrgb() and rgba() (https://drafts.css-houdini.org/css-typed-om-1/#cssrgb).
CssRotaterotate(), rotateX(), rotateY(), rotateZ() and rotate3d() (https://drafts.css-houdini.org/css-typed-om-1/#cssrotate).
CssScalescale(), scaleX(), scaleY(), scaleZ() and scale3d() (https://drafts.css-houdini.org/css-typed-om-1/#cssscale).
CssSkewskew() (https://drafts.css-houdini.org/css-typed-om-1/#cssskew).
CssSkewXskewX() (https://drafts.css-houdini.org/css-typed-om-1/#cssskewx).
CssSkewYskewY() (https://drafts.css-houdini.org/css-typed-om-1/#cssskewy).
CssStyleValueA CSS value of the Typed OM (https://drafts.css-houdini.org/css-typed-om-1/#cssstylevalue). The values that have no more specialized subclass are direct CssStyleValue objects: they are opaque, and are only valid for the property they were reified for (https://drafts.css-houdini.org/css-typed-om-1/#reify-as-a-cssstylevalue).
CssTransformComponentA <transform-function> (https://drafts.css-houdini.org/css-typed-om-1/#csstransformcomponent).
CssTransformValueA <transform-list> value (https://drafts.css-houdini.org/css-typed-om-1/#csstransformvalue): a list of transform components.
CssTranslatetranslate(), translateX(), translateY(), translateZ() and translate3d() (https://drafts.css-houdini.org/css-typed-om-1/#csstranslate).
CssUnitValueA value with a single unit, a number or a percentage (https://drafts.css-houdini.org/css-typed-om-1/#cssunitvalue), e.g. 42px (the unit is "px"), 10 (the unit is "number") or 50% (the unit is "percent").
CssUnparsedValueA value that references custom properties (https://drafts.css-houdini.org/css-typed-om-1/#cssunparsedvalue): a list of strings and CssVariableReferenceValue objects, e.g. calc(42px + var(--foo)) is the string "calc(42px + ", a reference to --foo and the string ")".
CssVariableReferenceValueA var() reference (https://drafts.css-houdini.org/css-typed-om-1/#cssvariablereferencevalue).
StylePropertyMapThe declarations of a style rule or of the style attribute of an element (https://drafts.css-houdini.org/css-typed-om-1/#declared-stylepropertymap-objects), as CssStyleValue objects. Setting a value updates the declarations.
StylePropertyMapReadOnlyThe values of the properties of a declaration block or of a computed style, as CssStyleValue objects (https://drafts.css-houdini.org/css-typed-om-1/#stylepropertymapreadonly). The map is live: it reflects the current declarations. A list-valued property (e.g. transition-duration) has one value per iteration.

Structs

NameDescription
CssColorChannelThe CSSColorRGBComp, CSSColorPercent, CSSColorNumber and CSSColorAngle typedefs: (CSSNumberish or CSSKeywordish) (https://drafts.css-houdini.org/css-typed-om-1/#typedefdef-csscolorrgbcomp).
CssKeywordishThe CSSKeywordish typedef: (DOMString or CSSKeywordValue) (https://drafts.css-houdini.org/css-typed-om-1/#typedefdef-csskeywordish).
CssNumberishThe CSSNumberish typedef: (double or CSSNumericValue) (https://drafts.css-houdini.org/css-typed-om-1/#typedefdef-cssnumberish).
CssPerspectiveValueThe CSSPerspectiveValue typedef: (CSSNumericValue or CSSKeywordish) (https://drafts.css-houdini.org/css-typed-om-1/#typedefdef-cssperspectivevalue).
CssStyleValueOrStringThe (CSSStyleValue or USVString) union of StylePropertyMap.Set and StylePropertyMap.Append.
CssUnparsedSegmentThe CSSUnparsedSegment typedef: (USVString or CSSVariableReferenceValue) (https://drafts.css-houdini.org/css-typed-om-1/#typedefdef-cssunparsedsegment).

Enums

NameDescription
CssMathOperatorhttps://drafts.css-houdini.org/css-typed-om-1/#enumdef-cssmathoperator
CssNumericBaseTypehttps://drafts.css-houdini.org/css-typed-om-1/#enumdef-cssnumericbasetype