package cascade

  1. Overview
  2. Docs
CSS generation and manipulation library for OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

cascade-1.0.0.tbz
sha256=c11bbdc7ab0eee8c03cd162e3e7fd1cb20de62beb13342b3b150a89264ee0056
sha512=43fd97a55c3b1dc4db5c87aa1a5a047d902e902ab2064af3a7c5bf945ebc333f8cd90ecca8013c17be5b950498eace8e0094ee4319eba408285e2bec8d7cdf7b

doc/cascade/Cascade/Properties/index.html

Module Cascade.PropertiesSource

CSS properties: types and helpers.

include module type of Properties_intf
Sourcetype border_style =
  1. | None
  2. | Solid
  3. | Dashed
  4. | Dotted
  5. | Double
  6. | Groove
  7. | Ridge
  8. | Inset
  9. | Outset
  10. | Hidden
  11. | Inherit
  12. | Initial
  13. | Unset
  14. | Revert
  15. | Revert_layer
  16. | Var of border_style Values.var
Sourcetype line_height =
  1. | Normal
  2. | Px of float
  3. | Rem of float
  4. | Em of float
  5. | Pct of float
  6. | Num of float
  7. | Number of {
    1. value : float;
    2. unit : string option;
    3. repr : string;
    }
  8. | Inherit
  9. | Initial
  10. | Unset
  11. | Revert
  12. | Revert_layer
  13. | Calc of line_height Values.calc
  14. | Var of line_height Values.var
Sourcetype font_weight =
  1. | Weight of int
  2. | Normal
  3. | Bold
  4. | Bolder
  5. | Lighter
  6. | Inherit
  7. | Initial
  8. | Unset
  9. | Revert
  10. | Revert_layer
  11. | Var of font_weight Values.var
Sourcetype display =
  1. | Block
  2. | Inline
  3. | Inline_block
  4. | Flex
  5. | Inline_flex
  6. | Grid
  7. | Inline_grid
  8. | None
  9. | Flow_root
  10. | Table
  11. | Table_row
  12. | Table_cell
  13. | Table_caption
  14. | Table_column
  15. | Table_column_group
  16. | Table_header_group
  17. | Table_row_group
  18. | Inline_table
  19. | List_item
  20. | Contents
  21. | Run_in
  22. | Ruby
  23. | Ruby_base
  24. | Ruby_text
  25. | Ruby_base_container
  26. | Ruby_text_container
  27. | Math
  28. | Webkit_flex
  29. | Webkit_inline_flex
  30. | Ms_flexbox
  31. | Webkit_box
  32. | Moz_box
  33. | Moz_inline_box
  34. | Inherit
  35. | Initial
  36. | Unset
  37. | Revert
  38. | Revert_layer
  39. | Multi of display * display
    (*

    Two-value <display-outside> <display-inside> syntax per CSS Display 3 §2.1, e.g. inline flow-root or list-item flow-root.

    *)
  40. | Var of display Values.var
Sourcetype position =
  1. | Static
  2. | Relative
  3. | Absolute
  4. | Fixed
  5. | Sticky
  6. | Webkit_sticky
  7. | Initial
  8. | Inherit
  9. | Unset
  10. | Revert
  11. | Revert_layer
  12. | Var of position Values.var
Sourcetype visibility =
  1. | Visible
  2. | Hidden
  3. | Collapse
  4. | Inherit
  5. | Initial
  6. | Unset
  7. | Revert
  8. | Revert_layer
  9. | Var of visibility Values.var
Sourcetype baseline_source =
  1. | Auto
  2. | First
  3. | Last
  4. | Inherit
  5. | Initial
  6. | Unset
  7. | Revert
  8. | Revert_layer
  9. | Var of baseline_source Values.var
Sourcetype alignment_baseline =
  1. | Baseline
  2. | Text_bottom
  3. | Middle
  4. | Central
  5. | Text_top
  6. | Ideographic
  7. | Alphabetic
  8. | Hanging
  9. | Mathematical
  10. | Inherit
  11. | Initial
  12. | Unset
  13. | Revert
  14. | Revert_layer
  15. | Var of alignment_baseline Values.var
Sourcetype baseline_shift =
  1. | Shift of Values.length_percentage
  2. | Sub
  3. | Super
  4. | Top
  5. | Center
  6. | Bottom
  7. | Inherit
  8. | Initial
  9. | Unset
  10. | Revert
  11. | Revert_layer
  12. | Var of baseline_shift Values.var
Sourcetype z_index =
  1. | Auto
  2. | Index of int
  3. | Calc of z_index Values.calc
  4. | Inherit
  5. | Initial
  6. | Unset
  7. | Revert
  8. | Revert_layer
  9. | Var of z_index Values.var
Sourcetype opacity =
  1. | Opacity_number of float
  2. | Calc of opacity Values.calc
  3. | Abs of opacity
    (*

    abs(<opacity>)

    *)
  4. | Sign of opacity
    (*

    sign(<opacity>)

    *)
  5. | Inherit
  6. | Initial
  7. | Unset
  8. | Revert
  9. | Revert_layer
  10. | Var of opacity Values.var
Sourcetype shape_image_threshold =
  1. | Number of float
  2. | Inherit
  3. | Initial
  4. | Unset
  5. | Revert
  6. | Revert_layer
  7. | Var of shape_image_threshold Values.var
Sourcetype tab_size =
  1. | Int of int
  2. | Length of Values.length
  3. | Initial
  4. | Inherit
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of tab_size Values.var
Sourcetype zoom =
  1. | Normal
  2. | Reset
  3. | Num of float
  4. | Pct of float
  5. | Initial
  6. | Inherit
  7. | Unset
  8. | Revert
  9. | Revert_layer
  10. | Var of zoom Values.var
Sourcetype order =
  1. | Int of int
  2. | Calc of order Values.calc
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of order Values.var
Sourcetype overflow =
  1. | Visible
  2. | Hidden
  3. | Scroll
  4. | Auto
  5. | Clip
  6. | Initial
  7. | Inherit
  8. | Unset
  9. | Revert
  10. | Revert_layer
  11. | Overflow_pair of overflow * overflow
  12. | Var of overflow Values.var
Sourcetype border_spacing =
  1. | Lengths of Values.length list
  2. | Var of border_spacing Values.var
Sourcetype overflow_clip_box =
  1. | Content_box
  2. | Padding_box
  3. | Border_box
Sourcetype overflow_clip_margin =
  1. | Clip_margin of overflow_clip_box option * Values.length option
  2. | Initial
  3. | Inherit
  4. | Unset
  5. | Revert
  6. | Revert_layer
  7. | Var of overflow_clip_margin Values.var
Sourcetype flex_direction =
  1. | Row
  2. | Row_reverse
  3. | Column
  4. | Column_reverse
  5. | Inherit
  6. | Initial
  7. | Unset
  8. | Revert
  9. | Revert_layer
  10. | Var of flex_direction Values.var
Sourcetype flex_wrap =
  1. | Nowrap
  2. | Wrap
  3. | Wrap_reverse
  4. | Inherit
  5. | Initial
  6. | Unset
  7. | Revert
  8. | Revert_layer
  9. | Var of flex_wrap Values.var
Sourcetype flex_flow =
  1. | Flow of flex_direction option * flex_wrap option
  2. | Inherit
  3. | Initial
  4. | Unset
  5. | Revert
  6. | Revert_layer
  7. | Var of flex_flow Values.var
Sourcetype flex_factor =
  1. | Number of float
  2. | Inherit
  3. | Initial
  4. | Unset
  5. | Revert
  6. | Revert_layer
  7. | Calc of flex_factor Values.calc
  8. | Var of flex_factor Values.var
Sourcetype align_content =
  1. | Normal
  2. | Baseline
  3. | First_baseline
  4. | Last_baseline
  5. | Center
  6. | Start
  7. | End
  8. | Flex_start
  9. | Flex_end
  10. | Left
  11. | Right
  12. | Safe_center
  13. | Safe_start
  14. | Safe_end
  15. | Safe_flex_start
  16. | Safe_flex_end
  17. | Safe_left
  18. | Safe_right
  19. | Unsafe_center
  20. | Unsafe_start
  21. | Unsafe_end
  22. | Unsafe_flex_start
  23. | Unsafe_flex_end
  24. | Unsafe_left
  25. | Unsafe_right
  26. | Space_between
  27. | Space_around
  28. | Space_evenly
  29. | Stretch
  30. | Inherit
  31. | Initial
  32. | Unset
  33. | Revert
  34. | Revert_layer
  35. | Var of align_content Values.var
Sourcetype align_items =
  1. | Normal
  2. | Stretch
  3. | Baseline
  4. | First_baseline
  5. | Last_baseline
  6. | Center
  7. | Start
  8. | End
  9. | Self_start
  10. | Self_end
  11. | Flex_start
  12. | Flex_end
  13. | Safe_center
  14. | Safe_start
  15. | Safe_end
  16. | Safe_flex_start
  17. | Safe_flex_end
  18. | Unsafe_center
  19. | Unsafe_start
  20. | Unsafe_end
  21. | Unsafe_self_start
  22. | Unsafe_self_end
  23. | Unsafe_flex_start
  24. | Unsafe_flex_end
  25. | Anchor_center
  26. | Inherit
  27. | Initial
  28. | Unset
  29. | Revert
  30. | Revert_layer
  31. | Var of align_items Values.var
Sourcetype align_self =
  1. | Auto
  2. | Normal
  3. | Stretch
  4. | Baseline
  5. | First_baseline
  6. | Last_baseline
  7. | Center
  8. | Start
  9. | End
  10. | Self_start
  11. | Self_end
  12. | Flex_start
  13. | Flex_end
  14. | Safe_center
  15. | Safe_start
  16. | Safe_end
  17. | Safe_flex_start
  18. | Safe_flex_end
  19. | Unsafe_center
  20. | Unsafe_start
  21. | Unsafe_end
  22. | Unsafe_self_start
  23. | Unsafe_self_end
  24. | Unsafe_flex_start
  25. | Unsafe_flex_end
  26. | Inherit
  27. | Initial
  28. | Unset
  29. | Revert
  30. | Revert_layer
  31. | Var of align_self Values.var
Sourcetype justify_content =
  1. | Normal
  2. | Center
  3. | Start
  4. | End
  5. | Flex_start
  6. | Flex_end
  7. | Left
  8. | Right
  9. | Safe_center
  10. | Safe_start
  11. | Safe_end
  12. | Safe_flex_start
  13. | Safe_flex_end
  14. | Unsafe_center
  15. | Unsafe_start
  16. | Unsafe_end
  17. | Unsafe_flex_start
  18. | Unsafe_flex_end
  19. | Unsafe_left
  20. | Unsafe_right
  21. | Space_between
  22. | Space_around
  23. | Space_evenly
  24. | Stretch
  25. | Inherit
  26. | Initial
  27. | Unset
  28. | Revert
  29. | Revert_layer
  30. | Var of justify_content Values.var
Sourcetype justify_items =
  1. | Normal
  2. | Stretch
  3. | Baseline
  4. | First_baseline
  5. | Last_baseline
  6. | Center
  7. | Start
  8. | End
  9. | Self_start
  10. | Self_end
  11. | Flex_start
  12. | Flex_end
  13. | Left
  14. | Right
  15. | Safe_center
  16. | Safe_start
  17. | Safe_end
  18. | Safe_self_start
  19. | Safe_self_end
  20. | Safe_flex_start
  21. | Safe_flex_end
  22. | Safe_left
  23. | Safe_right
  24. | Unsafe_center
  25. | Unsafe_start
  26. | Unsafe_end
  27. | Unsafe_self_start
  28. | Unsafe_self_end
  29. | Unsafe_flex_start
  30. | Unsafe_flex_end
  31. | Unsafe_left
  32. | Unsafe_right
  33. | Anchor_center
  34. | Legacy
  35. | Legacy_center
  36. | Legacy_left
  37. | Legacy_right
  38. | Inherit
  39. | Initial
  40. | Unset
  41. | Revert
  42. | Revert_layer
  43. | Var of justify_items Values.var
Sourcetype justify_self =
  1. | Auto
  2. | Normal
  3. | Stretch
  4. | Baseline
  5. | First_baseline
  6. | Last_baseline
  7. | Center
  8. | Start
  9. | End
  10. | Self_start
  11. | Self_end
  12. | Flex_start
  13. | Flex_end
  14. | Left
  15. | Right
  16. | Safe_center
  17. | Safe_start
  18. | Safe_end
  19. | Safe_self_start
  20. | Safe_self_end
  21. | Safe_flex_start
  22. | Safe_flex_end
  23. | Safe_left
  24. | Safe_right
  25. | Unsafe_center
  26. | Unsafe_start
  27. | Unsafe_end
  28. | Unsafe_self_start
  29. | Unsafe_self_end
  30. | Unsafe_flex_start
  31. | Unsafe_flex_end
  32. | Unsafe_left
  33. | Unsafe_right
  34. | Anchor_center
  35. | Inherit
  36. | Initial
  37. | Unset
  38. | Revert
  39. | Revert_layer
  40. | Var of justify_self Values.var
Sourcetype flex_basis =
  1. | Auto
  2. | Content
  3. | Px of float
  4. | Cm of float
  5. | Mm of float
  6. | Q of float
  7. | In of float
  8. | Pt of float
  9. | Pc of float
  10. | Rem of float
  11. | Em of float
  12. | Ex of float
  13. | Cap of float
  14. | Ic of float
  15. | Ric of float
  16. | Rlh of float
  17. | Pct of float
  18. | Vw of float
  19. | Vh of float
  20. | Vmin of float
  21. | Vmax of float
  22. | Vi of float
  23. | Vb of float
  24. | Dvh of float
  25. | Dvw of float
  26. | Dvmin of float
  27. | Dvmax of float
  28. | Lvh of float
  29. | Lvw of float
  30. | Lvmin of float
  31. | Lvmax of float
  32. | Svh of float
  33. | Svw of float
  34. | Svmin of float
  35. | Svmax of float
  36. | Ch of float
  37. | Lh of float
  38. | Num of float
  39. | Zero
  40. | Inherit
  41. | Initial
  42. | Unset
  43. | Revert
  44. | Revert_layer
  45. | Fit_content
  46. | Fit_content_arg of Values.length
  47. | Max_content
  48. | Min_content
  49. | From_font
  50. | Clamp of Values.length * Values.length * Values.length
  51. | Min of Values.length list
  52. | Max of Values.length list
  53. | Round of string * Values.length * Values.length
  54. | Mod of Values.length * Values.length
  55. | Rem_fn of Values.length * Values.length
  56. | Hypot of Values.length list
  57. | Abs of Values.length
  58. | Calc of flex_basis Values.calc
  59. | Var of flex_basis Values.var
Sourcetype border_width =
  1. | Thin
  2. | Medium
  3. | Thick
  4. | Px of float
  5. | Cm of float
  6. | Mm of float
  7. | Q of float
  8. | In of float
  9. | Pt of float
  10. | Pc of float
  11. | Rem of float
  12. | Em of float
  13. | Ex of float
  14. | Cap of float
  15. | Ic of float
  16. | Ric of float
  17. | Rlh of float
  18. | Ch of float
  19. | Lh of float
  20. | Vh of float
  21. | Vw of float
  22. | Vmin of float
  23. | Vmax of float
  24. | Pct of float
  25. | Zero
  26. | Auto
  27. | Max_content
  28. | Min_content
  29. | Fit_content
  30. | From_font
  31. | Calc of border_width Values.calc
  32. | Min of border_width Values.calc list
  33. | Max of border_width Values.calc list
  34. | Clamp of border_width Values.calc * border_width Values.calc * border_width Values.calc
  35. | Inherit
  36. | Initial
  37. | Unset
  38. | Revert
  39. | Revert_layer
  40. | Var of border_width Values.var
Sourcetype flex =
  1. | Initial
  2. | Inherit
  3. | Unset
  4. | Revert
  5. | Revert_layer
  6. | Auto
  7. | None
  8. | Grow of flex_factor
  9. | Basis of flex_basis
  10. | Grow_shrink of flex_factor * flex_factor
  11. | Full of flex_factor * flex_factor * flex_basis
  12. | Var of flex Values.var
Sourcetype font_size =
  1. | Length of Values.length
  2. | Pct of float
  3. | Calc of font_size Values.calc
  4. | Xx_small
  5. | X_small
  6. | Small
  7. | Medium
  8. | Large
  9. | X_large
  10. | Xx_large
  11. | Xxx_large
  12. | Larger
  13. | Smaller
  14. | Math
  15. | Inherit
  16. | Initial
  17. | Unset
  18. | Revert
  19. | Revert_layer
  20. | Var of font_size Values.var
Sourcetype place_content =
  1. | Normal
  2. | Start
  3. | End
  4. | Center
  5. | Stretch
  6. | Space_between
  7. | Space_around
  8. | Space_evenly
  9. | Safe_center
  10. | Safe_start
  11. | Safe_end
  12. | Safe_stretch
  13. | Unsafe_center
  14. | Unsafe_start
  15. | Unsafe_end
  16. | Unsafe_stretch
  17. | Align_justify of align_content * justify_content
  18. | Inherit
  19. | Initial
  20. | Unset
  21. | Revert
  22. | Revert_layer
  23. | Var of place_content Values.var
Sourcetype place_items =
  1. | Normal
  2. | Start
  3. | End
  4. | Center
  5. | Stretch
  6. | Baseline
  7. | Start_safe
  8. | End_safe
  9. | Center_safe
  10. | Stretch_stretch
    (*

    Explicit stretch on both axes

    *)
  11. | Align_justify of align_items * justify_items
  12. | Inherit
  13. | Initial
  14. | Unset
  15. | Revert
  16. | Revert_layer
  17. | Var of place_items Values.var
Sourcetype grid_auto_flow =
  1. | Row
  2. | Column
  3. | Dense
  4. | Row_dense
  5. | Column_dense
  6. | Inherit
  7. | Initial
  8. | Unset
  9. | Revert
  10. | Revert_layer
  11. | Var of grid_auto_flow Values.var
Sourcetype repeat_count =
  1. | Count of int
  2. | Auto_fill
  3. | Auto_fit
  4. | Var of repeat_count 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.

Sourcetype grid_template =
  1. | None
  2. | Px of float
  3. | Rem of float
  4. | Em of float
  5. | Pct of float
  6. | Vw of float
  7. | Vh of float
  8. | Vmin of float
  9. | Vmax of float
  10. | Zero
  11. | Length of Values.length
    (*

    A track sized by a general <length-percentage> that the unit- specific cases above do not carry: a calc(), a var() inside a calc(), or a less common unit (e.g. cm, ch).

    *)
  12. | Fr of float
  13. | Auto
  14. | Min_content
  15. | Max_content
  16. | Inherit
  17. | Initial
  18. | Unset
  19. | Revert
  20. | Revert_layer
  21. | Min_max of grid_template * grid_template
  22. | Fit_content of Values.length
  23. | Repeat of repeat_count * grid_template list
  24. | Tracks of grid_template list
  25. | Split of grid_template * grid_template
  26. | Auto_flow_columns of grid_template * grid_auto_flow * grid_template option
    (*

    <grid-template-rows> / auto-flow [dense]? <grid-auto-columns>?.

    *)
  27. | Auto_flow_rows of grid_auto_flow * grid_template option * grid_template
    (*

    auto-flow [dense]? <grid-auto-rows>? / <grid-template-columns>.

    *)
  28. | Named_tracks of (string option * grid_template) list
  29. | 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.

    *)
  30. | Template of string
  31. | Subgrid
  32. | Masonry
  33. | Var of grid_template Values.var
Sourcetype grid_template_areas =
  1. | No_areas
  2. | Areas of string
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of grid_template_areas Values.var
Sourcetype grid_line =
  1. | Auto
  2. | Num of int
  3. | Name of string
  4. | Num_name of int * string
  5. | Span of int
  6. | Span_name of string
  7. | Span_num_name of int * string
  8. | Calc of grid_line Values.calc
  9. | Var of grid_line Values.var
Sourcetype grid_line_pair =
  1. | Lines of grid_line * grid_line
  2. | Var of grid_line_pair Values.var
Sourcetype grid_area =
  1. | Lines of {
    1. row_start : grid_line;
    2. column_start : grid_line;
    3. row_end : grid_line;
    4. column_end : grid_line;
    }
  2. | Var of grid_area Values.var
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
Sourcetype aspect_ratio =
  1. | Auto
  2. | Auto_ratio of float * float
  3. | Ratio of float * float
  4. | Auto_ratio_calc of Values.number * Values.number
  5. | Ratio_calc of Values.number * Values.number
  6. | Inherit
  7. | Initial
  8. | Unset
  9. | Revert
  10. | Revert_layer
  11. | Var of aspect_ratio Values.var
Sourcetype font_style =
  1. | Normal
  2. | Italic
  3. | Oblique
  4. | Oblique_angle of Values.angle
  5. | Oblique_range of Values.angle * Values.angle
  6. | Inherit
  7. | Initial
  8. | Unset
  9. | Revert
  10. | Revert_layer
  11. | Var of font_style Values.var
Sourcetype text_align =
  1. | Left
  2. | Right
  3. | Center
  4. | Justify
  5. | Start
  6. | End
  7. | Match_parent
  8. | Webkit_match_parent
  9. | Inherit
  10. | Initial
  11. | Unset
  12. | Revert
  13. | Revert_layer
  14. | Var of text_align Values.var
Sourcetype text_decoration_line =
  1. | None
  2. | Underline
  3. | Overline
  4. | Line_through
  5. | Spelling_error
    (*

    CSS Text Decoration 4 §2.1 spelling-error: lets authors style the UA's spelling-error mark via text-decoration.

    *)
  6. | Grammar_error
    (*

    CSS Text Decoration 4 §2.1 grammar-error: parallel to spelling-error.

    *)
  7. | Inherit
  8. | Initial
  9. | Unset
  10. | Revert
  11. | Revert_layer
  12. | Var of text_decoration_line Values.var
Sourcetype text_decoration_style =
  1. | Solid
  2. | Double
  3. | Dotted
  4. | Dashed
  5. | Wavy
  6. | Inherit
  7. | Initial
  8. | Unset
  9. | Revert
  10. | Revert_layer
  11. | Var of text_decoration_style Values.var
Sourcetype text_decoration_shorthand = {
  1. lines : text_decoration_line list;
  2. style : text_decoration_style option;
  3. color : Values.color option;
  4. thickness : Values.length option;
}
Sourcetype text_decoration =
  1. | None
  2. | Shorthand of text_decoration_shorthand
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of text_decoration Values.var
Sourcetype text_decoration_skip =
  1. | None
  2. | Auto
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of text_decoration_skip Values.var
Sourcetype text_decoration_skip_self =
  1. | None
  2. | Objects
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of text_decoration_skip_self Values.var
Sourcetype text_decoration_skip_box =
  1. | All
  2. | None
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of text_decoration_skip_box Values.var
Sourcetype text_decoration_skip_inset =
  1. | None
  2. | Auto
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of text_decoration_skip_inset Values.var
Sourcetype text_decoration_skip_space =
  1. | All
  2. | Start
  3. | End
Sourcetype text_decoration_skip_spaces =
  1. | Spaces of text_decoration_skip_space list
  2. | Inherit
  3. | Initial
  4. | Unset
  5. | Revert
  6. | Revert_layer
  7. | Var of text_decoration_skip_spaces Values.var
Sourcetype text_emphasis_fill =
  1. | Filled
  2. | Open
Sourcetype text_emphasis_shape =
  1. | Dot
  2. | Circle
  3. | Double_circle
  4. | Triangle
  5. | Sesame
Sourcetype text_emphasis_style =
  1. | None
  2. | Mark of text_emphasis_fill option * text_emphasis_shape option
  3. | String of string
  4. | Inherit
  5. | Initial
  6. | Unset
  7. | Revert
  8. | Revert_layer
  9. | Var of text_emphasis_style Values.var
Sourcetype text_emphasis =
  1. | Emphasis of text_emphasis_style option * Values.color option
  2. | Inherit
  3. | Initial
  4. | Unset
  5. | Revert
  6. | Revert_layer
  7. | Var of text_emphasis Values.var
Sourcetype text_emphasis_line =
  1. | Over
  2. | Under
Sourcetype text_emphasis_side =
  1. | Left
  2. | Right
Sourcetype text_emphasis_skip_keyword =
  1. | Spaces
  2. | Punctuation
  3. | Symbols
  4. | Narrow
Sourcetype text_emphasis_skip =
  1. | Skip of text_emphasis_skip_keyword list
  2. | Inherit
  3. | Initial
  4. | Unset
  5. | Revert
  6. | Revert_layer
  7. | Var of text_emphasis_skip Values.var
Sourcetype text_emphasis_position =
  1. | Position of text_emphasis_line * text_emphasis_side option
  2. | Inherit
  3. | Initial
  4. | Unset
  5. | Revert
  6. | Revert_layer
  7. | Var of text_emphasis_position Values.var
Sourcetype text_indent_value =
  1. | Indent of {
    1. length : Values.length_percentage;
    2. hanging : bool;
    3. each_line : bool;
    }
  2. | Inherit
  3. | Initial
  4. | Unset
  5. | Revert
  6. | Revert_layer
  7. | 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.

Sourcetype text_underline_position_keyword =
  1. | Under
  2. | Left
  3. | Right
Sourcetype text_underline_position =
  1. | Auto
  2. | From_font
  3. | Position of text_underline_position_keyword list
  4. | Inherit
  5. | Initial
  6. | Unset
  7. | Revert
  8. | Revert_layer
  9. | Var of text_underline_position Values.var
Sourcetype text_orientation =
  1. | Mixed
  2. | Upright
  3. | Sideways
  4. | Inherit
  5. | Initial
  6. | Unset
  7. | Revert
  8. | Revert_layer
  9. | Var of text_orientation Values.var
Sourcetype glyph_orientation_vertical =
  1. | Auto
  2. | Angle of Values.angle
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of glyph_orientation_vertical Values.var
Sourcetype text_transform_case =
  1. | Capitalize
  2. | Uppercase
  3. | Lowercase

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.

Sourcetype text_transform =
  1. | None
  2. | Case of text_transform_case
    (*

    Single case keyword without full-width / full-size-kana.

    *)
  3. | Combo of {
    1. case : text_transform_case option;
    2. full_width : bool;
    3. full_size_kana : bool;
    }
    (*

    Multi-keyword form, e.g. uppercase full-width full-size-kana.

    *)
  4. | Inherit
  5. | Initial
  6. | Unset
  7. | Revert
  8. | Revert_layer
  9. | Var of text_transform Values.var
Sourcetype line_break =
  1. | Auto
  2. | Loose
  3. | Normal
  4. | Strict
  5. | Anywhere
  6. | Inherit
  7. | Initial
  8. | Unset
  9. | Revert
  10. | Revert_layer
  11. | Var of line_break Values.var
Sourcetype font_optical_sizing =
  1. | Auto
  2. | None
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of font_optical_sizing Values.var
Sourcetype font_kerning =
  1. | Auto
  2. | Normal
  3. | None
  4. | Inherit
  5. | Initial
  6. | Unset
  7. | Revert
  8. | Revert_layer
  9. | Var of font_kerning Values.var
