Skip to main content

Module containing_block

Module containing_block 

Source

StructsΒ§

ConstraintSpace πŸ”’
Represents the set of constraints that we use when computing the min-content and max-content inline sizes of an element.
ContainingBlock πŸ”’
ContainingBlockSize πŸ”’
DefiniteContainingBlock πŸ”’
HasQuirkyBlockSize πŸ”’
Whether the block size of a containing block was affected by the percentage quirk. If true, it means the actual block size is indefinite, but it has been overriden with a definite amount, in order to resolve percentages in quirks mode. https://quirks.spec.whatwg.org/#the-percentage-height-calculation-quirk
IndefiniteContainingBlock πŸ”’
A variant of ContainingBlock that allows an indefinite inline size. Useful for code that is shared for both layout (where we know the inline size of the containing block) and intrinsic sizing (where we don’t know it).
IndefiniteContainingBlockSize πŸ”’

FunctionsΒ§

block_stretch_size πŸ”’
inline_stretch_size πŸ”’