package cascade
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=c11bbdc7ab0eee8c03cd162e3e7fd1cb20de62beb13342b3b150a89264ee0056
sha512=43fd97a55c3b1dc4db5c87aa1a5a047d902e902ab2064af3a7c5bf945ebc333f8cd90ecca8013c17be5b950498eace8e0094ee4319eba408285e2bec8d7cdf7b
doc/cascade/Cascade/Properties/index.html
Module Cascade.PropertiesSource
CSS properties: types and helpers.
include module type of Properties_intf
type border_style = | None| Solid| Dashed| Dotted| Double| Groove| Ridge| Inset| Outset| Hidden| Inherit| Initial| Unset| Revert| Revert_layer| Var of border_style Values.var
type line_height = | Normal| Px of float| Rem of float| Em of float| Pct of float| Num of float| Number of {}| Inherit| Initial| Unset| Revert| Revert_layer| Calc of line_height Values.calc| Var of line_height Values.var
type font_weight = | Weight of int| Normal| Bold| Bolder| Lighter| Inherit| Initial| Unset| Revert| Revert_layer| Var of font_weight Values.var
type display = | Block| Inline| Inline_block| Flex| Inline_flex| Grid| Inline_grid| None| Flow_root| Table| Table_row| Table_cell| Table_caption| Table_column| Table_column_group| Table_header_group| Table_row_group| Inline_table| List_item| Contents| Run_in| Ruby| Ruby_base| Ruby_text| Ruby_base_container| Ruby_text_container| Math| Webkit_flex| Webkit_inline_flex| Ms_flexbox| Webkit_box| Moz_box| Moz_inline_box| Inherit| Initial| Unset| Revert| Revert_layer| Multi of display * display(*Two-value
*)<display-outside> <display-inside>syntax per CSS Display 3 §2.1, e.g.inline flow-rootorlist-item flow-root.| Var of display Values.var
type position = | Static| Relative| Absolute| Fixed| Sticky| Webkit_sticky| Initial| Inherit| Unset| Revert| Revert_layer| Var of position Values.var
type visibility = | Visible| Hidden| Collapse| Inherit| Initial| Unset| Revert| Revert_layer| Var of visibility Values.var
type baseline_source = | Auto| First| Last| Inherit| Initial| Unset| Revert| Revert_layer| Var of baseline_source Values.var
type alignment_baseline = | Baseline| Text_bottom| Middle| Central| Text_top| Ideographic| Alphabetic| Hanging| Mathematical| Inherit| Initial| Unset| Revert| Revert_layer| Var of alignment_baseline Values.var
type baseline_shift = | Shift of Values.length_percentage| Sub| Super| Top| Center| Bottom| Inherit| Initial| Unset| Revert| Revert_layer| Var of baseline_shift Values.var
type z_index = | Auto| Index of int| Calc of z_index Values.calc| Inherit| Initial| Unset| Revert| Revert_layer| Var of z_index Values.var
type opacity = | Opacity_number of float| Calc of opacity Values.calc| Abs of opacity(*
*)abs(<opacity>)| Sign of opacity(*
*)sign(<opacity>)| Inherit| Initial| Unset| Revert| Revert_layer| Var of opacity Values.var
type shape_image_threshold = | Number of float| Inherit| Initial| Unset| Revert| Revert_layer| Var of shape_image_threshold Values.var
type tab_size = | Int of int| Length of Values.length| Initial| Inherit| Unset| Revert| Revert_layer| Var of tab_size Values.var
type zoom = | Normal| Reset| Num of float| Pct of float| Initial| Inherit| Unset| Revert| Revert_layer| Var of zoom Values.var
type order = | Int of int| Calc of order Values.calc| Inherit| Initial| Unset| Revert| Revert_layer| Var of order Values.var
type overflow = | Visible| Hidden| Scroll| Auto| Clip| Initial| Inherit| Unset| Revert| Revert_layer| Overflow_pair of overflow * overflow| Var of overflow Values.var
type overflow_clip_margin = | Clip_margin of overflow_clip_box option * Values.length option| Initial| Inherit| Unset| Revert| Revert_layer| Var of overflow_clip_margin Values.var
type flex_direction = | Row| Row_reverse| Column| Column_reverse| Inherit| Initial| Unset| Revert| Revert_layer| Var of flex_direction Values.var
type flex_wrap = | Nowrap| Wrap| Wrap_reverse| Inherit| Initial| Unset| Revert| Revert_layer| Var of flex_wrap Values.var
type flex_flow = | Flow of flex_direction option * flex_wrap option| Inherit| Initial| Unset| Revert| Revert_layer| Var of flex_flow Values.var
type flex_factor = | Number of float| Inherit| Initial| Unset| Revert| Revert_layer| Calc of flex_factor Values.calc| Var of flex_factor Values.var
type align_content = | Normal| Baseline| First_baseline| Last_baseline| Center| Start| End| Flex_start| Flex_end| Left| Right| Safe_center| Safe_start| Safe_end| Safe_flex_start| Safe_flex_end| Safe_left| Safe_right| Unsafe_center| Unsafe_start| Unsafe_end| Unsafe_flex_start| Unsafe_flex_end| Unsafe_left| Unsafe_right| Space_between| Space_around| Space_evenly| Stretch| Inherit| Initial| Unset| Revert| Revert_layer| Var of align_content Values.var
type align_items = | Normal| Stretch| Baseline| First_baseline| Last_baseline| Center| Start| End| Self_start| Self_end| Flex_start| Flex_end| Safe_center| Safe_start| Safe_end| Safe_flex_start| Safe_flex_end| Unsafe_center| Unsafe_start| Unsafe_end| Unsafe_self_start| Unsafe_self_end| Unsafe_flex_start| Unsafe_flex_end| Anchor_center| Inherit| Initial| Unset| Revert| Revert_layer| Var of align_items Values.var
type align_self = | Auto| Normal| Stretch| Baseline| First_baseline| Last_baseline| Center| Start| End| Self_start| Self_end| Flex_start| Flex_end| Safe_center| Safe_start| Safe_end| Safe_flex_start| Safe_flex_end| Unsafe_center| Unsafe_start| Unsafe_end| Unsafe_self_start| Unsafe_self_end| Unsafe_flex_start| Unsafe_flex_end| Inherit| Initial| Unset| Revert| Revert_layer| Var of align_self Values.var
type justify_content = | Normal| Center| Start| End| Flex_start| Flex_end| Left| Right| Safe_center| Safe_start| Safe_end| Safe_flex_start| Safe_flex_end| Unsafe_center| Unsafe_start| Unsafe_end| Unsafe_flex_start| Unsafe_flex_end| Unsafe_left| Unsafe_right| Space_between| Space_around| Space_evenly| Stretch| Inherit| Initial| Unset| Revert| Revert_layer| Var of justify_content Values.var
type justify_items = | Normal| Stretch| Baseline| First_baseline| Last_baseline| Center| Start| End| Self_start| Self_end| Flex_start| Flex_end| Left| Right| Safe_center| Safe_start| Safe_end| Safe_self_start| Safe_self_end| Safe_flex_start| Safe_flex_end| Safe_left| Safe_right| Unsafe_center| Unsafe_start| Unsafe_end| Unsafe_self_start| Unsafe_self_end| Unsafe_flex_start| Unsafe_flex_end| Unsafe_left| Unsafe_right| Anchor_center| Legacy| Legacy_center| Legacy_left| Legacy_right| Inherit| Initial| Unset| Revert| Revert_layer| Var of justify_items Values.var
type justify_self = | Auto| Normal| Stretch| Baseline| First_baseline| Last_baseline| Center| Start| End| Self_start| Self_end| Flex_start| Flex_end| Left| Right| Safe_center| Safe_start| Safe_end| Safe_self_start| Safe_self_end| Safe_flex_start| Safe_flex_end| Safe_left| Safe_right| Unsafe_center| Unsafe_start| Unsafe_end| Unsafe_self_start| Unsafe_self_end| Unsafe_flex_start| Unsafe_flex_end| Unsafe_left| Unsafe_right| Anchor_center| Inherit| Initial| Unset| Revert| Revert_layer| Var of justify_self Values.var
type flex_basis = | Auto| Content| Px of float| Cm of float| Mm of float| Q of float| In of float| Pt of float| Pc of float| Rem of float| Em of float| Ex of float| Cap of float| Ic of float| Ric of float| Rlh of float| Pct of float| Vw of float| Vh of float| Vmin of float| Vmax of float| Vi of float| Vb of float| Dvh of float| Dvw of float| Dvmin of float| Dvmax of float| Lvh of float| Lvw of float| Lvmin of float| Lvmax of float| Svh of float| Svw of float| Svmin of float| Svmax of float| Ch of float| Lh of float| Num of float| Zero| Inherit| Initial| Unset| Revert| Revert_layer| Fit_content| Fit_content_arg of Values.length| Max_content| Min_content| From_font| Clamp of Values.length * Values.length * Values.length| Min of Values.length list| Max of Values.length list| Round of string * Values.length * Values.length| Mod of Values.length * Values.length| Rem_fn of Values.length * Values.length| Hypot of Values.length list| Abs of Values.length| Calc of flex_basis Values.calc| Var of flex_basis Values.var
type border_width = | Thin| Medium| Thick| Px of float| Cm of float| Mm of float| Q of float| In of float| Pt of float| Pc of float| Rem of float| Em of float| Ex of float| Cap of float| Ic of float| Ric of float| Rlh of float| Ch of float| Lh of float| Vh of float| Vw of float| Vmin of float| Vmax of float| Pct of float| Zero| Auto| Max_content| Min_content| Fit_content| From_font| Calc of border_width Values.calc| Min of border_width Values.calc list| Max of border_width Values.calc list| Clamp of border_width Values.calc * border_width Values.calc * border_width Values.calc| Inherit| Initial| Unset| Revert| Revert_layer| Var of border_width Values.var
type flex = | Initial| Inherit| Unset| Revert| Revert_layer| Auto| None| Grow of flex_factor| Basis of flex_basis| Grow_shrink of flex_factor * flex_factor| Full of flex_factor * flex_factor * flex_basis| Var of flex Values.var
type font_size = | Length of Values.length| Pct of float| Calc of font_size Values.calc| Xx_small| X_small| Small| Medium| Large| X_large| Xx_large| Xxx_large| Larger| Smaller| Math| Inherit| Initial| Unset| Revert| Revert_layer| Var of font_size Values.var
type place_content = | Normal| Start| End| Center| Stretch| Space_between| Space_around| Space_evenly| Safe_center| Safe_start| Safe_end| Safe_stretch| Unsafe_center| Unsafe_start| Unsafe_end| Unsafe_stretch| Align_justify of align_content * justify_content| Inherit| Initial| Unset| Revert| Revert_layer| Var of place_content Values.var
type place_items = | Normal| Start| End| Center| Stretch| Baseline| Start_safe| End_safe| Center_safe| Stretch_stretch(*Explicit stretch on both axes
*)| Align_justify of align_items * justify_items| Inherit| Initial| Unset| Revert| Revert_layer| Var of place_items Values.var
type grid_auto_flow = | Row| Column| Dense| Row_dense| Column_dense| Inherit| Initial| Unset| Revert| Revert_layer| Var of grid_auto_flow Values.var
repeat() count argument: an explicit integer, one of the auto-track-list keywords (CSS Grid 1 §7.2.3.1 / 2), or a var() standing in for the count.
type grid_template = | None| Px of float| Rem of float| Em of float| Pct of float| Vw of float| Vh of float| Vmin of float| Vmax of float| Zero| Length of Values.length(*A track sized by a general
*)<length-percentage>that the unit- specific cases above do not carry: acalc(), avar()inside acalc(), or a less common unit (e.g.cm,ch).| Fr of float| Auto| Min_content| Max_content| Inherit| Initial| Unset| Revert| Revert_layer| Min_max of grid_template * grid_template| Fit_content of Values.length| Repeat of repeat_count * grid_template list| Tracks of grid_template list| Split of grid_template * grid_template| Auto_flow_columns of grid_template * grid_auto_flow * grid_template option(*
*)<grid-template-rows> / auto-flow [dense]? <grid-auto-columns>?.| Auto_flow_rows of grid_auto_flow * grid_template option * grid_template(*
*)auto-flow [dense]? <grid-auto-rows>? / <grid-template-columns>.| Named_tracks of (string option * grid_template) list| Line_names of string list(*Square-bracket line-names block (
*)[col-start],[a b]). Stored as its own track-list element so the printer can place it before / between / after the surrounding track sizes.| Template of string| Subgrid| Masonry| Var of grid_template Values.var
type grid_template_areas = | No_areas| Areas of string| Inherit| Initial| Unset| Revert| Revert_layer| Var of grid_template_areas Values.var
type grid_line = | Auto| Num of int| Name of string| Num_name of int * string| Span of int| Span_name of string| Span_num_name of int * string| Calc of grid_line Values.calc| Var of grid_line Values.var
type aspect_ratio = | Auto| Auto_ratio of float * float| Ratio of float * float| Auto_ratio_calc of Values.number * Values.number| Ratio_calc of Values.number * Values.number| Inherit| Initial| Unset| Revert| Revert_layer| Var of aspect_ratio Values.var
type font_style = | Normal| Italic| Oblique| Oblique_angle of Values.angle| Oblique_range of Values.angle * Values.angle| Inherit| Initial| Unset| Revert| Revert_layer| Var of font_style Values.var
type text_align = | Left| Right| Center| Justify| Start| End| Match_parent| Webkit_match_parent| Inherit| Initial| Unset| Revert| Revert_layer| Var of text_align Values.var
type text_decoration_line = | None| Underline| Overline| Line_through| Blink(*CSS Text Decoration 4 §2.1: deprecated but still part of the
*)<text-decoration-line>grammar; UAs typically render it as no-op.| Spelling_error(*CSS Text Decoration 4 §2.1
*)spelling-error: lets authors style the UA's spelling-error mark viatext-decoration.| Grammar_error(*CSS Text Decoration 4 §2.1
*)grammar-error: parallel tospelling-error.| Inherit| Initial| Unset| Revert| Revert_layer| Var of text_decoration_line Values.var
type text_decoration_style = | Solid| Double| Dotted| Dashed| Wavy| Inherit| Initial| Unset| Revert| Revert_layer| Var of text_decoration_style Values.var
type text_decoration_shorthand = {lines : text_decoration_line list;style : text_decoration_style option;color : Values.color option;thickness : Values.length option;
}type text_decoration = | None| Shorthand of text_decoration_shorthand| Inherit| Initial| Unset| Revert| Revert_layer| Var of text_decoration Values.var
type text_decoration_skip = | None| Auto| Inherit| Initial| Unset| Revert| Revert_layer| Var of text_decoration_skip Values.var
type text_decoration_skip_self = | None| Objects| Inherit| Initial| Unset| Revert| Revert_layer| Var of text_decoration_skip_self Values.var
type text_decoration_skip_box = | All| None| Inherit| Initial| Unset| Revert| Revert_layer| Var of text_decoration_skip_box Values.var
type text_decoration_skip_inset = | None| Auto| Inherit| Initial| Unset| Revert| Revert_layer| Var of text_decoration_skip_inset Values.var
type text_decoration_skip_spaces = | Spaces of text_decoration_skip_space list| Inherit| Initial| Unset| Revert| Revert_layer| Var of text_decoration_skip_spaces Values.var
type text_emphasis_style = | None| Mark of text_emphasis_fill option * text_emphasis_shape option| String of string| Inherit| Initial| Unset| Revert| Revert_layer| Var of text_emphasis_style Values.var
type text_emphasis = | Emphasis of text_emphasis_style option * Values.color option| Inherit| Initial| Unset| Revert| Revert_layer| Var of text_emphasis Values.var
type text_emphasis_skip = | Skip of text_emphasis_skip_keyword list| Inherit| Initial| Unset| Revert| Revert_layer| Var of text_emphasis_skip Values.var
type text_emphasis_position = | Position of text_emphasis_line * text_emphasis_side option| Inherit| Initial| Unset| Revert| Revert_layer| Var of text_emphasis_position Values.var
type text_indent_value = | Indent of {length : Values.length_percentage;hanging : bool;each_line : bool;
}| Inherit| Initial| Unset| Revert| Revert_layer| Var of text_indent_value Values.var
CSS Text 4 §6.1 text-indent: <length-percentage> && hanging? && each-line?. Each component is optional except the length, but the three may appear in any order.
type text_underline_position = | Auto| From_font| Position of text_underline_position_keyword list| Inherit| Initial| Unset| Revert| Revert_layer| Var of text_underline_position Values.var
type text_orientation = | Mixed| Upright| Sideways| Inherit| Initial| Unset| Revert| Revert_layer| Var of text_orientation Values.var
type glyph_orientation_vertical = | Auto| Angle of Values.angle| Inherit| Initial| Unset| Revert| Revert_layer| Var of glyph_orientation_vertical Values.var
CSS Text 4 §6.3 text-transform = none | [capitalize | uppercase | lowercase] || full-width || full-size-kana: case + width + kana width are independent and can combine.
type text_transform = | None| Case of text_transform_case(*Single case keyword without
*)full-width/full-size-kana.| Combo of {case : text_transform_case option;full_width : bool;full_size_kana : bool;
}(*Multi-keyword form, e.g.
*)uppercase full-width full-size-kana.| Inherit| Initial| Unset| Revert| Revert_layer| Var of text_transform Values.var
type line_break = | Auto| Loose| Normal| Strict| Anywhere| Inherit| Initial| Unset| Revert| Revert_layer| Var of line_break Values.var
type font_optical_sizing = | Auto| None| Inherit| Initial| Unset| Revert| Revert_layer| Var of font_optical_sizing Values.var
type font_kerning = | Auto| Normal| None| Inherit| Initial| Unset| Revert| Revert_layer| Var of font_kerning Values.var
type font_language_override = | Normal| String of string| Inherit| Initial| Unset| Revert| Revert_layer| Var of font_language_override Values.var
type font_synthesis_style = | Auto| None| Oblique_only| Inherit| Initial| Unset| Revert| Revert_layer| Var of font_synthesis_style Values.var
type font_synthesis_weight = | Auto| None| Inherit| Initial| Unset| Revert| Revert_layer| Var of font_synthesis_weight Values.var
type font_synthesis_small_caps = | Auto| None| Inherit| Initial| Unset| Revert| Revert_layer| Var of font_synthesis_small_caps Values.var
type font_synthesis_position = | Auto| None| Inherit| Initial| Unset| Revert| Revert_layer| Var of font_synthesis_position Values.var
type font_variant_ligatures = | Normal| None| Ligatures of font_variant_ligature list| Inherit| Initial| Unset| Revert| Revert_layer| Var of font_variant_ligatures Values.var
type font_variant_caps = | Normal| Small_caps| All_small_caps| Petite_caps| All_petite_caps| Unicase| Titling_caps| Inherit| Initial| Unset| Revert| Revert_layer| Var of font_variant_caps Values.var
type font_variant_position = | Normal| Sub| Super| Inherit| Initial| Unset| Revert| Revert_layer| Var of font_variant_position Values.var
type font_variant_east_asian = | Normal| Features of east_asian_feature list| Inherit| Initial| Unset| Revert| Revert_layer| Var of font_variant_east_asian Values.var
type text_overflow = | Clip| Ellipsis| String of string| Pair of text_overflow * text_overflow| Inherit| Initial| Unset| Revert| Revert_layer| Var of text_overflow Values.var
type text_wrap = | Wrap| No_wrap| Balance| Pretty| Inherit| Initial| Unset| Revert| Revert_layer| Var of text_wrap Values.var
type text_wrap_mode = | Wrap| No_wrap| Inherit| Initial| Unset| Revert| Revert_layer| Var of text_wrap_mode Values.var
type text_wrap_style = | Auto| Balance| Pretty| Stable| Inherit| Initial| Unset| Revert| Revert_layer| Var of text_wrap_style Values.var
type text_box_trim = | None| Trim_start| Trim_end| Trim_both| Inherit| Initial| Unset| Revert| Revert_layer| Var of text_box_trim Values.var
type text_box_edge = | Auto| Edge of text_box_edge_keyword * text_box_edge_keyword option| Inherit| Initial| Unset| Revert| Revert_layer| Var of text_box_edge Values.var
type text_box = | Box of text_box_trim * text_box_edge option| Inherit| Initial| Unset| Revert| Revert_layer| Var of text_box Values.var
type inline_sizing = | Normal| Stretch| Inherit| Initial| Unset| Revert| Revert_layer| Var of inline_sizing Values.var
type line_fit_edge = | Edge of line_fit_edge_keyword * line_fit_edge_keyword option| Inherit| Initial| Unset| Revert| Revert_layer| Var of line_fit_edge Values.var
type interpolate_size = | Numeric_only| Allow_keywords| Inherit| Initial| Unset| Revert| Revert_layer| Var of interpolate_size Values.var
type min_intrinsic_sizing = | Sizing of min_intrinsic_sizing_keyword list| Inherit| Initial| Unset| Revert| Revert_layer| Var of min_intrinsic_sizing Values.var
type text_spacing_trim = | Normal| Space_all| Trim_start| Space_first| Inherit| Initial| Unset| Revert| Revert_layer| Var of text_spacing_trim Values.var
type hyphenate_limit_chars = | Auto| One of int| Two of int * int| Three of int * int * int| Inherit| Initial| Unset| Revert| Revert_layer| Var of hyphenate_limit_chars Values.var
type initial_letter = | Normal| Drop| Raise| Size of float| Size_sink of float * int| Inherit| Initial| Unset| Revert| Revert_layer| Var of initial_letter Values.var
type initial_letter_align = | Align of initial_letter_align_keyword list| Inherit| Initial| Unset| Revert| Revert_layer| Var of initial_letter_align Values.var
type initial_letter_wrap = | None| First| All| Grid| Length of Values.length_percentage| Inherit| Initial| Unset| Revert| Revert_layer| Var of initial_letter_wrap Values.var
type ruby_merge = | Separate| Merge| Auto| Inherit| Initial| Unset| Revert| Revert_layer| Var of ruby_merge Values.var
type ruby_align = | Start| Center| Space_between| Space_around| Inherit| Initial| Unset| Revert| Revert_layer| Var of ruby_align Values.var
type ruby_overhang = | Auto| None| Inherit| Initial| Unset| Revert| Revert_layer| Var of ruby_overhang Values.var
type ruby_position = | Position of ruby_position_keyword list| Inherit| Initial| Unset| Revert| Revert_layer| Var of ruby_position Values.var
type dominant_baseline = | Auto| Alphabetic| Ideographic| Mathematical| Central| Middle| Text_top| Text_bottom| Inherit| Initial| Unset| Revert| Revert_layer| Var of dominant_baseline Values.var
type white_space = | Normal| Nowrap| Pre| Pre_wrap| Pre_line| Break_spaces| Preserve_nowrap| Inherit| Initial| Unset| Revert| Revert_layer| Var of white_space Values.var
type word_break = | Normal| Break_all| Keep_all| Break_word| Auto_phrase| Inherit| Initial| Unset| Revert| Revert_layer| Var of word_break Values.var
type overflow_wrap = | Normal| Break_word| Anywhere| Inherit| Initial| Unset| Revert| Revert_layer| Var of overflow_wrap Values.var
type hyphens = | None| Manual| Auto| Inherit| Initial| Unset| Revert| Revert_layer| Var of hyphens Values.var
type list_style_type = | None| Disc| Circle| Square| Decimal| Lower_alpha| Upper_alpha| Lower_roman| Upper_roman| Decimal_leading_zero| Arabic_indic| Armenian| Upper_armenian| Lower_armenian| Bengali| Cambodian| Khmer| Cjk_decimal| Devanagari| Georgian| Gujarati| Gurmukhi| Hebrew| Kannada| Lao| Malayalam| Mongolian| Myanmar| Oriya| Persian| Tamil| Telugu| Thai| Tibetan| Lower_latin| Upper_latin| Cjk_earthly_branch| Cjk_heavenly_stem| Lower_greek| Hiragana| Hiragana_iroha| Katakana| Katakana_iroha| Disclosure_open| Disclosure_closed| Cjk_ideographic| Japanese_informal| Japanese_formal| Korean_hangul_formal| Korean_hanja_informal| Korean_hanja_formal| Simp_chinese_informal| Simp_chinese_formal| Trad_chinese_informal| Trad_chinese_formal| Ethiopic_numeric| String of string| Symbols of symbols_type option * list_style_symbol list| Inherit| Initial| Unset| Revert| Revert_layer| Var of list_style_type Values.var
type list_style_position = | Inside| Outside| Inherit| Initial| Unset| Revert| Revert_layer| Var of list_style_position Values.var
type list_style_image = | None| Url of string| Inherit| Initial| Unset| Revert| Revert_layer| Var of list_style_image Values.var
type list_style_shorthand = {type_ : list_style_type option;position : list_style_position option;image : list_style_image option;
}type list_style = | Shorthand of list_style_shorthand| Inherit| Initial| Unset| Revert| Revert_layer| Var of list_style Values.var
type table_layout = | Auto| Fixed| Inherit| Initial| Unset| Revert| Revert_layer| Var of table_layout Values.var
type vertical_align = | Baseline| Top| Middle| Bottom| Text_top| Text_bottom| Sub| Super| Zero| Px of float| Rem of float| Em of float| Pct of float| Calc of vertical_align Values.calc| Inherit| Initial| Unset| Revert| Revert_layer| Var of vertical_align Values.var
type border_collapse = | Collapse| Separate| Inherit| Initial| Unset| Revert| Revert_layer| Var of border_collapse Values.var
type border_shorthand = {width : border_width option;style : border_style option;color : Values.color option;
}type border = | Inherit| Initial| Unset| Revert| Revert_layer| None| Shorthand of border_shorthand| Var of border Values.var
type logical_border_color = | Single of Values.color| Pair of Values.color * Values.color| Inherit| Initial| Unset| Revert| Revert_layer| Var of logical_border_color Values.var
type outline_style = | None| Solid| Dashed| Dotted| Double| Groove| Ridge| Inset| Outset| Auto| Inherit| Initial| Unset| Revert| Revert_layer| Var of outline_style Values.var
type outline_shorthand = {width : Values.length option;style : outline_style option;color : Values.color option;
}type outline = | Inherit| Initial| Unset| Revert| Revert_layer| None| Shorthand of outline_shorthand| Var of outline Values.var
type font_family = | Sans_serif| Serif| Monospace| Cursive| Fantasy| System_ui| Ui_sans_serif| Ui_serif| Ui_monospace| Ui_rounded| Emoji| Math| Fangsong| Inter| Roboto| Open_sans| Lato| Montserrat| Poppins| Source_sans_pro| Raleway| Oswald| Noto_sans| Ubuntu| Playfair_display| Merriweather| Lora| PT_sans| PT_serif| Nunito| Nunito_sans| Work_sans| Rubik| Fira_sans| Fira_code| JetBrains_mono| IBM_plex_sans| IBM_plex_serif| IBM_plex_mono| Source_code_pro| Space_mono| DM_sans| DM_serif_display| Bebas_neue| Barlow| Mulish| Josefin_sans| Helvetica| Helvetica_neue| Arial| Verdana| Tahoma| Trebuchet_ms| Times_new_roman| Times| Georgia| Cambria| Garamond| Courier_new| Courier| Lucida_console| SF_pro| SF_pro_display| SF_pro_text| SF_mono| NY| Segoe_ui| Segoe_ui_emoji| Segoe_ui_symbol| Apple_color_emoji| Noto_color_emoji| Android_emoji| Twemoji_mozilla| Menlo| Monaco| Consolas| Liberation_mono| SFMono_regular| Cascadia_code| Cascadia_mono| Victor_mono| Inconsolata| Hack| Inherit| Initial| Unset| Revert| Revert_layer| Name of string| List of font_family list| Var of font_family Values.var| Invalid of Values.invalid_value(*CSS Cascade 5 §7.3: a CSS-wide keyword (e.g.
*)inherit) is only valid as a sole top-level value.font-family: Arial, inheritmixes it inside a<custom-ident>#list and is therefore invalid. Cascade preserves the source verbatim for round-trip;Optimize.drop_invalidremoves the declaration under--minify.
type font_stretch = | Pct of float| Ultra_condensed| Extra_condensed| Condensed| Semi_condensed| Normal| Semi_expanded| Expanded| Extra_expanded| Ultra_expanded| Inherit| Initial| Unset| Revert| Revert_layer| Var of font_stretch Values.var
type font_shorthand = {style : font_style option;variant : font_variant_css21 option;weight : font_weight option;stretch : font_stretch option;size : font_size;line_height : line_height option;family : font_family;
}type font = | Shorthand of font_shorthand| Caption| Icon| Menu| Message_box| Small_caption| Status_bar| Inherit| Initial| Unset| Revert| Revert_layer| Var of font Values.var
type font_size_adjust = | None| Number of float| From_font| Metric_number of font_size_adjust_metric * float| Metric_from_font of font_size_adjust_metric| Inherit| Initial| Unset| Revert| Revert_layer| Var of font_size_adjust Values.var
type font_variant_emoji = | Normal| Text| Emoji| Unicode| Inherit| Initial| Unset| Revert| Revert_layer| Var of font_variant_emoji Values.var
type unicode_range = | Single of int(*U+xxxx
*)| Range of int * int(*U+xxxx-yyyy
*)| Padded_single of int * int| Padded_range of {}| Wildcard of {}| Var of unicode_range Values.var
type font_variant_numeric_token = | Normal| Lining_nums| Oldstyle_nums| Proportional_nums| Tabular_nums| Diagonal_fractions| Stacked_fractions| Ordinal| Slashed_zero| Var of font_variant_numeric_token Values.var
type font_variant_numeric = | Normal| Inherit| Initial| Unset| Revert| Revert_layer| Tokens of font_variant_numeric_token list| Composed of {ordinal : font_variant_numeric_token option;slashed_zero : font_variant_numeric_token option;numeric_figure : font_variant_numeric_token option;numeric_spacing : font_variant_numeric_token option;numeric_fraction : font_variant_numeric_token option;
}| Var of font_variant_numeric Values.var
type font_feature_settings = | Normal| Feature_list of string| Inherit| Initial| Unset| Revert| Revert_layer| String of string| Var of font_feature_settings Values.var
type font_variation_settings = | Normal| Axis_list of string| Inherit| Initial| Unset| Revert| Revert_layer| String of string| Var of font_variation_settings Values.var
type transform = | Translate of Values.length * Values.length option| Translate_x of Values.length| Translate_y of Values.length| Translate_z of Values.length| Translate_3d of Values.length * Values.length * Values.length| Rotate of Values.angle| Rotate_x of Values.angle| Rotate_y of Values.angle| Rotate_z of Values.angle| Rotate_3d of float * float * float * Values.angle| Rotate_axis of float * float * float * Values.angle| Scale of Values.number_percentage * Values.number_percentage option| Scale_space of Values.number_percentage * Values.number_percentage| Scale_x of Values.number_percentage| Scale_y of Values.number_percentage| Scale_z of Values.number_percentage| Scale_3d of Values.number_percentage * Values.number_percentage * Values.number_percentage| Skew of Values.angle * Values.angle option| Skew_x of Values.angle| Skew_y of Values.angle| Matrix of float * float * float * float * float * float| Matrix_3d of float * float * float * float * float * float * float * float * float * float * float * float * float * float * float * float| Perspective of Values.length| None| Inherit| Initial| Unset| Revert| Revert_layer| List of transform list| Var of transform Values.var
type transform_style = | Flat| Preserve_3d| Initial| Inherit| Unset| Revert| Revert_layer| Var of transform_style Values.var
type backface_visibility = | Visible| Hidden| Initial| Inherit| Unset| Revert| Revert_layer| Var of backface_visibility Values.var
type scale = | X of Values.number_percentage| XY of Values.number_percentage * Values.number_percentage| XYZ of Values.number_percentage * Values.number_percentage * Values.number_percentage| None| Inherit| Initial| Unset| Revert| Revert_layer| Var of scale Values.var
type translate_value = | X of Values.length| XY of Values.length * Values.length| XYZ of Values.length * Values.length * Values.length| None| Inherit| Initial| Unset| Revert| Revert_layer| Var of translate_value Values.var
type rotate_value = | Angle of Values.angle(*z-axis rotation
*)| X of Values.angle(*x-axis rotation
*)| Y of Values.angle(*y-axis rotation
*)| Z of Values.angle(*z-axis rotation (explicit)
*)| Axis of float * float * float * Values.angle(*custom axis rotation
*)| None| Inherit| Initial| Unset| Revert| Revert_layer| Var of rotate_value Values.var
type steps_direction = | Jump_start| Jump_end| Jump_none| Jump_both| Start| End| Var of steps_direction Values.var
type timing_function = | Ease| Linear| Ease_in| Ease_out| Ease_in_out| Step_start| Step_end| Steps of int * steps_direction option| Cubic_bezier of float * float * float * float| Linear_function of string| Timing_functions of timing_function list| Inherit| Initial| Unset| Revert| Revert_layer| Var of timing_function Values.var
type transition_property_value = | All| None| Property of string| Initial| Inherit| Unset| Revert| Revert_layer| Var of transition_property_value Values.var
type transition_behavior = | Normal| Allow_discrete| Inherit| Initial| Unset| Revert| Revert_layer| Var of transition_behavior Values.var
type overlay = | Auto| None| Initial| Inherit| Unset| Revert| Revert_layer| Var of overlay Values.var
type transition_shorthand = {property : transition_property_value;duration : Values.duration option;timing_function : timing_function option;delay : Values.duration option;behavior : transition_behavior option;
}type transition = | Inherit| Initial| Unset| Revert| Revert_layer| None| Shorthand of transition_shorthand| Var of transition Values.var
type animation_direction = | Normal| Reverse| Alternate| Alternate_reverse| Directions of animation_direction list| Initial| Inherit| Unset| Revert| Revert_layer| Var of animation_direction Values.var
type animation_fill_mode = | None| Forwards| Backwards| Both| Fill_modes of animation_fill_mode list| Initial| Inherit| Unset| Revert| Revert_layer| Var of animation_fill_mode Values.var
type animation_iteration_count = | Num of float| Infinite| Counts of animation_iteration_count list| Initial| Inherit| Unset| Revert| Revert_layer| Var of animation_iteration_count Values.var
type animation_play_state = | Running| Paused| States of animation_play_state list| Initial| Inherit| Unset| Revert| Revert_layer| Var of animation_play_state Values.var
type animation_composition = | Compositions of animation_composition_item list| Initial| Inherit| Unset| Revert| Revert_layer| Var of animation_composition Values.var
type animation_name = | None| Name of string| Ambiguous of string| Quoted of string| Names of animation_name list| Initial| Inherit| Unset| Revert| Revert_layer| Var of animation_name Values.var
type animation_shorthand = {name : animation_name option;duration : Values.duration option;timing_function : timing_function option;delay : Values.duration option;iteration_count : animation_iteration_count option;direction : animation_direction option;fill_mode : animation_fill_mode option;play_state : animation_play_state option;timeline : animation_timeline option;
}and animation_timeline = | None| Auto| Name of string| Scroll of string| View of string| Initial| Inherit| Unset| Revert| Revert_layer| Var of animation_timeline Values.var
type animation = | Inherit| Initial| None| Shorthand of animation_shorthand| Var of animation Values.var
type blend_mode = | Normal| Multiply| Screen| Overlay| Darken| Lighten| Color_dodge| Color_burn| Hard_light| Soft_light| Difference| Exclusion| Hue| Saturation| Color| Luminosity| Plus_darker| Plus_lighter| Inherit| Initial| Unset| Revert| Revert_layer| Var of blend_mode Values.var
type shadow = | Shadow of shadow_body| Inset of inset| None| Inherit| Initial| Unset| Revert| Revert_layer| List of shadow list| Var of shadow Values.var
and shadow_body = {h_offset : Values.length;v_offset : Values.length;blur : Values.length option;spread : Values.length option;color : Values.color option;
}The <length>{2,4} && <color>? body of a single <shadow>.
and inset = | Var of shadow Values.var| Body of shadow_body| Toggle of {name : string;no_fallback : bool;body : shadow_body;
}
type text_shadow = | None| Text_shadow of {h_offset : Values.length;v_offset : Values.length;blur : Values.length option;color : Values.color option;
}| Initial| Inherit| Unset| Revert| Revert_layer| Var of text_shadow Values.var
type filter = | None| Blur of Values.length| Brightness of Values.number_percentage| Contrast of Values.number_percentage| Drop_shadow of shadow| Grayscale of Values.number_percentage| Hue_rotate of Values.angle| Invert of Values.number_percentage| Opacity of Values.number_percentage| Saturate of Values.number_percentage| Sepia of Values.number_percentage| Url of string| List of filter list| Inherit| Initial| Unset| Revert| Revert_layer| Var of filter Values.var
type background_attachment = | Scroll| Fixed| Local| Layers of background_attachment list| Initial| Inherit| Unset| Revert| Revert_layer| Var of background_attachment Values.var
type background_box = | Border_box| Padding_box| Content_box| Text| Layers of background_box list| Inherit| Initial| Unset| Revert| Revert_layer| Var of background_box Values.var
type background_repeat = | Repeat| Space| Round| No_repeat| Repeat_x| Repeat_y| Layers of background_repeat list| Repeat_repeat| Repeat_space| Repeat_round| Repeat_no_repeat| Space_repeat| Space_space| Space_round| Space_no_repeat| Round_repeat| Round_space| Round_round| Round_no_repeat| No_repeat_repeat| No_repeat_space| No_repeat_round| No_repeat_no_repeat| Inherit| Initial| Unset| Revert| Revert_layer| Var of background_repeat Values.var
type background_size = | Auto| Cover| Contain| Length of Values.length| Size of Values.length * Values.length| Layers of background_size list| Inherit| Initial| Unset| Revert| Revert_layer| Var of background_size Values.var
CSS Color 5 section 12: optional hue-interpolation method that follows a polar color space (lch / oklch / hsl / hwb).
type color_interpolation = | In_oklab| In_oklch of hue_interpolation_method option| In_srgb| In_hsl of hue_interpolation_method option| In_lab| In_lch of hue_interpolation_method option| Var of color_interpolation Values.var
type gradient_direction = | Default_direction| To_top| To_top_right| To_right| To_bottom_right| To_bottom| To_bottom_left| To_left| To_top_left| Angle of Values.angle| With_interpolation of gradient_direction * color_interpolation| Var of gradient_direction Values.var
type radial_size = | Closest_side| Farthest_side| Closest_corner| Farthest_corner| Circle_radius of Values.length| Ellipse_radii of Values.length_percentage * Values.length_percentage| Var of radial_size Values.var
type position_value = | Center| Top| Bottom| Left| Right| Left_top| Left_center| Left_bottom| Right_top| Right_center| Right_bottom| Center_top| Center_bottom| Top_left| Top_right| Bottom_left| Bottom_right| XY of Values.length * Values.length| Single of Values.length(*Single length/percentage value for background-position
*)| Inherit| Initial| Unset| Revert| Revert_layer| Edge_offset_axis of string * Values.length_percentage * string| Axis_edge_offset of string * string * Values.length| Edge_offset_edge_offset of string * Values.length_percentage * string * Values.length_percentage| Var of position_value Values.var
type radial_gradient_config = {shape : radial_shape option;size : radial_size option;position : position_value option;interpolation : color_interpolation option;
}type border_radius = | Radius of {horizontal : Values.length_percentage list;(*1-4 horizontal radii (top-left, top-right, bottom-right, bottom-left).
*)vertical : Values.length_percentage list option;(*Optional 1-4 vertical radii after
*)/; whenNonethe horizontal values are used for both axes.
}| Inherit| Initial| Unset| Revert| Revert_layer| Var of border_radius Values.var(*Per CSS Backgrounds and Borders 3 §5.
*)
type conic_gradient_config = {angle : Values.angle option;(*
*)from <angle>starting angleposition : position_value option;(*
*)at <position>centerinterpolation : color_interpolation option;(*Optional
*)in <color-interpolation-method>clause.
}type gradient_position = | Linear_position of gradient_direction| Radial_position of radial_gradient_config| Conic_position of conic_gradient_config| Var of gradient_position Values.var
type gradient_stop = | Color_percentage of Values.color * Values.length_percentage option * Values.length_percentage option| Color_length of Values.color * Values.length option * Values.length option| Length of Values.length| Channel of Values.channel(*Residual numeric channel token from custom-property substitution.
*)| List of gradient_stop list| Percentage of Values.percentage| Position of gradient_position| Direction of gradient_direction| Var of gradient_stop Values.var
type background_image = | Url of string| Quoted of string * char| Linear_gradient of gradient_direction * gradient_stop list| Linear_gradient_var of gradient_stop Values.var(*Linear gradient using a single variable for all stops including position. Outputs: linear-gradient(var(--tw-gradient-stops))
*)| Radial_gradient of radial_gradient_config * gradient_stop list| Radial_gradient_var of gradient_stop Values.var(*Radial gradient using a single variable for all stops. Outputs: radial-gradient(var(--tw-gradient-stops))
*)| Conic_gradient of conic_gradient_config * gradient_stop list| Conic_gradient_var of gradient_stop Values.var(*Conic gradient using a single variable for all stops. Outputs: conic-gradient(var(--tw-gradient-stops))
*)| Repeating_linear_gradient of gradient_direction * gradient_stop list| Repeating_radial_gradient of radial_gradient_config * gradient_stop list| Repeating_conic_gradient of conic_gradient_config * gradient_stop list(*
*)repeating-{linear,radial,conic}-gradient()CSS Images 4 §3.| Webkit_linear_gradient of gradient_direction * gradient_stop list| Webkit_repeating_linear_gradient of gradient_direction * gradient_stop list| Webkit_radial_gradient of radial_gradient_config * gradient_stop list| Webkit_repeating_radial_gradient of radial_gradient_config * gradient_stop list| Moz_linear_gradient of gradient_direction * gradient_stop list| Moz_repeating_linear_gradient of gradient_direction * gradient_stop list| Moz_radial_gradient of radial_gradient_config * gradient_stop list| Moz_repeating_radial_gradient of radial_gradient_config * gradient_stop list| O_linear_gradient of gradient_direction * gradient_stop list| O_repeating_linear_gradient of gradient_direction * gradient_stop list| O_radial_gradient of radial_gradient_config * gradient_stop list| O_repeating_radial_gradient of radial_gradient_config * gradient_stop list| Image_set of image_set_option list(*
*)image-set(<source>#)CSS Images 4| Webkit_image_set of image_set_option list(*
*)-webkit-image-set(<source>#)legacy spelling| Cross_fade of cross_fade_option list(*
*)cross-fade(<cf-mixing-image>#)CSS Images 4| Webkit_gradient of Webkit_gradient.t| List of background_image list(*Comma-separated list of background images
*)| None| Initial| Inherit| Unset| Revert| Revert_layer| Var of background_image Values.var(*CSS variable reference: var(--my-gradient)
*)
and image_set_option = {source : image_set_source;resolution : string option;(*
*)<resolution>like"1x"or"300dpi"mime_type : string option;(*
*)type("image/avif")
}type background_shorthand = {color : Values.color option;image : background_image option;position : position_value option;size : background_size option;repeat : background_repeat option;attachment : background_attachment option;clip : background_box option;origin : background_box option;
}type background = | Inherit| Initial| Unset| None| Shorthand of background_shorthand| Var of background Values.var| Vars of background Values.var list
type webkit_mask_composite = | Source_over| Xor| Source_in| Source_out| Composites of webkit_mask_composite list| Inherit| Initial| Unset| Revert| Revert_layer| Var of webkit_mask_composite Values.var(*Standard mask-composite values (different from webkit)
*)
Webkit-prefixed mask-composite values
type mask_composite = | Add| Subtract| Intersect| Exclude| Composites of mask_composite list| Inherit| Initial| Unset| Revert| Revert_layer| Var of mask_composite Values.var(*Webkit mask-source-type values
*)
type webkit_mask_source_type = | Alpha| Luminance| Auto| Inherit| Initial| Unset| Revert| Revert_layer| Var of webkit_mask_source_type Values.var(*Standard mask-mode values (different from webkit)
*)
type mask_mode = | Alpha| Luminance| Match_source| Modes of mask_mode list| Initial| Inherit| Unset| Revert| Revert_layer| Var of mask_mode Values.var(*mask-type property values (only alpha and luminance)
*)
type mask_type = | Alpha| Luminance| Inherit| Initial| Unset| Revert| Revert_layer| Var of mask_type Values.var
type mask_box = | Border_box| Content_box| Fill_box| Padding_box| Stroke_box| View_box| No_clip(*Only valid for mask-clip
*)| Layers of mask_box list| Inherit| Initial| Unset| Revert| Revert_layer| Var of mask_box Values.var
type mask_layer = {image : background_image option;position : position_value option;size : background_size option;repeat : background_repeat option;origin : mask_box option;clip : mask_box option;mode : mask_mode option;composite : mask_composite option;
}type mask = | None| Layer of mask_layer| Layers of mask_layer list| Initial| Inherit| Unset| Revert| Revert_layer| Var of mask Values.var
type border_image_repeat = | Repeats of border_image_repeat_keyword list| Inherit| Initial| Unset| Revert| Revert_layer| Var of border_image_repeat Values.var
type border_image_width = | Widths of border_image_width_item list| Inherit| Initial| Unset| Revert| Revert_layer| Var of border_image_width Values.var
type border_image_outset = | Outsets of border_image_outset_item list| Inherit| Initial| Unset| Revert| Revert_layer| Var of border_image_outset Values.var
CSS Masking 1 §6 <mask-border-mode>: shared with the border_image record because mask-border is otherwise the same shorthand as border-image (the mode is always None for the latter).
type border_image = {source : background_image option;slice : border_image_slice option;width : border_image_width_item list option;outset : border_image_outset_item list option;repeat : border_image_repeat_keyword list option;mode : mask_border_mode option;
}type gap = | Lengths of {row_gap : Values.length option;column_gap : Values.length option;
}| Inherit| Initial| Unset| Revert| Revert_layer| Var of gap Values.var
type cursor = | Auto| Default| None| Help| Pointer| Progress| Wait| Cell| Crosshair| Text| Vertical_text| Alias| Copy| Move| No_drop| Not_allowed| Grab| Grabbing| E_resize| N_resize| Ne_resize| Nw_resize| S_resize| Se_resize| Sw_resize| W_resize| Ew_resize| Ns_resize| Nesw_resize| Nwse_resize| Col_resize| Row_resize| All_scroll| Zoom_in| Zoom_out| Url of string * (float * float) option * cursor| Inherit| Initial| Unset| Revert| Revert_layer| Var of cursor Values.var
type interactivity = | Auto| Inert| Inherit| Initial| Unset| Revert| Revert_layer| Var of interactivity Values.var
type caret_animation = | Auto| Manual| Inherit| Initial| Unset| Revert| Revert_layer| Var of caret_animation Values.var
type caret_shape = | Auto| Bar| Block| Underscore| Inherit| Initial| Unset| Revert| Revert_layer| Var of caret_shape Values.var
type caret = | Auto| Caret of Values.color option * caret_animation option * caret_shape option| Inherit| Initial| Unset| Revert| Revert_layer| Var of caret Values.var
type interest_delay = | Normal| Durations of Values.duration list| Inherit| Initial| Unset| Revert| Revert_layer| Var of interest_delay Values.var
type user_select = | None| Auto| Text| All| Contain| Inherit| Initial| Unset| Revert| Revert_layer| Var of user_select Values.var
type pointer_events = | Auto| None| Visible_painted| Visible_fill| Visible_stroke| Visible| Painted| Fill| Stroke| All| Inherit| Initial| Unset| Revert| Revert_layer| Var of pointer_events Values.var
type touch_action = | Auto| None| Pan_x| Pan_y| Pan_left| Pan_right| Pan_up| Pan_down| Pinch_zoom| Manipulation| Actions of touch_action list| Inherit| Initial| Unset| Revert| Revert_layer| Vars of touch_action Values.var list(*Variable references like var(--tw-pan-x,) var(--tw-pan-y,)
*)| Var of touch_action Values.var
type resize = | None| Both| Horizontal| Vertical| Block| Inline| Inherit| Initial| Unset| Revert| Revert_layer| Var of resize Values.var
type box_sizing = | Border_box| Content_box| Inherit| Initial| Unset| Revert| Revert_layer| Var of box_sizing Values.var
type field_sizing = | Content| Fixed| Inherit| Initial| Unset| Revert| Revert_layer| Var of field_sizing Values.var
type caption_side = | Top| Bottom| Inherit| Initial| Unset| Revert| Revert_layer| Var of caption_side Values.var
type object_fit = | Fill| Contain| Cover| None| Scale_down| Inherit| Initial| Unset| Revert| Revert_layer| Var of object_fit Values.var
type object_view_box = | None| Inset of Values.length * Values.length option * Values.length option * Values.length option| Xywh of {x : Values.length_percentage;y : Values.length_percentage;width : Values.length_percentage;height : Values.length_percentage;rounded : border_radius option;
}| Rect of {top : Values.length_percentage;right : Values.length_percentage;bottom : Values.length_percentage;left : Values.length_percentage;rounded : border_radius option;
}| Inherit| Initial| Unset| Revert| Revert_layer| Var of object_view_box Values.var
type content = | String of string| Quoted of {}| None| Normal| Open_quote| Close_quote| Attr of content Values.attr_call| Counter of string| Counters of string * string| String_ref of string| Content_list of content list| Inherit| Initial| Unset| Revert| Revert_layer| Var of content Values.var
type counter_set = | None| Counters of counter_item list| Inherit| Initial| Unset| Revert| Revert_layer| Var of counter_set Values.var
type content_visibility = | Visible| Hidden| Auto| Initial| Inherit| Unset| Revert| Revert_layer| Var of content_visibility Values.var(*The CSS quotes property - defines quotation marks
*)
type quotes = | Auto(*Browser default based on language
*)| None(*No quotation marks
*)| Pairs of (string * string) list(*One or more open/close pairs
*)| Inherit| Initial| Unset| Revert| Revert_layer| Var of quotes Values.var
type container_type = | Size| Inline_size| Scroll_state| Normal| Initial| Inherit| Unset| Revert| Revert_layer| Var of container_type Values.var
type container_name = | None| Names of string list| Initial| Inherit| Unset| Revert| Revert_layer| Var of container_name Values.var
type anchor_name = | None| Names of string list| Initial| Inherit| Unset| Revert| Revert_layer| Var of anchor_name Values.var
type position_anchor = | Auto| Anchor of string| Initial| Inherit| Unset| Revert| Revert_layer| Var of position_anchor Values.var
type position_try_fallbacks = | None| Fallbacks of position_try_fallback list| Initial| Inherit| Unset| Revert| Revert_layer| Var of position_try_fallbacks Values.var
type position_try_order = | Normal| Most_width| Most_height| Most_block_size| Most_inline_size| Initial| Inherit| Unset| Revert| Revert_layer| Var of position_try_order Values.var
type position_try = | Try of position_try_order * position_try_fallbacks| Initial| Inherit| Unset| Revert| Revert_layer| Var of position_try Values.var
type position_visibility = | Always| Conditions of position_visibility_condition list| Initial| Inherit| Unset| Revert| Revert_layer| Var of position_visibility Values.var
type position_area = | None| Area of position_area_keyword * position_area_keyword option| Initial| Inherit| Unset| Revert| Revert_layer| Var of position_area Values.var
type overflow_anchor = | Auto| None| Initial| Inherit| Unset| Revert| Revert_layer| Var of overflow_anchor Values.var
type scrollbar_width = | Auto| Thin| None| Initial| Inherit| Unset| Revert| Revert_layer| Var of scrollbar_width Values.var
type scrollbar_color = | Auto| Colors of Values.color * Values.color| Initial| Inherit| Unset| Revert| Revert_layer| Var of scrollbar_color Values.var
type scrollbar_gutter = | Auto| Stable| Stable_both_edges| Initial| Inherit| Unset| Revert| Revert_layer| Var of scrollbar_gutter Values.var
type font_palette = | Normal| Light| Dark| Palette of string| Initial| Inherit| Unset| Revert| Revert_layer| Var of font_palette Values.var
type font_synthesis = | None| Features of font_synthesis_feature list| Initial| Inherit| Unset| Revert| Revert_layer| Var of font_synthesis Values.var
type animation_range_item = | Normal| Offset of Values.length_percentage| Named of animation_range_name * Values.length_percentage option| Initial| Inherit| Unset| Revert| Revert_layer| Var of animation_range_item Values.var
type animation_range = | Range of animation_range_item * animation_range_item option| Initial| Inherit| Unset| Revert| Revert_layer| Var of animation_range Values.var
type view_transition_name = | None| Match_element| Name of string| Initial| Inherit| Unset| Revert| Revert_layer| Var of view_transition_name Values.var
type view_transition_class = | None| Classes of string list| Initial| Inherit| Unset| Revert| Revert_layer| Var of view_transition_class Values.var
type image_orientation = | None| From_image| Initial| Inherit| Unset| Revert| Revert_layer| Var of image_orientation Values.var
type image_rendering = | Auto| Smooth| High_quality| Crisp_edges| Pixelated| Initial| Inherit| Unset| Revert| Revert_layer| Var of image_rendering Values.var
type image_resolution = | Resolution of resolution| From_image| From_image_resolution of resolution| Snap of resolution| From_image_snap| From_image_snap_resolution of resolution| Initial| Inherit| Unset| Revert| Revert_layer| Var of image_resolution Values.var
type contain_intrinsic_size = | None| Intrinsic of contain_intrinsic_size_item * contain_intrinsic_size_item option| Initial| Inherit| Unset| Revert| Revert_layer| Var of contain_intrinsic_size Values.var
type contain_intrinsic_longhand = | None| Size of contain_intrinsic_size_item| Initial| Inherit| Unset| Revert| Revert_layer| Var of contain_intrinsic_longhand Values.var
type margin_trim = | None| Block| Inline| Axes of margin_trim_axis list| Edges of margin_trim_edge list| Initial| Inherit| Unset| Revert| Revert_layer| Var of margin_trim Values.var
type ray = {angle : Values.angle;size : ray_size option;contain : bool;position : position_value option;
}type offset_path = | None| Url of string| Path of string| Ray of ray| Initial| Inherit| Unset| Revert| Revert_layer| Var of offset_path Values.var
type offset_rotate = | Auto| Reverse| Angle of Values.angle| With_angle of offset_rotate_mode * Values.angle| Initial| Inherit| Unset| Revert| Revert_layer| Var of offset_rotate Values.var
type container_shorthand = | Shorthand of {name : string option;ctype : container_type option;
}| Initial| Inherit| Unset| Revert| Revert_layer| Var of container_shorthand Values.var
type contain = | None| Strict| Content| Size| Layout| Style| Paint| Inline_size| List of contain list| Inherit| Initial| Unset| Revert| Revert_layer| Var of contain Values.var
type isolation = | Auto| Isolate| Initial| Inherit| Unset| Revert| Revert_layer| Var of isolation Values.var
type break_value = | Auto| Avoid| All| Avoid_page| Page| Left| Right| Recto| Verso| Avoid_column| Column| Avoid_region| Region| Initial| Inherit| Unset| Revert| Revert_layer| Var of break_value Values.var
type break_inside_value = | Auto| Avoid| Avoid_page| Avoid_column| Initial| Inherit| Unset| Revert| Revert_layer| Var of break_inside_value Values.var
type page_break_value = | Auto| Always| Avoid| Left| Right| Inherit| Var of page_break_value Values.var
type page_break_inside_value = | Auto| Avoid| Inherit| Var of page_break_inside_value Values.var
type page_size_name = | A5| A4| A3| B5| B4| Jis_b5| Jis_b4| Letter| Legal| Ledger| Var of page_size_name Values.var
type page_size = | Auto| Single of Values.length| Pair of Values.length * Values.length| Named of page_size_name| Named_oriented of page_size_name * page_size_orientation| Oriented of page_size_orientation| Inherit| Var of page_size Values.var
type columns_value = | Auto| Count of int| Width of Values.length| Both of Values.length * int(*
*)<column-width> <column-count>per CSS Multicol 2 sec. 6.1. The two components can appear in either order in the source; we canonicalise to<width>, <count>internally so the printer always emits the width first.| Auto_count of int(*
*)auto <column-count>: an explicitautocolumn-width paired with a count, e.g.columns: auto 3. Distinct fromCount(barecolumns: 3) so the explicit-autospelling round-trips.| Inherit| Initial| Unset| Revert| Revert_layer| Var of columns_value Values.var
type column_width = | Auto| Width of Values.length| Inherit| Initial| Unset| Revert| Revert_layer| Var of column_width Values.var
type column_count = | Auto| Count of int| Inherit| Initial| Unset| Revert| Revert_layer| Var of column_count Values.var
type column_span = | None| All| Inherit| Initial| Unset| Revert| Revert_layer| Var of column_span Values.var
type scroll_behavior = | Auto| Smooth| Inherit| Initial| Unset| Revert| Revert_layer| Var of scroll_behavior Values.var
type scroll_snap_align = | None| Start| End| Center| Snap_align_pair of scroll_snap_align * scroll_snap_align| Inherit| Initial| Unset| Revert| Revert_layer| Var of scroll_snap_align Values.var
type scroll_snap_stop = | Normal| Always| Inherit| Initial| Unset| Revert| Revert_layer| Var of scroll_snap_stop Values.var
type scroll_snap_strictness = | Mandatory| Proximity| Var of scroll_snap_strictness Values.var
type scroll_snap_type = | Axis of scroll_snap_axis| Axis_with_strictness of scroll_snap_axis * scroll_snap_strictness| Inherit| Initial| Unset| Revert| Revert_layer| Var of scroll_snap_type Values.var
type timeline_axis = | Block| Inline| X| Y| Initial| Inherit| Unset| Revert| Revert_layer| Var of timeline_axis Values.var
type timeline_name = | None| Names of string list| Initial| Inherit| Unset| Revert| Revert_layer| Var of timeline_name Values.var
type timeline_shorthand = | None| Timelines of timeline_shorthand_item list| Initial| Inherit| Unset| Revert| Revert_layer| Var of timeline_shorthand Values.var
type timeline_inset = | Inset of timeline_inset_item * timeline_inset_item option| Initial| Inherit| Unset| Revert| Revert_layer| Var of timeline_inset Values.var
type overscroll_behavior = | Auto| Contain| None| Inherit| Initial| Unset| Revert| Revert_layer| Var of overscroll_behavior Values.var
type svg_paint = | None| Inherit| Current_color| Color of Values.color| Url of string * svg_paint option| Context_fill(*SVG2 §11.2
*)context-fill- inherits the fill paint of the context element, used in marker / pattern / use trees.| Context_stroke(*SVG2 §11.2
*)context-stroke- mirror ofContext_fill.| Var of svg_paint Values.var
type direction = | Ltr| Rtl| Inherit| Initial| Unset| Revert| Revert_layer| Var of direction Values.var
type unicode_bidi = | Normal| Embed| Isolate| Bidi_override| Isolate_override| Plaintext| Inherit| Initial| Unset| Revert| Revert_layer| Var of unicode_bidi Values.var
type writing_mode = | Horizontal_tb| Vertical_rl| Vertical_lr| Sideways_lr| Sideways_rl| Inherit| Initial| Unset| Revert| Revert_layer| Var of writing_mode Values.var
type text_combine_upright = | None| All| Digits of int option| Inherit| Initial| Unset| Revert| Revert_layer| Var of text_combine_upright Values.var
type webkit_appearance = | None| Auto| Button| Textfield| Menulist| Listbox| Checkbox| Radio| Inherit| Initial| Unset| Revert| Revert_layer| Var of webkit_appearance Values.var
type webkit_font_smoothing = | Auto| None| Antialiased| Subpixel_antialiased| Inherit| Initial| Unset| Revert| Revert_layer| Var of webkit_font_smoothing Values.var
type moz_osx_font_smoothing = | Auto| Grayscale| Inherit| Initial| Unset| Revert| Revert_layer| Var of moz_osx_font_smoothing Values.var
type webkit_box_orient = | Horizontal| Vertical| Inline_axis| Block_axis| Inherit| Initial| Unset| Revert| Revert_layer| Var of webkit_box_orient Values.var
type moz_orient = | Inline| Block| Horizontal| Vertical| Inherit| Var of moz_orient Values.var
type webkit_line_clamp = | None| Lines of int| Inherit| Initial| Unset| Revert| Revert_layer| Var of webkit_line_clamp Values.var
type text_size_adjust = | None| Auto| Pct of float| Inherit| Initial| Unset| Revert| Revert_layer| Var of text_size_adjust Values.var
type forced_color_adjust = | Auto| None| Preserve_parent_color| Inherit| Initial| Unset| Revert| Revert_layer| Var of forced_color_adjust Values.var
type color_scheme = | Normal| Light| Dark| Light_dark| Only_light| Only_dark| Only_light_dark| Custom of string list| Inherit| Initial| Unset| Revert| Revert_layer| Var of color_scheme Values.var
type appearance = | None| Auto| Button| Textfield| Menulist| Base_select| Inherit| Initial| Unset| Revert| Revert_layer| Var of appearance Values.var
type print_color_adjust = | Economy| Exact| Initial| Inherit| Unset| Revert| Revert_layer| Var of print_color_adjust Values.var
type box_decoration_break = | Clone| Slice| Inherit| Initial| Unset| Revert| Revert_layer| Var of box_decoration_break Values.var
type clear = | None| Left| Right| Both| Inline_start| Inline_end| Initial| Inherit| Unset| Revert| Revert_layer| Var of clear Values.var
type float_side = | None| Left| Right| Inline_start| Inline_end| Initial| Inherit| Unset| Revert| Revert_layer| Var of float_side Values.var
type text_decoration_skip_ink = | Auto| None| All| Inherit| Initial| Unset| Revert| Revert_layer| Var of text_decoration_skip_ink Values.var
type transform_origin = | Center| Center_center| Left| Right| Top| Bottom| Left_top| Left_center| Left_bottom| Right_top| Right_center| Right_bottom| Center_top| Center_bottom| Top_left| Top_right| Bottom_left| Bottom_right| Position of position_value| X of Values.length(*Single x-offset, y defaults to 50%
*)| XY of Values.length * Values.length| XYZ of Values.length * Values.length * Values.length| Position_z of position_value * Values.length| Initial| Inherit| Unset| Revert| Revert_layer| Var of transform_origin Values.var
type transform_box = | Content_box| Border_box| Fill_box| Stroke_box| View_box| Initial| Inherit| Unset| Revert| Revert_layer| Var of transform_box Values.var
type will_change = | Will_change_auto| Scroll_position| Contents| Transform| Opacity| Properties of string list(*Custom CSS property names
*)| Initial| Inherit| Unset| Revert| Revert_layer| Var of will_change Values.var
type clip = | Clip_auto| Clip_rect of Values.length * Values.length * Values.length * Values.length(*top, right, bottom, left
*)| Inherit| Initial| Unset| Revert| Revert_layer| Var of clip Values.var
CSS Masking 1 §3.6 <geometry-box> reference box for clip-path: the <shape-box> from CSS Shapes 1 plus the SVG-specific boxes.
CSS Shapes 1 §3.1 <shape-radius> for circle() / ellipse(): a <length-percentage> or one of the extent keywords.
type clip_path = | Clip_path_none| Clip_path_url of string| Clip_path_inset of {top : Values.length_percentage;right : Values.length_percentage option;bottom : Values.length_percentage option;left : Values.length_percentage option;rounded : border_radius option;
}(*
*)inset(<length-percentage>{1,4} [round <border-radius>]?)| Clip_path_circle of {radius : clip_path_extent option;position : position_value option;
}(*
*)circle(<shape-radius>? [at <position>]?)| Clip_path_ellipse of {rx : clip_path_extent option;ry : clip_path_extent option;position : position_value option;
}(*
*)ellipse(<shape-radius>{2}? [at <position>]?)| Clip_path_polygon of {fill_rule : clip_path_fill_rule option;points : (Values.length * Values.length) list;spaced : bool;(*
*)trueif the source emitted points without explicit commas.
}| Clip_path_path of string(*SVG path data
*)| Clip_path_shape of string| Clip_path_box of clip_geometry_box(*Bare reference box, e.g.
*)clip-path: margin-box.| Clip_path_with_box of {shape : clip_path;box : clip_geometry_box;box_first : bool;(*Source order:
*)trueif the box appeared before the shape (padding-box circle(...)),falseforcircle(...) padding-box.
}| Clip_path_xywh of {x : Values.length_percentage;y : Values.length_percentage;width : Values.length_percentage;height : Values.length_percentage;rounded : border_radius option;
}(*
*)xywh(<length-percentage>{4} [round <border-radius>]?)- CSS Shapes 2.| Clip_path_rect of {top : Values.length_percentage;right : Values.length_percentage;bottom : Values.length_percentage;left : Values.length_percentage;rounded : border_radius option;
}(*
*)rect(<length-percentage>{4} [round <border-radius>]?)- CSS Shapes 2.| Inherit| Initial| Unset| Revert| Revert_layer| Var of clip_path Values.var| Invalid of Values.invalid_value(*Spec-invalid
*)<basic-shape>preserved verbatim - e.g.ellipse(50px 60px at 0 10% 20%)with a 3-value<position>tail. The pretty-printer round-trips the captured tokens; theOptimize.drop_invalidpass removes the declaration under--minify.
type _ kind = | Length : Values.length kind| Color : Values.color kind| Rgb : Values.rgb kind| Number : Values.number kind| Int : int kind| Float : float kind| Percentage : Values.percentage kind| Length_percentage : Values.length_percentage kind| Number_percentage : Values.number_percentage kind| Opacity : opacity kind| Value : Values.custom_value kind| Duration : Values.duration kind| Aspect_ratio : aspect_ratio kind| Border_style : border_style kind| Outline_style : outline_style kind| Border : border kind| Font_weight : font_weight kind| Font_size : font_size kind| Line_height : line_height kind| Font_family : font_family kind| Font_feature_settings : font_feature_settings kind| Font_variation_settings : font_variation_settings kind| Numeric : font_variant_numeric kind| Font_variant_numeric_token : font_variant_numeric_token kind| Blend_mode : blend_mode kind| Scroll_snap_strictness : scroll_snap_strictness kind| Angle : Values.angle kind| Rotate : rotate_value kind| Scale : scale kind| Shadow : shadow kind| Box_shadow : shadow kind| Content : content kind| Gradient_stop : gradient_stop kind| Gradient_direction : gradient_direction kind| Gradient_position : gradient_position kind| Animation : animation kind| Timing_function : timing_function kind| Transform : transform kind| Touch_action : touch_action kind| Transition_property_value : transition_property_value kind| Background_image : background_image kind| Z_index : z_index kind| Filter : filter kind| Font_src : Font_face.src kind
type custom_property = | Custom_value : {value : custom_property_value;layer : string option;meta : Values.meta option;
} -> custom_property
and custom_property_value = | Typed : {kind : 'a kind;value : 'a;
} -> custom_property_value| Tokens of Values.custom_value
all shorthand value (CSS Cascade 5 §3.2). The all property only accepts CSS-wide keywords - no other syntax is valid.
type 'a property = | Custom_property : string -> custom_property property| Unknown_property : string -> Values.custom_value property| All : css_wide property| Background_color : Values.color property| Color : Values.color property| Border_color : Values.color list property| Border_style : border_style property| Border_top_style : border_style property| Border_right_style : border_style property| Border_bottom_style : border_style property| Border_left_style : border_style property| Padding : Values.length list property| Padding_left : Values.length property| Padding_right : Values.length property| Padding_bottom : Values.length property| Padding_top : Values.length property| Padding_inline : Values.length list property| Padding_inline_start : Values.length property| Padding_inline_end : Values.length property| Padding_block : Values.length list property| Padding_block_start : Values.length property| Padding_block_end : Values.length property| Margin : Values.length list property| Margin_inline_end : Values.length property| Margin_inline_start : Values.length property| Margin_left : Values.length property| Margin_right : Values.length property| Margin_top : Values.length property| Margin_bottom : Values.length property| Margin_inline : Values.length list property| Margin_block : Values.length list property| Margin_block_start : Values.length property| Margin_block_end : Values.length property| Gap : gap property| Column_gap : Values.length property| Row_gap : Values.length property| Width : Values.length_percentage property| Height : Values.length_percentage property| Min_width : Values.length_percentage property| Min_height : Values.length_percentage property| Max_width : Values.length_percentage property| Max_height : Values.length_percentage property| Inline_size : Values.length_percentage property| Min_inline_size : Values.length_percentage property| Max_inline_size : Values.length_percentage property| Block_size : Values.length_percentage property| Min_block_size : Values.length_percentage property| Max_block_size : Values.length_percentage property| Font_size : font_size property| Line_height : line_height property| Font_weight : font_weight property| Font_style : font_style property| Text_align : text_align property| Text_decoration : text_decoration property| Text_decoration_line : text_decoration_line list property| Text_decoration_style : text_decoration_style property| Text_decoration_color : Values.color property| Text_underline_offset : Values.length property| Text_decoration_skip : text_decoration_skip property| Text_decoration_skip_self : text_decoration_skip_self property| Text_decoration_skip_box : text_decoration_skip_box property| Text_decoration_skip_inset : text_decoration_skip_inset property| Text_decoration_skip_spaces : text_decoration_skip_spaces property| Text_emphasis : text_emphasis property| Text_emphasis_style : text_emphasis_style property| Text_emphasis_color : Values.color property| Text_emphasis_position : text_emphasis_position property| Text_emphasis_skip : text_emphasis_skip property| Text_orientation : text_orientation property| Text_transform : text_transform property| Letter_spacing : Values.length property| List_style_type : list_style_type property| List_style_position : list_style_position property| List_style_image : list_style_image property| Display : display property| Position : position property| Visibility : visibility property| Baseline_source : baseline_source property| Alignment_baseline : alignment_baseline property| Baseline_shift : baseline_shift property| Flex_direction : flex_direction property| Flex_wrap : flex_wrap property| Flex_flow : flex_flow property| Flex : flex property| Flex_grow : flex_factor property| Flex_shrink : flex_factor property| Flex_basis : flex_basis property| Order : order property| Align_items : align_items property| Justify_content : justify_content property| Justify_items : justify_items property| Justify_self : justify_self property| Align_content : align_content property| Align_self : align_self property| Place_content : place_content property| Place_items : place_items property| Place_self : (align_self * justify_self) property| Grid_template_columns : grid_template property| Grid_template_rows : grid_template property| Grid_template_areas : grid_template_areas property| Grid_template : grid_template property| Grid : grid_template property(*CSS Grid 1 §8
*)gridshorthand. Cascade treats it as a free-formgrid_templatefor now: the simple cases (track-list, grid-template syntax with area strings) round-trip through the same AST asgrid-template, and inputs that exercise the auto-flow branches fall back to the rawTemplatepreservation arm.| Grid_area : grid_area property| Grid_auto_flow : grid_auto_flow property| Grid_auto_columns : grid_template property| Grid_auto_rows : grid_template property| Grid_column : grid_line_pair property| Grid_row : grid_line_pair property| Grid_column_start : grid_line property| Grid_column_end : grid_line property| Grid_row_start : grid_line property| Grid_row_end : grid_line property| Border_width : border_width list property| Border_top_width : border_width property| Border_right_width : border_width property| Border_bottom_width : border_width property| Border_left_width : border_width property| Border_inline_start_width : border_width property| Border_inline_end_width : border_width property| Border_block_start_width : border_width property| Border_block_end_width : border_width property| Border_image : border_image property| Border_image_source : background_image property| Border_image_slice : border_image_slice property| Border_image_repeat : border_image_repeat property| Border_image_width : border_image_width property| Border_image_outset : border_image_outset property| Border_radius : border_radius property| Border_top_left_radius : Values.length property| Border_top_right_radius : Values.length property| Border_bottom_left_radius : Values.length property| Border_bottom_right_radius : Values.length property| Border_top_color : Values.color property| Border_right_color : Values.color property| Border_bottom_color : Values.color property| Border_left_color : Values.color property| Border_inline_start_color : Values.color property| Border_inline_end_color : Values.color property| Border_inline_color : logical_border_color property| Border_inline_style : border_style property| Border_block_style : border_style property| Border_start_start_radius : Values.length property| Border_start_end_radius : Values.length property| Border_end_start_radius : Values.length property| Border_end_end_radius : Values.length property| Opacity : opacity property| Mix_blend_mode : blend_mode property| Transform : transform list property| Translate : translate_value property| Cursor : cursor property| Interactivity : interactivity property| Caret_animation : caret_animation property| Caret_shape : caret_shape property| Caret : caret property| Interest_delay : interest_delay property| Interest_delay_start : interest_delay property| Interest_delay_end : interest_delay property| Table_layout : table_layout property| Border_collapse : border_collapse property| Border_spacing : border_spacing property| User_select : user_select property| Pointer_events : pointer_events property| Overflow : overflow property| Inset : Values.length list property| Inset_inline : Values.length list property| Inset_inline_start : Values.length list property| Inset_inline_end : Values.length list property| Inset_block : Values.length list property| Inset_block_start : Values.length list property| Inset_block_end : Values.length list property| Top : Values.length list property| Right : Values.length list property| Bottom : Values.length list property| Left : Values.length list property| Z_index : z_index property| Outline : outline property| Outline_style : outline_style property| Outline_width : Values.length property| Outline_color : Values.color property| Outline_offset : Values.length property| Forced_color_adjust : forced_color_adjust property| Scroll_snap_type : scroll_snap_type property| White_space : white_space property| Border : border property| Border_block : border property| Border_block_start : border property| Border_block_end : border property| Border_inline : border property| Border_inline_start : border property| Border_inline_end : border property| Background : background list property| Tab_size : tab_size property| Zoom : zoom property| Webkit_text_size_adjust : text_size_adjust property| Font_feature_settings : font_feature_settings property| Font_variation_settings : font_variation_settings property| Webkit_tap_highlight_color : Values.color property| Webkit_user_select : user_select property| Moz_user_select : user_select property| Ms_user_select : user_select property| Webkit_text_decoration : text_decoration property| Webkit_text_decoration_color : Values.color property| Webkit_text_fill_color : Values.color property| Text_indent : text_indent_value property| List_style : list_style property| Font : font property| Source : Font_face.src property| Webkit_appearance : webkit_appearance property| Webkit_transform : transform list property| Moz_transform : transform list property| Ms_transform : transform list property| O_transform : transform list property| Webkit_transition : transition list property| Webkit_transition_delay : Values.duration property| Webkit_transition_duration : Values.duration property| Webkit_transition_property : transition_property property| Webkit_transition_timing_function : timing_function property| Webkit_animation : animation list property| Webkit_animation_delay : Values.duration property| Webkit_animation_duration : Values.duration property| Webkit_animation_direction : animation_direction property| Webkit_animation_iteration_count : animation_iteration_count property| Webkit_animation_name : animation_name property| Webkit_animation_timing_function : timing_function property| Webkit_animation_fill_mode : animation_fill_mode property| Webkit_animation_play_state : animation_play_state property| Webkit_flex_direction : flex_direction property| Webkit_flex_wrap : flex_wrap property| Webkit_flex_flow : flex_flow property| Webkit_justify_content : justify_content property| Webkit_align_items : align_items property| Webkit_align_content : align_content property| Webkit_align_self : align_self property| Webkit_border_radius : border_radius property| Webkit_box_sizing : box_sizing property| Moz_box_sizing : box_sizing property| Webkit_box_shadow : shadow property| Webkit_background_size : background_size property| Webkit_filter : filter property| Moz_appearance : appearance property| Moz_animation : animation list property| Moz_animation_delay : Values.duration property| Moz_animation_duration : Values.duration property| Moz_animation_direction : animation_direction property| Moz_animation_iteration_count : animation_iteration_count property| Moz_animation_name : animation_name property| Moz_animation_timing_function : timing_function property| Moz_animation_fill_mode : animation_fill_mode property| Moz_animation_play_state : animation_play_state property| Moz_transition : transition list property| Moz_transition_delay : Values.duration property| Moz_transition_duration : Values.duration property| Moz_transition_property : transition_property property| Moz_transition_timing_function : timing_function property| Moz_border_radius : border_radius property| Moz_box_shadow : shadow property| Ms_filter : filter property| O_transition : transition list property| Container_type : container_type property| Container_name : container_name property| Container : container_shorthand property| Anchor_name : anchor_name property| Position_anchor : position_anchor property| Position_try_fallbacks : position_try_fallbacks property| Position_try_order : position_try_order property| Position_try : position_try property| Position_visibility : position_visibility property| Position_area : position_area property| Shape_outside : string property| Shape_margin : Values.length_percentage property| Shape_image_threshold : shape_image_threshold property| Overflow_clip_margin : overflow_clip_margin property| Overflow_anchor : overflow_anchor property| Scrollbar_width : scrollbar_width property| Scrollbar_color : scrollbar_color property| Scrollbar_gutter : scrollbar_gutter property| Line_height_step : Values.length property| Font_palette : font_palette property| Font_synthesis : font_synthesis property| Text_wrap_mode : text_wrap_mode property| Text_wrap_style : text_wrap_style property| Text_box_trim : text_box_trim property| Text_underline_position : text_underline_position property| Text_box_edge : text_box_edge property| Text_box : text_box property| Inline_sizing : inline_sizing property| Line_fit_edge : line_fit_edge property| Interpolate_size : interpolate_size property| Min_intrinsic_sizing : min_intrinsic_sizing property| Ruby_align : ruby_align property| Ruby_merge : ruby_merge property| Ruby_overhang : ruby_overhang property| Ruby_position : ruby_position property| Glyph_orientation_vertical : glyph_orientation_vertical property| Text_combine_upright : text_combine_upright property| Animation_timeline : animation_timeline property| Animation_range : animation_range property| Animation_range_start : animation_range_item property| Animation_range_end : animation_range_item property| Scroll_timeline : timeline_shorthand property| Scroll_timeline_name : timeline_name property| Scroll_timeline_axis : timeline_axis property| View_transition_name : view_transition_name property| View_transition_class : view_transition_class property| Image_orientation : image_orientation property| Image_rendering : image_rendering property| Image_resolution : image_resolution property| Contain_intrinsic_size : contain_intrinsic_size property| Contain_intrinsic_width : contain_intrinsic_longhand property| Contain_intrinsic_height : contain_intrinsic_longhand property| Contain_intrinsic_block_size : contain_intrinsic_longhand property| Contain_intrinsic_inline_size : contain_intrinsic_longhand property| Margin_trim : margin_trim property| Offset_path : offset_path property| Offset_distance : Values.length_percentage property| Offset_rotate : offset_rotate property| Font_size_adjust : font_size_adjust property| Font_variant_emoji : font_variant_emoji property| Text_spacing_trim : text_spacing_trim property| Hyphenate_limit_chars : hyphenate_limit_chars property| Initial_letter : initial_letter property| Initial_letter_align : initial_letter_align property| Initial_letter_wrap : initial_letter_wrap property| Dominant_baseline : dominant_baseline property| View_timeline_name : timeline_name property| View_timeline_axis : timeline_axis property| View_timeline_inset : timeline_inset property| View_timeline : timeline_shorthand property| Timeline_scope : timeline_name property| Perspective : Values.length property| Perspective_origin : perspective_origin property| Transform_style : transform_style property| Backface_visibility : backface_visibility property| Object_position : position_value property| Rotate : rotate_value property| Transition_duration : Values.duration property| Transition_timing_function : timing_function property| Transition_delay : Values.duration property| Transition_property : transition_property property| Transition_behavior : transition_behavior property| Overlay : overlay property| Will_change : will_change property| Contain : contain property| Isolation : isolation property| Break_before : break_value property| Break_after : break_value property| Break_inside : break_inside_value property| Page_break_before : page_break_value property| Page_break_after : page_break_value property| Page_break_inside : page_break_inside_value property| Page_size : page_size property| Columns : columns_value property| Column_width : column_width property| Column_count : column_count property| Column_rule : border property| Column_span : column_span property| Word_spacing : Values.length property| Background_attachment : background_attachment property| Border_top : border property| Border_right : border property| Border_bottom : border property| Border_left : border property| Transform_origin : transform_origin property| Transform_box : transform_box property| Text_shadow : text_shadow list property| Clip_path : clip_path property| Mask : mask property| Mask_border : border_image property| Content_visibility : content_visibility property| Filter : filter property| Background_image : background_image list property| Background_origin : background_box property| Background_clip : background_box property| Webkit_background_clip : background_box property| Animation : animation list property| Aspect_ratio : aspect_ratio property| Overflow_x : overflow property| Overflow_y : overflow property| Overflow_block : overflow property| Overflow_inline : overflow property| Vertical_align : vertical_align property| Font_family : font_family property| Background_position : background_position property| Background_repeat : background_repeat property| Background_size : background_size property| Webkit_font_smoothing : webkit_font_smoothing property| Moz_osx_font_smoothing : moz_osx_font_smoothing property| Webkit_line_clamp : webkit_line_clamp property| Webkit_box_orient : webkit_box_orient property| Moz_orient : moz_orient property| Text_overflow : text_overflow property| Text_wrap : text_wrap property| Word_break : word_break property| Overflow_wrap : overflow_wrap property| Line_break : line_break property| Hyphens : hyphens property| Webkit_hyphens : hyphens property| Font_stretch : font_stretch property| Font_optical_sizing : font_optical_sizing property| Font_kerning : font_kerning property| Font_language_override : font_language_override property| Font_synthesis_style : font_synthesis_style property| Font_synthesis_weight : font_synthesis_weight property| Font_synthesis_small_caps : font_synthesis_small_caps property| Font_synthesis_position : font_synthesis_position property| Font_variant_ligatures : font_variant_ligatures property| Caps : font_variant_caps property| Numeric : font_variant_numeric property| Font_variant_position : font_variant_position property| East_asian : font_variant_east_asian property| Backdrop_filter : filter property| Webkit_backdrop_filter : filter property| Webkit_mask_image : background_image property| Webkit_mask_composite : webkit_mask_composite property| Webkit_mask_source_type : webkit_mask_source_type property| Webkit_mask_size : background_size property| Webkit_mask_position : background_position property| Webkit_mask_repeat : background_repeat property| Webkit_mask_clip : mask_box property| Webkit_mask_origin : mask_box property| Mask_image : background_image property| Mask_composite : mask_composite property| Mask_mode : mask_mode property| Mask_size : background_size property| Mask_position : background_position property| Mask_repeat : background_repeat property| Mask_clip : mask_box property| Mask_origin : mask_box property| Mask_type : mask_type property| Scroll_snap_align : scroll_snap_align property| Scroll_snap_stop : scroll_snap_stop property| Scroll_behavior : scroll_behavior property| Box_sizing : box_sizing property| Field_sizing : field_sizing property| Caption_side : caption_side property| Resize : resize property| Object_fit : object_fit property| Object_view_box : object_view_box property| Appearance : appearance property| Color_scheme : color_scheme property| Print_color_adjust : print_color_adjust property| Webkit_print_color_adjust : print_color_adjust property| Box_decoration_break : box_decoration_break property| Webkit_box_decoration_break : box_decoration_break property| Content : content property| Counter_reset : counter_set property| Counter_increment : counter_set property| Quotes : quotes property| Text_decoration_thickness : Values.length property| Text_size_adjust : text_size_adjust property| Touch_action : touch_action property| Clip : clip property| Clear : clear property| Float : float_side property| Scale : scale property| Transition : transition list property| Box_shadow : shadow property| Fill : svg_paint property| Stroke : svg_paint property| Stroke_width : Values.length property| Direction : direction property| Unicode_bidi : unicode_bidi property| Writing_mode : writing_mode property| Text_decoration_skip_ink : text_decoration_skip_ink property| Animation_name : animation_name property| Animation_duration : Values.duration property| Animation_timing_function : timing_function property| Animation_delay : Values.duration property| Animation_iteration_count : animation_iteration_count property| Animation_direction : animation_direction property| Animation_fill_mode : animation_fill_mode property| Animation_play_state : animation_play_state property| Animation_composition : animation_composition property| Background_blend_mode : blend_mode list property| Scroll_margin : Values.length list property| Scroll_margin_top : Values.length property| Scroll_margin_right : Values.length property| Scroll_margin_bottom : Values.length property| Scroll_margin_left : Values.length property| Scroll_margin_inline : Values.length list property| Scroll_margin_inline_start : Values.length property| Scroll_margin_inline_end : Values.length property| Scroll_margin_block : Values.length list property| Scroll_margin_block_start : Values.length property| Scroll_margin_block_end : Values.length property| Scroll_padding : Values.length list property| Scroll_padding_top : Values.length property| Scroll_padding_right : Values.length property| Scroll_padding_bottom : Values.length property| Scroll_padding_left : Values.length property| Scroll_padding_inline : Values.length list property| Scroll_padding_inline_start : Values.length property| Scroll_padding_inline_end : Values.length property| Scroll_padding_block : Values.length list property| Scroll_padding_block_start : Values.length property| Scroll_padding_block_end : Values.length property| Overscroll_behavior : overscroll_behavior list property| Overscroll_behavior_x : overscroll_behavior property| Overscroll_behavior_y : overscroll_behavior property| Overscroll_behavior_block : overscroll_behavior property| Overscroll_behavior_inline : overscroll_behavior property| Accent_color : Values.color property| Caret_color : Values.color property
type _ property_value_kind = | Length : Values.length property_value_kind| Lengths : Values.length list property_value_kind| Length_percentage : Values.length_percentage property_value_kind| Border_width : border_width property_value_kind| Border_widths : border_width list property_value_kind| Opacity : opacity property_value_kind| Rotate : rotate_value property_value_kind| Duration : Values.duration property_value_kind| Number_percentage : Values.number_percentage property_value_kind| Font_size : font_size property_value_kind| Display : display property_value_kind| Position : position property_value_kind| Visibility : visibility property_value_kind| Clear : clear property_value_kind| Float : float_side property_value_kind| Scale : scale property_value_kind| Translate : translate_value property_value_kind| Transform : transform list property_value_kind| Animation : animation list property_value_kind| Transition : transition list property_value_kind| Filter : filter property_value_kind| Shadow : shadow property_value_kind| Border_radius : border_radius property_value_kind| Color : Values.color property_value_kind| Colors : Values.color list property_value_kind| Animation_name : animation_name property_value_kind| Background : background list property_value_kind| Background_image : background_image property_value_kind| Background_images : background_image list property_value_kind| Font_src : Font_face.src property_value_kind| Font_family : font_family property_value_kind
pp_property_value is the pretty-printer for a property and its typed value.
val normalize_property_value :
?lossless:bool ->
?ctx:Values.calc_ctx ->
'a property ->
'a ->
'anormalize_property_value ?lossless prop value applies semantic (equivalence) canonicalisation to value so the optimizer holds a canonical AST and the pretty-printer stays a pure serialiser. Identity for properties whose folds have not yet migrated out of pp. lossless disables colour approximation while keeping exact colour canonicalisation.
val normalize_custom_property_value :
?lossless:bool ->
?ctx:Values.calc_ctx ->
custom_property_value ->
custom_property_valuenormalize_custom_property_value v canonicalises the typed value of a registered custom property (currently the <color> syntax) so a promoted custom-property value folds the same way a typed colour property would.
is_invalid_value prop value is true when value contains an Invalid arm cascade detected at parse time (CSS spec violations preserved verbatim for round-trip). The minify-time Optimize.drop_invalid pass removes declarations that satisfy this predicate.
pp_custom_property_value pretty-prints a parsed custom-property payload.
read_custom_property_value t returns the remaining component values as a raw token stream. Typed promotion is deferred to the @property registry pass.
unquote_font_family_strings components rewrites each <string> token whose content is a multi-word identifier sequence as the equivalent <ident> <whitespace> <ident> ... component sequence. Used by the @property-registered custom-property promotion when the registered syntax accepts <custom-ident>+ (CSS Fonts 4 sec. 15.3 makes the two forms equivalent in font-family-typed positions). Single-word strings and any token that isn't a <string> pass through unchanged.
components_have_generic_family components is true when a bare ident in components matches a generic font family (sans-serif, ui-monospace, ...). A generic family is only valid in a font-family list, so its presence proves the stream is a font-family value.
try_read_custom_color tokens parses tokens as a <color>, returning a typed payload when the stream matches.
try_read_custom_length tokens parses tokens as a <length>.
try_read_custom_length_percentage tokens parses tokens as a <length-percentage>.
try_read_custom_number tokens parses tokens as a <number>.
try_read_custom_percentage tokens parses tokens as a <percentage>.
try_read_custom_angle tokens parses tokens as an <angle>.
try_read_custom_time tokens parses tokens as a <time>.
components_of_custom_property_value value returns the component stream represented by a custom-property payload. Typed values are serialized with the normal minified typed printer before being parsed back to components.
string_of_kind_value kind value serializes a typed CSS value for a custom property initial value. Values that cannot be represented as a concrete initial value serialize to "initial".
read_timeline_shorthand t parses scroll-timeline and view-timeline.
pp_timeline_shorthand pretty-prints scroll-timeline and view-timeline shorthand values.
pp_timeline_axis pretty-prints a timeline axis.
read_timeline_axis t parses a timeline axis.
pp_timeline_name pretty-prints a timeline name list.
read_timeline_name t parses view-timeline-name and timeline-scope.
pp_timeline_inset pretty-prints view-timeline-inset.
read_timeline_inset t parses view-timeline-inset.
pp_position_try_order pretty-prints position-try-order.
pp_position_try_fallback pretty-prints a position-try-fallback item.
pp_position_try_fallbacks pretty-prints position-try-fallbacks.
read_position_try_fallback t parses a single position-try-fallback.
read_position_try_fallbacks t parses position-try-fallbacks.
read_position_try_order t parses position-try-order.
read_position_try t parses the position-try shorthand.
pp_contain_intrinsic_size_item pretty-prints one contain-intrinsic-size item.
read_contain_intrinsic_size_item t parses one contain-intrinsic-size item.
pp_counter_item pretty-prints one counter-reset/counter-increment item.
read_counter_item t parses one counter-reset/counter-increment item.
pp_font_synthesis_feature pretty-prints one font-synthesis feature.
read_font_synthesis_feature t parses one font-synthesis feature.
pp_line_fit_edge_keyword pretty-prints a line-fit-edge keyword.
read_line_fit_edge_keyword t parses a line-fit-edge keyword.
pp_mask_layer pretty-prints one mask layer.
read_mask_layer t parses one mask layer.
pp_min_intrinsic_sizing_keyword pretty-prints a min-intrinsic-sizing keyword.
read_min_intrinsic_sizing_keyword t parses a min-intrinsic-sizing keyword.
pp_offset_rotate_mode pretty-prints the offset-rotate mode prefix.
read_offset_rotate_mode t parses the offset-rotate mode prefix.
pp_overflow_clip_box pretty-prints overflow-clip-box.
read_overflow_clip_box t parses overflow-clip-box.
pp_position_area_keyword pretty-prints one position-area keyword.
read_position_area_keyword t parses one position-area keyword.
pp_ruby_position_keyword pretty-prints one ruby-position keyword.
read_ruby_position_keyword t parses one ruby-position keyword.
pp_text_box_edge_keyword pretty-prints one text-box-edge keyword.
read_text_box_edge_keyword t parses one text-box-edge keyword.
pp_text_emphasis_fill pretty-prints the text-emphasis fill keyword.
read_text_emphasis_fill t parses the text-emphasis fill keyword.
pp_text_emphasis_line pretty-prints a text-emphasis line keyword.
read_text_emphasis_line t parses a text-emphasis line keyword.
pp_text_emphasis_shape pretty-prints a text-emphasis shape keyword.
read_text_emphasis_shape t parses a text-emphasis shape keyword.
pp_text_emphasis_side pretty-prints a text-emphasis side keyword.
read_text_emphasis_side t parses a text-emphasis side keyword.
pp_text_underline_position_keyword pretty-prints a text-underline-position keyword.
read_text_underline_position_keyword t parses a text-underline-position keyword.
pp_timeline_inset_item pretty-prints one view-timeline-inset item.
read_timeline_inset_item t parses one view-timeline-inset item.
pp_timeline_shorthand_item pretty-prints one scroll-timeline/ view-timeline shorthand item.
read_timeline_shorthand_item t parses one scroll-timeline/ view-timeline shorthand item.
pp_font_variant_emoji pretty-prints font-variant-emoji.
read_font_variant_emoji t parses font-variant-emoji.
pp_dominant_baseline pretty-prints dominant-baseline.
read_dominant_baseline t parses dominant-baseline.
pp_initial_letter_align_keyword pretty-prints one initial-letter-align keyword.
read_initial_letter_align_keyword t parses one initial-letter-align keyword.
pp_font_size_adjust_metric pretty-prints the metric keyword of font-size-adjust.
read_font_size_adjust_metric t parses the metric keyword of font-size-adjust.
pp_animation_range_name pretty-prints a <timeline-range-name>.
read_animation_range_name t parses a <timeline-range-name>.
pp_border_image_repeat_keyword pretty-prints one border-image-repeat keyword.
read_border_image_repeat_keyword t parses one border-image-repeat keyword.
pp_margin_trim_axis pretty-prints a margin-trim axis keyword.
read_margin_trim_axis t parses a margin-trim axis keyword.
pp_margin_trim_edge pretty-prints a margin-trim edge keyword.
read_margin_trim_edge t parses a margin-trim edge keyword.
pp_font_size_adjust pretty-prints font-size-adjust.
read_font_size_adjust t parses font-size-adjust.
read_initial_letter t parses initial-letter.
pp_initial_letter_align pretty-prints initial-letter-align.
read_initial_letter_align t parses initial-letter-align.
pp_initial_letter_wrap pretty-prints initial-letter-wrap.
read_initial_letter_wrap t parses initial-letter-wrap.
pp_margin_trim pretty-prints margin-trim.
read_margin_trim t parses margin-trim.
pp_offset_path pretty-prints offset-path.
read_offset_path t parses offset-path.
pp_animation_range_item pretty-prints one <single-animation-range>.
read_animation_range_item t parses one <single-animation-range>.
read_animation_range t parses animation-range.
pp_border_image_slice_item pretty-prints one border-image-slice item.
read_border_image_slice_item t parses one border-image-slice item.
pp_border_image_slice pretty-prints border-image-slice.
read_border_image_slice t parses border-image-slice.
read_border_image_repeat t parses the border-image-repeat longhand, including the CSS-wide keywords.
read_border_image_width t parses the border-image-width longhand, including the CSS-wide keywords.
read_border_image_outset t parses the border-image-outset longhand, including the CSS-wide keywords.
pp_border_image_width_item pretty-prints one border-image-width item.
read_border_image_width_item t parses one border-image-width item.
pp_border_image_outset_item pretty-prints one border-image-outset item.
read_border_image_outset_item t parses one border-image-outset item.
pp_mask_border_mode pretty-prints a mask-border mode keyword.
read_mask_border_mode t parses a mask-border mode keyword.
pp_border_image pretty-prints the border-image shorthand.
read_border_image t parses the border-image shorthand.
read_grid_template_areas t parses grid-template-areas.
read_border_spacing t parses border-spacing.
pp_position_visibility_condition pretty-prints one position-visibility condition keyword.
read_position_visibility_condition t parses one position-visibility condition keyword.
pp_property_value_kind pretty-prints the kind label of a typed property value.
read_property_value_kind t always raises. The property_value_kind GADT classifies typed values for dispatch and is not addressable as a standalone CSS value; the function exists only so the API surface stays symmetric.
pp_position_visibility pretty-prints position-visibility.
read_position_visibility t parses position-visibility.
pp_position_area pretty-prints position-area.
read_position_area t parses position-area.
pp_offset_rotate pretty-prints offset-rotate.
read_offset_rotate t parses offset-rotate.
read_page_size t parses the paged-media size descriptor/property.
pp_page_size pretty-prints the paged-media size descriptor/property.
pp_page_size_name pretty-prints a page size name.
read_page_size_name t parses a page size name.
pp_page_size_orientation pretty-prints a page size orientation.
read_page_size_orientation t parses a page size orientation.
url path builds a background_image URL value.
linear_gradient dir stops builds a linear-gradient background image.
val radial_gradient :
?config:radial_gradient_config ->
gradient_stop list ->
background_imageradial_gradient ?config stops builds a radial-gradient background image.
color_stop c is a gradient stop with just a color.
color_position c pos is a gradient stop with color and position.
val animation_shorthand :
?name:string ->
?duration:Values.duration ->
?timing_function:timing_function ->
?delay:Values.duration ->
?iteration_count:animation_iteration_count ->
?direction:animation_direction ->
?fill_mode:animation_fill_mode ->
?play_state:animation_play_state ->
?timeline:animation_timeline ->
unit ->
animationanimation_shorthand ?name ?duration ?timing_function ?delay ?iteration_count ?direction ?fill_mode ?play_state ?timeline () is the animation shorthand.
val transition_shorthand :
?property:transition_property_value ->
?duration:Values.duration ->
?timing_function:timing_function ->
?delay:Values.duration ->
?behavior:transition_behavior ->
unit ->
transitiontransition_shorthand ?property ?duration ?timing_function ?delay ?behavior () is the transition shorthand. Defaults to property = All.
val border_shorthand :
?width:border_width ->
?style:border_style ->
?color:Values.color ->
unit ->
borderborder_shorthand ?width ?style ?color () is the border shorthand.
val text_decoration_shorthand :
?lines:text_decoration_line list ->
?style:text_decoration_style ->
?color:Values.color ->
?thickness:Values.length ->
unit ->
text_decorationtext_decoration_shorthand ?lines ?style ?color ?thickness () is the text-decoration shorthand.
val background_shorthand :
?color:Values.color ->
?image:background_image ->
?position:position_value ->
?size:background_size ->
?repeat:background_repeat ->
?attachment:background_attachment ->
?clip:background_box ->
?origin:background_box ->
unit ->
backgroundbackground_shorthand ?color ?image ?position ?size ?repeat ?attachment ?clip ?origin () is the background shorthand.
Pretty-printers and readers for property value types.
pp_border_style is the pretty-printer for border_style.
read_border_style t is the border_style parsed from t.
pp_border_width is the pretty-printer for border_width.
read_border_width t is the border_width parsed from t.
pp_border_shorthand pretty-prints a border shorthand value.
read_border_shorthand t parses a border shorthand value.
pp_line_height is the pretty-printer for line_height.
read_line_height t is the line_height parsed from t.
pp_font_weight is the pretty-printer for font_weight.
read_font_weight t is the font_weight parsed from t.
pp_css_wide is the pretty-printer for the CSS-wide keyword set (initial, inherit, unset, revert, revert-layer).
read_css_wide t reads a CSS-wide keyword (and only those) from t.
is_css_wide_keyword s is true when s (case-insensitively) is one of initial, inherit, unset, revert, revert-layer.
value_has_css_wide_mix value is true when value is not itself a lone CSS-wide keyword but contains one mixed with other tokens (CSS Cascade 5 sec. 7.3 forbids this in a multi-value shorthand).
components_have_css_wide_mix cvs is the same check as value_has_css_wide_mix, but operates on a component list directly so callers that already hold one avoid the round-trip through a string buffer.
pp_visibility is the pretty-printer for visibility.
read_visibility t is the visibility parsed from t.
pp_baseline_source is the pretty-printer for baseline_source.
read_baseline_source t is the baseline_source parsed from t.
pp_alignment_baseline is the pretty-printer for alignment_baseline.
read_alignment_baseline t is the alignment_baseline parsed from t.
pp_baseline_shift is the pretty-printer for baseline_shift.
read_baseline_shift t is the baseline_shift parsed from t.
read_order t parses an order value (integer or calc expression).
pp_border_spacing is the pretty-printer for border_spacing.
read_overflow_single t parses a single-axis overflow value.
pp_flex_direction is the pretty-printer for flex_direction.
read_flex_direction t is the flex_direction parsed from t.
pp_flex_factor is the pretty-printer for flex_factor.
read_flex_factor t is the flex_factor parsed from t.
pp_align_items is the pretty-printer for align_items.
read_align_items t is the align_items parsed from t.
pp_align_self is the pretty-printer for align_self.
read_align_self t is the align_self parsed from t.
pp_justify_content is the pretty-printer for justify_content.
read_justify_content t is the justify_content parsed from t.
pp_align_content is the pretty-printer for align_content.
read_align_content t is the align_content parsed from t.
pp_justify_items is the pretty-printer for justify_items.
read_justify_items t is the justify_items parsed from t.
pp_justify_self is the pretty-printer for justify_self.
read_justify_self t is the justify_self parsed from t.
pp_column_width is the pretty-printer for column_width.
pp_column_count is the pretty-printer for column_count.
pp_position_try is the pretty-printer for position_try.
pp_border_image_repeat is the pretty-printer for border_image_repeat.
pp_border_image_width is the pretty-printer for border_image_width.
pp_border_image_outset is the pretty-printer for border_image_outset.
pp_font_variant_css21 is the pretty-printer for font_variant_css21.
read_font_variant_css21 t is the font_variant_css21 parsed from t.
pp_list_style is the pretty-printer for list_style.
read_list_style t is the list_style shorthand parsed from t.
pp_list_style_shorthand is the pretty-printer for list_style_shorthand.
read_list_style_shorthand t is the list_style_shorthand record parsed from t.
pp_flex_basis pretty-prints a flex-basis value.
read_flex_basis t parses a flex-basis value.
pp_place_content is the pretty-printer for place_content.
read_place_content t is the place_content parsed from t.
pp_place_items is the pretty-printer for place_items.
read_place_items t is the place_items parsed from t.
pp_grid_auto_flow is the pretty-printer for grid_auto_flow.
read_grid_auto_flow t is the grid_auto_flow parsed from t.
pp_grid_template is the pretty-printer for grid_template.
pp_grid_template_areas is the pretty-printer for grid_template_areas.
read_grid_template t is the grid_template parsed from t.
read_grid t is the grid shorthand parsed from t.
pp_grid_line_pair is the pretty-printer for grid_line_pair.
read_grid_line_pair t parses a grid column/row shorthand value: <grid-line> [ / <grid-line> ]?. If no slash is present, the second value defaults to Auto.
read_grid_area t parses a grid-area shorthand value as one to four grid-line values, applying the spec's defaulting rules so the returned record always has all four longhands populated.
pp_grid_area pretty-prints grid_area, picking the shortest 1-/2-/3-/ 4-value spelling that the spec's defaulting rules round-trip to the same record.
pp_aspect_ratio is the pretty-printer for aspect_ratio.
read_aspect_ratio t is the aspect_ratio parsed from t.
pp_font_style is the pretty-printer for font_style.
read_font_style t is the font_style parsed from t.
pp_text_align is the pretty-printer for text_align.
read_text_align t is the text_align parsed from t.
pp_text_decoration is the pretty-printer for text_decoration.
read_text_decoration t is the text_decoration parsed from t.
pp_text_decoration_line pretty-prints a text-decoration-line value.
read_text_decoration_line t parses a text-decoration-line value.
pp_text_decoration_shorthand pretty-prints a text-decoration shorthand value.
read_text_decoration_shorthand t parses a text-decoration shorthand.
pp_text_decoration_style is the pretty-printer for text_decoration_style.
read_text_decoration_style t is the text_decoration_style parsed from t.
pp_text_transform is the pretty-printer for text_transform.
read_text_transform t is the text_transform parsed from t.
pp_text_transform_case pretty-prints a text-transform case keyword.
read_text_transform_case t parses a text-transform case keyword.
pp_text_overflow is the pretty-printer for text_overflow.
read_text_overflow t is the text_overflow parsed from t.
pp_text_wrap_mode is the pretty-printer for text_wrap_mode.
read_text_wrap_mode t is the text_wrap_mode parsed from t.
pp_text_wrap_style is the pretty-printer for text_wrap_style.
read_text_wrap_style t is the text_wrap_style parsed from t.
pp_text_box_trim is the pretty-printer for text_box_trim.
read_text_box_trim t is the text_box_trim parsed from t.
pp_text_underline_position pretty-prints text_underline_position.
read_text_underline_position t parses text-underline-position.
pp_text_box_edge is the pretty-printer for text_box_edge.
read_text_box_edge t parses text-box-edge.
pp_inline_sizing is the pretty-printer for inline_sizing.
read_inline_sizing t parses inline-sizing.
pp_line_fit_edge is the pretty-printer for line_fit_edge.
read_line_fit_edge t parses line-fit-edge.
pp_interpolate_size is the pretty-printer for interpolate_size.
read_interpolate_size t parses interpolate-size.
pp_min_intrinsic_sizing pretty-prints min_intrinsic_sizing.
read_min_intrinsic_sizing t parses min-intrinsic-sizing.
pp_ruby_align is the pretty-printer for ruby_align.
read_ruby_align t parses ruby-align.
pp_ruby_merge is the pretty-printer for ruby_merge.
read_ruby_merge t parses ruby-merge.
pp_ruby_overhang is the pretty-printer for ruby_overhang.
read_ruby_overhang t parses ruby-overhang.
pp_ruby_position is the pretty-printer for ruby_position.
read_ruby_position t parses ruby-position.
pp_glyph_orientation_vertical pretty-prints glyph_orientation_vertical.
read_glyph_orientation_vertical t parses glyph-orientation-vertical.
pp_text_spacing_trim is the pretty-printer for text_spacing_trim.
read_text_spacing_trim t is the text_spacing_trim parsed from t.
pp_hyphenate_limit_chars pretty-prints a hyphenate_limit_chars.
read_hyphenate_limit_chars t parses a hyphenate_limit_chars.
pp_initial_letter pretty-prints an initial_letter.
pp_text_size_adjust pretty-prints a text-size-adjust value.
pp_white_space is the pretty-printer for white_space.
read_white_space t is the white_space parsed from t.
pp_word_break is the pretty-printer for word_break.
read_word_break t is the word_break parsed from t.
pp_overflow_wrap is the pretty-printer for overflow_wrap.
read_overflow_wrap t is the overflow_wrap parsed from t.
pp_list_style_type is the pretty-printer for list_style_type.
read_list_style_type t is the list_style_type parsed from t.
pp_symbols_type pretty-prints a symbols() system type.
read_symbols_type t parses a symbols() system type.
pp_list_style_symbol pretty-prints one symbols() symbol.
read_list_style_symbol t parses one symbols() symbol.
pp_list_style_position is the pretty-printer for list_style_position.
read_list_style_position t is the list_style_position parsed from t.
pp_list_style_image is the pretty-printer for list_style_image.
read_list_style_image t is the list_style_image parsed from t.
pp_table_layout is the pretty-printer for table_layout.
read_table_layout t is the table_layout parsed from t.
pp_vertical_align is the pretty-printer for vertical_align.
read_vertical_align t is the vertical_align parsed from t.
pp_border_collapse is the pretty-printer for border_collapse.
read_border_collapse t is the border_collapse parsed from t.
pp_outline_style is the pretty-printer for outline_style.
read_outline_style t is the outline_style parsed from t.
pp_font_family is the pretty-printer for font_family.
read_font_family t is the font_family parsed from t.
pp_font_shorthand is the pretty-printer for the font_shorthand record.
read_font_shorthand t is the font_shorthand record (the <size>[/<line-height>]? <family>+ body with optional prefixes) parsed from t.
pp_font_src is the pretty-printer for @font-face src values.
read_font_src t is the @font-face src value parsed from t.
pp_font_stretch is the pretty-printer for font_stretch.
read_font_stretch t is the font_stretch parsed from t.
pp_font_display is the pretty-printer for font_display.
read_font_display t is the font_display parsed from t.
pp_unicode_range is the pretty-printer for unicode_range.
read_unicode_range t is the unicode_range parsed from t.
pp_font_variant_numeric_token is the pretty-printer for font_variant_numeric_token.
read_font_variant_numeric_token t is the font_variant_numeric_token parsed from t.
pp_font_variant_numeric is the pretty-printer for font_variant_numeric.
read_font_variant_numeric t is the font_variant_numeric parsed from t.
pp_font_feature_settings is the pretty-printer for font_feature_settings.
read_font_feature_settings t is the font_feature_settings parsed from t.
pp_font_variation_settings is the pretty-printer for font_variation_settings.
read_font_variation_settings t is the font_variation_settings parsed from t.
pp_transforms is the pretty-printer for transform list.
read_transforms t is the transform list parsed from t.
read_transform_origin t is the transform_origin parsed from t.
pp_transform_box is the pretty-printer for transform_box.
read_transform_box t is the transform_box parsed from t.
pp_transform_style is the pretty-printer for transform_style.
read_transform_style t is the transform_style parsed from t.
pp_backface_visibility is the pretty-printer for backface_visibility.
read_backface_visibility t is the backface_visibility parsed from t.
pp_steps_direction is the pretty-printer for steps_direction.
pp_timing_function is the pretty-printer for timing_function.
read_steps_direction t is the steps_direction parsed from t.
read_timing_function t is the timing_function parsed from t.
read_timing_function_list t is a comma-separated list of timing functions; folds to a single value when there is one entry, Timing_functions otherwise.
read_duration_list read_one t is a comma-separated list of durations using read_one; folds to a single value when the list has one entry, Durations otherwise.
pp_transition_property_value is the pretty-printer for transition_property_value.
read_transition_property_value t is the transition_property_value parsed from t.
pp_transition_property is the pretty-printer for transition_property.
read_transition_property t is the transition_property parsed from t.
pp_transition_behavior is the pretty-printer for transition_behavior.
read_transition_behavior t is the transition_behavior parsed from t.
pp_transition_shorthand is the pretty-printer for transition_shorthand.
read_transition_shorthand t is the transition_shorthand parsed from t.
pp_transition is the pretty-printer for transition.
read_transition t is the transition parsed from t.
read_transitions t parses a comma-separated list of transitions.
pp_animation_direction is the pretty-printer for animation_direction.
read_animation_direction t is the animation_direction parsed from t.
pp_animation_fill_mode is the pretty-printer for animation_fill_mode.
read_animation_fill_mode t is the animation_fill_mode parsed from t.
pp_animation_iteration_count is the pretty-printer for animation_iteration_count.
read_animation_iteration_count t is the animation_iteration_count parsed from t.
pp_animation_name is the pretty-printer for animation_name.
read_animation_name t is the animation_name parsed from t.
pp_animation_play_state is the pretty-printer for animation_play_state.
read_animation_play_state t is the animation_play_state parsed from t.
pp_animation_composition_item is the pretty-printer for animation_composition_item.
read_animation_composition_item t is the animation_composition_item parsed from t.
pp_animation_composition is the pretty-printer for animation_composition.
read_animation_composition t is the animation_composition parsed from t.
pp_animation_shorthand is the pretty-printer for animation_shorthand.
read_animation_shorthand t is the animation_shorthand parsed from t.
read_animations t parses a comma-separated list of animations.
pp_blend_mode is the pretty-printer for blend_mode.
read_blend_mode t is the blend_mode parsed from t.
pp_position_value pretty-prints a 2D position. Special case: Center, Center prints as "center".
pp_transform_origin pretty-prints a transform-origin value.
origin x y transform-origin helper for 2D positions.
origin3d x y z transform-origin helper for 3D positions.
pp_text_shadow is the pretty-printer for text_shadow.
read_text_shadow t is the text_shadow parsed from t.
read_text_shadows t parses a comma-separated list of text_shadows.
pp_translate_value is the pretty-printer for translate_value.
read_translate_value t is the translate_value parsed from t.
pp_rotate_value is the pretty-printer for rotate_value.
read_rotate_value t is the rotate_value parsed from t.
pp_shape_image_threshold is the pretty-printer for shape_image_threshold.
read_shape_image_threshold t parses shape_image_threshold.
pp_overflow_clip_margin is the pretty-printer for overflow_clip_margin.
read_overflow_clip_margin t parses overflow_clip_margin.
pp_background_attachment is the pretty-printer for background_attachment.
read_background_attachment t is the background_attachment parsed from t.
pp_background_repeat is the pretty-printer for background_repeat.
read_background_repeat t is the single-layer background_repeat parsed from t (used by the background / mask shorthand).
read_background_repeat_list t parses the standalone background-repeat / mask-repeat longhand: a comma-separated layer list.
pp_background_size is the pretty-printer for background_size.
read_background_size t is the single-layer background_size parsed from t (used by the shorthand).
read_background_size_list t parses the standalone size longhand: a comma-separated layer list.
pp_gradient_direction is the pretty-printer for gradient_direction.
read_gradient_direction t is the gradient_direction parsed from t.
read_gradient_prelude t parses a gradient direction including the optional in <color-interpolation> tail (45deg in oklab), unlike read_gradient_direction which stops before the tail.
pp_color_interpolation pretty-prints a color interpolation space (e.g., "in oklab").
read_color_interpolation t parses a color interpolation space starting with the keyword "in" (e.g., "in oklab").
pp_hue_interpolation_method pretty-prints a hue interpolation method.
read_hue_interpolation_method t parses a trailing hue interpolation method such as "shorter hue", returning None when no method is present.
pp_radial_shape is the pretty-printer for radial_shape.
read_radial_shape t is the radial_shape parsed from t.
pp_radial_size is the pretty-printer for radial_size.
read_radial_size t is the radial_size parsed from t.
pp_radial_gradient_config is the pretty-printer for radial_gradient_config.
read_radial_gradient_config t is the radial_gradient_config parsed from t.
pp_conic_gradient_config pretty-prints a conic-gradient prefix configuration.
read_conic_gradient_config t parses a conic-gradient prefix configuration.
pp_gradient_position pretty-prints a gradient prelude/position value.
read_gradient_position t parses a linear, radial, or conic gradient prelude/position value.
pp_gradient_stop is the pretty-printer for gradient_stop.
read_gradient_stop t is the gradient_stop parsed from t.
read_gradient_stop_list t parses a comma-separated gradient_stop list.
pp_background_image is the pretty-printer for background_image.
read_background_image t is the background_image parsed from t.
read_background_images t parses a comma-separated list of background_images.
minify_background_image img converts named colors in gradient stops to their shortest hex form, matching Lightning CSS behavior.
read_background_box t parses a single-layer background-clip or background-origin value (used by the shorthand).
read_background_box_list t parses the standalone background-clip / background-origin longhand: a comma-separated layer list.
pp_background_box pretty-prints a background-clip or background-origin value.
read_webkit_mask_composite t parses a webkit-mask-composite value.
pp_webkit_mask_composite pretty-prints a webkit-mask-composite value.
read_mask_composite t parses a single-layer standard mask-composite value (used by the shorthand).
read_mask_composite_list t parses the standalone mask-composite longhand: a comma-separated layer list.
pp_mask_composite pretty-prints a standard mask-composite value.
read_webkit_mask_source_type t parses a webkit-mask-source-type value.
pp_webkit_mask_source_type pretty-prints a webkit-mask-source-type value.
read_mask_type t parses a mask-type value (alpha/luminance).
read_mask_box t parses a single-layer mask-clip or mask-origin value (used by the shorthand).
read_mask_box_list t parses the standalone mask-clip / mask-origin longhand: a comma-separated layer list.
read_background_shorthand t parses a background shorthand property.
pp_background_shorthand pretty-prints a background shorthand value.
read_background t parses a background property.
read_backgrounds t parses a comma-separated list of background properties.
pp_background pretty-prints a background value.
pp_border_radius pretty-prints a border-radius shorthand value.
read_border_radius t parses a border-radius shorthand value.
read_gap t parses a gap shorthand property (one or two length values).
pp_interactivity is the pretty-printer for interactivity.
read_interactivity t is the interactivity parsed from t.
pp_caret_animation is the pretty-printer for caret_animation.
read_caret_animation t is the caret_animation parsed from t.
pp_caret_shape is the pretty-printer for caret_shape.
read_caret_shape t is the caret_shape parsed from t.
pp_interest_delay is the pretty-printer for interest_delay.
read_interest_delay t is the interest_delay parsed from t.
pp_nav_scope is the pretty-printer for nav_scope.
read_nav_scope t is the nav_scope parsed from t.
pp_nav is the pretty-printer for nav.
read_nav t is the nav parsed from t.
pp_user_select is the pretty-printer for user_select.
read_user_select t is the user_select parsed from t.
pp_pointer_events is the pretty-printer for pointer_events.
read_pointer_events t is the pointer_events parsed from t.
pp_touch_action is the pretty-printer for touch_action.
read_touch_action t is the touch_action parsed from t.
pp_box_sizing is the pretty-printer for box_sizing.
read_box_sizing t is the box_sizing parsed from t.
pp_field_sizing is the pretty-printer for field_sizing.
read_field_sizing t is the field_sizing parsed from t.
pp_caption_side is the pretty-printer for caption_side.
read_caption_side t is the caption_side parsed from t.
pp_object_fit is the pretty-printer for object_fit.
read_object_fit t is the object_fit parsed from t.
pp_object_view_box is the pretty-printer for object_view_box.
read_object_view_box t is the object_view_box parsed from t.
read_position_value t is the position_value parsed from t.
pp_background_position is the pretty-printer for background_position.
read_background_position t is the background_position parsed from t.
pp_counter_set is the pretty-printer for counter_set.
read_counter_set t is the counter_set parsed from t.
pp_content_visibility is the pretty-printer for content_visibility.
read_content_visibility t is the content_visibility parsed from t.
pp_container_type is the pretty-printer for container_type.
read_container_type t is the container_type parsed from t.
pp_container_name is the pretty-printer for container_name.
read_container_name t is the container_name parsed from t.
pp_anchor_name is the pretty-printer for anchor_name.
read_anchor_name t is the anchor_name parsed from t.
pp_position_anchor is the pretty-printer for position_anchor.
read_position_anchor t is the position_anchor parsed from t.
pp_overflow_anchor is the pretty-printer for overflow_anchor.
read_overflow_anchor t is the overflow_anchor parsed from t.
pp_scrollbar_width is the pretty-printer for scrollbar_width.
read_scrollbar_width t is the scrollbar_width parsed from t.
pp_scrollbar_color is the pretty-printer for scrollbar_color.
read_scrollbar_color t is the scrollbar_color parsed from t.
pp_scrollbar_gutter is the pretty-printer for scrollbar_gutter.
read_scrollbar_gutter t is the scrollbar_gutter parsed from t.
pp_font_palette is the pretty-printer for font_palette.
read_font_palette t is the font_palette parsed from t.
pp_font_synthesis is the pretty-printer for font_synthesis.
read_font_synthesis t is the font_synthesis parsed from t.
pp_animation_timeline is the pretty-printer for animation_timeline.
read_animation_timeline t is the animation_timeline parsed from t.
pp_animation_range is the pretty-printer for animation_range.
pp_view_transition_name is the pretty-printer for view_transition_name.
read_view_transition_name t is the view_transition_name parsed from t.
pp_view_transition_class is the pretty-printer for view_transition_class.
read_view_transition_class t parses view_transition_class.
pp_image_orientation is the pretty-printer for image_orientation.
read_image_orientation t is the image_orientation parsed from t.
pp_image_rendering is the pretty-printer for image_rendering.
read_image_rendering t is the image_rendering parsed from t.
pp_resolution is the pretty-printer for resolution.
read_resolution t is the resolution parsed from t.
pp_image_resolution is the pretty-printer for image_resolution.
read_image_resolution t is the image_resolution parsed from t.
pp_contain_intrinsic_size is the pretty-printer for contain_intrinsic_size.
read_contain_intrinsic_size t is the contain_intrinsic_size parsed from t.
pp_contain_intrinsic_longhand is the pretty-printer for contain_intrinsic_longhand.
read_contain_intrinsic_longhand t parses a contain-intrinsic-* longhand value.
pp_container_shorthand is the pretty-printer for container_shorthand.
read_container_shorthand t is the container_shorthand parsed from t.
pp_break_value is the pretty-printer for break_value.
read_break_value t is the break value parsed from t.
pp_break_inside_value is the pretty-printer for break_inside_value.
read_break_inside_value t is the break-inside value parsed from t.
pp_page_break_value is the printer for legacy page-break-*.
read_page_break_value t is the legacy page-break-before / -after value parsed from t.
pp_page_break_inside_value is the printer for legacy page-break-inside.
read_page_break_inside_value t is the legacy page-break-inside value parsed from t.
pp_columns_value is the pretty-printer for columns_value.
read_columns_value t is the columns_value parsed from t.
read_column_width t is the column_width parsed from t.
read_column_count t is the column_count parsed from t.
pp_logical_border_color is the pretty-printer for logical_border_color.
read_logical_border_color t is the logical_border_color parsed from t.
pp_column_span is the pretty-printer for column_span.
read_column_span t is the column_span parsed from t.
pp_text_emphasis is the pretty-printer for text_emphasis.
read_text_emphasis t is the text_emphasis parsed from t.
pp_text_emphasis_style is the pretty-printer for text_emphasis_style.
read_text_emphasis_style t is the text_emphasis_style parsed from t.
pp_text_decoration_skip is the pretty-printer for text_decoration_skip.
read_text_decoration_skip t is the text_decoration_skip parsed from t.
pp_text_decoration_skip_self is the pretty-printer for text_decoration_skip_self.
read_text_decoration_skip_self t is the text_decoration_skip_self parsed from t.
pp_text_decoration_skip_box is the pretty-printer for text_decoration_skip_box.
read_text_decoration_skip_box t is the text_decoration_skip_box parsed from t.
pp_text_decoration_skip_inset is the pretty-printer for text_decoration_skip_inset.
read_text_decoration_skip_inset t is the text_decoration_skip_inset parsed from t.
pp_text_decoration_skip_space is the pretty-printer for text_decoration_skip_space.
read_text_decoration_skip_space t is the text_decoration_skip_space parsed from t.
pp_text_decoration_skip_spaces is the pretty-printer for text_decoration_skip_spaces.
read_text_decoration_skip_spaces t is the text_decoration_skip_spaces parsed from t.
pp_text_emphasis_position is the pretty-printer for text_emphasis_position.
read_text_emphasis_position t is the text_emphasis_position parsed from t.
pp_text_indent_value is the pretty-printer for text_indent_value.
read_text_indent_value t is the text_indent_value parsed from t.
pp_text_emphasis_skip_keyword is the pretty-printer for text_emphasis_skip_keyword.
read_text_emphasis_skip_keyword t is the text_emphasis_skip_keyword parsed from t.
pp_text_emphasis_skip is the pretty-printer for text_emphasis_skip.
read_text_emphasis_skip t is the text_emphasis_skip parsed from t.
pp_text_orientation is the pretty-printer for text_orientation.
read_text_orientation t is the text_orientation parsed from t.
pp_line_break is the pretty-printer for line_break.
read_line_break t is the line_break parsed from t.
pp_font_optical_sizing is the pretty-printer for font_optical_sizing.
read_font_optical_sizing t is the font_optical_sizing parsed from t.
pp_font_kerning is the pretty-printer for font_kerning.
read_font_kerning t is the font_kerning parsed from t.
pp_font_language_override is the pretty-printer for font_language_override.
read_font_language_override t is the font_language_override parsed from t.
pp_font_synthesis_style is the pretty-printer for font_synthesis_style.
read_font_synthesis_style t is the font_synthesis_style parsed from t.
pp_font_synthesis_weight is the pretty-printer for font_synthesis_weight.
read_font_synthesis_weight t is the font_synthesis_weight parsed from t.
pp_font_synthesis_small_caps is the pretty-printer for font_synthesis_small_caps.
read_font_synthesis_small_caps t is the font_synthesis_small_caps parsed from t.
pp_font_synthesis_position is the pretty-printer for font_synthesis_position.
read_font_synthesis_position t is the font_synthesis_position parsed from t.
pp_font_variant_ligature is the pretty-printer for font_variant_ligature.
read_font_variant_ligature t is the font_variant_ligature parsed from t.
pp_font_variant_ligatures is the pretty-printer for font_variant_ligatures.
read_font_variant_ligatures t is the font_variant_ligatures parsed from t.
pp_font_variant_caps is the pretty-printer for font_variant_caps.
read_font_variant_caps t is the font_variant_caps parsed from t.
pp_font_variant_position is the pretty-printer for font_variant_position.
read_font_variant_position t is the font_variant_position parsed from t.
pp_east_asian_feature is the pretty-printer for east_asian_feature.
read_east_asian_feature t is the east_asian_feature parsed from t.
pp_font_variant_east_asian is the pretty-printer for font_variant_east_asian.
read_font_variant_east_asian t is the font_variant_east_asian parsed from t.
pp_scroll_behavior is the pretty-printer for scroll_behavior.
read_scroll_behavior t is the scroll_behavior parsed from t.
pp_scroll_snap_align is the pretty-printer for scroll_snap_align.
read_scroll_snap_align t is the scroll_snap_align parsed from t.
pp_scroll_snap_stop is the pretty-printer for scroll_snap_stop.
read_scroll_snap_stop t is the scroll_snap_stop parsed from t.
pp_scroll_snap_strictness is the pretty-printer for scroll_snap_strictness.
read_scroll_snap_strictness t is the scroll_snap_strictness parsed from t.
pp_scroll_snap_axis is the pretty-printer for scroll_snap_axis.
read_scroll_snap_axis t is the scroll_snap_axis parsed from t.
pp_scroll_snap_type is the pretty-printer for scroll_snap_type.
read_scroll_snap_type t is the scroll_snap_type parsed from t.
pp_overscroll_behavior is the pretty-printer for overscroll_behavior.
read_overscroll_behavior t is the overscroll_behavior parsed from t.
pp_unicode_bidi is the pretty-printer for unicode_bidi.
read_unicode_bidi t is the unicode_bidi parsed from t.
pp_writing_mode is the pretty-printer for writing_mode.
read_writing_mode t is the writing_mode parsed from t.
pp_text_combine_upright is the pretty-printer for text_combine_upright.
read_text_combine_upright t is the text_combine_upright parsed from t.
pp_webkit_appearance is the pretty-printer for webkit_appearance.
read_webkit_appearance t is the webkit_appearance parsed from t.
pp_webkit_font_smoothing is the pretty-printer for webkit_font_smoothing.
read_webkit_font_smoothing t is the webkit_font_smoothing parsed from t.
pp_moz_osx_font_smoothing is the pretty-printer for moz_osx_font_smoothing.
read_moz_osx_font_smoothing t is the moz_osx_font_smoothing parsed from t.
pp_webkit_box_orient is the pretty-printer for webkit_box_orient.
read_webkit_box_orient t is the webkit_box_orient parsed from t.
pp_moz_orient is the pretty-printer for moz_orient.
read_moz_orient t is the moz_orient parsed from t.
pp_webkit_line_clamp is the pretty-printer for webkit_line_clamp.
read_webkit_line_clamp t is the webkit_line_clamp parsed from t.
read_text_size_adjust t is the text size adjust value parsed from t.
pp_forced_color_adjust is the pretty-printer for forced_color_adjust.
read_forced_color_adjust t is the forced_color_adjust parsed from t.
pp_appearance is the pretty-printer for appearance.
read_appearance t is the appearance parsed from t.
pp_color_scheme is the pretty-printer for color_scheme.
read_color_scheme t is the color_scheme parsed from t.
pp_print_color_adjust is the pretty-printer for print_color_adjust.
read_print_color_adjust t is the print_color_adjust parsed from t.
pp_box_decoration_break is the pretty-printer for box_decoration_break.
read_box_decoration_break t is the box_decoration_break parsed from t.
pp_float_side is the pretty-printer for float_side.
read_float_side t is the float_side parsed from t.
pp_text_decoration_skip_ink is the pretty-printer for text_decoration_skip_ink.
read_text_decoration_skip_ink t is the text_decoration_skip_ink parsed from t.
pp_will_change is the pretty-printer for will_change.
read_will_change t is the will_change parsed from t.
pp_clip_geometry_box pretty-prints a clip geometry box.
read_clip_geometry_box t parses a clip geometry box.
pp_clip_path_extent pretty-prints a clip path extent.
read_clip_path_extent t parses a clip path extent.
pp_clip_path_fill_rule pretty-prints a clip path fill rule.
read_clip_path_fill_rule t parses a clip path fill rule.
pp_perspective_origin is the pretty-printer for perspective_origin.
read_perspective_origin t is the perspective_origin parsed from t.
pp_outline_shorthand is the pretty-printer for outline_shorthand.
read_outline_shorthand t is the outline_shorthand parsed from t.
Helper functions for property types
val shadow :
?inset:bool ->
?inset_var:string ->
?inset_var_no_fallback:bool ->
?h_offset:Values.length ->
?v_offset:Values.length ->
?blur:Values.length ->
?spread:Values.length ->
?color:Values.color ->
unit ->
shadowshadow ?inset ?inset_var ?inset_var_no_fallback ?h_offset ?v_offset ?blur ?spread ?color () is a shadow value. When inset_var is set, outputs var(--<name>,) (empty fallback) or var(--<name>) (when inset_var_no_fallback is true). Defaults: inset=false, h_offset=0px, v_offset=0px, blur=0px, spread=0px, color=Rgb(0,0,0).
val inset_ring_shadow :
?h_offset:Values.length ->
?v_offset:Values.length ->
?blur:Values.length ->
?spread:Values.length ->
?color:Values.color ->
unit ->
shadowinset_ring_shadow ~h_offset ~v_offset ~blur ~spread ~color is an inset shadow with the given parameters.
Generic property handling
pp_any_property pretty-prints any CSS property.
read_any_property t parses any CSS property.
property_value_kind property classifies property value shapes that have a shared typed evaluator.