Sourcetype font_language_override =
  1. | Normal
  2. | String of string
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of font_language_override Values.var
Sourcetype font_synthesis_style =
  1. | Auto
  2. | None
  3. | Oblique_only
  4. | Inherit
  5. | Initial
  6. | Unset
  7. | Revert
  8. | Revert_layer
  9. | Var of font_synthesis_style Values.var
Sourcetype font_synthesis_weight =
  1. | Auto
  2. | None
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of font_synthesis_weight Values.var
Sourcetype font_synthesis_small_caps =
  1. | Auto
  2. | None
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of font_synthesis_small_caps Values.var
Sourcetype font_synthesis_position =
  1. | Auto
  2. | None
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of font_synthesis_position Values.var
Sourcetype font_variant_ligature =
  1. | Common_ligatures
  2. | No_common_ligatures
  3. | Discretionary_ligatures
  4. | No_discretionary_ligatures
  5. | Historical_ligatures
  6. | No_historical_ligatures
  7. | Contextual
  8. | No_contextual
Sourcetype font_variant_ligatures =
  1. | Normal
  2. | None
  3. | Ligatures of font_variant_ligature list
  4. | Inherit
  5. | Initial
  6. | Unset
  7. | Revert
  8. | Revert_layer
  9. | Var of font_variant_ligatures Values.var
Sourcetype font_variant_caps =
  1. | Normal
  2. | Small_caps
  3. | All_small_caps
  4. | Petite_caps
  5. | All_petite_caps
  6. | Unicase
  7. | Titling_caps
  8. | Inherit
  9. | Initial
  10. | Unset
  11. | Revert
  12. | Revert_layer
  13. | Var of font_variant_caps Values.var
Sourcetype font_variant_position =
  1. | Normal
  2. | Sub
  3. | Super
  4. | Inherit
  5. | Initial
  6. | Unset
  7. | Revert
  8. | Revert_layer
  9. | Var of font_variant_position Values.var
Sourcetype east_asian_feature =
  1. | Jis78
  2. | Jis83
  3. | Jis90
  4. | Jis04
  5. | Simplified
  6. | Traditional
  7. | Full_width
  8. | Proportional_width
  9. | Ruby
Sourcetype font_variant_east_asian =
  1. | Normal
  2. | Features of east_asian_feature list
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of font_variant_east_asian Values.var
Sourcetype text_overflow =
  1. | Clip
  2. | Ellipsis
  3. | String of string
  4. | Pair of text_overflow * text_overflow
  5. | Inherit
  6. | Initial
  7. | Unset
  8. | Revert
  9. | Revert_layer
  10. | Var of text_overflow Values.var
Sourcetype text_wrap =
  1. | Wrap
  2. | No_wrap
  3. | Balance
  4. | Pretty
  5. | Inherit
  6. | Initial
  7. | Unset
  8. | Revert
  9. | Revert_layer
  10. | Var of text_wrap Values.var
Sourcetype text_wrap_mode =
  1. | Wrap
  2. | No_wrap
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of text_wrap_mode Values.var
Sourcetype text_wrap_style =
  1. | Auto
  2. | Balance
  3. | Pretty
  4. | Stable
  5. | Inherit
  6. | Initial
  7. | Unset
  8. | Revert
  9. | Revert_layer
  10. | Var of text_wrap_style Values.var
Sourcetype text_box_trim =
  1. | None
  2. | Trim_start
  3. | Trim_end
  4. | Trim_both
  5. | Inherit
  6. | Initial
  7. | Unset
  8. | Revert
  9. | Revert_layer
  10. | Var of text_box_trim Values.var
Sourcetype text_box_edge_keyword =
  1. | Text
  2. | Cap
  3. | Ex
  4. | Alphabetic
  5. | Ideographic
  6. | Ideographic_ink
Sourcetype text_box_edge =
  1. | Auto
  2. | Edge of text_box_edge_keyword * text_box_edge_keyword option
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of text_box_edge Values.var
Sourcetype text_box =
  1. | Box of text_box_trim * text_box_edge option
  2. | Inherit
  3. | Initial
  4. | Unset
  5. | Revert
  6. | Revert_layer
  7. | Var of text_box Values.var
Sourcetype inline_sizing =
  1. | Normal
  2. | Stretch
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of inline_sizing Values.var
Sourcetype line_fit_edge_keyword =
  1. | Leading
  2. | Text
  3. | Cap
  4. | Ex
  5. | Alphabetic
  6. | Ideographic
  7. | Ideographic_ink
Sourcetype line_fit_edge =
  1. | Edge of line_fit_edge_keyword * line_fit_edge_keyword option
  2. | Inherit
  3. | Initial
  4. | Unset
  5. | Revert
  6. | Revert_layer
  7. | Var of line_fit_edge Values.var
Sourcetype interpolate_size =
  1. | Numeric_only
  2. | Allow_keywords
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of interpolate_size Values.var
Sourcetype min_intrinsic_sizing_keyword =
  1. | Legacy
  2. | Zero_if_scroll
  3. | Zero_if_extrinsic
Sourcetype min_intrinsic_sizing =
  1. | Sizing of min_intrinsic_sizing_keyword list
  2. | Inherit
  3. | Initial
  4. | Unset
  5. | Revert
  6. | Revert_layer
  7. | Var of min_intrinsic_sizing Values.var
Sourcetype text_spacing_trim =
  1. | Normal
  2. | Space_all
  3. | Trim_start
  4. | Space_first
  5. | Inherit
  6. | Initial
  7. | Unset
  8. | Revert
  9. | Revert_layer
  10. | Var of text_spacing_trim Values.var
Sourcetype hyphenate_limit_chars =
  1. | Auto
  2. | One of int
  3. | Two of int * int
  4. | Three of int * int * int
  5. | Inherit
  6. | Initial
  7. | Unset
  8. | Revert
  9. | Revert_layer
  10. | Var of hyphenate_limit_chars Values.var
Sourcetype initial_letter =
  1. | Normal
  2. | Drop
  3. | Raise
  4. | Size of float
  5. | Size_sink of float * int
  6. | Inherit
  7. | Initial
  8. | Unset
  9. | Revert
  10. | Revert_layer
  11. | Var of initial_letter Values.var
Sourcetype initial_letter_align_keyword =
  1. | Alphabetic
  2. | Ideographic
  3. | Hanging
  4. | Leading
  5. | Border_box
Sourcetype initial_letter_align =
  1. | Align of initial_letter_align_keyword list
  2. | Inherit
  3. | Initial
  4. | Unset
  5. | Revert
  6. | Revert_layer
  7. | Var of initial_letter_align Values.var
Sourcetype initial_letter_wrap =
  1. | None
  2. | First
  3. | All
  4. | Grid
  5. | Length of Values.length_percentage
  6. | Inherit
  7. | Initial
  8. | Unset
  9. | Revert
  10. | Revert_layer
  11. | Var of initial_letter_wrap Values.var
Sourcetype ruby_merge =
  1. | Separate
  2. | Merge
  3. | Auto
  4. | Inherit
  5. | Initial
  6. | Unset
  7. | Revert
  8. | Revert_layer
  9. | Var of ruby_merge Values.var
Sourcetype ruby_align =
  1. | Start
  2. | Center
  3. | Space_between
  4. | Space_around
  5. | Inherit
  6. | Initial
  7. | Unset
  8. | Revert
  9. | Revert_layer
  10. | Var of ruby_align Values.var
Sourcetype ruby_overhang =
  1. | Auto
  2. | None
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of ruby_overhang Values.var
Sourcetype ruby_position_keyword =
  1. | Alternate
  2. | Over
  3. | Under
  4. | Inter_character
Sourcetype ruby_position =
  1. | Position of ruby_position_keyword list
  2. | Inherit
  3. | Initial
  4. | Unset
  5. | Revert
  6. | Revert_layer
  7. | Var of ruby_position Values.var
Sourcetype dominant_baseline =
  1. | Auto
  2. | Alphabetic
  3. | Ideographic
  4. | Mathematical
  5. | Central
  6. | Middle
  7. | Text_top
  8. | Text_bottom
  9. | Inherit
  10. | Initial
  11. | Unset
  12. | Revert
  13. | Revert_layer
  14. | Var of dominant_baseline Values.var
Sourcetype white_space =
  1. | Normal
  2. | Nowrap
  3. | Pre
  4. | Pre_wrap
  5. | Pre_line
  6. | Break_spaces
  7. | Preserve_nowrap
  8. | Inherit
  9. | Initial
  10. | Unset
  11. | Revert
  12. | Revert_layer
  13. | Var of white_space Values.var
Sourcetype word_break =
  1. | Normal
  2. | Break_all
  3. | Keep_all
  4. | Break_word
  5. | Auto_phrase
  6. | Inherit
  7. | Initial
  8. | Unset
  9. | Revert
  10. | Revert_layer
  11. | Var of word_break Values.var
Sourcetype overflow_wrap =
  1. | Normal
  2. | Break_word
  3. | Anywhere
  4. | Inherit
  5. | Initial
  6. | Unset
  7. | Revert
  8. | Revert_layer
  9. | Var of overflow_wrap Values.var
Sourcetype hyphens =
  1. | None
  2. | Manual
  3. | Auto
  4. | Inherit
  5. | Initial
  6. | Unset
  7. | Revert
  8. | Revert_layer
  9. | Var of hyphens Values.var
Sourcetype symbols_type =
  1. | Cyclic
  2. | Numeric
  3. | Alphabetic
  4. | Symbolic
  5. | Fixed
Sourcetype list_style_symbol =
  1. | String of string
  2. | Url of string
Sourcetype list_style_type =
  1. | None
  2. | Disc
  3. | Circle
  4. | Square
  5. | Decimal
  6. | Lower_alpha
  7. | Upper_alpha
  8. | Lower_roman
  9. | Upper_roman
  10. | Decimal_leading_zero
  11. | Arabic_indic
  12. | Armenian
  13. | Upper_armenian
  14. | Lower_armenian
  15. | Bengali
  16. | Cambodian
  17. | Khmer
  18. | Cjk_decimal
  19. | Devanagari
  20. | Georgian
  21. | Gujarati
  22. | Gurmukhi
  23. | Hebrew
  24. | Kannada
  25. | Lao
  26. | Malayalam
  27. | Mongolian
  28. | Myanmar
  29. | Oriya
  30. | Persian
  31. | Tamil
  32. | Telugu
  33. | Thai
  34. | Tibetan
  35. | Lower_latin
  36. | Upper_latin
  37. | Cjk_earthly_branch
  38. | Cjk_heavenly_stem
  39. | Lower_greek
  40. | Hiragana
  41. | Hiragana_iroha
  42. | Katakana
  43. | Katakana_iroha
  44. | Disclosure_open
  45. | Disclosure_closed
  46. | Cjk_ideographic
  47. | Japanese_informal
  48. | Japanese_formal
  49. | Korean_hangul_formal
  50. | Korean_hanja_informal
  51. | Korean_hanja_formal
  52. | Simp_chinese_informal
  53. | Simp_chinese_formal
  54. | Trad_chinese_informal
  55. | Trad_chinese_formal
  56. | Ethiopic_numeric
  57. | String of string
  58. | Symbols of symbols_type option * list_style_symbol list
  59. | Inherit
  60. | Initial
  61. | Unset
  62. | Revert
  63. | Revert_layer
  64. | Var of list_style_type Values.var
Sourcetype list_style_position =
  1. | Inside
  2. | Outside
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of list_style_position Values.var
Sourcetype list_style_image =
  1. | None
  2. | Url of string
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of list_style_image Values.var
Sourcetype list_style_shorthand = {
  1. type_ : list_style_type option;
  2. position : list_style_position option;
  3. image : list_style_image option;
}
Sourcetype list_style =
  1. | Shorthand of list_style_shorthand
  2. | Inherit
  3. | Initial
  4. | Unset
  5. | Revert
  6. | Revert_layer
  7. | Var of list_style Values.var
Sourcetype table_layout =
  1. | Auto
  2. | Fixed
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of table_layout Values.var
Sourcetype vertical_align =
  1. | Baseline
  2. | Top
  3. | Middle
  4. | Bottom
  5. | Text_top
  6. | Text_bottom
  7. | Sub
  8. | Super
  9. | Zero
  10. | Px of float
  11. | Rem of float
  12. | Em of float
  13. | Pct of float
  14. | Calc of vertical_align Values.calc
  15. | Inherit
  16. | Initial
  17. | Unset
  18. | Revert
  19. | Revert_layer
  20. | Var of vertical_align Values.var
Sourcetype border_collapse =
  1. | Collapse
  2. | Separate
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of border_collapse Values.var
Sourcetype border_shorthand = {
  1. width : border_width option;
  2. style : border_style option;
  3. color : Values.color option;
}
Sourcetype border =
  1. | Inherit
  2. | Initial
  3. | Unset
  4. | Revert
  5. | Revert_layer
  6. | None
  7. | Shorthand of border_shorthand
  8. | Var of border Values.var
Sourcetype logical_border_color =
  1. | Single of Values.color
  2. | Pair of Values.color * Values.color
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of logical_border_color Values.var
Sourcetype outline_style =
  1. | None
  2. | Solid
  3. | Dashed
  4. | Dotted
  5. | Double
  6. | Groove
  7. | Ridge
  8. | Inset
  9. | Outset
  10. | Auto
  11. | Inherit
  12. | Initial
  13. | Unset
  14. | Revert
  15. | Revert_layer
  16. | Var of outline_style Values.var
Sourcetype outline_shorthand = {
  1. width : Values.length option;
  2. style : outline_style option;
  3. color : Values.color option;
}
Sourcetype outline =
  1. | Inherit
  2. | Initial
  3. | Unset
  4. | Revert
  5. | Revert_layer
  6. | None
  7. | Shorthand of outline_shorthand
  8. | Var of outline Values.var
Sourcetype font_family =
  1. | Sans_serif
  2. | Serif
  3. | Monospace
  4. | Cursive
  5. | Fantasy
  6. | System_ui
  7. | Ui_sans_serif
  8. | Ui_serif
  9. | Ui_monospace
  10. | Ui_rounded
  11. | Emoji
  12. | Math
  13. | Fangsong
  14. | Inter
  15. | Roboto
  16. | Open_sans
  17. | Lato
  18. | Montserrat
  19. | Poppins
  20. | Source_sans_pro
  21. | Raleway
  22. | Oswald
  23. | Noto_sans
  24. | Ubuntu
  25. | Playfair_display
  26. | Merriweather
  27. | Lora
  28. | PT_sans
  29. | PT_serif
  30. | Nunito
  31. | Nunito_sans
  32. | Work_sans
  33. | Rubik
  34. | Fira_sans
  35. | Fira_code
  36. | JetBrains_mono
  37. | IBM_plex_sans
  38. | IBM_plex_serif
  39. | IBM_plex_mono
  40. | Source_code_pro
  41. | Space_mono
  42. | DM_sans
  43. | DM_serif_display
  44. | Bebas_neue
  45. | Barlow
  46. | Mulish
  47. | Josefin_sans
  48. | Helvetica
  49. | Helvetica_neue
  50. | Arial
  51. | Verdana
  52. | Tahoma
  53. | Trebuchet_ms
  54. | Times_new_roman
  55. | Times
  56. | Georgia
  57. | Cambria
  58. | Garamond
  59. | Courier_new
  60. | Courier
  61. | Lucida_console
  62. | SF_pro
  63. | SF_pro_display
  64. | SF_pro_text
  65. | SF_mono
  66. | NY
  67. | Segoe_ui
  68. | Segoe_ui_emoji
  69. | Segoe_ui_symbol
  70. | Apple_color_emoji
  71. | Noto_color_emoji
  72. | Android_emoji
  73. | Twemoji_mozilla
  74. | Menlo
  75. | Monaco
  76. | Consolas
  77. | Liberation_mono
  78. | SFMono_regular
  79. | Cascadia_code
  80. | Cascadia_mono
  81. | Victor_mono
  82. | Inconsolata
  83. | Hack
  84. | Inherit
  85. | Initial
  86. | Unset
  87. | Revert
  88. | Revert_layer
  89. | Name of string
  90. | List of font_family list
  91. | Var of font_family Values.var
  92. | 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, inherit mixes it inside a <custom-ident># list and is therefore invalid. Cascade preserves the source verbatim for round-trip; Optimize.drop_invalid removes the declaration under --minify.

    *)
Sourcetype font_stretch =
  1. | Pct of float
  2. | Ultra_condensed
  3. | Extra_condensed
  4. | Condensed
  5. | Semi_condensed
  6. | Normal
  7. | Semi_expanded
  8. | Expanded
  9. | Extra_expanded
  10. | Ultra_expanded
  11. | Inherit
  12. | Initial
  13. | Unset
  14. | Revert
  15. | Revert_layer
  16. | Var of font_stretch Values.var
Sourcetype font_variant_css21 =
  1. | Normal
  2. | Small_caps
Sourcetype font_shorthand = {
  1. style : font_style option;
  2. variant : font_variant_css21 option;
  3. weight : font_weight option;
  4. stretch : font_stretch option;
  5. size : font_size;
  6. line_height : line_height option;
  7. family : font_family;
}
Sourcetype font =
  1. | Shorthand of font_shorthand
  2. | Caption
  3. | Icon
  4. | Menu
  5. | Message_box
  6. | Small_caption
  7. | Status_bar
  8. | Inherit
  9. | Initial
  10. | Unset
  11. | Revert
  12. | Revert_layer
  13. | Var of font Values.var
Sourcetype font_size_adjust_metric =
  1. | Ex_height
  2. | Cap_height
  3. | Ch_width
  4. | Ic_width
  5. | Ic_height
Sourcetype font_size_adjust =
  1. | None
  2. | Number of float
  3. | From_font
  4. | Metric_number of font_size_adjust_metric * float
  5. | Metric_from_font of font_size_adjust_metric
  6. | Inherit
  7. | Initial
  8. | Unset
  9. | Revert
  10. | Revert_layer
  11. | Var of font_size_adjust Values.var
Sourcetype font_variant_emoji =
  1. | Normal
  2. | Text
  3. | Emoji
  4. | Unicode
  5. | Inherit
  6. | Initial
  7. | Unset
  8. | Revert
  9. | Revert_layer
  10. | Var of font_variant_emoji Values.var
Sourcetype font_display =
  1. | Auto
  2. | Block
  3. | Swap
  4. | Fallback
  5. | Optional
  6. | Var of font_display Values.var
Sourcetype unicode_range =
  1. | Single of int
    (*

    U+xxxx

    *)
  2. | Range of int * int
    (*

    U+xxxx-yyyy

    *)
  3. | Padded_single of int * int
  4. | Padded_range of {
    1. start : int;
    2. end_ : int;
    3. start_width : int;
    4. end_width : int;
    }
  5. | Wildcard of {
    1. prefix : int;
    2. prefix_width : int;
    3. wildcards : int;
    }
  6. | Var of unicode_range Values.var
Sourcetype font_variant_numeric_token =
  1. | Normal
  2. | Lining_nums
  3. | Oldstyle_nums
  4. | Proportional_nums
  5. | Tabular_nums
  6. | Diagonal_fractions
  7. | Stacked_fractions
  8. | Ordinal
  9. | Slashed_zero
  10. | Var of font_variant_numeric_token Values.var
Sourcetype font_variant_numeric =
  1. | Normal
  2. | Inherit
  3. | Initial
  4. | Unset
  5. | Revert
  6. | Revert_layer
  7. | Tokens of font_variant_numeric_token list
  8. | Composed of {
    1. ordinal : font_variant_numeric_token option;
    2. slashed_zero : font_variant_numeric_token option;
    3. numeric_figure : font_variant_numeric_token option;
    4. numeric_spacing : font_variant_numeric_token option;
    5. numeric_fraction : font_variant_numeric_token option;
    }
  9. | Var of font_variant_numeric Values.var
Sourcetype font_feature_settings =
  1. | Normal
  2. | Feature_list of string
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | String of string
  9. | Var of font_feature_settings Values.var
Sourcetype font_variation_settings =
  1. | Normal
  2. | Axis_list of string
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | String of string
  9. | Var of font_variation_settings Values.var
Sourcetype transform =
  1. | Translate of Values.length * Values.length option
  2. | Translate_x of Values.length
  3. | Translate_y of Values.length
  4. | Translate_z of Values.length
  5. | Translate_3d of Values.length * Values.length * Values.length
  6. | Rotate of Values.angle
  7. | Rotate_x of Values.angle
  8. | Rotate_y of Values.angle
  9. | Rotate_z of Values.angle
  10. | Rotate_3d of float * float * float * Values.angle
  11. | Rotate_axis of float * float * float * Values.angle
  12. | Scale of Values.number_percentage * Values.number_percentage option
  13. | Scale_space of Values.number_percentage * Values.number_percentage
  14. | Scale_x of Values.number_percentage
  15. | Scale_y of Values.number_percentage
  16. | Scale_z of Values.number_percentage
  17. | Scale_3d of Values.number_percentage * Values.number_percentage * Values.number_percentage
  18. | Skew of Values.angle * Values.angle option
  19. | Skew_x of Values.angle
  20. | Skew_y of Values.angle
  21. | Matrix of float * float * float * float * float * float
  22. | Matrix_3d of float * float * float * float * float * float * float * float * float * float * float * float * float * float * float * float
  23. | Perspective of Values.length
  24. | None
  25. | Inherit
  26. | Initial
  27. | Unset
  28. | Revert
  29. | Revert_layer
  30. | List of transform list
  31. | Var of transform Values.var
Sourcetype transforms = transform list
Sourcetype transform_style =
  1. | Flat
  2. | Preserve_3d
  3. | Initial
  4. | Inherit
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of transform_style Values.var
Sourcetype backface_visibility =
  1. | Visible
  2. | Hidden
  3. | Initial
  4. | Inherit
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of backface_visibility Values.var
Sourcetype translate_value =
  1. | X of Values.length
  2. | XY of Values.length * Values.length
  3. | XYZ of Values.length * Values.length * Values.length
  4. | None
  5. | Inherit
  6. | Initial
  7. | Unset
  8. | Revert
  9. | Revert_layer
  10. | Var of translate_value Values.var
Sourcetype rotate_value =
  1. | Angle of Values.angle
    (*

    z-axis rotation

    *)
  2. | X of Values.angle
    (*

    x-axis rotation

    *)
  3. | Y of Values.angle
    (*

    y-axis rotation

    *)
  4. | Z of Values.angle
    (*

    z-axis rotation (explicit)

    *)
  5. | Axis of float * float * float * Values.angle
    (*

    custom axis rotation

    *)
  6. | None
  7. | Inherit
  8. | Initial
  9. | Unset
  10. | Revert
  11. | Revert_layer
  12. | Var of rotate_value Values.var
Sourcetype steps_direction =
  1. | Jump_start
  2. | Jump_end
  3. | Jump_none
  4. | Jump_both
  5. | Start
  6. | End
  7. | Var of steps_direction Values.var
Sourcetype timing_function =
  1. | Ease
  2. | Linear
  3. | Ease_in
  4. | Ease_out
  5. | Ease_in_out
  6. | Step_start
  7. | Step_end
  8. | Steps of int * steps_direction option
  9. | Cubic_bezier of float * float * float * float
  10. | Linear_function of string
  11. | Timing_functions of timing_function list
  12. | Inherit
  13. | Initial
  14. | Unset
  15. | Revert
  16. | Revert_layer
  17. | Var of timing_function Values.var
Sourcetype transition_property_value =
  1. | All
  2. | None
  3. | Property of string
  4. | Initial
  5. | Inherit
  6. | Unset
  7. | Revert
  8. | Revert_layer
  9. | Var of transition_property_value Values.var
Sourcetype transition_property = transition_property_value list
Sourcetype transition_behavior =
  1. | Normal
  2. | Allow_discrete
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of transition_behavior Values.var
Sourcetype overlay =
  1. | Auto
  2. | None
  3. | Initial
  4. | Inherit
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of overlay Values.var
Sourcetype transition_shorthand = {
  1. property : transition_property_value;
  2. duration : Values.duration option;
  3. timing_function : timing_function option;
  4. delay : Values.duration option;
  5. behavior : transition_behavior option;
}
Sourcetype transition =
  1. | Inherit
  2. | Initial
  3. | Unset
  4. | Revert
  5. | Revert_layer
  6. | None
  7. | Shorthand of transition_shorthand
  8. | Var of transition Values.var
Sourcetype animation_direction =
  1. | Normal
  2. | Reverse
  3. | Alternate
  4. | Alternate_reverse
  5. | Directions of animation_direction list
  6. | Initial
  7. | Inherit
  8. | Unset
  9. | Revert
  10. | Revert_layer
  11. | Var of animation_direction Values.var
Sourcetype animation_fill_mode =
  1. | None
  2. | Forwards
  3. | Backwards
  4. | Both
  5. | Fill_modes of animation_fill_mode list
  6. | Initial
  7. | Inherit
  8. | Unset
  9. | Revert
  10. | Revert_layer
  11. | Var of animation_fill_mode Values.var
Sourcetype animation_iteration_count =
  1. | Num of float
  2. | Infinite
  3. | Counts of animation_iteration_count list
  4. | Initial
  5. | Inherit
  6. | Unset
  7. | Revert
  8. | Revert_layer
  9. | Var of animation_iteration_count Values.var
Sourcetype animation_play_state =
  1. | Running
  2. | Paused
  3. | States of animation_play_state list
  4. | Initial
  5. | Inherit
  6. | Unset
  7. | Revert
  8. | Revert_layer
  9. | Var of animation_play_state Values.var
Sourcetype animation_composition_item =
  1. | Replace
  2. | Add
  3. | Accumulate
Sourcetype animation_composition =
  1. | Compositions of animation_composition_item list
  2. | Initial
  3. | Inherit
  4. | Unset
  5. | Revert
  6. | Revert_layer
  7. | Var of animation_composition Values.var
Sourcetype animation_name =
  1. | None
  2. | Name of string
  3. | Ambiguous of string
  4. | Quoted of string
  5. | Names of animation_name list
  6. | Initial
  7. | Inherit
  8. | Unset
  9. | Revert
  10. | Revert_layer
  11. | Var of animation_name Values.var
Sourcetype animation_shorthand = {
  1. name : animation_name option;
  2. duration : Values.duration option;
  3. timing_function : timing_function option;
  4. delay : Values.duration option;
  5. iteration_count : animation_iteration_count option;
  6. direction : animation_direction option;
  7. fill_mode : animation_fill_mode option;
  8. play_state : animation_play_state option;
  9. timeline : animation_timeline option;
}
Sourceand animation_timeline =
  1. | None
  2. | Auto
  3. | Name of string
  4. | Scroll of string
  5. | View of string
  6. | Initial
  7. | Inherit
  8. | Unset
  9. | Revert
  10. | Revert_layer
  11. | Var of animation_timeline Values.var
