Expand description
Generic types for box properties.
Re-exports§
pub use self::GenericBaselineShift as BaselineShift;pub use self::GenericContainIntrinsicSize as ContainIntrinsicSize;pub use self::GenericLineClamp as LineClamp;pub use self::GenericPerspective as Perspective;pub use self::GenericOverflowClipMargin as OverflowClipMargin;
Structs§
- Generic
Line Clamp - Note that we only implement -webkit-line-clamp as a single, longhand property for now, but the spec defines line-clamp as a shorthand for separate max-lines, block-ellipsis, and continue properties.
- Generic
Overflow Clip Margin - https://drafts.csswg.org/css-overflow-4/#overflow-clip-margin
Enums§
- Baseline
Shift Keyword - Generic
Baseline Shift - A generic value for the
baseline-shiftproperty. https://drafts.csswg.org/css-inline-3/#baseline-shift - Generic
Contain Intrinsic Size - https://drafts.csswg.org/css-sizing-4/#intrinsic-size-override
- Generic
Perspective - A generic value for the
perspectiveproperty. - Overflow
Clip Margin Box - https://drafts.csswg.org/css-overflow-4/#overflow-clip-margin’s
. Note that the spec has special behavior for the omitted keyword, but that’s rather odd, see: https://github.com/w3c/csswg-drafts/issues/13185 - Position
Property