Expand description
Generic types for box properties.
Re-exports§
pub use self::GenericBaselineShift as BaselineShift;pub use self::GenericContainIntrinsicSize as ContainIntrinsicSize;pub use self::GenericMaxLines as MaxLines;pub use self::GenericLineClamp as LineClamp;pub use self::GenericPerspective as Perspective;pub use self::GenericOverflowClipMargin as OverflowClipMargin;pub use self::GenericScrollbarInset as ScrollbarInset;
Structs§
- Generic
Line Clamp - A generic value for the
line-clampproperty. - Generic
MaxLines - A generic value for the maximum lines used by
line-clamp. https://drafts.csswg.org/css-overflow-4/#propdef-max-lines - Generic
Overflow Clip Margin - https://drafts.csswg.org/css-overflow-4/#overflow-clip-margin
- Generic
Scrollbar Inset - The two insets of one scrollbar, for the chrome-only
-moz-scrollbar-inset-block/-moz-scrollbar-inset-inline. Each property names the axis the scrollbar runs along, sostartandendare the logical start and end of that axis and flip with the writing mode.
Enums§
- Baseline
Shift Keyword - Block
Ellipsis - A block ellipsis for line clamping.
- 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. - MaxLines
Keyword - A keyword for the maximum lines used by
line-clamp. - 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