Sourcetype animation =
  1. | Inherit
  2. | Initial
  3. | None
  4. | Shorthand of animation_shorthand
  5. | Var of animation Values.var
Sourcetype blend_mode =
  1. | Normal
  2. | Multiply
  3. | Screen
  4. | Overlay
  5. | Darken
  6. | Lighten
  7. | Color_dodge
  8. | Color_burn
  9. | Hard_light
  10. | Soft_light
  11. | Difference
  12. | Exclusion
  13. | Hue
  14. | Saturation
  15. | Color
  16. | Luminosity
  17. | Plus_darker
  18. | Plus_lighter
  19. | Inherit
  20. | Initial
  21. | Unset
  22. | Revert
  23. | Revert_layer
  24. | Var of blend_mode Values.var
Sourcetype shadow =
  1. | Shadow of shadow_body
  2. | Inset of inset
  3. | None
  4. | Inherit
  5. | Initial
  6. | Unset
  7. | Revert
  8. | Revert_layer
  9. | List of shadow list
  10. | Var of shadow Values.var
Sourceand shadow_body = {
  1. h_offset : Values.length;
  2. v_offset : Values.length;
  3. blur : Values.length option;
  4. spread : Values.length option;
  5. color : Values.color option;
}

The <length>{2,4} && <color>? body of a single <shadow>.

Sourceand inset =
  1. | Var of shadow Values.var
  2. | Body of shadow_body
  3. | Toggle of {
    1. name : string;
    2. no_fallback : bool;
    3. body : shadow_body;
    }
Sourcetype text_shadow =
  1. | None
  2. | Text_shadow of {
    1. h_offset : Values.length;
    2. v_offset : Values.length;
    3. blur : Values.length option;
    4. color : Values.color option;
    }
  3. | Initial
  4. | Inherit
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of text_shadow Values.var
Sourcetype filter =
  1. | None
  2. | Blur of Values.length
  3. | Brightness of Values.number_percentage
  4. | Contrast of Values.number_percentage
  5. | Drop_shadow of shadow
  6. | Grayscale of Values.number_percentage
  7. | Hue_rotate of Values.angle
  8. | Invert of Values.number_percentage
  9. | Opacity of Values.number_percentage
  10. | Saturate of Values.number_percentage
  11. | Sepia of Values.number_percentage
  12. | Url of string
  13. | List of filter list
  14. | Inherit
  15. | Initial
  16. | Unset
  17. | Revert
  18. | Revert_layer
  19. | Var of filter Values.var
Sourcetype background_attachment =
  1. | Scroll
  2. | Fixed
  3. | Local
  4. | Layers of background_attachment list
  5. | Initial
  6. | Inherit
  7. | Unset
  8. | Revert
  9. | Revert_layer
  10. | Var of background_attachment Values.var
Sourcetype background_box =
  1. | Border_box
  2. | Padding_box
  3. | Content_box
  4. | Text
  5. | Layers of background_box list
  6. | Inherit
  7. | Initial
  8. | Unset
  9. | Revert
  10. | Revert_layer
  11. | Var of background_box Values.var
Sourcetype background_repeat =
  1. | Repeat
  2. | Space
  3. | Round
  4. | No_repeat
  5. | Repeat_x
  6. | Repeat_y
  7. | Layers of background_repeat list
  8. | Repeat_repeat
  9. | Repeat_space
  10. | Repeat_round
  11. | Repeat_no_repeat
  12. | Space_repeat
  13. | Space_space
  14. | Space_round
  15. | Space_no_repeat
  16. | Round_repeat
  17. | Round_space
  18. | Round_round
  19. | Round_no_repeat
  20. | No_repeat_repeat
  21. | No_repeat_space
  22. | No_repeat_round
  23. | No_repeat_no_repeat
  24. | Inherit
  25. | Initial
  26. | Unset
  27. | Revert
  28. | Revert_layer
  29. | Var of background_repeat Values.var
Sourcetype background_size =
  1. | Auto
  2. | Cover
  3. | Contain
  4. | Length of Values.length
  5. | Size of Values.length * Values.length
  6. | Layers of background_size list
  7. | Inherit
  8. | Initial
  9. | Unset
  10. | Revert
  11. | Revert_layer
  12. | Var of background_size Values.var
Sourcetype hue_interpolation_method =
  1. | Shorter
  2. | Longer
  3. | Increasing
  4. | Decreasing

CSS Color 5 section 12: optional hue-interpolation method that follows a polar color space (lch / oklch / hsl / hwb).

Sourcetype color_interpolation =
  1. | In_oklab
  2. | In_oklch of hue_interpolation_method option
  3. | In_srgb
  4. | In_hsl of hue_interpolation_method option
  5. | In_lab
  6. | In_lch of hue_interpolation_method option
  7. | Var of color_interpolation Values.var
Sourcetype gradient_direction =
  1. | Default_direction
  2. | To_top
  3. | To_top_right
  4. | To_right
  5. | To_bottom_right
  6. | To_bottom
  7. | To_bottom_left
  8. | To_left
  9. | To_top_left
  10. | Angle of Values.angle
  11. | With_interpolation of gradient_direction * color_interpolation
  12. | Var of gradient_direction Values.var
Sourcetype radial_shape =
  1. | Circle
  2. | Ellipse
  3. | Var of radial_shape Values.var
Sourcetype radial_size =
  1. | Closest_side
  2. | Farthest_side
  3. | Closest_corner
  4. | Farthest_corner
  5. | Circle_radius of Values.length
  6. | Ellipse_radii of Values.length_percentage * Values.length_percentage
  7. | Var of radial_size Values.var
Sourcetype position_value =
  1. | Center
  2. | Top
  3. | Bottom
  4. | Left
  5. | Right
  6. | Left_top
  7. | Left_center
  8. | Left_bottom
  9. | Right_top
  10. | Right_center
  11. | Right_bottom
  12. | Center_top
  13. | Center_bottom
  14. | Top_left
  15. | Top_right
  16. | Bottom_left
  17. | Bottom_right
  18. | XY of Values.length * Values.length
  19. | Single of Values.length
    (*

    Single length/percentage value for background-position

    *)
  20. | Inherit
  21. | Initial
  22. | Unset
  23. | Revert
  24. | Revert_layer
  25. | Edge_offset_axis of string * Values.length_percentage * string
  26. | Axis_edge_offset of string * string * Values.length
  27. | Edge_offset_edge_offset of string * Values.length_percentage * string * Values.length_percentage
  28. | Var of position_value Values.var
Sourcetype radial_gradient_config = {
  1. shape : radial_shape option;
  2. size : radial_size option;
  3. position : position_value option;
  4. interpolation : color_interpolation option;
}
Sourcetype border_radius =
  1. | Radius of {
    1. horizontal : Values.length_percentage list;
      (*

      1-4 horizontal radii (top-left, top-right, bottom-right, bottom-left).

      *)
    2. vertical : Values.length_percentage list option;
      (*

      Optional 1-4 vertical radii after /; when None the horizontal values are used for both axes.

      *)
    }
  2. | Inherit
  3. | Initial
  4. | Unset
  5. | Revert
  6. | Revert_layer
  7. | Var of border_radius Values.var
    (*

    Per CSS Backgrounds and Borders 3 §5.

    *)
Sourcetype conic_gradient_config = {
  1. angle : Values.angle option;
    (*

    from <angle> starting angle

    *)
  2. position : position_value option;
    (*

    at <position> center

    *)
  3. interpolation : color_interpolation option;
    (*

    Optional in <color-interpolation-method> clause.

    *)
}
Sourcetype gradient_position =
  1. | Linear_position of gradient_direction
  2. | Radial_position of radial_gradient_config
  3. | Conic_position of conic_gradient_config
  4. | Var of gradient_position Values.var
Sourcetype gradient_stop =
  1. | Color_percentage of Values.color * Values.length_percentage option * Values.length_percentage option
  2. | Color_length of Values.color * Values.length option * Values.length option
  3. | Length of Values.length
  4. | Channel of Values.channel
    (*

    Residual numeric channel token from custom-property substitution.

    *)
  5. | List of gradient_stop list
  6. | Percentage of Values.percentage
  7. | Position of gradient_position
  8. | Direction of gradient_direction
  9. | Var of gradient_stop Values.var
Sourcemodule Webkit_gradient : sig ... end
Sourcetype background_image =
  1. | Url of string
  2. | Quoted of string * char
  3. | Linear_gradient of gradient_direction * gradient_stop list
  4. | 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))

    *)
  5. | Radial_gradient of radial_gradient_config * gradient_stop list
  6. | Radial_gradient_var of gradient_stop Values.var
    (*

    Radial gradient using a single variable for all stops. Outputs: radial-gradient(var(--tw-gradient-stops))

    *)
  7. | Conic_gradient of conic_gradient_config * gradient_stop list
  8. | Conic_gradient_var of gradient_stop Values.var
    (*

    Conic gradient using a single variable for all stops. Outputs: conic-gradient(var(--tw-gradient-stops))

    *)
  9. | Repeating_linear_gradient of gradient_direction * gradient_stop list
  10. | Repeating_radial_gradient of radial_gradient_config * gradient_stop list
  11. | Repeating_conic_gradient of conic_gradient_config * gradient_stop list
    (*

    repeating-{linear,radial,conic}-gradient() CSS Images 4 §3.

    *)
  12. | Webkit_linear_gradient of gradient_direction * gradient_stop list
  13. | Webkit_repeating_linear_gradient of gradient_direction * gradient_stop list
  14. | Webkit_radial_gradient of radial_gradient_config * gradient_stop list
  15. | Webkit_repeating_radial_gradient of radial_gradient_config * gradient_stop list
  16. | Moz_linear_gradient of gradient_direction * gradient_stop list
  17. | Moz_repeating_linear_gradient of gradient_direction * gradient_stop list
  18. | Moz_radial_gradient of radial_gradient_config * gradient_stop list
  19. | Moz_repeating_radial_gradient of radial_gradient_config * gradient_stop list
  20. | O_linear_gradient of gradient_direction * gradient_stop list
  21. | O_repeating_linear_gradient of gradient_direction * gradient_stop list
  22. | O_radial_gradient of radial_gradient_config * gradient_stop list
  23. | O_repeating_radial_gradient of radial_gradient_config * gradient_stop list
  24. | Image_set of image_set_option list
    (*

    image-set(<source>#) CSS Images 4

    *)
  25. | Webkit_image_set of image_set_option list
    (*

    -webkit-image-set(<source>#) legacy spelling

    *)
  26. | Cross_fade of cross_fade_option list
    (*

    cross-fade(<cf-mixing-image>#) CSS Images 4

    *)
  27. | Webkit_gradient of Webkit_gradient.t
  28. | List of background_image list
    (*

    Comma-separated list of background images

    *)
  29. | None
  30. | Initial
  31. | Inherit
  32. | Unset
  33. | Revert
  34. | Revert_layer
  35. | Var of background_image Values.var
    (*

    CSS variable reference: var(--my-gradient)

    *)
Sourceand image_set_option = {
  1. source : image_set_source;
  2. resolution : string option;
    (*

    <resolution> like "1x" or "300dpi"

    *)
  3. mime_type : string option;
    (*

    type("image/avif")

    *)
}
Sourceand image_set_source =
  1. | Url of string
  2. | String of string
Sourceand cross_fade_option = {
  1. image : background_image;
  2. percent : Values.percentage option;
}
Sourcetype background_position = position_value list
Sourcetype background_shorthand = {
  1. color : Values.color option;
  2. image : background_image option;
  3. position : position_value option;
  4. size : background_size option;
  5. repeat : background_repeat option;
  6. attachment : background_attachment option;
  7. clip : background_box option;
  8. origin : background_box option;
}
Sourcetype background =
  1. | Inherit
  2. | Initial
  3. | Unset
  4. | None
  5. | Shorthand of background_shorthand
  6. | Var of background Values.var
  7. | Vars of background Values.var list
Sourcetype webkit_mask_composite =
  1. | Source_over
  2. | Xor
  3. | Source_in
  4. | Source_out
  5. | Composites of webkit_mask_composite list
  6. | Inherit
  7. | Initial
  8. | Unset
  9. | Revert
  10. | Revert_layer
  11. | Var of webkit_mask_composite Values.var
    (*

    Standard mask-composite values (different from webkit)

    *)

Webkit-prefixed mask-composite values

Sourcetype mask_composite =
  1. | Add
  2. | Subtract
  3. | Intersect
  4. | Exclude
  5. | Composites of mask_composite list
  6. | Inherit
  7. | Initial
  8. | Unset
  9. | Revert
  10. | Revert_layer
  11. | Var of mask_composite Values.var
    (*

    Webkit mask-source-type values

    *)
Sourcetype webkit_mask_source_type =
  1. | Alpha
  2. | Luminance
  3. | Auto
  4. | Inherit
  5. | Initial
  6. | Unset
  7. | Revert
  8. | Revert_layer
  9. | Var of webkit_mask_source_type Values.var
    (*

    Standard mask-mode values (different from webkit)

    *)
Sourcetype mask_mode =
  1. | Alpha
  2. | Luminance
  3. | Match_source
  4. | Modes of mask_mode list
  5. | Initial
  6. | Inherit
  7. | Unset
  8. | Revert
  9. | Revert_layer
  10. | Var of mask_mode Values.var
    (*

    mask-type property values (only alpha and luminance)

    *)
Sourcetype mask_type =
  1. | Alpha
  2. | Luminance
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of mask_type Values.var
Sourcetype mask_box =
  1. | Border_box
  2. | Content_box
  3. | Fill_box
  4. | Padding_box
  5. | Stroke_box
  6. | View_box
  7. | No_clip
    (*

    Only valid for mask-clip

    *)
  8. | Layers of mask_box list
  9. | Inherit
  10. | Initial
  11. | Unset
  12. | Revert
  13. | Revert_layer
  14. | Var of mask_box Values.var
Sourcetype mask_layer = {
  1. image : background_image option;
  2. position : position_value option;
  3. size : background_size option;
  4. repeat : background_repeat option;
  5. origin : mask_box option;
  6. clip : mask_box option;
  7. mode : mask_mode option;
  8. composite : mask_composite option;
}
Sourcetype mask =
  1. | None
  2. | Layer of mask_layer
  3. | Layers of mask_layer list
  4. | Initial
  5. | Inherit
  6. | Unset
  7. | Revert
  8. | Revert_layer
  9. | Var of mask Values.var
Sourcetype border_image_slice_item =
  1. | Number of float
  2. | Pct of float
Sourcetype border_image_slice = {
  1. offsets : border_image_slice_item list;
  2. fill : bool;
}
Sourcetype border_image_width_item =
  1. | Number of float
  2. | Pct of float
  3. | Length of Values.length
  4. | Auto
Sourcetype border_image_outset_item =
  1. | Number of float
  2. | Length of Values.length
Sourcetype border_image_repeat_keyword =
  1. | Stretch
  2. | Repeat
  3. | Round
  4. | Space
Sourcetype border_image_repeat =
  1. | Repeats of border_image_repeat_keyword list
  2. | Inherit
  3. | Initial
  4. | Unset
  5. | Revert
  6. | Revert_layer
  7. | Var of border_image_repeat Values.var
Sourcetype border_image_width =
  1. | Widths of border_image_width_item list
  2. | Inherit
  3. | Initial
  4. | Unset
  5. | Revert
  6. | Revert_layer
  7. | Var of border_image_width Values.var
Sourcetype border_image_outset =
  1. | Outsets of border_image_outset_item list
  2. | Inherit
  3. | Initial
  4. | Unset
  5. | Revert
  6. | Revert_layer
  7. | Var of border_image_outset Values.var
Sourcetype mask_border_mode =
  1. | Alpha
  2. | Luminance

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).

Sourcetype border_image = {
  1. source : background_image option;
  2. slice : border_image_slice option;
  3. width : border_image_width_item list option;
  4. outset : border_image_outset_item list option;
  5. repeat : border_image_repeat_keyword list option;
  6. mode : mask_border_mode option;
}
Sourcetype gap =
  1. | Lengths of {
    1. row_gap : Values.length option;
    2. column_gap : Values.length option;
    }
  2. | Inherit
  3. | Initial
  4. | Unset
  5. | Revert
  6. | Revert_layer
  7. | Var of gap Values.var
Sourcetype cursor =
  1. | Auto
  2. | Default
  3. | None
  4. | Context_menu
  5. | Help
  6. | Pointer
  7. | Progress
  8. | Wait
  9. | Cell
  10. | Crosshair
  11. | Text
  12. | Vertical_text
  13. | Alias
  14. | Copy
  15. | Move
  16. | No_drop
  17. | Not_allowed
  18. | Grab
  19. | Grabbing
  20. | E_resize
  21. | N_resize
  22. | Ne_resize
  23. | Nw_resize
  24. | S_resize
  25. | Se_resize
  26. | Sw_resize
  27. | W_resize
  28. | Ew_resize
  29. | Ns_resize
  30. | Nesw_resize
  31. | Nwse_resize
  32. | Col_resize
  33. | Row_resize
  34. | All_scroll
  35. | Zoom_in
  36. | Zoom_out
  37. | Url of string * (float * float) option * cursor
  38. | Inherit
  39. | Initial
  40. | Unset
  41. | Revert
  42. | Revert_layer
  43. | Var of cursor Values.var
Sourcetype interactivity =
  1. | Auto
  2. | Inert
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of interactivity Values.var
Sourcetype caret_animation =
  1. | Auto
  2. | Manual
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of caret_animation Values.var
Sourcetype caret_shape =
  1. | Auto
  2. | Bar
  3. | Block
  4. | Underscore
  5. | Inherit
  6. | Initial
  7. | Unset
  8. | Revert
  9. | Revert_layer
  10. | Var of caret_shape Values.var
Sourcetype caret =
  1. | Auto
  2. | Caret of Values.color option * caret_animation option * caret_shape option
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of caret Values.var
Sourcetype interest_delay =
  1. | Normal
  2. | Durations of Values.duration list
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of interest_delay Values.var
Sourcetype nav_scope =
  1. | Current
  2. | Root
  3. | Named of string
Sourcetype nav =
  1. | Auto
  2. | Target of string * nav_scope option
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of nav Values.var
Sourcetype user_select =
  1. | None
  2. | Auto
  3. | Text
  4. | All
  5. | Contain
  6. | Inherit
  7. | Initial
  8. | Unset
  9. | Revert
  10. | Revert_layer
  11. | Var of user_select Values.var
Sourcetype pointer_events =
  1. | Auto
  2. | None
  3. | Visible_painted
  4. | Visible_fill
  5. | Visible_stroke
  6. | Visible
  7. | Painted
  8. | Fill
  9. | Stroke
  10. | All
  11. | Inherit
  12. | Initial
  13. | Unset
  14. | Revert
  15. | Revert_layer
  16. | Var of pointer_events Values.var
Sourcetype touch_action =
  1. | Auto
  2. | None
  3. | Pan_x
  4. | Pan_y
  5. | Pan_left
  6. | Pan_right
  7. | Pan_up
  8. | Pan_down
  9. | Pinch_zoom
  10. | Manipulation
  11. | Actions of touch_action list
  12. | Inherit
  13. | Initial
  14. | Unset
  15. | Revert
  16. | Revert_layer
  17. | Vars of touch_action Values.var list
    (*

    Variable references like var(--tw-pan-x,) var(--tw-pan-y,)

    *)
  18. | Var of touch_action Values.var
Sourcetype resize =
  1. | None
  2. | Both
  3. | Horizontal
  4. | Vertical
  5. | Block
  6. | Inline
  7. | Inherit
  8. | Initial
  9. | Unset
  10. | Revert
  11. | Revert_layer
  12. | Var of resize Values.var
Sourcetype box_sizing =
  1. | Border_box
  2. | Content_box
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of box_sizing Values.var
Sourcetype field_sizing =
  1. | Content
  2. | Fixed
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of field_sizing Values.var
Sourcetype caption_side =
  1. | Top
  2. | Bottom
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of caption_side Values.var
Sourcetype object_fit =
  1. | Fill
  2. | Contain
  3. | Cover
  4. | None
  5. | Scale_down
  6. | Inherit
  7. | Initial
  8. | Unset
  9. | Revert
  10. | Revert_layer
  11. | Var of object_fit Values.var
Sourcetype object_view_box =
  1. | None
  2. | Inset of Values.length * Values.length option * Values.length option * Values.length option
  3. | Xywh of {
    1. x : Values.length_percentage;
    2. y : Values.length_percentage;
    3. width : Values.length_percentage;
    4. height : Values.length_percentage;
    5. rounded : border_radius option;
    }
  4. | Rect of {
    1. top : Values.length_percentage;
    2. right : Values.length_percentage;
    3. bottom : Values.length_percentage;
    4. left : Values.length_percentage;
    5. rounded : border_radius option;
    }
  5. | Inherit
  6. | Initial
  7. | Unset
  8. | Revert
  9. | Revert_layer
  10. | Var of object_view_box Values.var
Sourcetype content =
  1. | String of string
  2. | Quoted of {
    1. value : string;
    2. quote : char;
    3. repr : string option;
    }
  3. | None
  4. | Normal
  5. | Open_quote
  6. | Close_quote
  7. | Attr of content Values.attr_call
  8. | Counter of string
  9. | Counters of string * string
  10. | String_ref of string
  11. | Content_list of content list
  12. | Inherit
  13. | Initial
  14. | Unset
  15. | Revert
  16. | Revert_layer
  17. | Var of content Values.var
Sourcetype counter_item = {
  1. name : string;
  2. value : int option;
}
Sourcetype counter_set =
  1. | None
  2. | Counters of counter_item list
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of counter_set Values.var
Sourcetype content_visibility =
  1. | Visible
  2. | Hidden
  3. | Auto
  4. | Initial
  5. | Inherit
  6. | Unset
  7. | Revert
  8. | Revert_layer
  9. | Var of content_visibility Values.var
    (*

    The CSS quotes property - defines quotation marks

    *)
Sourcetype quotes =
  1. | Auto
    (*

    Browser default based on language

    *)
  2. | None
    (*

    No quotation marks

    *)
  3. | Pairs of (string * string) list
    (*

    One or more open/close pairs

    *)
  4. | Inherit
  5. | Initial
  6. | Unset
  7. | Revert
  8. | Revert_layer
  9. | Var of quotes Values.var
Sourcetype container_type =
  1. | Size
  2. | Inline_size
  3. | Scroll_state
  4. | Normal
  5. | Initial
  6. | Inherit
  7. | Unset
  8. | Revert
  9. | Revert_layer
  10. | Var of container_type Values.var
Sourcetype container_name =
  1. | None
  2. | Names of string list
  3. | Initial
  4. | Inherit
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of container_name Values.var
Sourcetype anchor_name =
  1. | None
  2. | Names of string list
  3. | Initial
  4. | Inherit
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of anchor_name Values.var
Sourcetype position_anchor =
  1. | Auto
  2. | Anchor of string
  3. | Initial
  4. | Inherit
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of position_anchor Values.var
Sourcetype position_try_fallback =
  1. | Flip_block
  2. | Flip_inline
  3. | Flip_start
  4. | Name of string
Sourcetype position_try_fallbacks =
  1. | None
  2. | Fallbacks of position_try_fallback list
  3. | Initial
  4. | Inherit
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of position_try_fallbacks Values.var
Sourcetype position_try_order =
  1. | Normal
  2. | Most_width
  3. | Most_height
  4. | Most_block_size
  5. | Most_inline_size
  6. | Initial
  7. | Inherit
  8. | Unset
  9. | Revert
  10. | Revert_layer
  11. | Var of position_try_order Values.var
Sourcetype position_try =
  1. | Try of position_try_order * position_try_fallbacks
  2. | Initial
  3. | Inherit
  4. | Unset
  5. | Revert
  6. | Revert_layer
  7. | Var of position_try Values.var
Sourcetype position_visibility_condition =
  1. | Anchors_visible
  2. | No_overflow
Sourcetype position_visibility =
  1. | Always
  2. | Conditions of position_visibility_condition list
  3. | Initial
  4. | Inherit
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of position_visibility Values.var
Sourcetype position_area_keyword =
  1. | Top
  2. | Bottom
  3. | Left
  4. | Right
  5. | Center
  6. | Span_top
  7. | Span_bottom
  8. | Span_left
  9. | Span_right
  10. | X_start
  11. | X_end
  12. | Y_start
  13. | Y_end
  14. | Span_x_start
  15. | Span_x_end
  16. | Span_y_start
  17. | Span_y_end
  18. | Inline_start
  19. | Inline_end
  20. | Block_start
  21. | Block_end
  22. | Span_inline_start
  23. | Span_inline_end
  24. | Span_block_start
  25. | Span_block_end
  26. | Span_all
Sourcetype position_area =
  1. | None
  2. | Area of position_area_keyword * position_area_keyword option
  3. | Initial
  4. | Inherit
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of position_area Values.var
Sourcetype overflow_anchor =
  1. | Auto
  2. | None
  3. | Initial
  4. | Inherit
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of overflow_anchor Values.var
Sourcetype scrollbar_width =
  1. | Auto
  2. | Thin
  3. | None
  4. | Initial
  5. | Inherit
  6. | Unset
  7. | Revert
  8. | Revert_layer
  9. | Var of scrollbar_width Values.var
Sourcetype scrollbar_color =
  1. | Auto
  2. | Colors of Values.color * Values.color
  3. | Initial
  4. | Inherit
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of scrollbar_color Values.var
Sourcetype scrollbar_gutter =
  1. | Auto
  2. | Stable
  3. | Stable_both_edges
  4. | Initial
  5. | Inherit
  6. | Unset
  7. | Revert
  8. | Revert_layer
  9. | Var of scrollbar_gutter Values.var
Sourcetype font_palette =
  1. | Normal
  2. | Light
  3. | Dark
  4. | Palette of string
  5. | Initial
  6. | Inherit
  7. | Unset
  8. | Revert
  9. | Revert_layer
  10. | Var of font_palette Values.var
Sourcetype font_synthesis_feature =
  1. | Weight
  2. | Style
  3. | Small_caps
  4. | Position
Sourcetype font_synthesis =
  1. | None
  2. | Features of font_synthesis_feature list
  3. | Initial
  4. | Inherit
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of font_synthesis Values.var
Sourcetype animation_range_name =
  1. | Cover
  2. | Contain
  3. | Entry
  4. | Exit
  5. | Entry_crossing
  6. | Exit_crossing
Sourcetype animation_range_item =
  1. | Normal
  2. | Offset of Values.length_percentage
  3. | Named of animation_range_name * Values.length_percentage option
  4. | Initial
  5. | Inherit
  6. | Unset
  7. | Revert
  8. | Revert_layer
  9. | Var of animation_range_item Values.var
Sourcetype animation_range =
  1. | Range of animation_range_item * animation_range_item option
  2. | Initial
  3. | Inherit
  4. | Unset
  5. | Revert
  6. | Revert_layer
  7. | Var of animation_range Values.var
Sourcetype view_transition_name =
  1. | None
  2. | Match_element
  3. | Name of string
  4. | Initial
  5. | Inherit
  6. | Unset
  7. | Revert
  8. | Revert_layer
  9. | Var of view_transition_name Values.var
Sourcetype view_transition_class =
  1. | None
  2. | Classes of string list
  3. | Initial
  4. | Inherit
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of view_transition_class Values.var
Sourcetype image_orientation =
  1. | None
  2. | From_image
  3. | Initial
  4. | Inherit
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of image_orientation Values.var
Sourcetype image_rendering =
  1. | Auto
  2. | Smooth
  3. | High_quality
  4. | Crisp_edges
  5. | Pixelated
  6. | Initial
  7. | Inherit
  8. | Unset
  9. | Revert
  10. | Revert_layer
  11. | Var of image_rendering Values.var
Sourcetype resolution =
  1. | Dpi of float
  2. | Dpcm of float
  3. | Dppx of float
  4. | X of float
Sourcetype image_resolution =
  1. | Resolution of resolution
  2. | From_image
  3. | From_image_resolution of resolution
  4. | Snap of resolution
  5. | From_image_snap
  6. | From_image_snap_resolution of resolution
  7. | Initial
  8. | Inherit
  9. | Unset
  10. | Revert
  11. | Revert_layer
  12. | Var of image_resolution Values.var
Sourcetype contain_intrinsic_size_item =
  1. | Length of Values.length
  2. | Auto of Values.length
Sourcetype contain_intrinsic_size =
  1. | None
  2. | Intrinsic of contain_intrinsic_size_item * contain_intrinsic_size_item option
  3. | Initial
  4. | Inherit
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of contain_intrinsic_size Values.var
Sourcetype contain_intrinsic_longhand =
  1. | None
  2. | Size of contain_intrinsic_size_item
  3. | Initial
  4. | Inherit
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of contain_intrinsic_longhand Values.var
Sourcetype margin_trim_edge =
  1. | Block_start
  2. | Inline_start
  3. | Block_end
  4. | Inline_end
Sourcetype margin_trim_axis =
  1. | Block
  2. | Inline
Sourcetype margin_trim =
  1. | None
  2. | Block
  3. | Inline
  4. | Axes of margin_trim_axis list
  5. | Edges of margin_trim_edge list
  6. | Initial
  7. | Inherit
  8. | Unset
  9. | Revert
  10. | Revert_layer
  11. | Var of margin_trim Values.var
Sourcetype ray_size =
  1. | Radial of radial_size
  2. | Sides
Sourcetype ray = {
  1. angle : Values.angle;
  2. size : ray_size option;
  3. contain : bool;
  4. position : position_value option;
}
Sourcetype offset_path =
  1. | None
  2. | Url of string
  3. | Path of string
  4. | Ray of ray
  5. | Initial
  6. | Inherit
  7. | Unset
  8. | Revert
  9. | Revert_layer
  10. | Var of offset_path Values.var
Sourcetype offset_rotate_mode =
  1. | Auto
  2. | Reverse
Sourcetype offset_rotate =
  1. | Auto
  2. | Reverse
  3. | Angle of Values.angle
  4. | With_angle of offset_rotate_mode * Values.angle
  5. | Initial
  6. | Inherit
  7. | Unset
  8. | Revert
  9. | Revert_layer
  10. | Var of offset_rotate Values.var
Sourcetype container_shorthand =
  1. | Shorthand of {
    1. name : string option;
    2. ctype : container_type option;
    }
  2. | Initial
  3. | Inherit
  4. | Unset
  5. | Revert
  6. | Revert_layer
  7. | Var of container_shorthand Values.var
Sourcetype contain =
  1. | None
  2. | Strict
  3. | Content
  4. | Size
  5. | Layout
  6. | Style
  7. | Paint
  8. | Inline_size
  9. | List of contain list
  10. | Inherit
  11. | Initial
  12. | Unset
  13. | Revert
  14. | Revert_layer
  15. | Var of contain Values.var
Sourcetype isolation =
  1. | Auto
  2. | Isolate
  3. | Initial
  4. | Inherit
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of isolation Values.var
Sourcetype break_value =
  1. | Auto
  2. | Avoid
  3. | All
  4. | Avoid_page
  5. | Page
  6. | Left
  7. | Right
  8. | Recto
  9. | Verso
  10. | Avoid_column
  11. | Column
  12. | Avoid_region
  13. | Region
  14. | Initial
  15. | Inherit
  16. | Unset
  17. | Revert
  18. | Revert_layer
  19. | Var of break_value Values.var
Sourcetype break_inside_value =
  1. | Auto
  2. | Avoid
  3. | Avoid_page
  4. | Avoid_column
  5. | Initial
  6. | Inherit
  7. | Unset
  8. | Revert
  9. | Revert_layer
  10. | Var of break_inside_value Values.var
Sourcetype page_break_value =
  1. | Auto
  2. | Always
  3. | Avoid
  4. | Left
  5. | Right
  6. | Inherit
  7. | Var of page_break_value Values.var
Sourcetype page_break_inside_value =
  1. | Auto
  2. | Avoid
  3. | Inherit
  4. | Var of page_break_inside_value Values.var
Sourcetype page_size_name =
  1. | A5
  2. | A4
  3. | A3
  4. | B5
  5. | B4
  6. | Jis_b5
  7. | Jis_b4
  8. | Letter
  9. | Legal
  10. | Ledger
  11. | Var of page_size_name Values.var
Sourcetype page_size_orientation =
  1. | Portrait
  2. | Landscape
  3. | Var of page_size_orientation Values.var
Sourcetype page_size =
  1. | Auto
  2. | Single of Values.length
  3. | Pair of Values.length * Values.length
  4. | Named of page_size_name
  5. | Named_oriented of page_size_name * page_size_orientation
  6. | Oriented of page_size_orientation
  7. | Inherit
  8. | Var of page_size Values.var
Sourcetype columns_value =
  1. | Auto
  2. | Count of int
  3. | Width of Values.length
  4. | 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.

    *)
  5. | Auto_count of int
    (*

    auto <column-count>: an explicit auto column-width paired with a count, e.g. columns: auto 3. Distinct from Count (bare columns: 3) so the explicit-auto spelling round-trips.

    *)
  6. | Inherit
  7. | Initial
  8. | Unset
  9. | Revert
  10. | Revert_layer
  11. | Var of columns_value Values.var
Sourcetype column_width =
  1. | Auto
  2. | Width of Values.length
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of column_width Values.var
Sourcetype column_count =
  1. | Auto
  2. | Count of int
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of column_count Values.var
Sourcetype column_span =
  1. | None
  2. | All
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of column_span Values.var
Sourcetype scroll_behavior =
  1. | Auto
  2. | Smooth
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of scroll_behavior Values.var
Sourcetype scroll_snap_align =
  1. | None
  2. | Start
  3. | End
  4. | Center
  5. | Snap_align_pair of scroll_snap_align * scroll_snap_align
  6. | Inherit
  7. | Initial
  8. | Unset
  9. | Revert
  10. | Revert_layer
  11. | Var of scroll_snap_align Values.var
Sourcetype scroll_snap_stop =
  1. | Normal
  2. | Always
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of scroll_snap_stop Values.var
Sourcetype scroll_snap_strictness =
  1. | Mandatory
  2. | Proximity
  3. | Var of scroll_snap_strictness Values.var
Sourcetype scroll_snap_axis =
  1. | None
  2. | X
  3. | Y
  4. | Block
  5. | Inline
  6. | Both
  7. | Var of scroll_snap_axis Values.var
Sourcetype scroll_snap_type =
  1. | Axis of scroll_snap_axis
  2. | Axis_with_strictness of scroll_snap_axis * scroll_snap_strictness
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of scroll_snap_type Values.var
Sourcetype timeline_axis =
  1. | Block
  2. | Inline
  3. | X
  4. | Y
  5. | Initial
  6. | Inherit
  7. | Unset
  8. | Revert
  9. | Revert_layer
  10. | Var of timeline_axis Values.var
Sourcetype timeline_name =
  1. | None
  2. | Names of string list
  3. | Initial
  4. | Inherit
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of timeline_name Values.var
Sourcetype timeline_shorthand_item = {
  1. name : string;
  2. axis : timeline_axis;
}
Sourcetype timeline_shorthand =
  1. | None
  2. | Timelines of timeline_shorthand_item list
  3. | Initial
  4. | Inherit
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of timeline_shorthand Values.var
Sourcetype timeline_inset_item =
  1. | Auto
  2. | Length of Values.length_percentage
Sourcetype timeline_inset =
  1. | Inset of timeline_inset_item * timeline_inset_item option
  2. | Initial
  3. | Inherit
  4. | Unset
  5. | Revert
  6. | Revert_layer
  7. | Var of timeline_inset Values.var
Sourcetype overscroll_behavior =
  1. | Auto
  2. | Contain
  3. | None
  4. | Inherit
  5. | Initial
  6. | Unset
  7. | Revert
  8. | Revert_layer
  9. | Var of overscroll_behavior Values.var
Sourcetype svg_paint =
  1. | None
  2. | Inherit
  3. | Current_color
  4. | Color of Values.color
  5. | Url of string * svg_paint option
  6. | Context_fill
    (*

    SVG2 §11.2 context-fill - inherits the fill paint of the context element, used in marker / pattern / use trees.

    *)
  7. | Context_stroke
    (*

    SVG2 §11.2 context-stroke - mirror of Context_fill.

    *)
  8. | Var of svg_paint Values.var
Sourcetype direction =
  1. | Ltr
  2. | Rtl
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of direction Values.var
Sourcetype unicode_bidi =
  1. | Normal
  2. | Embed
  3. | Isolate
  4. | Bidi_override
  5. | Isolate_override
  6. | Plaintext
  7. | Inherit
  8. | Initial
  9. | Unset
  10. | Revert
  11. | Revert_layer
  12. | Var of unicode_bidi Values.var
Sourcetype writing_mode =
  1. | Horizontal_tb
  2. | Vertical_rl
  3. | Vertical_lr
  4. | Sideways_lr
  5. | Sideways_rl
  6. | Inherit
  7. | Initial
  8. | Unset
  9. | Revert
  10. | Revert_layer
  11. | Var of writing_mode Values.var
Sourcetype text_combine_upright =
  1. | None
  2. | All
  3. | Digits of int option
  4. | Inherit
  5. | Initial
  6. | Unset
  7. | Revert
  8. | Revert_layer
  9. | Var of text_combine_upright Values.var
Sourcetype webkit_appearance =
  1. | None
  2. | Auto
  3. | Button
  4. | Textfield
  5. | Menulist
  6. | Listbox
  7. | Checkbox
  8. | Radio
  9. | Push_button
  10. | Square_button
  11. | Apple_pay_button
  12. | Inherit
  13. | Initial
  14. | Unset
  15. | Revert
  16. | Revert_layer
  17. | Var of webkit_appearance Values.var
Sourcetype webkit_font_smoothing =
  1. | Auto
  2. | None
  3. | Antialiased
  4. | Subpixel_antialiased
  5. | Inherit
  6. | Initial
  7. | Unset
  8. | Revert
  9. | Revert_layer
  10. | Var of webkit_font_smoothing Values.var
Sourcetype moz_osx_font_smoothing =
  1. | Auto
  2. | Grayscale
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of moz_osx_font_smoothing Values.var
Sourcetype webkit_box_orient =
  1. | Horizontal
  2. | Vertical
  3. | Inline_axis
  4. | Block_axis
  5. | Inherit
  6. | Initial
  7. | Unset
  8. | Revert
  9. | Revert_layer
  10. | Var of webkit_box_orient Values.var
Sourcetype moz_orient =
  1. | Inline
  2. | Block
  3. | Horizontal
  4. | Vertical
  5. | Inherit
  6. | Var of moz_orient Values.var
Sourcetype webkit_line_clamp =
  1. | None
  2. | Lines of int
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of webkit_line_clamp Values.var
Sourcetype text_size_adjust =
  1. | None
  2. | Auto
  3. | Pct of float
  4. | Inherit
  5. | Initial
  6. | Unset
  7. | Revert
  8. | Revert_layer
  9. | Var of text_size_adjust Values.var
Sourcetype forced_color_adjust =
  1. | Auto
  2. | None
  3. | Preserve_parent_color
  4. | Inherit
  5. | Initial
  6. | Unset
  7. | Revert
  8. | Revert_layer
  9. | Var of forced_color_adjust Values.var
Sourcetype color_scheme =
  1. | Normal
  2. | Light
  3. | Dark
  4. | Light_dark
  5. | Only_light
  6. | Only_dark
  7. | Only_light_dark
  8. | Custom of string list
  9. | Inherit
  10. | Initial
  11. | Unset
  12. | Revert
  13. | Revert_layer
  14. | Var of color_scheme Values.var
Sourcetype appearance =
  1. | None
  2. | Auto
  3. | Button
  4. | Textfield
  5. | Menulist
  6. | Base_select
  7. | Inherit
  8. | Initial
  9. | Unset
  10. | Revert
  11. | Revert_layer
  12. | Var of appearance Values.var
Sourcetype print_color_adjust =
  1. | Economy
  2. | Exact
  3. | Initial
  4. | Inherit
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of print_color_adjust Values.var
Sourcetype box_decoration_break =
  1. | Clone
  2. | Slice
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of box_decoration_break Values.var
Sourcetype clear =
  1. | None
  2. | Left
  3. | Right
  4. | Both
  5. | Inline_start
  6. | Inline_end
  7. | Initial
  8. | Inherit
  9. | Unset
  10. | Revert
  11. | Revert_layer
  12. | Var of clear Values.var
Sourcetype float_side =
  1. | None
  2. | Left
  3. | Right
  4. | Inline_start
  5. | Inline_end
  6. | Initial
  7. | Inherit
  8. | Unset
  9. | Revert
  10. | Revert_layer
  11. | Var of float_side Values.var
Sourcetype text_decoration_skip_ink =
  1. | Auto
  2. | None
  3. | All
  4. | Inherit
  5. | Initial
  6. | Unset
  7. | Revert
  8. | Revert_layer
  9. | Var of text_decoration_skip_ink Values.var
Sourcetype transform_origin =
  1. | Center
  2. | Center_center
  3. | Left
  4. | Right
  5. | Top
  6. | Bottom
  7. | Left_top
  8. | Left_center
  9. | Left_bottom
  10. | Right_top
  11. | Right_center
  12. | Right_bottom
  13. | Center_top
  14. | Center_bottom
  15. | Top_left
  16. | Top_right
  17. | Bottom_left
  18. | Bottom_right
  19. | Position of position_value
  20. | X of Values.length
    (*

    Single x-offset, y defaults to 50%

    *)
  21. | XY of Values.length * Values.length
  22. | XYZ of Values.length * Values.length * Values.length
  23. | Position_z of position_value * Values.length
  24. | Initial
  25. | Inherit
  26. | Unset
  27. | Revert
  28. | Revert_layer
  29. | Var of transform_origin Values.var
Sourcetype transform_box =
  1. | Content_box
  2. | Border_box
  3. | Fill_box
  4. | Stroke_box
  5. | View_box
  6. | Initial
  7. | Inherit
  8. | Unset
  9. | Revert
  10. | Revert_layer
  11. | Var of transform_box Values.var
Sourcetype will_change =
  1. | Will_change_auto
  2. | Scroll_position
  3. | Contents
  4. | Transform
  5. | Opacity
  6. | Properties of string list
    (*

    Custom CSS property names

    *)
  7. | Initial
  8. | Inherit
  9. | Unset
  10. | Revert
  11. | Revert_layer
  12. | Var of will_change Values.var
Sourcetype perspective_origin = position_value
Sourcetype clip =
  1. | Clip_auto
  2. | Clip_rect of Values.length * Values.length * Values.length * Values.length
    (*

    top, right, bottom, left

    *)
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of clip Values.var
Sourcetype clip_geometry_box =
  1. | Margin_box
  2. | Border_box
  3. | Padding_box
  4. | Content_box
  5. | Fill_box
  6. | Stroke_box
  7. | View_box

CSS Masking 1 §3.6 <geometry-box> reference box for clip-path: the <shape-box> from CSS Shapes 1 plus the SVG-specific boxes.

Sourcetype clip_path_extent =
  1. | Extent_length of Values.length
  2. | Closest_side
  3. | Farthest_side

CSS Shapes 1 §3.1 <shape-radius> for circle() / ellipse(): a <length-percentage> or one of the extent keywords.

Sourcetype clip_path_fill_rule =
  1. | Nonzero
  2. | Evenodd
Sourcetype clip_path =
  1. | Clip_path_none
  2. | Clip_path_url of string
  3. | Clip_path_inset of {
    1. top : Values.length_percentage;
    2. right : Values.length_percentage option;
    3. bottom : Values.length_percentage option;
    4. left : Values.length_percentage option;
    5. rounded : border_radius option;
    }
    (*

    inset(<length-percentage>{1,4} [round <border-radius>]?)

    *)
  4. | Clip_path_circle of {
    1. radius : clip_path_extent option;
    2. position : position_value option;
    }
    (*

    circle(<shape-radius>? [at <position>]?)

    *)
  5. | Clip_path_ellipse of {
    1. rx : clip_path_extent option;
    2. ry : clip_path_extent option;
    3. position : position_value option;
    }
    (*

    ellipse(<shape-radius>{2}? [at <position>]?)

    *)
  6. | Clip_path_polygon of {
    1. fill_rule : clip_path_fill_rule option;
    2. points : (Values.length * Values.length) list;
    3. spaced : bool;
      (*

      true if the source emitted points without explicit commas.

      *)
    }
  7. | Clip_path_path of string
    (*

    SVG path data

    *)
  8. | Clip_path_shape of string
  9. | Clip_path_box of clip_geometry_box
    (*

    Bare reference box, e.g. clip-path: margin-box.

    *)
  10. | Clip_path_with_box of {
    1. shape : clip_path;
    2. box : clip_geometry_box;
    3. box_first : bool;
      (*

      Source order: true if the box appeared before the shape (padding-box circle(...)), false for circle(...) padding-box.

      *)
    }
  11. | Clip_path_xywh of {
    1. x : Values.length_percentage;
    2. y : Values.length_percentage;
    3. width : Values.length_percentage;
    4. height : Values.length_percentage;
    5. rounded : border_radius option;
    }
    (*

    xywh(<length-percentage>{4} [round <border-radius>]?) - CSS Shapes 2.

    *)
  12. | Clip_path_rect of {
    1. top : Values.length_percentage;
    2. right : Values.length_percentage;
    3. bottom : Values.length_percentage;
    4. left : Values.length_percentage;
    5. rounded : border_radius option;
    }
    (*

    rect(<length-percentage>{4} [round <border-radius>]?) - CSS Shapes 2.

    *)
  13. | Inherit
  14. | Initial
  15. | Unset
  16. | Revert
  17. | Revert_layer
  18. | Var of clip_path Values.var
  19. | 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; the Optimize.drop_invalid pass removes the declaration under --minify.

    *)
