Expand description
Specified types for box properties.
Re-exports§
pub use crate::logical_geometry::WritingModeProperty;pub use crate::typed_om::KeywordValue;pub use crate::typed_om::ToTyped;pub use crate::typed_om::TypedValue;pub use crate::values::generics::box_::PositionProperty;
Structs§
- Contain
- Constants for contain: https://drafts.csswg.org/css-contain/#contain-property
- Container
Name - https://drafts.csswg.org/css-contain-3/#container-name
- Container
Type - Specified keyword values for the container-type property. Spec: normal | [ [ size | inline-size ] || scroll-state ]
- Display
- Margin
Trim - Specified value of the
margin-trimproperty, which trims the margins of a container’s children where they meet the container’s edges. https://drafts.csswg.org/css-box-4/#propdef-margin-trim Pending https://github.com/w3c/csswg-drafts/issues/13731, we’re only targetting block trimming for now and skippinginline-startandinline-end - Scroll
Snap Align - https://drafts.csswg.org/css-scroll-snap-1/#scroll-snap-align
- Scroll
Snap Type - https://drafts.csswg.org/css-scroll-snap-1/#scroll-snap-type
- Scrollbar
Gutter - Values for scrollbar-gutter: https://drafts.csswg.org/css-overflow-3/#scrollbar-gutter-property
- Touch
Action - Values for the
touch-actionproperty. - Will
Change - Provides a rendering hint to the user agent, stating what kinds of changes the author expects to perform on the element.
- Will
Change Bits - The change bits that we care about.
Enums§
- Alignment
Baseline - A specified value for the
alignment-baselineproperty. https://drafts.csswg.org/css-inline-3/#alignment-baseline - Appearance
- The value for the
appearanceproperty. - Backface
Visibility - https://drafts.csswg.org/css-transforms/#backface-visibility-property
- Baseline
Source - A specified value for the
baseline-sourceproperty. https://drafts.csswg.org/css-inline-3/#baseline-source - BoxAlign
- Nonstandard (https://developer.mozilla.org/en-US/docs/Web/CSS/box-align)
- BoxCollapse
- Whether flexbox visibility: collapse items use legacy -moz-box behavior or not.
- BoxDirection
- Nonstandard (https://developer.mozilla.org/en-US/docs/Web/CSS/box-direction)
- BoxOrient
- Nonstandard (https://developer.mozilla.org/en-US/docs/Web/CSS/box-orient)
- BoxPack
- Nonstandard (https://developer.mozilla.org/en-US/docs/Web/CSS/box-pack)
- Break
Between - A kind of break between two boxes.
- Break
Within - A kind of break within a box.
- Clear
- https://drafts.csswg.org/css2/#propdef-clear
- Content
Visibility - https://drafts.csswg.org/css-contain-2/#content-visibility
- Direction
Property - https://drafts.csswg.org/css-writing-modes/#propdef-direction
- Display
Inside - Display
Keyword 🔒 - Display
Outside - Defines an element’s display type, which consists of the two basic qualities of how an element generates boxes https://drafts.csswg.org/css-display/#propdef-display
- Dominant
Baseline - A specified value for the
dominant-baselineproperty. https://drafts.csswg.org/css-inline-3/#dominant-baseline - Float
- https://drafts.csswg.org/css-box/#propdef-float
- Image
Orientation - https://drafts.csswg.org/css-images/#propdef-image-orientation
- Isolation
- https://drafts.fxtf.org/compositing/#isolation
- Orient
- Nonstandard (https://developer.mozilla.org/en-US/docs/Web/CSS/-moz-orient)
- Overflow
- The value for the
overflow-x/overflow-yproperties. - Overflow
Anchor - Overscroll
Behavior - Resize
- https://drafts.csswg.org/css-ui/#propdef-resize
- Scroll
Behavior - https://drafts.csswg.org/cssom-view/#propdef-scroll-behavior
- Scroll
Snap Align Keyword - Specified value of scroll-snap-align keyword value.
- Scroll
Snap Axis - https://drafts.csswg.org/css-scroll-snap-1/#snap-axis
- Scroll
Snap Stop - Scroll
Snap Strictness - https://drafts.csswg.org/css-scroll-snap-1/#snap-strictness
- Text
Orientation - https://drafts.csswg.org/css-writing-modes/#propdef-text-orientation
- TopLayer
- Whether an element lives in the top layer. Set by UA sheets.
- Visibility
- https://drafts.csswg.org/css-box/#propdef-visibility
- Zoom
- A specified value for the zoom property.
Functions§
- appearance_
base_ 🔒enabled - appearance_
base_ 🔒select_ enabled - change_
bits_ 🔒for_ longhand - change_
bits_ 🔒for_ maybe_ property - is_
display_ 🔒grid_ lanes_ enabled
Type Aliases§
- Baseline
Shift - A specified value for the
baseline-shiftproperty. - Contain
Intrinsic Size - A specified value for the
contain-intrinsic-sizeproperty. - Line
Clamp - A specified value for the
line-clampproperty. - Overflow
Clip Margin - The specified value of
overflow-clip-margin. - Perspective
- A specified value for the
perspectiveproperty. - Scrollbar
Inset - The specified value of
-moz-scrollbar-inset-block/-inline.