Module Css_Property.AppliesTo

module Flexbox : sig ... end
module KeyframeBlock : sig ... end
module Display : sig ... end
include Display
type any = [
| KeyframeBlock.any
| animations
]
type block = [
| KeyframeBlock.block
| animations
]
type flex = [
| KeyframeBlock.flex
| animations
]
type list_item = [
| KeyframeBlock.list_item
| animations
]
type positioned = [
| KeyframeBlock.positioned
| animations
]
type replaced_inline = [
| KeyframeBlock.replaced_inline
| animations
]

* Replaced inline elements * (see list)

type non_replaced_inline = [
| KeyframeBlock.non_replaced_inline
| animations
]

Non-replaced inline elements

type inline = [
| KeyframeBlock.inline
| animations
]
type inline_block = [
| KeyframeBlock.inline_block
| animations
]
type inline_flex = [
| KeyframeBlock.inline_flex
| animations
]
type table_header_group = [
| KeyframeBlock.table_header_group
| animations
]
type table_caption = [
| KeyframeBlock.table_caption
| animations
]
type table = [
| KeyframeBlock.table
| animations
]
type inline_table = [
| KeyframeBlock.inline_table
| animations
]
type table_cell = [
| KeyframeBlock.table_cell
| animations
]
type table_column = [
| KeyframeBlock.table_column
| animations
]
type table_column_group = [
| KeyframeBlock.table_column_group
| animations
]
type table_row = [
| KeyframeBlock.table_row
| animations
]
type table_row_group = [
| KeyframeBlock.table_row_group
| animations
]
type ruby = ruby_align

Ruby Display

type ruby_base = ruby_align
type ruby_text = ruby_align
type ruby_base_container = ruby_align
type ruby_text_container = [
| ruby_position
| ruby_merge
]
type ruby_display = [
| ruby
| ruby_base
| ruby_text
| ruby_base_container
| ruby_text_container
]
type displays = [
| block
| flex
| list_item
| positioned
| inline
| inline_block
| inline_flex
| table_header_group
| table_caption
| table
| inline_table
| table_cell
| table_column
| table_column_group
| table_row
| table_row_group
| ruby_display
]
type flex_item = KeyframeBlock.flex_item

A flex item is defined as a child of a flex container (display: flex), it can have any display type.

module Display3 : sig ... end
type keyframe_block = [
| KeyframeBlock.displays
| KeyframeBlock.flex_item
]
type display = [
| displays
| flex_item
| size
]
val to_block : [< block ] t -> block t
val to_flex : [< flex ] t -> flex t
val to_list_item : [< list_item ] t -> list_item t
val to_positioned : [< positioned ] t -> positioned t
val to_replaced_inline : [< replaced_inline ] t -> replaced_inline t
val to_non_replaced_inline : [< non_replaced_inline ] t -> non_replaced_inline t
val to_inline : [< inline ] t -> inline t
val to_inline_block : [< inline_block ] t -> inline_block t
val to_inline_flex : [< inline_flex ] t -> inline_flex t
val to_table_header_group : [< table_header_group ] t -> table_header_group t
val to_table_caption : [< table_caption ] t -> table_caption t
val to_table : [< table ] t -> table t
val to_inline_table : [< inline_table ] t -> inline_table t
val to_table_cell : [< table_cell ] t -> table_cell t
val to_table_column : [< table_column ] t -> table_column t
val to_table_column_group : [< table_column_group ] t -> table_column_group t
val to_table_row : [< table_row ] t -> table_row t
val to_table_row_group : [< table_row_group ] t -> table_row_group t
val to_display : [< display ] t -> display t