Sourcetype _ kind =
  1. | Length : Values.length kind
  2. | Color : Values.color kind
  3. | Rgb : Values.rgb kind
  4. | Number : Values.number kind
  5. | Int : int kind
  6. | Float : float kind
  7. | Percentage : Values.percentage kind
  8. | Length_percentage : Values.length_percentage kind
  9. | Number_percentage : Values.number_percentage kind
  10. | Opacity : opacity kind
  11. | Value : Values.custom_value kind
  12. | Duration : Values.duration kind
  13. | Aspect_ratio : aspect_ratio kind
  14. | Border_style : border_style kind
  15. | Outline_style : outline_style kind
  16. | Border : border kind
  17. | Font_weight : font_weight kind
  18. | Font_size : font_size kind
  19. | Line_height : line_height kind
  20. | Font_family : font_family kind
  21. | Font_feature_settings : font_feature_settings kind
  22. | Font_variation_settings : font_variation_settings kind
  23. | Numeric : font_variant_numeric kind
  24. | Font_variant_numeric_token : font_variant_numeric_token kind
  25. | Blend_mode : blend_mode kind
  26. | Scroll_snap_strictness : scroll_snap_strictness kind
  27. | Angle : Values.angle kind
  28. | Rotate : rotate_value kind
  29. | Scale : scale kind
  30. | Shadow : shadow kind
  31. | Box_shadow : shadow kind
  32. | Content : content kind
  33. | Gradient_stop : gradient_stop kind
  34. | Gradient_direction : gradient_direction kind
  35. | Gradient_position : gradient_position kind
  36. | Animation : animation kind
  37. | Timing_function : timing_function kind
  38. | Transform : transform kind
  39. | Touch_action : touch_action kind
  40. | Transition_property_value : transition_property_value kind
  41. | Background_image : background_image kind
  42. | Z_index : z_index kind
  43. | Filter : filter kind
  44. | Font_src : Font_face.src kind
Sourcetype custom_property =
  1. | Custom_value : {
    1. value : custom_property_value;
    2. layer : string option;
    3. meta : Values.meta option;
    } -> custom_property
Sourceand custom_property_value =
  1. | Typed : {
    1. kind : 'a kind;
    2. value : 'a;
    } -> custom_property_value
  2. | Tokens of Values.custom_value
Sourcetype css_wide =
  1. | Initial
  2. | Inherit
  3. | Unset
  4. | Revert
  5. | Revert_layer
  6. | Var of css_wide Values.var

all shorthand value (CSS Cascade 5 §3.2). The all property only accepts CSS-wide keywords - no other syntax is valid.

