UaRule

data class UaRule(val style: <Error class: unknown class>, val replaced: Boolean = false, val intrinsicLayout: IntrinsicLayout = IntrinsicLayout.Flex)

A user-agent (browser-default) style rule for one HTML element type, as held in UaStylesheet.rules. Forms the lowest layer of the cascade, before element/class/id and inline styles.

Constructors

Link copied to clipboard
constructor(style: <Error class: unknown class>, replaced: Boolean = false, intrinsicLayout: IntrinsicLayout = IntrinsicLayout.Flex)

Properties

Link copied to clipboard

how the element lays out its content; defaults to IntrinsicLayout.Flex.

Link copied to clipboard
val replaced: Boolean = false

whether the element is a replaced element (e.g. img), sized from its own intrinsic content rather than its children.

Link copied to clipboard
val style: <Error class: unknown class>

the default Style stamped onto matching nodes.