IntrinsicLayout

How a node lays out and sizes itself, derived from the user-agent default for its type.

Set on ResolvedNode.intrinsicLayout from the node's UaRule; non-replaced types resolve to Flex, replaced types (e.g. img) to Replaced.

Entries

Link copied to clipboard

Default container — non-replaced element. Direction follows CSS (row) unless flex-direction overrides it.

Link copied to clipboard

Replaced element (e.g. img). Intrinsic dimensions resolved by the platform binding.

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.