Sourcetype 'a property =
  1. | Custom_property : string -> custom_property property
  2. | Unknown_property : string -> Values.custom_value property
  3. | All : css_wide property
  4. | Background_color : Values.color property
  5. | Color : Values.color property
  6. | Border_color : Values.color list property
  7. | Border_style : border_style property
  8. | Border_top_style : border_style property
  9. | Border_right_style : border_style property
  10. | Border_bottom_style : border_style property
  11. | Border_left_style : border_style property
  12. | Padding : Values.length list property
  13. | Padding_left : Values.length property
  14. | Padding_right : Values.length property
  15. | Padding_bottom : Values.length property
  16. | Padding_top : Values.length property
  17. | Padding_inline : Values.length list property
  18. | Padding_inline_start : Values.length property
  19. | Padding_inline_end : Values.length property
  20. | Padding_block : Values.length list property
  21. | Padding_block_start : Values.length property
  22. | Padding_block_end : Values.length property
  23. | Margin : Values.length list property
  24. | Margin_inline_end : Values.length property
  25. | Margin_inline_start : Values.length property
  26. | Margin_left : Values.length property
  27. | Margin_right : Values.length property
  28. | Margin_top : Values.length property
  29. | Margin_bottom : Values.length property
  30. | Margin_inline : Values.length list property
  31. | Margin_block : Values.length list property
  32. | Margin_block_start : Values.length property
  33. | Margin_block_end : Values.length property
  34. | Gap : gap property
  35. | Column_gap : Values.length property
  36. | Row_gap : Values.length property
  37. | Width : Values.length_percentage property
  38. | Height : Values.length_percentage property
  39. | Min_width : Values.length_percentage property
  40. | Min_height : Values.length_percentage property
  41. | Max_width : Values.length_percentage property
  42. | Max_height : Values.length_percentage property
  43. | Inline_size : Values.length_percentage property
  44. | Min_inline_size : Values.length_percentage property
  45. | Max_inline_size : Values.length_percentage property
  46. | Block_size : Values.length_percentage property
  47. | Min_block_size : Values.length_percentage property
  48. | Max_block_size : Values.length_percentage property
  49. | Font_size : font_size property
  50. | Line_height : line_height property
  51. | Font_weight : font_weight property
  52. | Font_style : font_style property
  53. | Text_align : text_align property
  54. | Text_decoration : text_decoration property
  55. | Text_decoration_line : text_decoration_line list property
  56. | Text_decoration_style : text_decoration_style property
  57. | Text_decoration_color : Values.color property
  58. | Text_underline_offset : Values.length property
  59. | Text_decoration_skip : text_decoration_skip property
  60. | Text_decoration_skip_self : text_decoration_skip_self property
  61. | Text_decoration_skip_box : text_decoration_skip_box property
  62. | Text_decoration_skip_inset : text_decoration_skip_inset property
  63. | Text_decoration_skip_spaces : text_decoration_skip_spaces property
  64. | Text_emphasis : text_emphasis property
  65. | Text_emphasis_style : text_emphasis_style property
  66. | Text_emphasis_color : Values.color property
  67. | Text_emphasis_position : text_emphasis_position property
  68. | Text_emphasis_skip : text_emphasis_skip property
  69. | Text_orientation : text_orientation property
  70. | Text_transform : text_transform property
  71. | Letter_spacing : Values.length property
  72. | List_style_type : list_style_type property
  73. | List_style_position : list_style_position property
  74. | List_style_image : list_style_image property
  75. | Display : display property
  76. | Position : position property
  77. | Visibility : visibility property
  78. | Baseline_source : baseline_source property
  79. | Alignment_baseline : alignment_baseline property
  80. | Baseline_shift : baseline_shift property
  81. | Flex_direction : flex_direction property
  82. | Flex_wrap : flex_wrap property
  83. | Flex_flow : flex_flow property
  84. | Flex : flex property
  85. | Flex_grow : flex_factor property
  86. | Flex_shrink : flex_factor property
  87. | Flex_basis : flex_basis property
  88. | Order : order property
  89. | Align_items : align_items property
  90. | Justify_content : justify_content property
  91. | Justify_items : justify_items property
  92. | Justify_self : justify_self property
  93. | Align_content : align_content property
  94. | Align_self : align_self property
  95. | Place_content : place_content property
  96. | Place_items : place_items property
  97. | Place_self : (align_self * justify_self) property
  98. | Grid_template_columns : grid_template property
  99. | Grid_template_rows : grid_template property
  100. | Grid_template_areas : grid_template_areas property
  101. | Grid_template : grid_template property
  102. | Grid : grid_template property
    (*

    CSS Grid 1 §8 grid shorthand. Cascade treats it as a free-form grid_template for now: the simple cases (track-list, grid-template syntax with area strings) round-trip through the same AST as grid-template, and inputs that exercise the auto-flow branches fall back to the raw Template preservation arm.

    *)
  103. | Grid_area : grid_area property
  104. | Grid_auto_flow : grid_auto_flow property
  105. | Grid_auto_columns : grid_template property
  106. | Grid_auto_rows : grid_template property
  107. | Grid_column : grid_line_pair property
  108. | Grid_row : grid_line_pair property
  109. | Grid_column_start : grid_line property
  110. | Grid_column_end : grid_line property
  111. | Grid_row_start : grid_line property
  112. | Grid_row_end : grid_line property
  113. | Border_width : border_width list property
  114. | Border_top_width : border_width property
  115. | Border_right_width : border_width property
  116. | Border_bottom_width : border_width property
  117. | Border_left_width : border_width property
  118. | Border_inline_start_width : border_width property
  119. | Border_inline_end_width : border_width property
  120. | Border_block_start_width : border_width property
  121. | Border_block_end_width : border_width property
  122. | Border_image : border_image property
  123. | Border_image_source : background_image property
  124. | Border_image_slice : border_image_slice property
  125. | Border_image_repeat : border_image_repeat property
  126. | Border_image_width : border_image_width property
  127. | Border_image_outset : border_image_outset property
  128. | Border_radius : border_radius property
  129. | Border_top_left_radius : Values.length property
  130. | Border_top_right_radius : Values.length property
  131. | Border_bottom_left_radius : Values.length property
  132. | Border_bottom_right_radius : Values.length property
  133. | Border_top_color : Values.color property
  134. | Border_right_color : Values.color property
  135. | Border_bottom_color : Values.color property
  136. | Border_left_color : Values.color property
  137. | Border_inline_start_color : Values.color property
  138. | Border_inline_end_color : Values.color property
  139. | Border_inline_color : logical_border_color property
  140. | Border_inline_style : border_style property
  141. | Border_block_style : border_style property
  142. | Border_start_start_radius : Values.length property
  143. | Border_start_end_radius : Values.length property
  144. | Border_end_start_radius : Values.length property
  145. | Border_end_end_radius : Values.length property
  146. | Opacity : opacity property
  147. | Mix_blend_mode : blend_mode property
  148. | Transform : transform list property
  149. | Translate : translate_value property
  150. | Cursor : cursor property
  151. | Interactivity : interactivity property
  152. | Caret_animation : caret_animation property
  153. | Caret_shape : caret_shape property
  154. | Caret : caret property
  155. | Interest_delay : interest_delay property
  156. | Interest_delay_start : interest_delay property
  157. | Interest_delay_end : interest_delay property
  158. | Nav_up : nav property
  159. | Nav_right : nav property
  160. | Nav_down : nav property
  161. | Nav_left : nav property
  162. | Table_layout : table_layout property
  163. | Border_collapse : border_collapse property
  164. | Border_spacing : border_spacing property
  165. | User_select : user_select property
  166. | Pointer_events : pointer_events property
  167. | Overflow : overflow property
  168. | Inset : Values.length list property
  169. | Inset_inline : Values.length list property
  170. | Inset_inline_start : Values.length list property
  171. | Inset_inline_end : Values.length list property
  172. | Inset_block : Values.length list property
  173. | Inset_block_start : Values.length list property
  174. | Inset_block_end : Values.length list property
  175. | Top : Values.length list property
  176. | Right : Values.length list property
  177. | Bottom : Values.length list property
  178. | Left : Values.length list property
  179. | Z_index : z_index property
  180. | Outline : outline property
  181. | Outline_style : outline_style property
  182. | Outline_width : Values.length property
  183. | Outline_color : Values.color property
  184. | Outline_offset : Values.length property
  185. | Forced_color_adjust : forced_color_adjust property
  186. | Scroll_snap_type : scroll_snap_type property
  187. | White_space : white_space property
  188. | Border : border property
  189. | Border_block : border property
  190. | Border_block_start : border property
  191. | Border_block_end : border property
  192. | Border_inline : border property
  193. | Border_inline_start : border property
  194. | Border_inline_end : border property
  195. | Background : background list property
  196. | Tab_size : tab_size property
  197. | Zoom : zoom property
  198. | Webkit_text_size_adjust : text_size_adjust property
  199. | Font_feature_settings : font_feature_settings property
  200. | Font_variation_settings : font_variation_settings property
  201. | Webkit_tap_highlight_color : Values.color property
  202. | Webkit_user_select : user_select property
  203. | Moz_user_select : user_select property
  204. | Ms_user_select : user_select property
  205. | Webkit_text_decoration : text_decoration property
  206. | Webkit_text_decoration_color : Values.color property
  207. | Webkit_text_fill_color : Values.color property
  208. | Text_indent : text_indent_value property
  209. | List_style : list_style property
  210. | Font : font property
  211. | Source : Font_face.src property
  212. | Webkit_appearance : webkit_appearance property
  213. | Webkit_transform : transform list property
  214. | Moz_transform : transform list property
  215. | Ms_transform : transform list property
  216. | O_transform : transform list property
  217. | Webkit_transition : transition list property
  218. | Webkit_transition_delay : Values.duration property
  219. | Webkit_transition_duration : Values.duration property
  220. | Webkit_transition_property : transition_property property
  221. | Webkit_transition_timing_function : timing_function property
  222. | Webkit_animation : animation list property
  223. | Webkit_animation_delay : Values.duration property
  224. | Webkit_animation_duration : Values.duration property
  225. | Webkit_animation_direction : animation_direction property
  226. | Webkit_animation_iteration_count : animation_iteration_count property
  227. | Webkit_animation_name : animation_name property
  228. | Webkit_animation_timing_function : timing_function property
  229. | Webkit_animation_fill_mode : animation_fill_mode property
  230. | Webkit_animation_play_state : animation_play_state property
  231. | Webkit_flex_direction : flex_direction property
  232. | Webkit_flex_wrap : flex_wrap property
  233. | Webkit_flex_flow : flex_flow property
  234. | Webkit_justify_content : justify_content property
  235. | Webkit_align_items : align_items property
  236. | Webkit_align_content : align_content property
  237. | Webkit_align_self : align_self property
  238. | Webkit_border_radius : border_radius property
  239. | Webkit_box_sizing : box_sizing property
  240. | Moz_box_sizing : box_sizing property
  241. | Webkit_box_shadow : shadow property
  242. | Webkit_background_size : background_size property
  243. | Webkit_filter : filter property
  244. | Moz_appearance : appearance property
  245. | Moz_animation : animation list property
  246. | Moz_animation_delay : Values.duration property
  247. | Moz_animation_duration : Values.duration property
  248. | Moz_animation_direction : animation_direction property
  249. | Moz_animation_iteration_count : animation_iteration_count property
  250. | Moz_animation_name : animation_name property
  251. | Moz_animation_timing_function : timing_function property
  252. | Moz_animation_fill_mode : animation_fill_mode property
  253. | Moz_animation_play_state : animation_play_state property
  254. | Moz_transition : transition list property
  255. | Moz_transition_delay : Values.duration property
  256. | Moz_transition_duration : Values.duration property
  257. | Moz_transition_property : transition_property property
  258. | Moz_transition_timing_function : timing_function property
  259. | Moz_border_radius : border_radius property
  260. | Moz_box_shadow : shadow property
  261. | Ms_filter : filter property
  262. | O_transition : transition list property
  263. | Container_type : container_type property
  264. | Container_name : container_name property
  265. | Container : container_shorthand property
  266. | Anchor_name : anchor_name property
  267. | Position_anchor : position_anchor property
  268. | Position_try_fallbacks : position_try_fallbacks property
  269. | Position_try_order : position_try_order property
  270. | Position_try : position_try property
  271. | Position_visibility : position_visibility property
  272. | Position_area : position_area property
  273. | Shape_outside : string property
  274. | Shape_margin : Values.length_percentage property
  275. | Shape_image_threshold : shape_image_threshold property
  276. | Overflow_clip_margin : overflow_clip_margin property
  277. | Overflow_anchor : overflow_anchor property
  278. | Scrollbar_width : scrollbar_width property
  279. | Scrollbar_color : scrollbar_color property
  280. | Scrollbar_gutter : scrollbar_gutter property
  281. | Line_height_step : Values.length property
  282. | Font_palette : font_palette property
  283. | Font_synthesis : font_synthesis property
  284. | Text_wrap_mode : text_wrap_mode property
  285. | Text_wrap_style : text_wrap_style property
  286. | Text_box_trim : text_box_trim property
  287. | Text_underline_position : text_underline_position property
  288. | Text_box_edge : text_box_edge property
  289. | Text_box : text_box property
  290. | Inline_sizing : inline_sizing property
  291. | Line_fit_edge : line_fit_edge property
  292. | Interpolate_size : interpolate_size property
  293. | Min_intrinsic_sizing : min_intrinsic_sizing property
  294. | Ruby_align : ruby_align property
  295. | Ruby_merge : ruby_merge property
  296. | Ruby_overhang : ruby_overhang property
  297. | Ruby_position : ruby_position property
  298. | Glyph_orientation_vertical : glyph_orientation_vertical property
  299. | Text_combine_upright : text_combine_upright property
  300. | Animation_timeline : animation_timeline property
  301. | Animation_range : animation_range property
  302. | Animation_range_start : animation_range_item property
  303. | Animation_range_end : animation_range_item property
  304. | Scroll_timeline : timeline_shorthand property
  305. | Scroll_timeline_name : timeline_name property
  306. | Scroll_timeline_axis : timeline_axis property
  307. | View_transition_name : view_transition_name property
  308. | View_transition_class : view_transition_class property
  309. | Image_orientation : image_orientation property
  310. | Image_rendering : image_rendering property
  311. | Image_resolution : image_resolution property
  312. | Contain_intrinsic_size : contain_intrinsic_size property
  313. | Contain_intrinsic_width : contain_intrinsic_longhand property
  314. | Contain_intrinsic_height : contain_intrinsic_longhand property
  315. | Contain_intrinsic_block_size : contain_intrinsic_longhand property
  316. | Contain_intrinsic_inline_size : contain_intrinsic_longhand property
  317. | Margin_trim : margin_trim property
  318. | Offset_path : offset_path property
  319. | Offset_distance : Values.length_percentage property
  320. | Offset_rotate : offset_rotate property
  321. | Font_size_adjust : font_size_adjust property
  322. | Font_variant_emoji : font_variant_emoji property
  323. | Text_spacing_trim : text_spacing_trim property
  324. | Hyphenate_limit_chars : hyphenate_limit_chars property
  325. | Initial_letter : initial_letter property
  326. | Initial_letter_align : initial_letter_align property
  327. | Initial_letter_wrap : initial_letter_wrap property
  328. | Dominant_baseline : dominant_baseline property
  329. | View_timeline_name : timeline_name property
  330. | View_timeline_axis : timeline_axis property
  331. | View_timeline_inset : timeline_inset property
  332. | View_timeline : timeline_shorthand property
  333. | Timeline_scope : timeline_name property
  334. | Perspective : Values.length property
  335. | Perspective_origin : perspective_origin property
  336. | Transform_style : transform_style property
  337. | Backface_visibility : backface_visibility property
  338. | Object_position : position_value property
  339. | Rotate : rotate_value property
  340. | Transition_duration : Values.duration property
  341. | Transition_timing_function : timing_function property
  342. | Transition_delay : Values.duration property
  343. | Transition_property : transition_property property
  344. | Transition_behavior : transition_behavior property
  345. | Overlay : overlay property
  346. | Will_change : will_change property
  347. | Contain : contain property
  348. | Isolation : isolation property
  349. | Break_before : break_value property
  350. | Break_after : break_value property
  351. | Break_inside : break_inside_value property
  352. | Page_break_before : page_break_value property
  353. | Page_break_after : page_break_value property
  354. | Page_break_inside : page_break_inside_value property
  355. | Page_size : page_size property
  356. | Columns : columns_value property
  357. | Column_width : column_width property
  358. | Column_count : column_count property
  359. | Column_rule : border property
  360. | Column_span : column_span property
  361. | Word_spacing : Values.length property
  362. | Background_attachment : background_attachment property
  363. | Border_top : border property
  364. | Border_right : border property
  365. | Border_bottom : border property
  366. | Border_left : border property
  367. | Transform_origin : transform_origin property
  368. | Transform_box : transform_box property
  369. | Text_shadow : text_shadow list property
  370. | Clip_path : clip_path property
  371. | Mask : mask property
  372. | Mask_border : border_image property
  373. | Content_visibility : content_visibility property
  374. | Filter : filter property
  375. | Background_image : background_image list property
  376. | Background_origin : background_box property
  377. | Background_clip : background_box property
  378. | Webkit_background_clip : background_box property
  379. | Animation : animation list property
  380. | Aspect_ratio : aspect_ratio property
  381. | Overflow_x : overflow property
  382. | Overflow_y : overflow property
  383. | Overflow_block : overflow property
  384. | Overflow_inline : overflow property
  385. | Vertical_align : vertical_align property
  386. | Font_family : font_family property
  387. | Background_position : background_position property
  388. | Background_repeat : background_repeat property
  389. | Background_size : background_size property
  390. | Webkit_font_smoothing : webkit_font_smoothing property
  391. | Moz_osx_font_smoothing : moz_osx_font_smoothing property
  392. | Webkit_line_clamp : webkit_line_clamp property
  393. | Webkit_box_orient : webkit_box_orient property
  394. | Moz_orient : moz_orient property
  395. | Text_overflow : text_overflow property
  396. | Text_wrap : text_wrap property
  397. | Word_break : word_break property
  398. | Overflow_wrap : overflow_wrap property
  399. | Line_break : line_break property
  400. | Hyphens : hyphens property
  401. | Webkit_hyphens : hyphens property
  402. | Font_stretch : font_stretch property
  403. | Font_optical_sizing : font_optical_sizing property
  404. | Font_kerning : font_kerning property
  405. | Font_language_override : font_language_override property
  406. | Font_synthesis_style : font_synthesis_style property
  407. | Font_synthesis_weight : font_synthesis_weight property
  408. | Font_synthesis_small_caps : font_synthesis_small_caps property
  409. | Font_synthesis_position : font_synthesis_position property
  410. | Font_variant_ligatures : font_variant_ligatures property
  411. | Caps : font_variant_caps property
  412. | Numeric : font_variant_numeric property
  413. | Font_variant_position : font_variant_position property
  414. | East_asian : font_variant_east_asian property
  415. | Backdrop_filter : filter property
  416. | Webkit_backdrop_filter : filter property
  417. | Webkit_mask_image : background_image property
  418. | Webkit_mask_composite : webkit_mask_composite property
  419. | Webkit_mask_source_type : webkit_mask_source_type property
  420. | Webkit_mask_size : background_size property
  421. | Webkit_mask_position : background_position property
  422. | Webkit_mask_repeat : background_repeat property
  423. | Webkit_mask_clip : mask_box property
  424. | Webkit_mask_origin : mask_box property
  425. | Mask_image : background_image property
  426. | Mask_composite : mask_composite property
  427. | Mask_mode : mask_mode property
  428. | Mask_size : background_size property
  429. | Mask_position : background_position property
  430. | Mask_repeat : background_repeat property
  431. | Mask_clip : mask_box property
  432. | Mask_origin : mask_box property
  433. | Mask_type : mask_type property
  434. | Scroll_snap_align : scroll_snap_align property
  435. | Scroll_snap_stop : scroll_snap_stop property
  436. | Scroll_behavior : scroll_behavior property
  437. | Box_sizing : box_sizing property
  438. | Field_sizing : field_sizing property
  439. | Caption_side : caption_side property
  440. | Resize : resize property
  441. | Object_fit : object_fit property
  442. | Object_view_box : object_view_box property
  443. | Appearance : appearance property
  444. | Color_scheme : color_scheme property
  445. | Print_color_adjust : print_color_adjust property
  446. | Webkit_print_color_adjust : print_color_adjust property
  447. | Box_decoration_break : box_decoration_break property
  448. | Webkit_box_decoration_break : box_decoration_break property
  449. | Content : content property
  450. | Counter_reset : counter_set property
  451. | Counter_increment : counter_set property
  452. | Quotes : quotes property
  453. | Text_decoration_thickness : Values.length property
  454. | Text_size_adjust : text_size_adjust property
  455. | Touch_action : touch_action property
  456. | Clip : clip property
  457. | Clear : clear property
  458. | Float : float_side property
  459. | Scale : scale property
  460. | Transition : transition list property
  461. | Box_shadow : shadow property
  462. | Fill : svg_paint property
  463. | Stroke : svg_paint property
  464. | Stroke_width : Values.length property
  465. | Direction : direction property
  466. | Unicode_bidi : unicode_bidi property
  467. | Writing_mode : writing_mode property
  468. | Text_decoration_skip_ink : text_decoration_skip_ink property
  469. | Animation_name : animation_name property
  470. | Animation_duration : Values.duration property
  471. | Animation_timing_function : timing_function property
  472. | Animation_delay : Values.duration property
  473. | Animation_iteration_count : animation_iteration_count property
  474. | Animation_direction : animation_direction property
  475. | Animation_fill_mode : animation_fill_mode property
  476. | Animation_play_state : animation_play_state property
  477. | Animation_composition : animation_composition property
  478. | Background_blend_mode : blend_mode list property
  479. | Scroll_margin : Values.length list property
  480. | Scroll_margin_top : Values.length property
  481. | Scroll_margin_right : Values.length property
  482. | Scroll_margin_bottom : Values.length property
  483. | Scroll_margin_left : Values.length property
  484. | Scroll_margin_inline : Values.length list property
  485. | Scroll_margin_inline_start : Values.length property
  486. | Scroll_margin_inline_end : Values.length property
  487. | Scroll_margin_block : Values.length list property
  488. | Scroll_margin_block_start : Values.length property
  489. | Scroll_margin_block_end : Values.length property
  490. | Scroll_padding : Values.length list property
  491. | Scroll_padding_top : Values.length property
  492. | Scroll_padding_right : Values.length property
  493. | Scroll_padding_bottom : Values.length property
  494. | Scroll_padding_left : Values.length property
  495. | Scroll_padding_inline : Values.length list property
  496. | Scroll_padding_inline_start : Values.length property
  497. | Scroll_padding_inline_end : Values.length property
  498. | Scroll_padding_block : Values.length list property
  499. | Scroll_padding_block_start : Values.length property
  500. | Scroll_padding_block_end : Values.length property
  501. | Overscroll_behavior : overscroll_behavior list property
  502. | Overscroll_behavior_x : overscroll_behavior property
  503. | Overscroll_behavior_y : overscroll_behavior property
  504. | Overscroll_behavior_block : overscroll_behavior property
  505. | Overscroll_behavior_inline : overscroll_behavior property
  506. | Accent_color : Values.color property
  507. | Caret_color : Values.color property
Sourcetype any_property =
  1. | Prop : 'a property -> any_property
Sourceval pp_property : 'a property Pp.t

pp_property is the pretty-printer for property names.

Sourceval pp_property_value : ('a property * 'a) Pp.t

pp_property_value is the pretty-printer for a property and its typed value.

Sourceval normalize_property_value : ?lossless:bool -> ?ctx:Values.calc_ctx -> 'a property -> 'a -> 'a

normalize_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.

Sourceval normalize_custom_property_value : ?lossless:bool -> ?ctx:Values.calc_ctx -> custom_property_value -> custom_property_value

normalize_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.

Sourceval is_invalid_value : 'a property -> 'a -> bool

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.

Sourceval pp_value : ('a kind * 'a) Pp.t

pp_value pretty-prints a typed custom property value.

Sourceval pp_custom_property_value : custom_property_value Pp.t

pp_custom_property_value pretty-prints a parsed custom-property payload.

Sourceval read_custom_property_value : ?font_family:bool -> Cursor.t -> custom_property_value

read_custom_property_value t returns the remaining component values as a raw token stream. Typed promotion is deferred to the @property registry pass.

Sourceval unquote_font_family_strings : Values.custom_value -> Values.custom_value

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.

Sourceval components_have_generic_family : Values.custom_value -> bool

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.

Sourceval try_read_custom_color : Values.custom_value -> custom_property_value option

try_read_custom_color tokens parses tokens as a <color>, returning a typed payload when the stream matches.

Sourceval try_read_custom_length : Values.custom_value -> custom_property_value option

try_read_custom_length tokens parses tokens as a <length>.

Sourceval try_read_custom_length_percentage : Values.custom_value -> custom_property_value option

try_read_custom_length_percentage tokens parses tokens as a <length-percentage>.

Sourceval try_read_custom_number : Values.custom_value -> custom_property_value option

try_read_custom_number tokens parses tokens as a <number>.

Sourceval try_read_custom_percentage : Values.custom_value -> custom_property_value option

try_read_custom_percentage tokens parses tokens as a <percentage>.

Sourceval try_read_custom_angle : Values.custom_value -> custom_property_value option

try_read_custom_angle tokens parses tokens as an <angle>.

Sourceval try_read_custom_time : Values.custom_value -> custom_property_value option

try_read_custom_time tokens parses tokens as a <time>.

Sourceval components_of_custom_property_value : custom_property_value -> Component.t list

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.

Sourceval string_of_kind_value : 'a kind -> 'a -> string

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".

Sourceval pp_shadow : shadow Pp.t

pp_shadow is the pretty-printer for shadow values.

Sourceval read_shadow : Cursor.t -> shadow

read_shadow t parses a shadow value from t.

Sourceval read_timeline_shorthand : Cursor.t -> timeline_shorthand

read_timeline_shorthand t parses scroll-timeline and view-timeline.

Sourceval pp_timeline_shorthand : timeline_shorthand Pp.t

pp_timeline_shorthand pretty-prints scroll-timeline and view-timeline shorthand values.

Sourceval pp_timeline_axis : timeline_axis Pp.t

pp_timeline_axis pretty-prints a timeline axis.

Sourceval read_timeline_axis : Cursor.t -> timeline_axis

read_timeline_axis t parses a timeline axis.

Sourceval pp_timeline_name : timeline_name Pp.t

pp_timeline_name pretty-prints a timeline name list.

Sourceval read_timeline_name : Cursor.t -> timeline_name

read_timeline_name t parses view-timeline-name and timeline-scope.

Sourceval pp_timeline_inset : timeline_inset Pp.t

pp_timeline_inset pretty-prints view-timeline-inset.

Sourceval read_timeline_inset : Cursor.t -> timeline_inset

read_timeline_inset t parses view-timeline-inset.

Sourceval pp_position_try_order : position_try_order Pp.t

pp_position_try_order pretty-prints position-try-order.

Sourceval pp_position_try_fallback : position_try_fallback Pp.t

pp_position_try_fallback pretty-prints a position-try-fallback item.

Sourceval pp_position_try_fallbacks : position_try_fallbacks Pp.t

pp_position_try_fallbacks pretty-prints position-try-fallbacks.

Sourceval read_position_try_fallback : Cursor.t -> position_try_fallback

read_position_try_fallback t parses a single position-try-fallback.

Sourceval read_position_try_fallbacks : Cursor.t -> position_try_fallbacks

read_position_try_fallbacks t parses position-try-fallbacks.

Sourceval read_position_try_order : Cursor.t -> position_try_order

read_position_try_order t parses position-try-order.

Sourceval read_position_try : Cursor.t -> position_try

read_position_try t parses the position-try shorthand.

Sourceval pp_contain_intrinsic_size_item : contain_intrinsic_size_item Pp.t

pp_contain_intrinsic_size_item pretty-prints one contain-intrinsic-size item.

Sourceval read_contain_intrinsic_size_item : Cursor.t -> contain_intrinsic_size_item

read_contain_intrinsic_size_item t parses one contain-intrinsic-size item.

Sourceval pp_counter_item : counter_item Pp.t

pp_counter_item pretty-prints one counter-reset/counter-increment item.

Sourceval read_counter_item : Cursor.t -> counter_item

read_counter_item t parses one counter-reset/counter-increment item.

Sourceval pp_font_synthesis_feature : font_synthesis_feature Pp.t

pp_font_synthesis_feature pretty-prints one font-synthesis feature.

Sourceval read_font_synthesis_feature : Cursor.t -> font_synthesis_feature

read_font_synthesis_feature t parses one font-synthesis feature.

Sourceval pp_line_fit_edge_keyword : line_fit_edge_keyword Pp.t

pp_line_fit_edge_keyword pretty-prints a line-fit-edge keyword.

Sourceval read_line_fit_edge_keyword : Cursor.t -> line_fit_edge_keyword

read_line_fit_edge_keyword t parses a line-fit-edge keyword.

Sourceval pp_mask_layer : mask_layer Pp.t

pp_mask_layer pretty-prints one mask layer.

Sourceval read_mask_layer : Cursor.t -> mask_layer

read_mask_layer t parses one mask layer.

Sourceval pp_min_intrinsic_sizing_keyword : min_intrinsic_sizing_keyword Pp.t

pp_min_intrinsic_sizing_keyword pretty-prints a min-intrinsic-sizing keyword.

Sourceval read_min_intrinsic_sizing_keyword : Cursor.t -> min_intrinsic_sizing_keyword

read_min_intrinsic_sizing_keyword t parses a min-intrinsic-sizing keyword.

Sourceval pp_offset_rotate_mode : offset_rotate_mode Pp.t

pp_offset_rotate_mode pretty-prints the offset-rotate mode prefix.

Sourceval read_offset_rotate_mode : Cursor.t -> offset_rotate_mode

read_offset_rotate_mode t parses the offset-rotate mode prefix.

Sourceval pp_overflow_clip_box : overflow_clip_box Pp.t

pp_overflow_clip_box pretty-prints overflow-clip-box.

Sourceval read_overflow_clip_box : Cursor.t -> overflow_clip_box

read_overflow_clip_box t parses overflow-clip-box.

Sourceval pp_position_area_keyword : position_area_keyword Pp.t

pp_position_area_keyword pretty-prints one position-area keyword.

Sourceval read_position_area_keyword : Cursor.t -> position_area_keyword

read_position_area_keyword t parses one position-area keyword.

Sourceval pp_ruby_position_keyword : ruby_position_keyword Pp.t

pp_ruby_position_keyword pretty-prints one ruby-position keyword.

Sourceval read_ruby_position_keyword : Cursor.t -> ruby_position_keyword

read_ruby_position_keyword t parses one ruby-position keyword.

Sourceval pp_text_box_edge_keyword : text_box_edge_keyword Pp.t

pp_text_box_edge_keyword pretty-prints one text-box-edge keyword.

Sourceval read_text_box_edge_keyword : Cursor.t -> text_box_edge_keyword

read_text_box_edge_keyword t parses one text-box-edge keyword.

Sourceval pp_text_emphasis_fill : text_emphasis_fill Pp.t

pp_text_emphasis_fill pretty-prints the text-emphasis fill keyword.

Sourceval read_text_emphasis_fill : Cursor.t -> text_emphasis_fill

read_text_emphasis_fill t parses the text-emphasis fill keyword.

Sourceval pp_text_emphasis_line : text_emphasis_line Pp.t

pp_text_emphasis_line pretty-prints a text-emphasis line keyword.

Sourceval read_text_emphasis_line : Cursor.t -> text_emphasis_line

read_text_emphasis_line t parses a text-emphasis line keyword.

Sourceval pp_text_emphasis_shape : text_emphasis_shape Pp.t

pp_text_emphasis_shape pretty-prints a text-emphasis shape keyword.

Sourceval read_text_emphasis_shape : Cursor.t -> text_emphasis_shape

read_text_emphasis_shape t parses a text-emphasis shape keyword.

Sourceval pp_text_emphasis_side : text_emphasis_side Pp.t

pp_text_emphasis_side pretty-prints a text-emphasis side keyword.

Sourceval read_text_emphasis_side : Cursor.t -> text_emphasis_side

read_text_emphasis_side t parses a text-emphasis side keyword.

Sourceval pp_text_underline_position_keyword : text_underline_position_keyword Pp.t

pp_text_underline_position_keyword pretty-prints a text-underline-position keyword.

Sourceval read_text_underline_position_keyword : Cursor.t -> text_underline_position_keyword

read_text_underline_position_keyword t parses a text-underline-position keyword.

