Module layout_2013::model
source · Expand description
Borders, padding, and margins.
Structs§
- A collapsible margin. See CSS 2.1 § 8.3.1.
- Intrinsic inline-sizes, which consist of minimum and preferred.
- The temporary result of the computation of intrinsic inline-sizes.
- A min-size and max-size constraint. The constructor has a optional
border
parameter, and when it is present the constraint will be subtracted. This is used to adjust the constraint forbox-sizing: border-box
, and when you do so make sure the size you want to clamp is intended to be used for content box.
Enums§
- Represents the block-start and block-end margins of a flow with collapsible margins. See CSS 2.1 § 8.3.1.
- Useful helper data type when computing values for blocks and positioned elements.
Functions§
- Returns the explicitly-specified margin lengths from the given style. Percentage and auto margins are returned as zero.
- Receive an optional container size and return used value for width or height.