Sourceval pp_timeline_inset_item : timeline_inset_item Pp.t

pp_timeline_inset_item pretty-prints one view-timeline-inset item.

Sourceval read_timeline_inset_item : Cursor.t -> timeline_inset_item

read_timeline_inset_item t parses one view-timeline-inset item.

Sourceval pp_timeline_shorthand_item : timeline_shorthand_item Pp.t

pp_timeline_shorthand_item pretty-prints one scroll-timeline/ view-timeline shorthand item.

Sourceval read_timeline_shorthand_item : Cursor.t -> timeline_shorthand_item

read_timeline_shorthand_item t parses one scroll-timeline/ view-timeline shorthand item.

Sourceval pp_font_variant_emoji : font_variant_emoji Pp.t

pp_font_variant_emoji pretty-prints font-variant-emoji.

Sourceval read_font_variant_emoji : Cursor.t -> font_variant_emoji

read_font_variant_emoji t parses font-variant-emoji.

Sourceval pp_dominant_baseline : dominant_baseline Pp.t

pp_dominant_baseline pretty-prints dominant-baseline.

Sourceval read_dominant_baseline : Cursor.t -> dominant_baseline

read_dominant_baseline t parses dominant-baseline.

Sourceval pp_ray_size : ray_size Pp.t

pp_ray_size pretty-prints the size keyword inside ray().

Sourceval read_ray_size : Cursor.t -> ray_size

read_ray_size t parses the size keyword inside ray().

Sourceval pp_initial_letter_align_keyword : initial_letter_align_keyword Pp.t

pp_initial_letter_align_keyword pretty-prints one initial-letter-align keyword.

Sourceval read_initial_letter_align_keyword : Cursor.t -> initial_letter_align_keyword

read_initial_letter_align_keyword t parses one initial-letter-align keyword.

Sourceval pp_font_size_adjust_metric : font_size_adjust_metric Pp.t

pp_font_size_adjust_metric pretty-prints the metric keyword of font-size-adjust.

Sourceval read_font_size_adjust_metric : Cursor.t -> font_size_adjust_metric

read_font_size_adjust_metric t parses the metric keyword of font-size-adjust.

Sourceval pp_animation_range_name : animation_range_name Pp.t

pp_animation_range_name pretty-prints a <timeline-range-name>.

Sourceval read_animation_range_name : Cursor.t -> animation_range_name

read_animation_range_name t parses a <timeline-range-name>.

Sourceval pp_border_image_repeat_keyword : border_image_repeat_keyword Pp.t

pp_border_image_repeat_keyword pretty-prints one border-image-repeat keyword.

Sourceval read_border_image_repeat_keyword : Cursor.t -> border_image_repeat_keyword

read_border_image_repeat_keyword t parses one border-image-repeat keyword.

Sourceval pp_margin_trim_axis : margin_trim_axis Pp.t

pp_margin_trim_axis pretty-prints a margin-trim axis keyword.

Sourceval read_margin_trim_axis : Cursor.t -> margin_trim_axis

read_margin_trim_axis t parses a margin-trim axis keyword.

Sourceval pp_margin_trim_edge : margin_trim_edge Pp.t

pp_margin_trim_edge pretty-prints a margin-trim edge keyword.

Sourceval read_margin_trim_edge : Cursor.t -> margin_trim_edge

read_margin_trim_edge t parses a margin-trim edge keyword.

Sourceval pp_font_size_adjust : font_size_adjust Pp.t

pp_font_size_adjust pretty-prints font-size-adjust.

Sourceval read_font_size_adjust : Cursor.t -> font_size_adjust

read_font_size_adjust t parses font-size-adjust.

Sourceval read_initial_letter : Cursor.t -> initial_letter

read_initial_letter t parses initial-letter.

Sourceval pp_initial_letter_align : initial_letter_align Pp.t

pp_initial_letter_align pretty-prints initial-letter-align.

Sourceval read_initial_letter_align : Cursor.t -> initial_letter_align

read_initial_letter_align t parses initial-letter-align.

Sourceval pp_initial_letter_wrap : initial_letter_wrap Pp.t

pp_initial_letter_wrap pretty-prints initial-letter-wrap.

Sourceval read_initial_letter_wrap : Cursor.t -> initial_letter_wrap

read_initial_letter_wrap t parses initial-letter-wrap.

Sourceval pp_margin_trim : margin_trim Pp.t

pp_margin_trim pretty-prints margin-trim.

Sourceval read_margin_trim : Cursor.t -> margin_trim

read_margin_trim t parses margin-trim.

Sourceval pp_offset_path : offset_path Pp.t

pp_offset_path pretty-prints offset-path.

Sourceval read_offset_path : Cursor.t -> offset_path

read_offset_path t parses offset-path.

Sourceval pp_animation_range_item : animation_range_item Pp.t

pp_animation_range_item pretty-prints one <single-animation-range>.

Sourceval read_animation_range_item : Cursor.t -> animation_range_item

read_animation_range_item t parses one <single-animation-range>.

Sourceval read_animation_range : Cursor.t -> animation_range

read_animation_range t parses animation-range.

Sourceval pp_border_image_slice_item : border_image_slice_item Pp.t

pp_border_image_slice_item pretty-prints one border-image-slice item.

Sourceval read_border_image_slice_item : Cursor.t -> border_image_slice_item

read_border_image_slice_item t parses one border-image-slice item.

Sourceval pp_border_image_slice : border_image_slice Pp.t

pp_border_image_slice pretty-prints border-image-slice.

Sourceval read_border_image_slice : Cursor.t -> border_image_slice

read_border_image_slice t parses border-image-slice.

Sourceval read_border_image_repeat : Cursor.t -> border_image_repeat

read_border_image_repeat t parses the border-image-repeat longhand, including the CSS-wide keywords.

Sourceval read_border_image_width : Cursor.t -> border_image_width

read_border_image_width t parses the border-image-width longhand, including the CSS-wide keywords.

Sourceval read_border_image_outset : Cursor.t -> border_image_outset

read_border_image_outset t parses the border-image-outset longhand, including the CSS-wide keywords.

Sourceval pp_border_image_width_item : border_image_width_item Pp.t

pp_border_image_width_item pretty-prints one border-image-width item.

Sourceval read_border_image_width_item : Cursor.t -> border_image_width_item

read_border_image_width_item t parses one border-image-width item.

Sourceval pp_border_image_outset_item : border_image_outset_item Pp.t

pp_border_image_outset_item pretty-prints one border-image-outset item.

Sourceval read_border_image_outset_item : Cursor.t -> border_image_outset_item

read_border_image_outset_item t parses one border-image-outset item.

Sourceval pp_mask_border_mode : mask_border_mode Pp.t

pp_mask_border_mode pretty-prints a mask-border mode keyword.

Sourceval read_mask_border_mode : Cursor.t -> mask_border_mode

read_mask_border_mode t parses a mask-border mode keyword.

Sourceval pp_border_image : border_image Pp.t

pp_border_image pretty-prints the border-image shorthand.

Sourceval read_border_image : Cursor.t -> border_image

read_border_image t parses the border-image shorthand.

Sourceval read_grid_template_areas : Cursor.t -> grid_template_areas

read_grid_template_areas t parses grid-template-areas.

Sourceval read_border_spacing : Cursor.t -> border_spacing

read_border_spacing t parses border-spacing.

Sourceval pp_position_visibility_condition : position_visibility_condition Pp.t

pp_position_visibility_condition pretty-prints one position-visibility condition keyword.

Sourceval read_position_visibility_condition : Cursor.t -> position_visibility_condition

read_position_visibility_condition t parses one position-visibility condition keyword.

Sourceval pp_ray : ray Pp.t

pp_ray pretty-prints a ray() expression.

Sourceval read_ray : Cursor.t -> ray

read_ray t parses a ray() expression.

Sourceval pp_property_value_kind : 'a property_value_kind Pp.t

pp_property_value_kind pretty-prints the kind label of a typed property value.

Sourceval read_property_value_kind : Cursor.t -> 'a property_value_kind

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.

Sourceval pp_position_visibility : position_visibility Pp.t

pp_position_visibility pretty-prints position-visibility.

Sourceval read_position_visibility : Cursor.t -> position_visibility

read_position_visibility t parses position-visibility.

Sourceval pp_position_area : position_area Pp.t

pp_position_area pretty-prints position-area.

Sourceval read_position_area : Cursor.t -> position_area

read_position_area t parses position-area.

Sourceval pp_offset_rotate : offset_rotate Pp.t

pp_offset_rotate pretty-prints offset-rotate.

Sourceval read_offset_rotate : Cursor.t -> offset_rotate

read_offset_rotate t parses offset-rotate.

Sourceval read_page_size : Cursor.t -> page_size

read_page_size t parses the paged-media size descriptor/property.

Sourceval pp_page_size : page_size Pp.t

pp_page_size pretty-prints the paged-media size descriptor/property.

Sourceval pp_page_size_name : page_size_name Pp.t

pp_page_size_name pretty-prints a page size name.

Sourceval read_page_size_name : Cursor.t -> page_size_name

read_page_size_name t parses a page size name.

Sourceval pp_page_size_orientation : page_size_orientation Pp.t

pp_page_size_orientation pretty-prints a page size orientation.

Sourceval read_page_size_orientation : Cursor.t -> page_size_orientation

read_page_size_orientation t parses a page size orientation.

Sourceval url : string -> background_image

url path builds a background_image URL value.

linear_gradient dir stops builds a linear-gradient background image.

Sourceval radial_gradient : ?config:radial_gradient_config -> gradient_stop list -> background_image

radial_gradient ?config stops builds a radial-gradient background image.

Sourceval color_stop : Values.color -> gradient_stop

color_stop c is a gradient stop with just a color.

color_position c pos is a gradient stop with color and position.

Sourceval 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 -> animation

animation_shorthand ?name ?duration ?timing_function ?delay ?iteration_count ?direction ?fill_mode ?play_state ?timeline () is the animation shorthand.

Sourceval transition_shorthand : ?property:transition_property_value -> ?duration:Values.duration -> ?timing_function:timing_function -> ?delay:Values.duration -> ?behavior:transition_behavior -> unit -> transition

transition_shorthand ?property ?duration ?timing_function ?delay ?behavior () is the transition shorthand. Defaults to property = All.

Sourceval border_shorthand : ?width:border_width -> ?style:border_style -> ?color:Values.color -> unit -> border

border_shorthand ?width ?style ?color () is the border shorthand.

Sourceval text_decoration_shorthand : ?lines:text_decoration_line list -> ?style:text_decoration_style -> ?color:Values.color -> ?thickness:Values.length -> unit -> text_decoration

text_decoration_shorthand ?lines ?style ?color ?thickness () is the text-decoration shorthand.

Sourceval 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 -> background

background_shorthand ?color ?image ?position ?size ?repeat ?attachment ?clip ?origin () is the background shorthand.

Pretty-printers and readers for property value types.

Sourceval pp_border_style : border_style Pp.t

pp_border_style is the pretty-printer for border_style.

Sourceval read_border_style : Cursor.t -> border_style

read_border_style t is the border_style parsed from t.

Sourceval pp_border_width : border_width Pp.t

pp_border_width is the pretty-printer for border_width.

Sourceval read_border_width : Cursor.t -> border_width

read_border_width t is the border_width parsed from t.

Sourceval pp_border : border Pp.t

pp_border is the pretty-printer for border.

Sourceval read_border : Cursor.t -> border

read_border t is the border shorthand parsed from t.

Sourceval pp_border_shorthand : border_shorthand Pp.t

pp_border_shorthand pretty-prints a border shorthand value.

Sourceval read_border_shorthand : Cursor.t -> border_shorthand

read_border_shorthand t parses a border shorthand value.

Sourceval pp_line_height : line_height Pp.t

pp_line_height is the pretty-printer for line_height.

Sourceval read_line_height : Cursor.t -> line_height

read_line_height t is the line_height parsed from t.

Sourceval pp_font_weight : font_weight Pp.t

pp_font_weight is the pretty-printer for font_weight.

Sourceval read_font_weight : Cursor.t -> font_weight

read_font_weight t is the font_weight parsed from t.

Sourceval pp_display : display Pp.t

pp_display is the pretty-printer for display.

Sourceval read_display : Cursor.t -> display

read_display t is the display parsed from t.

Sourceval pp_position : position Pp.t

pp_position is the pretty-printer for position.

Sourceval read_position : Cursor.t -> position

read_position t is the position parsed from t.

Sourceval pp_css_wide : css_wide Pp.t

pp_css_wide is the pretty-printer for the CSS-wide keyword set (initial, inherit, unset, revert, revert-layer).

Sourceval read_css_wide : Cursor.t -> css_wide

read_css_wide t reads a CSS-wide keyword (and only those) from t.

Sourceval is_css_wide_keyword : string -> bool

is_css_wide_keyword s is true when s (case-insensitively) is one of initial, inherit, unset, revert, revert-layer.

Sourceval value_has_css_wide_mix : string -> bool

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).

Sourceval components_have_css_wide_mix : Component.t list -> bool

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.

Sourceval pp_visibility : visibility Pp.t

pp_visibility is the pretty-printer for visibility.

Sourceval read_visibility : Cursor.t -> visibility

read_visibility t is the visibility parsed from t.

Sourceval pp_baseline_source : baseline_source Pp.t

pp_baseline_source is the pretty-printer for baseline_source.

Sourceval read_baseline_source : Cursor.t -> baseline_source

read_baseline_source t is the baseline_source parsed from t.

Sourceval pp_alignment_baseline : alignment_baseline Pp.t

pp_alignment_baseline is the pretty-printer for alignment_baseline.

Sourceval read_alignment_baseline : Cursor.t -> alignment_baseline

read_alignment_baseline t is the alignment_baseline parsed from t.

Sourceval pp_baseline_shift : baseline_shift Pp.t

pp_baseline_shift is the pretty-printer for baseline_shift.

Sourceval read_baseline_shift : Cursor.t -> baseline_shift

read_baseline_shift t is the baseline_shift parsed from t.

Sourceval pp_z_index : z_index Pp.t

pp_z_index is the pretty-printer for z_index.

Sourceval read_z_index : Cursor.t -> z_index

read_z_index t is the z_index parsed from t.

Sourceval pp_tab_size : tab_size Pp.t

pp_tab_size is the pretty-printer for tab_size.

Sourceval pp_zoom : zoom Pp.t

pp_zoom is the pretty-printer for zoom.

Sourceval read_tab_size : Cursor.t -> tab_size

read_tab_size t is the tab_size parsed from t.

Sourceval read_zoom : Cursor.t -> zoom

read_zoom t is the zoom value parsed from t.

Sourceval pp_order : order Pp.t

pp_order is the pretty-printer for order.

Sourceval read_order : Cursor.t -> order

read_order t parses an order value (integer or calc expression).

Sourceval pp_overflow : overflow Pp.t

pp_overflow is the pretty-printer for overflow.

Sourceval pp_border_spacing : border_spacing Pp.t

pp_border_spacing is the pretty-printer for border_spacing.

Sourceval read_overflow : Cursor.t -> overflow

read_overflow t is the overflow parsed from t.

Sourceval read_overflow_single : Cursor.t -> overflow

read_overflow_single t parses a single-axis overflow value.

Sourceval pp_flex_direction : flex_direction Pp.t

pp_flex_direction is the pretty-printer for flex_direction.

Sourceval read_flex_direction : Cursor.t -> flex_direction

read_flex_direction t is the flex_direction parsed from t.

Sourceval pp_flex_wrap : flex_wrap Pp.t

pp_flex_wrap is the pretty-printer for flex_wrap.

Sourceval read_flex_wrap : Cursor.t -> flex_wrap

read_flex_wrap t is the flex_wrap parsed from t.

Sourceval pp_flex_flow : flex_flow Pp.t

pp_flex_flow is the pretty-printer for flex_flow.

Sourceval read_flex_flow : Cursor.t -> flex_flow

read_flex_flow t is the flex_flow parsed from t.

Sourceval pp_flex_factor : flex_factor Pp.t

pp_flex_factor is the pretty-printer for flex_factor.

Sourceval read_flex_factor : Cursor.t -> flex_factor

read_flex_factor t is the flex_factor parsed from t.

Sourceval pp_align_items : align_items Pp.t

pp_align_items is the pretty-printer for align_items.

Sourceval read_align_items : Cursor.t -> align_items

read_align_items t is the align_items parsed from t.

Sourceval pp_align_self : align_self Pp.t

pp_align_self is the pretty-printer for align_self.

Sourceval read_align_self : Cursor.t -> align_self

read_align_self t is the align_self parsed from t.

Sourceval pp_justify_content : justify_content Pp.t

pp_justify_content is the pretty-printer for justify_content.

Sourceval read_justify_content : Cursor.t -> justify_content

read_justify_content t is the justify_content parsed from t.

Sourceval pp_align_content : align_content Pp.t

pp_align_content is the pretty-printer for align_content.

Sourceval read_align_content : Cursor.t -> align_content

read_align_content t is the align_content parsed from t.

Sourceval pp_justify_items : justify_items Pp.t

pp_justify_items is the pretty-printer for justify_items.

Sourceval read_justify_items : Cursor.t -> justify_items

read_justify_items t is the justify_items parsed from t.

Sourceval pp_justify_self : justify_self Pp.t

pp_justify_self is the pretty-printer for justify_self.

Sourceval read_justify_self : Cursor.t -> justify_self

read_justify_self t is the justify_self parsed from t.

Sourceval pp_flex : flex Pp.t

pp_flex is the pretty-printer for flex.

Sourceval read_flex : Cursor.t -> flex

read_flex t is the flex parsed from t.

Sourceval pp_column_width : column_width Pp.t

pp_column_width is the pretty-printer for column_width.

Sourceval pp_column_count : column_count Pp.t

pp_column_count is the pretty-printer for column_count.

Sourceval pp_position_try : position_try Pp.t

pp_position_try is the pretty-printer for position_try.

Sourceval pp_border_image_repeat : border_image_repeat Pp.t

pp_border_image_repeat is the pretty-printer for border_image_repeat.

Sourceval pp_border_image_width : border_image_width Pp.t

pp_border_image_width is the pretty-printer for border_image_width.

Sourceval pp_border_image_outset : border_image_outset Pp.t

pp_border_image_outset is the pretty-printer for border_image_outset.

Sourceval pp_font_variant_css21 : font_variant_css21 Pp.t

pp_font_variant_css21 is the pretty-printer for font_variant_css21.

Sourceval read_font_variant_css21 : Cursor.t -> font_variant_css21

read_font_variant_css21 t is the font_variant_css21 parsed from t.

Sourceval pp_list_style : list_style Pp.t

pp_list_style is the pretty-printer for list_style.

Sourceval read_list_style : Cursor.t -> list_style

read_list_style t is the list_style shorthand parsed from t.

Sourceval pp_list_style_shorthand : list_style_shorthand Pp.t

pp_list_style_shorthand is the pretty-printer for list_style_shorthand.

Sourceval read_list_style_shorthand : Cursor.t -> list_style_shorthand

read_list_style_shorthand t is the list_style_shorthand record parsed from t.

Sourceval pp_flex_basis : flex_basis Pp.t

pp_flex_basis pretty-prints a flex-basis value.

Sourceval read_flex_basis : Cursor.t -> flex_basis

read_flex_basis t parses a flex-basis value.

Sourceval pp_place_content : place_content Pp.t

pp_place_content is the pretty-printer for place_content.

Sourceval read_place_content : Cursor.t -> place_content

read_place_content t is the place_content parsed from t.

Sourceval pp_place_items : place_items Pp.t

pp_place_items is the pretty-printer for place_items.

Sourceval read_place_items : Cursor.t -> place_items

read_place_items t is the place_items parsed from t.

Sourceval pp_grid_auto_flow : grid_auto_flow Pp.t

pp_grid_auto_flow is the pretty-printer for grid_auto_flow.

Sourceval read_grid_auto_flow : Cursor.t -> grid_auto_flow

read_grid_auto_flow t is the grid_auto_flow parsed from t.

Sourceval pp_grid_template : grid_template Pp.t

pp_grid_template is the pretty-printer for grid_template.

Sourceval pp_grid_template_areas : grid_template_areas Pp.t

pp_grid_template_areas is the pretty-printer for grid_template_areas.

Sourceval read_grid_template : Cursor.t -> grid_template

read_grid_template t is the grid_template parsed from t.

Sourceval read_grid : Cursor.t -> grid_template

read_grid t is the grid shorthand parsed from t.

Sourceval pp_grid_line : grid_line Pp.t

pp_grid_line is the pretty-printer for grid_line.

Sourceval read_grid_line : Cursor.t -> grid_line

read_grid_line t is the grid_line parsed from t.

Sourceval pp_grid_line_pair : grid_line_pair Pp.t

pp_grid_line_pair is the pretty-printer for grid_line_pair.

Sourceval read_grid_line_pair : Cursor.t -> 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.

Sourceval read_grid_area : Cursor.t -> grid_area

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.

Sourceval pp_grid_area : grid_area Pp.t

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.

Sourceval pp_aspect_ratio : aspect_ratio Pp.t

pp_aspect_ratio is the pretty-printer for aspect_ratio.

Sourceval read_aspect_ratio : Cursor.t -> aspect_ratio

read_aspect_ratio t is the aspect_ratio parsed from t.

Sourceval pp_font_style : font_style Pp.t

pp_font_style is the pretty-printer for font_style.

Sourceval read_font_style : Cursor.t -> font_style

read_font_style t is the font_style parsed from t.

Sourceval pp_font_size : font_size Pp.t

pp_font_size is the pretty-printer for font_size.

Sourceval read_font_size : Cursor.t -> font_size

read_font_size t is the font_size parsed from t.

Sourceval pp_text_align : text_align Pp.t

pp_text_align is the pretty-printer for text_align.

Sourceval read_text_align : Cursor.t -> text_align

read_text_align t is the text_align parsed from t.

Sourceval pp_text_decoration : text_decoration Pp.t

pp_text_decoration is the pretty-printer for text_decoration.

Sourceval read_text_decoration : Cursor.t -> text_decoration

read_text_decoration t is the text_decoration parsed from t.

Sourceval pp_text_decoration_line : text_decoration_line Pp.t

pp_text_decoration_line pretty-prints a text-decoration-line value.

Sourceval read_text_decoration_line : Cursor.t -> text_decoration_line

read_text_decoration_line t parses a text-decoration-line value.

Sourceval pp_text_decoration_shorthand : text_decoration_shorthand Pp.t

pp_text_decoration_shorthand pretty-prints a text-decoration shorthand value.

Sourceval read_text_decoration_shorthand : Cursor.t -> text_decoration_shorthand

read_text_decoration_shorthand t parses a text-decoration shorthand.

Sourceval pp_text_decoration_style : text_decoration_style Pp.t

pp_text_decoration_style is the pretty-printer for text_decoration_style.

Sourceval read_text_decoration_style : Cursor.t -> text_decoration_style

read_text_decoration_style t is the text_decoration_style parsed from t.

Sourceval pp_text_transform : text_transform Pp.t

pp_text_transform is the pretty-printer for text_transform.

Sourceval read_text_transform : Cursor.t -> text_transform

read_text_transform t is the text_transform parsed from t.

Sourceval pp_text_transform_case : text_transform_case Pp.t

pp_text_transform_case pretty-prints a text-transform case keyword.

Sourceval read_text_transform_case : Cursor.t -> text_transform_case

read_text_transform_case t parses a text-transform case keyword.

Sourceval pp_text_overflow : text_overflow Pp.t

pp_text_overflow is the pretty-printer for text_overflow.

Sourceval read_text_overflow : Cursor.t -> text_overflow

read_text_overflow t is the text_overflow parsed from t.

Sourceval pp_text_wrap : text_wrap Pp.t

pp_text_wrap is the pretty-printer for text_wrap.

Sourceval read_text_wrap : Cursor.t -> text_wrap

read_text_wrap t is the text_wrap parsed from t.

Sourceval pp_text_wrap_mode : text_wrap_mode Pp.t

pp_text_wrap_mode is the pretty-printer for text_wrap_mode.

Sourceval read_text_wrap_mode : Cursor.t -> text_wrap_mode

read_text_wrap_mode t is the text_wrap_mode parsed from t.

Sourceval pp_text_wrap_style : text_wrap_style Pp.t

pp_text_wrap_style is the pretty-printer for text_wrap_style.

Sourceval read_text_wrap_style : Cursor.t -> text_wrap_style

read_text_wrap_style t is the text_wrap_style parsed from t.

Sourceval pp_text_box_trim : text_box_trim Pp.t

pp_text_box_trim is the pretty-printer for text_box_trim.

Sourceval read_text_box_trim : Cursor.t -> text_box_trim

read_text_box_trim t is the text_box_trim parsed from t.

Sourceval pp_text_underline_position : text_underline_position Pp.t

pp_text_underline_position pretty-prints text_underline_position.

Sourceval read_text_underline_position : Cursor.t -> text_underline_position

read_text_underline_position t parses text-underline-position.

Sourceval pp_text_box_edge : text_box_edge Pp.t

pp_text_box_edge is the pretty-printer for text_box_edge.

Sourceval read_text_box_edge : ?global:bool -> Cursor.t -> text_box_edge

read_text_box_edge t parses text-box-edge.

Sourceval pp_text_box : text_box Pp.t

pp_text_box is the pretty-printer for text_box.

Sourceval read_text_box : Cursor.t -> text_box

read_text_box t parses text-box.

Sourceval pp_inline_sizing : inline_sizing Pp.t

pp_inline_sizing is the pretty-printer for inline_sizing.

Sourceval read_inline_sizing : Cursor.t -> inline_sizing

read_inline_sizing t parses inline-sizing.

Sourceval pp_line_fit_edge : line_fit_edge Pp.t

pp_line_fit_edge is the pretty-printer for line_fit_edge.

Sourceval read_line_fit_edge : Cursor.t -> line_fit_edge

read_line_fit_edge t parses line-fit-edge.

Sourceval pp_interpolate_size : interpolate_size Pp.t

pp_interpolate_size is the pretty-printer for interpolate_size.

Sourceval read_interpolate_size : Cursor.t -> interpolate_size

read_interpolate_size t parses interpolate-size.

Sourceval pp_min_intrinsic_sizing : min_intrinsic_sizing Pp.t

pp_min_intrinsic_sizing pretty-prints min_intrinsic_sizing.

Sourceval read_min_intrinsic_sizing : Cursor.t -> min_intrinsic_sizing

read_min_intrinsic_sizing t parses min-intrinsic-sizing.

Sourceval pp_ruby_align : ruby_align Pp.t

pp_ruby_align is the pretty-printer for ruby_align.

Sourceval read_ruby_align : Cursor.t -> ruby_align

read_ruby_align t parses ruby-align.

Sourceval pp_ruby_merge : ruby_merge Pp.t

pp_ruby_merge is the pretty-printer for ruby_merge.

Sourceval read_ruby_merge : Cursor.t -> ruby_merge

read_ruby_merge t parses ruby-merge.

Sourceval pp_ruby_overhang : ruby_overhang Pp.t

pp_ruby_overhang is the pretty-printer for ruby_overhang.

Sourceval read_ruby_overhang : Cursor.t -> ruby_overhang

read_ruby_overhang t parses ruby-overhang.

Sourceval pp_ruby_position : ruby_position Pp.t

pp_ruby_position is the pretty-printer for ruby_position.

Sourceval read_ruby_position : Cursor.t -> ruby_position

read_ruby_position t parses ruby-position.

Sourceval pp_glyph_orientation_vertical : glyph_orientation_vertical Pp.t

pp_glyph_orientation_vertical pretty-prints glyph_orientation_vertical.

Sourceval read_glyph_orientation_vertical : Cursor.t -> glyph_orientation_vertical

read_glyph_orientation_vertical t parses glyph-orientation-vertical.

Sourceval pp_text_spacing_trim : text_spacing_trim Pp.t

pp_text_spacing_trim is the pretty-printer for text_spacing_trim.

Sourceval read_text_spacing_trim : Cursor.t -> text_spacing_trim

read_text_spacing_trim t is the text_spacing_trim parsed from t.

Sourceval pp_hyphenate_limit_chars : hyphenate_limit_chars Pp.t

pp_hyphenate_limit_chars pretty-prints a hyphenate_limit_chars.

Sourceval read_hyphenate_limit_chars : Cursor.t -> hyphenate_limit_chars

read_hyphenate_limit_chars t parses a hyphenate_limit_chars.

Sourceval pp_initial_letter : initial_letter Pp.t

pp_initial_letter pretty-prints an initial_letter.

Sourceval pp_text_size_adjust : text_size_adjust Pp.t

pp_text_size_adjust pretty-prints a text-size-adjust value.

Sourceval pp_white_space : white_space Pp.t

pp_white_space is the pretty-printer for white_space.

Sourceval read_white_space : Cursor.t -> white_space

read_white_space t is the white_space parsed from t.

Sourceval pp_word_break : word_break Pp.t

pp_word_break is the pretty-printer for word_break.

Sourceval read_word_break : Cursor.t -> word_break

read_word_break t is the word_break parsed from t.

Sourceval pp_overflow_wrap : overflow_wrap Pp.t

pp_overflow_wrap is the pretty-printer for overflow_wrap.

Sourceval read_overflow_wrap : Cursor.t -> overflow_wrap

read_overflow_wrap t is the overflow_wrap parsed from t.

Sourceval pp_hyphens : hyphens Pp.t

pp_hyphens is the pretty-printer for hyphens.

Sourceval read_hyphens : Cursor.t -> hyphens

read_hyphens t is the hyphens parsed from t.

Sourceval pp_list_style_type : list_style_type Pp.t

pp_list_style_type is the pretty-printer for list_style_type.

Sourceval read_list_style_type : Cursor.t -> list_style_type

read_list_style_type t is the list_style_type parsed from t.

Sourceval pp_symbols_type : symbols_type Pp.t

pp_symbols_type pretty-prints a symbols() system type.

Sourceval read_symbols_type : Cursor.t -> symbols_type

read_symbols_type t parses a symbols() system type.

Sourceval pp_list_style_symbol : list_style_symbol Pp.t

pp_list_style_symbol pretty-prints one symbols() symbol.

Sourceval read_list_style_symbol : Cursor.t -> list_style_symbol

read_list_style_symbol t parses one symbols() symbol.

Sourceval pp_list_style_position : list_style_position Pp.t

pp_list_style_position is the pretty-printer for list_style_position.

Sourceval read_list_style_position : Cursor.t -> list_style_position

read_list_style_position t is the list_style_position parsed from t.

Sourceval pp_list_style_image : list_style_image Pp.t

pp_list_style_image is the pretty-printer for list_style_image.

Sourceval read_list_style_image : Cursor.t -> list_style_image

read_list_style_image t is the list_style_image parsed from t.

Sourceval pp_table_layout : table_layout Pp.t

pp_table_layout is the pretty-printer for table_layout.

Sourceval read_table_layout : Cursor.t -> table_layout

read_table_layout t is the table_layout parsed from t.

Sourceval pp_vertical_align : vertical_align Pp.t

pp_vertical_align is the pretty-printer for vertical_align.

Sourceval read_vertical_align : Cursor.t -> vertical_align

read_vertical_align t is the vertical_align parsed from t.

Sourceval pp_border_collapse : border_collapse Pp.t

pp_border_collapse is the pretty-printer for border_collapse.

Sourceval read_border_collapse : Cursor.t -> border_collapse

read_border_collapse t is the border_collapse parsed from t.

Sourceval pp_outline_style : outline_style Pp.t

pp_outline_style is the pretty-printer for outline_style.

Sourceval read_outline_style : Cursor.t -> outline_style

read_outline_style t is the outline_style parsed from t.

Sourceval pp_outline : outline Pp.t

pp_outline is the pretty-printer for outline.

Sourceval read_outline : Cursor.t -> outline

read_outline t is the outline parsed from t.

Sourceval pp_font_family : font_family Pp.t

pp_font_family is the pretty-printer for font_family.

Sourceval read_font_family : Cursor.t -> font_family

read_font_family t is the font_family parsed from t.

Sourceval pp_font : font Pp.t

pp_font is the pretty-printer for the font shorthand.

Sourceval read_font : Cursor.t -> font

read_font t is the font shorthand parsed from t.

Sourceval pp_font_shorthand : font_shorthand Pp.t

pp_font_shorthand is the pretty-printer for the font_shorthand record.

Sourceval read_font_shorthand : Cursor.t -> font_shorthand

read_font_shorthand t is the font_shorthand record (the <size>[/<line-height>]? <family>+ body with optional prefixes) parsed from t.

Sourceval pp_font_src : Font_face.src Pp.t

pp_font_src is the pretty-printer for @font-face src values.

Sourceval read_font_src : Cursor.t -> Font_face.src

read_font_src t is the @font-face src value parsed from t.

Sourceval pp_font_stretch : font_stretch Pp.t

pp_font_stretch is the pretty-printer for font_stretch.

Sourceval read_font_stretch : Cursor.t -> font_stretch

read_font_stretch t is the font_stretch parsed from t.

Sourceval pp_font_display : font_display Pp.t

pp_font_display is the pretty-printer for font_display.

Sourceval read_font_display : Cursor.t -> font_display

read_font_display t is the font_display parsed from t.

Sourceval pp_unicode_range : unicode_range Pp.t

pp_unicode_range is the pretty-printer for unicode_range.

Sourceval read_unicode_range : Cursor.t -> unicode_range

read_unicode_range t is the unicode_range parsed from t.

Sourceval pp_font_variant_numeric_token : font_variant_numeric_token Pp.t

pp_font_variant_numeric_token is the pretty-printer for font_variant_numeric_token.

Sourceval read_font_variant_numeric_token : Cursor.t -> font_variant_numeric_token

read_font_variant_numeric_token t is the font_variant_numeric_token parsed from t.

Sourceval pp_font_variant_numeric : font_variant_numeric Pp.t

pp_font_variant_numeric is the pretty-printer for font_variant_numeric.

Sourceval read_font_variant_numeric : Cursor.t -> font_variant_numeric

read_font_variant_numeric t is the font_variant_numeric parsed from t.

Sourceval pp_font_feature_settings : font_feature_settings Pp.t

pp_font_feature_settings is the pretty-printer for font_feature_settings.

Sourceval read_font_feature_settings : Cursor.t -> font_feature_settings

read_font_feature_settings t is the font_feature_settings parsed from t.

Sourceval pp_font_variation_settings : font_variation_settings Pp.t

pp_font_variation_settings is the pretty-printer for font_variation_settings.

Sourceval read_font_variation_settings : Cursor.t -> font_variation_settings

read_font_variation_settings t is the font_variation_settings parsed from t.

Sourceval pp_transform : transform Pp.t

pp_transform is the pretty-printer for transform.

Sourceval pp_transforms : transform list Pp.t

pp_transforms is the pretty-printer for transform list.

Sourceval read_transform : Cursor.t -> transform

read_transform t is the transform parsed from t.

Sourceval read_transforms : Cursor.t -> transform list

read_transforms t is the transform list parsed from t.

Sourceval read_transform_origin : Cursor.t -> transform_origin

read_transform_origin t is the transform_origin parsed from t.

Sourceval pp_transform_box : transform_box Pp.t

pp_transform_box is the pretty-printer for transform_box.

Sourceval read_transform_box : Cursor.t -> transform_box

read_transform_box t is the transform_box parsed from t.

Sourceval pp_transform_style : transform_style Pp.t

pp_transform_style is the pretty-printer for transform_style.

Sourceval read_transform_style : Cursor.t -> transform_style

read_transform_style t is the transform_style parsed from t.

Sourceval pp_backface_visibility : backface_visibility Pp.t

pp_backface_visibility is the pretty-printer for backface_visibility.

Sourceval read_backface_visibility : Cursor.t -> backface_visibility

read_backface_visibility t is the backface_visibility parsed from t.

Sourceval pp_scale : scale Pp.t

pp_scale is the pretty-printer for scale.

Sourceval read_scale : Cursor.t -> scale

read_scale t is the scale parsed from t.

Sourceval pp_steps_direction : steps_direction Pp.t

pp_steps_direction is the pretty-printer for steps_direction.

Sourceval pp_timing_function : timing_function Pp.t

pp_timing_function is the pretty-printer for timing_function.

Sourceval read_steps_direction : Cursor.t -> steps_direction

read_steps_direction t is the steps_direction parsed from t.

Sourceval read_timing_function : Cursor.t -> timing_function

read_timing_function t is the timing_function parsed from t.

Sourceval read_timing_function_list : Cursor.t -> timing_function

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.

Sourceval read_duration_list : (Cursor.t -> Values.duration) -> Cursor.t -> Values.duration

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.

Sourceval pp_transition_property_value : transition_property_value Pp.t

pp_transition_property_value is the pretty-printer for transition_property_value.

Sourceval read_transition_property_value : Cursor.t -> transition_property_value

read_transition_property_value t is the transition_property_value parsed from t.

Sourceval pp_transition_property : transition_property Pp.t

pp_transition_property is the pretty-printer for transition_property.

Sourceval read_transition_property : Cursor.t -> transition_property

read_transition_property t is the transition_property parsed from t.

Sourceval pp_transition_behavior : transition_behavior Pp.t

pp_transition_behavior is the pretty-printer for transition_behavior.

Sourceval read_transition_behavior : Cursor.t -> transition_behavior

read_transition_behavior t is the transition_behavior parsed from t.

Sourceval pp_overlay : overlay Pp.t

pp_overlay is the pretty-printer for overlay.

Sourceval read_overlay : Cursor.t -> overlay

read_overlay t parses overlay.

Sourceval pp_transition_shorthand : transition_shorthand Pp.t

pp_transition_shorthand is the pretty-printer for transition_shorthand.

Sourceval read_transition_shorthand : Cursor.t -> transition_shorthand

read_transition_shorthand t is the transition_shorthand parsed from t.

Sourceval pp_transition : transition Pp.t

pp_transition is the pretty-printer for transition.

Sourceval read_transition : Cursor.t -> transition

read_transition t is the transition parsed from t.

Sourceval read_transitions : Cursor.t -> transition list

read_transitions t parses a comma-separated list of transitions.

Sourceval pp_animation_direction : animation_direction Pp.t

pp_animation_direction is the pretty-printer for animation_direction.

Sourceval read_animation_direction : Cursor.t -> animation_direction

read_animation_direction t is the animation_direction parsed from t.

Sourceval pp_animation_fill_mode : animation_fill_mode Pp.t

pp_animation_fill_mode is the pretty-printer for animation_fill_mode.

Sourceval read_animation_fill_mode : Cursor.t -> animation_fill_mode

read_animation_fill_mode t is the animation_fill_mode parsed from t.

Sourceval pp_animation_iteration_count : animation_iteration_count Pp.t

pp_animation_iteration_count is the pretty-printer for animation_iteration_count.

Sourceval read_animation_iteration_count : Cursor.t -> animation_iteration_count

read_animation_iteration_count t is the animation_iteration_count parsed from t.

Sourceval pp_animation_name : animation_name Pp.t

pp_animation_name is the pretty-printer for animation_name.

Sourceval read_animation_name : Cursor.t -> animation_name

read_animation_name t is the animation_name parsed from t.

Sourceval pp_animation_play_state : animation_play_state Pp.t

pp_animation_play_state is the pretty-printer for animation_play_state.

Sourceval read_animation_play_state : Cursor.t -> animation_play_state

read_animation_play_state t is the animation_play_state parsed from t.

Sourceval pp_animation_composition_item : animation_composition_item Pp.t

pp_animation_composition_item is the pretty-printer for animation_composition_item.

Sourceval read_animation_composition_item : Cursor.t -> animation_composition_item

read_animation_composition_item t is the animation_composition_item parsed from t.

Sourceval pp_animation_composition : animation_composition Pp.t

pp_animation_composition is the pretty-printer for animation_composition.

Sourceval read_animation_composition : Cursor.t -> animation_composition

read_animation_composition t is the animation_composition parsed from t.

Sourceval pp_animation_shorthand : animation_shorthand Pp.t

pp_animation_shorthand is the pretty-printer for animation_shorthand.

Sourceval read_animation_shorthand : Cursor.t -> animation_shorthand

read_animation_shorthand t is the animation_shorthand parsed from t.

Sourceval pp_animation : animation Pp.t

pp_animation is the pretty-printer for animation.

Sourceval read_animation : Cursor.t -> animation

read_animation t is the animation parsed from t.

Sourceval read_animations : Cursor.t -> animation list

read_animations t parses a comma-separated list of animations.

Sourceval pp_blend_mode : blend_mode Pp.t

pp_blend_mode is the pretty-printer for blend_mode.

Sourceval read_blend_mode : Cursor.t -> blend_mode

read_blend_mode t is the blend_mode parsed from t.

Sourceval pp_position_value : position_value Pp.t

pp_position_value pretty-prints a 2D position. Special case: Center, Center prints as "center".

Sourceval pp_transform_origin : transform_origin Pp.t

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.

Sourceval pp_text_shadow : text_shadow Pp.t

pp_text_shadow is the pretty-printer for text_shadow.

Sourceval read_text_shadow : Cursor.t -> text_shadow

read_text_shadow t is the text_shadow parsed from t.

Sourceval read_text_shadows : Cursor.t -> text_shadow list

read_text_shadows t parses a comma-separated list of text_shadows.

Sourceval pp_translate_value : translate_value Pp.t

pp_translate_value is the pretty-printer for translate_value.

Sourceval read_translate_value : Cursor.t -> translate_value

read_translate_value t is the translate_value parsed from t.

Sourceval pp_rotate_value : rotate_value Pp.t

pp_rotate_value is the pretty-printer for rotate_value.

Sourceval read_rotate_value : Cursor.t -> rotate_value

read_rotate_value t is the rotate_value parsed from t.

Sourceval pp_filter : filter Pp.t

pp_filter is the pretty-printer for filter.

Sourceval read_filter : Cursor.t -> filter

read_filter t is the filter parsed from t.

Sourceval pp_opacity : opacity Pp.t

pp_opacity is the pretty-printer for opacity.

Sourceval read_opacity : Cursor.t -> opacity

read_opacity t is the opacity parsed from t.

Sourceval pp_shape_image_threshold : shape_image_threshold Pp.t

pp_shape_image_threshold is the pretty-printer for shape_image_threshold.

Sourceval read_shape_image_threshold : Cursor.t -> shape_image_threshold

read_shape_image_threshold t parses shape_image_threshold.

Sourceval pp_overflow_clip_margin : overflow_clip_margin Pp.t

pp_overflow_clip_margin is the pretty-printer for overflow_clip_margin.

Sourceval read_overflow_clip_margin : Cursor.t -> overflow_clip_margin

read_overflow_clip_margin t parses overflow_clip_margin.

Sourceval pp_background_attachment : background_attachment Pp.t

pp_background_attachment is the pretty-printer for background_attachment.

Sourceval read_background_attachment : Cursor.t -> background_attachment

read_background_attachment t is the background_attachment parsed from t.

Sourceval pp_background_repeat : background_repeat Pp.t

pp_background_repeat is the pretty-printer for background_repeat.

Sourceval read_background_repeat : Cursor.t -> background_repeat

read_background_repeat t is the single-layer background_repeat parsed from t (used by the background / mask shorthand).

Sourceval read_background_repeat_list : Cursor.t -> background_repeat

read_background_repeat_list t parses the standalone background-repeat / mask-repeat longhand: a comma-separated layer list.

Sourceval pp_background_size : background_size Pp.t

pp_background_size is the pretty-printer for background_size.

Sourceval read_background_size : Cursor.t -> background_size

read_background_size t is the single-layer background_size parsed from t (used by the shorthand).

Sourceval read_background_size_list : Cursor.t -> background_size

read_background_size_list t parses the standalone size longhand: a comma-separated layer list.

Sourceval pp_gradient_direction : gradient_direction Pp.t

pp_gradient_direction is the pretty-printer for gradient_direction.

Sourceval read_gradient_direction : Cursor.t -> gradient_direction

read_gradient_direction t is the gradient_direction parsed from t.

Sourceval read_gradient_prelude : Cursor.t -> gradient_direction

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.

Sourceval pp_color_interpolation : color_interpolation Pp.t

pp_color_interpolation pretty-prints a color interpolation space (e.g., "in oklab").

Sourceval read_color_interpolation : Cursor.t -> color_interpolation

read_color_interpolation t parses a color interpolation space starting with the keyword "in" (e.g., "in oklab").

Sourceval pp_hue_interpolation_method : hue_interpolation_method Pp.t

pp_hue_interpolation_method pretty-prints a hue interpolation method.

Sourceval read_hue_interpolation_method : Cursor.t -> hue_interpolation_method option

read_hue_interpolation_method t parses a trailing hue interpolation method such as "shorter hue", returning None when no method is present.

Sourceval pp_radial_shape : radial_shape Pp.t

pp_radial_shape is the pretty-printer for radial_shape.

Sourceval read_radial_shape : Cursor.t -> radial_shape

read_radial_shape t is the radial_shape parsed from t.

Sourceval pp_radial_size : radial_size Pp.t

pp_radial_size is the pretty-printer for radial_size.

Sourceval read_radial_size : Cursor.t -> radial_size

read_radial_size t is the radial_size parsed from t.

Sourceval pp_radial_gradient_config : radial_gradient_config Pp.t

pp_radial_gradient_config is the pretty-printer for radial_gradient_config.

Sourceval read_radial_gradient_config : Cursor.t -> radial_gradient_config

read_radial_gradient_config t is the radial_gradient_config parsed from t.

Sourceval pp_conic_gradient_config : conic_gradient_config Pp.t

pp_conic_gradient_config pretty-prints a conic-gradient prefix configuration.

Sourceval read_conic_gradient_config : Cursor.t -> conic_gradient_config

read_conic_gradient_config t parses a conic-gradient prefix configuration.

Sourceval pp_gradient_position : gradient_position Pp.t

pp_gradient_position pretty-prints a gradient prelude/position value.

Sourceval read_gradient_position : Cursor.t -> gradient_position

read_gradient_position t parses a linear, radial, or conic gradient prelude/position value.

Sourceval pp_gradient_stop : gradient_stop Pp.t

pp_gradient_stop is the pretty-printer for gradient_stop.

Sourceval read_gradient_stop : Cursor.t -> gradient_stop

read_gradient_stop t is the gradient_stop parsed from t.

Sourceval read_gradient_stop_list : Cursor.t -> gradient_stop

read_gradient_stop_list t parses a comma-separated gradient_stop list.

Sourceval pp_background_image : background_image Pp.t

pp_background_image is the pretty-printer for background_image.

Sourceval read_background_image : Cursor.t -> background_image

read_background_image t is the background_image parsed from t.

Sourceval read_background_images : Cursor.t -> background_image list

read_background_images t parses a comma-separated list of background_images.

Sourceval minify_background_image : background_image -> background_image

minify_background_image img converts named colors in gradient stops to their shortest hex form, matching Lightning CSS behavior.

Sourceval read_background_box : Cursor.t -> background_box

read_background_box t parses a single-layer background-clip or background-origin value (used by the shorthand).

Sourceval read_background_box_list : Cursor.t -> background_box

read_background_box_list t parses the standalone background-clip / background-origin longhand: a comma-separated layer list.

Sourceval pp_background_box : background_box Pp.t

pp_background_box pretty-prints a background-clip or background-origin value.

Sourceval read_webkit_mask_composite : Cursor.t -> webkit_mask_composite

read_webkit_mask_composite t parses a webkit-mask-composite value.

Sourceval pp_webkit_mask_composite : webkit_mask_composite Pp.t

pp_webkit_mask_composite pretty-prints a webkit-mask-composite value.

Sourceval read_mask_composite : Cursor.t -> mask_composite

read_mask_composite t parses a single-layer standard mask-composite value (used by the shorthand).

Sourceval read_mask_composite_list : Cursor.t -> mask_composite

read_mask_composite_list t parses the standalone mask-composite longhand: a comma-separated layer list.

Sourceval pp_mask_composite : mask_composite Pp.t

pp_mask_composite pretty-prints a standard mask-composite value.

Sourceval read_webkit_mask_source_type : Cursor.t -> webkit_mask_source_type

read_webkit_mask_source_type t parses a webkit-mask-source-type value.

Sourceval pp_webkit_mask_source_type : webkit_mask_source_type Pp.t

pp_webkit_mask_source_type pretty-prints a webkit-mask-source-type value.

Sourceval read_mask_mode : Cursor.t -> mask_mode

read_mask_mode t parses a standard mask-mode value.

Sourceval pp_mask_mode : mask_mode Pp.t

pp_mask_mode pretty-prints a standard mask-mode value.

Sourceval read_mask_type : Cursor.t -> mask_type

read_mask_type t parses a mask-type value (alpha/luminance).

Sourceval pp_mask_type : mask_type Pp.t

pp_mask_type pretty-prints a mask-type value.

Sourceval read_mask_box : Cursor.t -> mask_box

read_mask_box t parses a single-layer mask-clip or mask-origin value (used by the shorthand).

Sourceval read_mask_box_list : Cursor.t -> mask_box

read_mask_box_list t parses the standalone mask-clip / mask-origin longhand: a comma-separated layer list.

Sourceval pp_mask_box : mask_box Pp.t

pp_mask_box pretty-prints a mask-clip or mask-origin value.

Sourceval read_mask : Cursor.t -> mask

read_mask t parses a mask shorthand value.

Sourceval pp_mask : mask Pp.t

pp_mask pretty-prints a mask shorthand value.

Sourceval read_background_shorthand : Cursor.t -> background_shorthand

read_background_shorthand t parses a background shorthand property.

Sourceval pp_background_shorthand : background_shorthand Pp.t

pp_background_shorthand pretty-prints a background shorthand value.

Sourceval read_background : Cursor.t -> background

read_background t parses a background property.

Sourceval read_backgrounds : Cursor.t -> background list

read_backgrounds t parses a comma-separated list of background properties.

Sourceval pp_background : background Pp.t

pp_background pretty-prints a background value.

Sourceval pp_border_radius : border_radius Pp.t

pp_border_radius pretty-prints a border-radius shorthand value.

Sourceval read_border_radius : Cursor.t -> border_radius

read_border_radius t parses a border-radius shorthand value.

Sourceval read_gap : Cursor.t -> gap

read_gap t parses a gap shorthand property (one or two length values).

Sourceval pp_gap : gap Pp.t

pp_gap pretty-prints a gap shorthand value.

Sourceval pp_cursor : cursor Pp.t

pp_cursor is the pretty-printer for cursor.

Sourceval read_cursor : Cursor.t -> cursor

read_cursor t is the cursor parsed from t.

Sourceval pp_interactivity : interactivity Pp.t

pp_interactivity is the pretty-printer for interactivity.

Sourceval read_interactivity : Cursor.t -> interactivity

read_interactivity t is the interactivity parsed from t.

Sourceval pp_caret_animation : caret_animation Pp.t

pp_caret_animation is the pretty-printer for caret_animation.

Sourceval read_caret_animation : Cursor.t -> caret_animation

read_caret_animation t is the caret_animation parsed from t.

Sourceval pp_caret_shape : caret_shape Pp.t

pp_caret_shape is the pretty-printer for caret_shape.

Sourceval read_caret_shape : Cursor.t -> caret_shape

read_caret_shape t is the caret_shape parsed from t.

Sourceval pp_caret : caret Pp.t

pp_caret is the pretty-printer for caret.

Sourceval read_caret : Cursor.t -> caret

read_caret t is the caret parsed from t.

Sourceval pp_interest_delay : interest_delay Pp.t

pp_interest_delay is the pretty-printer for interest_delay.

Sourceval read_interest_delay : ?longhand:bool -> Cursor.t -> interest_delay

read_interest_delay t is the interest_delay parsed from t.

Sourceval pp_nav_scope : nav_scope Pp.t

pp_nav_scope is the pretty-printer for nav_scope.

Sourceval read_nav_scope : Cursor.t -> nav_scope

read_nav_scope t is the nav_scope parsed from t.

Sourceval pp_nav : nav Pp.t

pp_nav is the pretty-printer for nav.

Sourceval read_nav : Cursor.t -> nav

read_nav t is the nav parsed from t.

Sourceval pp_user_select : user_select Pp.t

pp_user_select is the pretty-printer for user_select.

Sourceval read_user_select : Cursor.t -> user_select

read_user_select t is the user_select parsed from t.

Sourceval pp_pointer_events : pointer_events Pp.t

pp_pointer_events is the pretty-printer for pointer_events.

Sourceval read_pointer_events : Cursor.t -> pointer_events

read_pointer_events t is the pointer_events parsed from t.

Sourceval pp_touch_action : touch_action Pp.t

pp_touch_action is the pretty-printer for touch_action.

Sourceval read_touch_action : Cursor.t -> touch_action

read_touch_action t is the touch_action parsed from t.

Sourceval pp_resize : resize Pp.t

pp_resize is the pretty-printer for resize.

Sourceval read_resize : Cursor.t -> resize

read_resize t is the resize parsed from t.

Sourceval pp_box_sizing : box_sizing Pp.t

pp_box_sizing is the pretty-printer for box_sizing.

Sourceval read_box_sizing : Cursor.t -> box_sizing

read_box_sizing t is the box_sizing parsed from t.

Sourceval pp_field_sizing : field_sizing Pp.t

pp_field_sizing is the pretty-printer for field_sizing.

Sourceval read_field_sizing : Cursor.t -> field_sizing

read_field_sizing t is the field_sizing parsed from t.

Sourceval pp_caption_side : caption_side Pp.t

pp_caption_side is the pretty-printer for caption_side.

Sourceval read_caption_side : Cursor.t -> caption_side

read_caption_side t is the caption_side parsed from t.

Sourceval pp_object_fit : object_fit Pp.t

pp_object_fit is the pretty-printer for object_fit.

Sourceval read_object_fit : Cursor.t -> object_fit

read_object_fit t is the object_fit parsed from t.

Sourceval pp_object_view_box : object_view_box Pp.t

pp_object_view_box is the pretty-printer for object_view_box.

Sourceval read_object_view_box : Cursor.t -> object_view_box

read_object_view_box t is the object_view_box parsed from t.

Sourceval read_position_value : Cursor.t -> position_value

read_position_value t is the position_value parsed from t.

Sourceval pp_background_position : background_position Pp.t

pp_background_position is the pretty-printer for background_position.

Sourceval read_background_position : Cursor.t -> background_position

read_background_position t is the background_position parsed from t.

Sourceval pp_content : content Pp.t

pp_content is the pretty-printer for content.

Sourceval read_content : Cursor.t -> content

read_content t is the content parsed from t.

Sourceval pp_counter_set : counter_set Pp.t

pp_counter_set is the pretty-printer for counter_set.

Sourceval read_counter_set : Cursor.t -> counter_set

read_counter_set t is the counter_set parsed from t.

Sourceval pp_content_visibility : content_visibility Pp.t

pp_content_visibility is the pretty-printer for content_visibility.

Sourceval read_content_visibility : Cursor.t -> content_visibility

read_content_visibility t is the content_visibility parsed from t.

Sourceval pp_quotes : quotes Pp.t

pp_quotes is the pretty-printer for quotes.

Sourceval read_quotes : Cursor.t -> quotes

read_quotes t is the quotes parsed from t.

Sourceval pp_container_type : container_type Pp.t

pp_container_type is the pretty-printer for container_type.

Sourceval read_container_type : Cursor.t -> container_type

read_container_type t is the container_type parsed from t.

Sourceval pp_container_name : container_name Pp.t

pp_container_name is the pretty-printer for container_name.

Sourceval read_container_name : Cursor.t -> container_name

read_container_name t is the container_name parsed from t.

Sourceval pp_anchor_name : anchor_name Pp.t

pp_anchor_name is the pretty-printer for anchor_name.

Sourceval read_anchor_name : Cursor.t -> anchor_name

read_anchor_name t is the anchor_name parsed from t.

Sourceval pp_position_anchor : position_anchor Pp.t

pp_position_anchor is the pretty-printer for position_anchor.

Sourceval read_position_anchor : Cursor.t -> position_anchor

read_position_anchor t is the position_anchor parsed from t.

Sourceval pp_overflow_anchor : overflow_anchor Pp.t

pp_overflow_anchor is the pretty-printer for overflow_anchor.

Sourceval read_overflow_anchor : Cursor.t -> overflow_anchor

read_overflow_anchor t is the overflow_anchor parsed from t.

Sourceval pp_scrollbar_width : scrollbar_width Pp.t

pp_scrollbar_width is the pretty-printer for scrollbar_width.

Sourceval read_scrollbar_width : Cursor.t -> scrollbar_width

read_scrollbar_width t is the scrollbar_width parsed from t.

Sourceval pp_scrollbar_color : scrollbar_color Pp.t

pp_scrollbar_color is the pretty-printer for scrollbar_color.

Sourceval read_scrollbar_color : Cursor.t -> scrollbar_color

read_scrollbar_color t is the scrollbar_color parsed from t.

Sourceval pp_scrollbar_gutter : scrollbar_gutter Pp.t

pp_scrollbar_gutter is the pretty-printer for scrollbar_gutter.

Sourceval read_scrollbar_gutter : Cursor.t -> scrollbar_gutter

read_scrollbar_gutter t is the scrollbar_gutter parsed from t.

Sourceval pp_font_palette : font_palette Pp.t

pp_font_palette is the pretty-printer for font_palette.

Sourceval read_font_palette : Cursor.t -> font_palette

read_font_palette t is the font_palette parsed from t.

Sourceval pp_font_synthesis : font_synthesis Pp.t

pp_font_synthesis is the pretty-printer for font_synthesis.

Sourceval read_font_synthesis : Cursor.t -> font_synthesis

read_font_synthesis t is the font_synthesis parsed from t.

Sourceval pp_animation_timeline : animation_timeline Pp.t

pp_animation_timeline is the pretty-printer for animation_timeline.

Sourceval read_animation_timeline : Cursor.t -> animation_timeline

read_animation_timeline t is the animation_timeline parsed from t.

Sourceval pp_animation_range : animation_range Pp.t

pp_animation_range is the pretty-printer for animation_range.

Sourceval pp_view_transition_name : view_transition_name Pp.t

pp_view_transition_name is the pretty-printer for view_transition_name.

Sourceval read_view_transition_name : Cursor.t -> view_transition_name

read_view_transition_name t is the view_transition_name parsed from t.

Sourceval pp_view_transition_class : view_transition_class Pp.t

pp_view_transition_class is the pretty-printer for view_transition_class.

Sourceval read_view_transition_class : Cursor.t -> view_transition_class

read_view_transition_class t parses view_transition_class.

Sourceval pp_image_orientation : image_orientation Pp.t

pp_image_orientation is the pretty-printer for image_orientation.

Sourceval read_image_orientation : Cursor.t -> image_orientation

read_image_orientation t is the image_orientation parsed from t.

Sourceval pp_image_rendering : image_rendering Pp.t

pp_image_rendering is the pretty-printer for image_rendering.

Sourceval read_image_rendering : Cursor.t -> image_rendering

read_image_rendering t is the image_rendering parsed from t.

Sourceval pp_resolution : resolution Pp.t

pp_resolution is the pretty-printer for resolution.

Sourceval read_resolution : Cursor.t -> resolution

read_resolution t is the resolution parsed from t.

Sourceval pp_image_resolution : image_resolution Pp.t

pp_image_resolution is the pretty-printer for image_resolution.

Sourceval read_image_resolution : Cursor.t -> image_resolution

read_image_resolution t is the image_resolution parsed from t.

Sourceval pp_contain_intrinsic_size : contain_intrinsic_size Pp.t

pp_contain_intrinsic_size is the pretty-printer for contain_intrinsic_size.

Sourceval read_contain_intrinsic_size : Cursor.t -> contain_intrinsic_size

read_contain_intrinsic_size t is the contain_intrinsic_size parsed from t.

Sourceval pp_contain_intrinsic_longhand : contain_intrinsic_longhand Pp.t

pp_contain_intrinsic_longhand is the pretty-printer for contain_intrinsic_longhand.

Sourceval read_contain_intrinsic_longhand : Cursor.t -> contain_intrinsic_longhand

read_contain_intrinsic_longhand t parses a contain-intrinsic-* longhand value.

Sourceval pp_container_shorthand : container_shorthand Pp.t

pp_container_shorthand is the pretty-printer for container_shorthand.

Sourceval read_container_shorthand : Cursor.t -> container_shorthand

read_container_shorthand t is the container_shorthand parsed from t.

Sourceval pp_contain : contain Pp.t

pp_contain is the pretty-printer for contain.

Sourceval read_contain : Cursor.t -> contain

read_contain t is the contain parsed from t.

Sourceval pp_isolation : isolation Pp.t

pp_isolation is the pretty-printer for isolation.

Sourceval read_isolation : Cursor.t -> isolation

read_isolation t is the isolation parsed from t.

Sourceval pp_break_value : break_value Pp.t

pp_break_value is the pretty-printer for break_value.

Sourceval read_break_value : Cursor.t -> break_value

read_break_value t is the break value parsed from t.

Sourceval pp_break_inside_value : break_inside_value Pp.t

pp_break_inside_value is the pretty-printer for break_inside_value.

Sourceval read_break_inside_value : Cursor.t -> break_inside_value

read_break_inside_value t is the break-inside value parsed from t.

Sourceval pp_page_break_value : page_break_value Pp.t

pp_page_break_value is the printer for legacy page-break-*.

Sourceval read_page_break_value : Cursor.t -> page_break_value

read_page_break_value t is the legacy page-break-before / -after value parsed from t.

Sourceval pp_page_break_inside_value : page_break_inside_value Pp.t

pp_page_break_inside_value is the printer for legacy page-break-inside.

Sourceval read_page_break_inside_value : Cursor.t -> page_break_inside_value

read_page_break_inside_value t is the legacy page-break-inside value parsed from t.

Sourceval pp_columns_value : columns_value Pp.t

pp_columns_value is the pretty-printer for columns_value.

Sourceval read_columns_value : Cursor.t -> columns_value

read_columns_value t is the columns_value parsed from t.

Sourceval read_column_width : Cursor.t -> column_width

read_column_width t is the column_width parsed from t.

Sourceval read_column_count : Cursor.t -> column_count

read_column_count t is the column_count parsed from t.

Sourceval pp_logical_border_color : logical_border_color Pp.t

pp_logical_border_color is the pretty-printer for logical_border_color.

Sourceval read_logical_border_color : Cursor.t -> logical_border_color

read_logical_border_color t is the logical_border_color parsed from t.

Sourceval pp_column_span : column_span Pp.t

pp_column_span is the pretty-printer for column_span.

Sourceval read_column_span : Cursor.t -> column_span

read_column_span t is the column_span parsed from t.

Sourceval pp_text_emphasis : text_emphasis Pp.t

pp_text_emphasis is the pretty-printer for text_emphasis.

Sourceval read_text_emphasis : Cursor.t -> text_emphasis

read_text_emphasis t is the text_emphasis parsed from t.

Sourceval pp_text_emphasis_style : text_emphasis_style Pp.t

pp_text_emphasis_style is the pretty-printer for text_emphasis_style.

Sourceval read_text_emphasis_style : Cursor.t -> text_emphasis_style

read_text_emphasis_style t is the text_emphasis_style parsed from t.

Sourceval pp_text_decoration_skip : text_decoration_skip Pp.t

pp_text_decoration_skip is the pretty-printer for text_decoration_skip.

Sourceval read_text_decoration_skip : Cursor.t -> text_decoration_skip

read_text_decoration_skip t is the text_decoration_skip parsed from t.

Sourceval pp_text_decoration_skip_self : text_decoration_skip_self Pp.t

pp_text_decoration_skip_self is the pretty-printer for text_decoration_skip_self.

Sourceval read_text_decoration_skip_self : Cursor.t -> text_decoration_skip_self

read_text_decoration_skip_self t is the text_decoration_skip_self parsed from t.

Sourceval pp_text_decoration_skip_box : text_decoration_skip_box Pp.t

pp_text_decoration_skip_box is the pretty-printer for text_decoration_skip_box.

Sourceval read_text_decoration_skip_box : Cursor.t -> text_decoration_skip_box

read_text_decoration_skip_box t is the text_decoration_skip_box parsed from t.

Sourceval pp_text_decoration_skip_inset : text_decoration_skip_inset Pp.t

pp_text_decoration_skip_inset is the pretty-printer for text_decoration_skip_inset.

Sourceval read_text_decoration_skip_inset : Cursor.t -> text_decoration_skip_inset

read_text_decoration_skip_inset t is the text_decoration_skip_inset parsed from t.

Sourceval pp_text_decoration_skip_space : text_decoration_skip_space Pp.t

pp_text_decoration_skip_space is the pretty-printer for text_decoration_skip_space.

Sourceval read_text_decoration_skip_space : Cursor.t -> text_decoration_skip_space

read_text_decoration_skip_space t is the text_decoration_skip_space parsed from t.

Sourceval pp_text_decoration_skip_spaces : text_decoration_skip_spaces Pp.t

pp_text_decoration_skip_spaces is the pretty-printer for text_decoration_skip_spaces.

Sourceval read_text_decoration_skip_spaces : Cursor.t -> text_decoration_skip_spaces

read_text_decoration_skip_spaces t is the text_decoration_skip_spaces parsed from t.

Sourceval pp_text_emphasis_position : text_emphasis_position Pp.t

pp_text_emphasis_position is the pretty-printer for text_emphasis_position.

Sourceval read_text_emphasis_position : Cursor.t -> text_emphasis_position

read_text_emphasis_position t is the text_emphasis_position parsed from t.

Sourceval pp_text_indent_value : text_indent_value Pp.t

pp_text_indent_value is the pretty-printer for text_indent_value.

Sourceval read_text_indent_value : Cursor.t -> text_indent_value

read_text_indent_value t is the text_indent_value parsed from t.

Sourceval pp_text_emphasis_skip_keyword : text_emphasis_skip_keyword Pp.t

pp_text_emphasis_skip_keyword is the pretty-printer for text_emphasis_skip_keyword.

Sourceval read_text_emphasis_skip_keyword : Cursor.t -> text_emphasis_skip_keyword

read_text_emphasis_skip_keyword t is the text_emphasis_skip_keyword parsed from t.

Sourceval pp_text_emphasis_skip : text_emphasis_skip Pp.t

pp_text_emphasis_skip is the pretty-printer for text_emphasis_skip.

Sourceval read_text_emphasis_skip : Cursor.t -> text_emphasis_skip

read_text_emphasis_skip t is the text_emphasis_skip parsed from t.

Sourceval pp_text_orientation : text_orientation Pp.t

pp_text_orientation is the pretty-printer for text_orientation.

Sourceval read_text_orientation : Cursor.t -> text_orientation

read_text_orientation t is the text_orientation parsed from t.

Sourceval pp_line_break : line_break Pp.t

pp_line_break is the pretty-printer for line_break.

Sourceval read_line_break : Cursor.t -> line_break

read_line_break t is the line_break parsed from t.

Sourceval pp_font_optical_sizing : font_optical_sizing Pp.t

pp_font_optical_sizing is the pretty-printer for font_optical_sizing.

Sourceval read_font_optical_sizing : Cursor.t -> font_optical_sizing

read_font_optical_sizing t is the font_optical_sizing parsed from t.

Sourceval pp_font_kerning : font_kerning Pp.t

pp_font_kerning is the pretty-printer for font_kerning.

Sourceval read_font_kerning : Cursor.t -> font_kerning

read_font_kerning t is the font_kerning parsed from t.

Sourceval pp_font_language_override : font_language_override Pp.t

pp_font_language_override is the pretty-printer for font_language_override.

Sourceval read_font_language_override : Cursor.t -> font_language_override

read_font_language_override t is the font_language_override parsed from t.

Sourceval pp_font_synthesis_style : font_synthesis_style Pp.t

pp_font_synthesis_style is the pretty-printer for font_synthesis_style.

Sourceval read_font_synthesis_style : Cursor.t -> font_synthesis_style

read_font_synthesis_style t is the font_synthesis_style parsed from t.

Sourceval pp_font_synthesis_weight : font_synthesis_weight Pp.t

pp_font_synthesis_weight is the pretty-printer for font_synthesis_weight.

Sourceval read_font_synthesis_weight : Cursor.t -> font_synthesis_weight

read_font_synthesis_weight t is the font_synthesis_weight parsed from t.

Sourceval pp_font_synthesis_small_caps : font_synthesis_small_caps Pp.t

pp_font_synthesis_small_caps is the pretty-printer for font_synthesis_small_caps.

Sourceval read_font_synthesis_small_caps : Cursor.t -> font_synthesis_small_caps

read_font_synthesis_small_caps t is the font_synthesis_small_caps parsed from t.

Sourceval pp_font_synthesis_position : font_synthesis_position Pp.t

pp_font_synthesis_position is the pretty-printer for font_synthesis_position.

Sourceval read_font_synthesis_position : Cursor.t -> font_synthesis_position

read_font_synthesis_position t is the font_synthesis_position parsed from t.

Sourceval pp_font_variant_ligature : font_variant_ligature Pp.t

pp_font_variant_ligature is the pretty-printer for font_variant_ligature.

Sourceval read_font_variant_ligature : Cursor.t -> font_variant_ligature

read_font_variant_ligature t is the font_variant_ligature parsed from t.

Sourceval pp_font_variant_ligatures : font_variant_ligatures Pp.t

pp_font_variant_ligatures is the pretty-printer for font_variant_ligatures.

Sourceval read_font_variant_ligatures : Cursor.t -> font_variant_ligatures

read_font_variant_ligatures t is the font_variant_ligatures parsed from t.

Sourceval pp_font_variant_caps : font_variant_caps Pp.t

pp_font_variant_caps is the pretty-printer for font_variant_caps.

Sourceval read_font_variant_caps : Cursor.t -> font_variant_caps

read_font_variant_caps t is the font_variant_caps parsed from t.

Sourceval pp_font_variant_position : font_variant_position Pp.t

pp_font_variant_position is the pretty-printer for font_variant_position.

Sourceval read_font_variant_position : Cursor.t -> font_variant_position

read_font_variant_position t is the font_variant_position parsed from t.

Sourceval pp_east_asian_feature : east_asian_feature Pp.t

pp_east_asian_feature is the pretty-printer for east_asian_feature.

Sourceval read_east_asian_feature : Cursor.t -> east_asian_feature

read_east_asian_feature t is the east_asian_feature parsed from t.

Sourceval pp_font_variant_east_asian : font_variant_east_asian Pp.t

pp_font_variant_east_asian is the pretty-printer for font_variant_east_asian.

Sourceval read_font_variant_east_asian : Cursor.t -> font_variant_east_asian

read_font_variant_east_asian t is the font_variant_east_asian parsed from t.

Sourceval pp_scroll_behavior : scroll_behavior Pp.t

pp_scroll_behavior is the pretty-printer for scroll_behavior.

Sourceval read_scroll_behavior : Cursor.t -> scroll_behavior

read_scroll_behavior t is the scroll_behavior parsed from t.

Sourceval pp_scroll_snap_align : scroll_snap_align Pp.t

pp_scroll_snap_align is the pretty-printer for scroll_snap_align.

Sourceval read_scroll_snap_align : Cursor.t -> scroll_snap_align

read_scroll_snap_align t is the scroll_snap_align parsed from t.

Sourceval pp_scroll_snap_stop : scroll_snap_stop Pp.t

pp_scroll_snap_stop is the pretty-printer for scroll_snap_stop.

Sourceval read_scroll_snap_stop : Cursor.t -> scroll_snap_stop

read_scroll_snap_stop t is the scroll_snap_stop parsed from t.

Sourceval pp_scroll_snap_strictness : scroll_snap_strictness Pp.t

pp_scroll_snap_strictness is the pretty-printer for scroll_snap_strictness.

Sourceval read_scroll_snap_strictness : Cursor.t -> scroll_snap_strictness

read_scroll_snap_strictness t is the scroll_snap_strictness parsed from t.

Sourceval pp_scroll_snap_axis : scroll_snap_axis Pp.t

pp_scroll_snap_axis is the pretty-printer for scroll_snap_axis.

Sourceval read_scroll_snap_axis : Cursor.t -> scroll_snap_axis

read_scroll_snap_axis t is the scroll_snap_axis parsed from t.

Sourceval pp_scroll_snap_type : scroll_snap_type Pp.t

pp_scroll_snap_type is the pretty-printer for scroll_snap_type.

Sourceval read_scroll_snap_type : Cursor.t -> scroll_snap_type

read_scroll_snap_type t is the scroll_snap_type parsed from t.

Sourceval pp_overscroll_behavior : overscroll_behavior Pp.t

pp_overscroll_behavior is the pretty-printer for overscroll_behavior.

Sourceval read_overscroll_behavior : Cursor.t -> overscroll_behavior

read_overscroll_behavior t is the overscroll_behavior parsed from t.

Sourceval pp_svg_paint : svg_paint Pp.t

pp_svg_paint is the pretty-printer for svg_paint.

Sourceval read_svg_paint : Cursor.t -> svg_paint

read_svg_paint t is the svg_paint parsed from t.

Sourceval pp_direction : direction Pp.t

pp_direction is the pretty-printer for direction.

Sourceval read_direction : Cursor.t -> direction

read_direction t is the direction parsed from t.

Sourceval pp_unicode_bidi : unicode_bidi Pp.t

pp_unicode_bidi is the pretty-printer for unicode_bidi.

Sourceval read_unicode_bidi : Cursor.t -> unicode_bidi

read_unicode_bidi t is the unicode_bidi parsed from t.

Sourceval pp_writing_mode : writing_mode Pp.t

pp_writing_mode is the pretty-printer for writing_mode.

Sourceval read_writing_mode : Cursor.t -> writing_mode

read_writing_mode t is the writing_mode parsed from t.

Sourceval pp_text_combine_upright : text_combine_upright Pp.t

pp_text_combine_upright is the pretty-printer for text_combine_upright.

Sourceval read_text_combine_upright : Cursor.t -> text_combine_upright

read_text_combine_upright t is the text_combine_upright parsed from t.

Sourceval pp_webkit_appearance : webkit_appearance Pp.t

pp_webkit_appearance is the pretty-printer for webkit_appearance.

Sourceval read_webkit_appearance : Cursor.t -> webkit_appearance

read_webkit_appearance t is the webkit_appearance parsed from t.

Sourceval pp_webkit_font_smoothing : webkit_font_smoothing Pp.t

pp_webkit_font_smoothing is the pretty-printer for webkit_font_smoothing.

Sourceval read_webkit_font_smoothing : Cursor.t -> webkit_font_smoothing

read_webkit_font_smoothing t is the webkit_font_smoothing parsed from t.

Sourceval pp_moz_osx_font_smoothing : moz_osx_font_smoothing Pp.t

pp_moz_osx_font_smoothing is the pretty-printer for moz_osx_font_smoothing.

Sourceval read_moz_osx_font_smoothing : Cursor.t -> moz_osx_font_smoothing

read_moz_osx_font_smoothing t is the moz_osx_font_smoothing parsed from t.

Sourceval pp_webkit_box_orient : webkit_box_orient Pp.t

pp_webkit_box_orient is the pretty-printer for webkit_box_orient.

Sourceval read_webkit_box_orient : Cursor.t -> webkit_box_orient

read_webkit_box_orient t is the webkit_box_orient parsed from t.

Sourceval pp_moz_orient : moz_orient Pp.t

pp_moz_orient is the pretty-printer for moz_orient.

Sourceval read_moz_orient : Cursor.t -> moz_orient

read_moz_orient t is the moz_orient parsed from t.

Sourceval pp_webkit_line_clamp : webkit_line_clamp Pp.t

pp_webkit_line_clamp is the pretty-printer for webkit_line_clamp.

Sourceval read_webkit_line_clamp : Cursor.t -> webkit_line_clamp

read_webkit_line_clamp t is the webkit_line_clamp parsed from t.

Sourceval read_text_size_adjust : Cursor.t -> text_size_adjust

read_text_size_adjust t is the text size adjust value parsed from t.

Sourceval pp_forced_color_adjust : forced_color_adjust Pp.t

pp_forced_color_adjust is the pretty-printer for forced_color_adjust.

Sourceval read_forced_color_adjust : Cursor.t -> forced_color_adjust

read_forced_color_adjust t is the forced_color_adjust parsed from t.

Sourceval pp_appearance : appearance Pp.t

pp_appearance is the pretty-printer for appearance.

Sourceval read_appearance : Cursor.t -> appearance

read_appearance t is the appearance parsed from t.

Sourceval pp_color_scheme : color_scheme Pp.t

pp_color_scheme is the pretty-printer for color_scheme.

Sourceval read_color_scheme : Cursor.t -> color_scheme

read_color_scheme t is the color_scheme parsed from t.

Sourceval pp_print_color_adjust : print_color_adjust Pp.t

pp_print_color_adjust is the pretty-printer for print_color_adjust.

Sourceval read_print_color_adjust : Cursor.t -> print_color_adjust

read_print_color_adjust t is the print_color_adjust parsed from t.

Sourceval pp_box_decoration_break : box_decoration_break Pp.t

pp_box_decoration_break is the pretty-printer for box_decoration_break.

Sourceval read_box_decoration_break : Cursor.t -> box_decoration_break

read_box_decoration_break t is the box_decoration_break parsed from t.

Sourceval pp_clear : clear Pp.t

pp_clear is the pretty-printer for clear.

Sourceval read_clear : Cursor.t -> clear

read_clear t is the clear parsed from t.

Sourceval pp_float_side : float_side Pp.t

pp_float_side is the pretty-printer for float_side.

Sourceval read_float_side : Cursor.t -> float_side

read_float_side t is the float_side parsed from t.

Sourceval pp_text_decoration_skip_ink : text_decoration_skip_ink Pp.t

pp_text_decoration_skip_ink is the pretty-printer for text_decoration_skip_ink.

Sourceval read_text_decoration_skip_ink : Cursor.t -> text_decoration_skip_ink

read_text_decoration_skip_ink t is the text_decoration_skip_ink parsed from t.

Sourceval pp_will_change : will_change Pp.t

pp_will_change is the pretty-printer for will_change.

Sourceval read_will_change : Cursor.t -> will_change

read_will_change t is the will_change parsed from t.

Sourceval pp_clip : clip Pp.t

pp_clip is the pretty-printer for clip.

Sourceval read_clip : Cursor.t -> clip

read_clip t is the clip parsed from t.

Sourceval pp_clip_path : clip_path Pp.t

pp_clip_path is the pretty-printer for clip_path.

Sourceval read_clip_path : Cursor.t -> clip_path

read_clip_path t is the clip_path parsed from t.

Sourceval pp_clip_geometry_box : clip_geometry_box Pp.t

pp_clip_geometry_box pretty-prints a clip geometry box.

Sourceval read_clip_geometry_box : Cursor.t -> clip_geometry_box

read_clip_geometry_box t parses a clip geometry box.

Sourceval pp_clip_path_extent : clip_path_extent Pp.t

pp_clip_path_extent pretty-prints a clip path extent.

Sourceval read_clip_path_extent : Cursor.t -> clip_path_extent

read_clip_path_extent t parses a clip path extent.

Sourceval pp_clip_path_fill_rule : clip_path_fill_rule Pp.t

pp_clip_path_fill_rule pretty-prints a clip path fill rule.

Sourceval read_clip_path_fill_rule : Cursor.t -> clip_path_fill_rule

read_clip_path_fill_rule t parses a clip path fill rule.

Sourceval pp_perspective_origin : perspective_origin Pp.t

pp_perspective_origin is the pretty-printer for perspective_origin.

Sourceval read_perspective_origin : Cursor.t -> perspective_origin

read_perspective_origin t is the perspective_origin parsed from t.

Sourceval pp_outline_shorthand : outline_shorthand Pp.t

pp_outline_shorthand is the pretty-printer for outline_shorthand.

Sourceval read_outline_shorthand : Cursor.t -> outline_shorthand

read_outline_shorthand t is the outline_shorthand parsed from t.

Helper functions for property types

Sourceval 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 -> shadow

shadow ?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).

Sourceval inset_ring_shadow : ?h_offset:Values.length -> ?v_offset:Values.length -> ?blur:Values.length -> ?spread:Values.length -> ?color:Values.color -> unit -> shadow

inset_ring_shadow ~h_offset ~v_offset ~blur ~spread ~color is an inset shadow with the given parameters.

Generic property handling

Sourceval pp_any_property : any_property Pp.t

pp_any_property pretty-prints any CSS property.

Sourceval read_any_property : Cursor.t -> any_property

read_any_property t parses any CSS property.

Sourceval property_value_kind : 'a property -> 'a property_value_kind option

property_value_kind property classifies property value shapes that have a shared typed evaluator.