package cascade

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

cascade-1.2.1.tbz
sha256=1cf5079b3797cd6e70fbced8dc2631074f357d36fcdea8597c7ba17ac2903f6e
sha512=43f5e6a3986f8f43ce948b8f1d59f6f00e1047f5707c5449b6323b683d2ecd51a0fb34793aad9c48904a67b0f7268d7379ab9baf29917c25a962064bfa3ab694

doc/cascade/Cascade/Properties/index.html

Module Cascade.PropertiesSource

CSS properties: types and helpers.

include module type of Properties_intf
type border_style = Cascade__Properties_intf.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
type line_height = Cascade__Properties_intf.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. | Min of line_height list
  14. | Max of line_height list
  15. | Clamp of line_height * line_height * line_height
  16. | Calc of line_height Values.calc
  17. | Var of line_height Values.var
type font_weight = Cascade__Properties_intf.font_weight =
  1. | Weight of float
  2. | Normal
  3. | Bold
  4. | Bolder
  5. | Lighter
  6. | Calc of font_weight Values.calc
  7. | Inherit
  8. | Initial
  9. | Unset
  10. | Revert
  11. | Revert_layer
  12. | Var of font_weight Values.var
type display = Cascade__Properties_intf.display =
  1. | Block
  2. | Inline
  3. | Inline_block
  4. | Flex
  5. | Inline_flex
  6. | Grid
  7. | Inline_grid
  8. | Grid_lanes
  9. | Inline_grid_lanes
  10. | None
  11. | Flow_root
  12. | Table
  13. | Table_row
  14. | Table_cell
  15. | Table_caption
  16. | Table_column
  17. | Table_column_group
  18. | Table_header_group
  19. | Table_row_group
  20. | Inline_table
  21. | List_item
  22. | Contents
  23. | Run_in
  24. | Ruby
  25. | Ruby_base
  26. | Ruby_text
  27. | Ruby_base_container
  28. | Ruby_text_container
  29. | Math
  30. | Webkit_flex
  31. | Webkit_inline_flex
  32. | Ms_flexbox
  33. | Webkit_box
  34. | Moz_box
  35. | Moz_inline_box
  36. | Inherit
  37. | Initial
  38. | Unset
  39. | Revert
  40. | Revert_layer
  41. | Multi of display * display
  42. | Var of display Values.var
type position = Cascade__Properties_intf.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
type visibility = Cascade__Properties_intf.visibility =
  1. | Visible
  2. | Hidden
  3. | Collapse
  4. | Inherit
  5. | Initial
  6. | Unset
  7. | Revert
  8. | Revert_layer
  9. | Var of visibility Values.var
type baseline_source = Cascade__Properties_intf.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
type alignment_baseline = Cascade__Properties_intf.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
type baseline_shift = Cascade__Properties_intf.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
type z_index = Cascade__Properties_intf.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
type opacity = Cascade__Properties_intf.opacity =
  1. | Opacity_number of float
  2. | Calc of opacity Values.calc
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of opacity Values.var
type shape_image_threshold = Cascade__Properties_intf.shape_image_threshold =
  1. | Number of float
  2. | Calc of shape_image_threshold Values.calc
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of shape_image_threshold Values.var
type tab_size = Cascade__Properties_intf.tab_size =
  1. | Number of Values.number
  2. | Length of Values.length
  3. | Initial
  4. | Inherit
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of tab_size Values.var
type zoom = Cascade__Properties_intf.zoom =
  1. | Normal
  2. | Reset
  3. | Num of float
  4. | Pct of float
  5. | Calc of zoom Values.calc
  6. | Initial
  7. | Inherit
  8. | Unset
  9. | Revert
  10. | Revert_layer
  11. | Var of zoom Values.var
type order = Cascade__Properties_intf.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
type overflow = Cascade__Properties_intf.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
type border_spacing = Cascade__Properties_intf.border_spacing =
  1. | Lengths of Values.length list
  2. | Var of border_spacing Values.var
type overflow_clip_box = Cascade__Properties_intf.overflow_clip_box =
  1. | Content_box
  2. | Padding_box
  3. | Border_box
type overflow_clip_margin = Cascade__Properties_intf.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
type flex_direction = Cascade__Properties_intf.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
type flex_wrap = Cascade__Properties_intf.flex_wrap =
  1. | Nowrap
  2. | Wrap
  3. | Wrap_reverse
  4. | Balance
  5. | Wrap_reverse_balance
  6. | Inherit
  7. | Initial
  8. | Unset
  9. | Revert
  10. | Revert_layer
  11. | Var of flex_wrap Values.var
type flex_flow = Cascade__Properties_intf.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
type flex_factor = Cascade__Properties_intf.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
type align_content = Cascade__Properties_intf.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. | Safe_center
  11. | Safe_start
  12. | Safe_end
  13. | Safe_flex_start
  14. | Safe_flex_end
  15. | Unsafe_center
  16. | Unsafe_start
  17. | Unsafe_end
  18. | Unsafe_flex_start
  19. | Unsafe_flex_end
  20. | Space_between
  21. | Space_around
  22. | Space_evenly
  23. | Stretch
  24. | Inherit
  25. | Initial
  26. | Unset
  27. | Revert
  28. | Revert_layer
  29. | Var of align_content Values.var
type align_items = Cascade__Properties_intf.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
type align_self = Cascade__Properties_intf.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
type justify_content = Cascade__Properties_intf.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. | Safe_left
  15. | Safe_right
  16. | Unsafe_center
  17. | Unsafe_start
  18. | Unsafe_end
  19. | Unsafe_flex_start
  20. | Unsafe_flex_end
  21. | Unsafe_left
  22. | Unsafe_right
  23. | Space_between
  24. | Space_around
  25. | Space_evenly
  26. | Stretch
  27. | Inherit
  28. | Initial
  29. | Unset
  30. | Revert
  31. | Revert_layer
  32. | Var of justify_content Values.var
type justify_items = Cascade__Properties_intf.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
type justify_self = Cascade__Properties_intf.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
type flex_basis = Cascade__Properties_intf.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. | Clamp of Values.length * Values.length * Values.length
  50. | Min of Values.length list
  51. | Max of Values.length list
  52. | Round of string * Values.length * Values.length
  53. | Mod of Values.length * Values.length
  54. | Rem_fn of Values.length * Values.length
  55. | Hypot of Values.length list
  56. | Abs of Values.length
  57. | Dimension of {
    1. value : float;
    2. unit : string;
    3. repr : string;
    }
  58. | Calc of flex_basis Values.calc
  59. | Var of flex_basis Values.var
type border_width = Cascade__Properties_intf.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. | Dimension of {
    1. value : float;
    2. unit : string;
    3. repr : string;
    }
  26. | Zero
  27. | Auto
  28. | Max_content
  29. | Min_content
  30. | Fit_content
  31. | From_font
  32. | Calc of border_width Values.calc
  33. | Min of border_width Values.calc list
  34. | Max of border_width Values.calc list
  35. | Clamp of border_width Values.calc * border_width Values.calc * border_width Values.calc
  36. | Inherit
  37. | Initial
  38. | Unset
  39. | Revert
  40. | Revert_layer
  41. | Var of border_width Values.var
type flex = Cascade__Properties_intf.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
type font_size = Cascade__Properties_intf.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
type place_content = Cascade__Properties_intf.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
type place_items = Cascade__Properties_intf.place_items =
  1. | Normal
  2. | Start
  3. | End
  4. | Center
  5. | Stretch
  6. | Baseline
  7. | First_baseline
  8. | Last_baseline
  9. | Start_safe
  10. | End_safe
  11. | Center_safe
  12. | Stretch_stretch
  13. | Align_justify of align_items * justify_items
  14. | Inherit
  15. | Initial
  16. | Unset
  17. | Revert
  18. | Revert_layer
  19. | Var of place_items Values.var
type grid_auto_flow_component = Cascade__Properties_intf.grid_auto_flow_component =
  1. | Axis of [ `Column | `Row ]
  2. | Dense
  3. | Var of grid_auto_flow_component Values.var
type grid_auto_flow = Cascade__Properties_intf.grid_auto_flow =
  1. | Row
  2. | Column
  3. | Dense
  4. | Row_dense
  5. | Column_dense
  6. | Components of grid_auto_flow_component list
  7. | Inherit
  8. | Initial
  9. | Unset
  10. | Revert
  11. | Revert_layer
  12. | Var of grid_auto_flow Values.var
type repeat_count = Cascade__Properties_intf.repeat_count =
  1. | Count of int
  2. | Auto_fill
  3. | Auto_fit
  4. | Var of repeat_count Values.var
type grid_flex_math = Cascade__Properties_intf.grid_flex_math =
  1. | Calc_flex of Values.math_arg
  2. | Min_flex of Values.math_arg list
  3. | Max_flex of Values.math_arg list
  4. | Clamp_flex of Values.math_arg * Values.math_arg * Values.math_arg
type grid_template = Cascade__Properties_intf.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
  12. | Fr of float
  13. | Flex_math of grid_flex_math
  14. | Auto
  15. | Min_content
  16. | Max_content
  17. | Inherit
  18. | Initial
  19. | Unset
  20. | Revert
  21. | Revert_layer
  22. | Min_max of grid_template * grid_template
  23. | Fit_content of Values.length
  24. | Repeat of repeat_count * grid_template list
  25. | Tracks of grid_template list
  26. | Split of grid_template * grid_template
  27. | Auto_flow_columns of grid_template * grid_auto_flow * grid_template option
  28. | Auto_flow_rows of grid_auto_flow * grid_template option * grid_template
  29. | Named_tracks of (string option * grid_template) list
  30. | Line_names of string list
  31. | Template of string
  32. | Subgrid
  33. | Masonry
  34. | Var of grid_template Values.var
type grid_template_areas = Cascade__Properties_intf.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
type grid_line = Cascade__Properties_intf.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. | Calc_name of grid_line Values.calc * string
  10. | Var of grid_line Values.var
type grid_line_pair = Cascade__Properties_intf.grid_line_pair =
  1. | Lines of grid_line * grid_line
  2. | Var of grid_line_pair Values.var
type grid_area = Cascade__Properties_intf.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
type aspect_ratio = Cascade__Properties_intf.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
type font_style = Cascade__Properties_intf.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
type text_align = Cascade__Properties_intf.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
type text_decoration_line = Cascade__Properties_intf.text_decoration_line =
  1. | None
  2. | Underline
  3. | Overline
  4. | Line_through
  5. | Spelling_error
  6. | Grammar_error
  7. | Inherit
  8. | Initial
  9. | Unset
  10. | Revert
  11. | Revert_layer
  12. | Var of text_decoration_line Values.var
type text_decoration_style = Cascade__Properties_intf.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
type text_decoration_shorthand = Cascade__Properties_intf.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;
}
type text_decoration = Cascade__Properties_intf.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
type text_decoration_skip = Cascade__Properties_intf.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
type text_decoration_skip_self = Cascade__Properties_intf.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
type text_decoration_skip_box = Cascade__Properties_intf.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
type text_decoration_skip_inset = Cascade__Properties_intf.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
type text_decoration_skip_space = Cascade__Properties_intf.text_decoration_skip_space =
  1. | All
  2. | Start
  3. | End
type text_decoration_skip_spaces = Cascade__Properties_intf.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
type text_emphasis_fill = Cascade__Properties_intf.text_emphasis_fill =
  1. | Filled
  2. | Open
type text_emphasis_shape = Cascade__Properties_intf.text_emphasis_shape =
  1. | Dot
  2. | Circle
  3. | Double_circle
  4. | Triangle
  5. | Sesame
type text_emphasis_style = Cascade__Properties_intf.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
type text_emphasis = Cascade__Properties_intf.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
type text_emphasis_line = Cascade__Properties_intf.text_emphasis_line =
  1. | Over
  2. | Under
type text_emphasis_side = Cascade__Properties_intf.text_emphasis_side =
  1. | Left
  2. | Right
type text_emphasis_skip_keyword = Cascade__Properties_intf.text_emphasis_skip_keyword =
  1. | Spaces
  2. | Punctuation
  3. | Symbols
  4. | Narrow
type text_emphasis_skip = Cascade__Properties_intf.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
type text_emphasis_position = Cascade__Properties_intf.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
type text_indent_value = Cascade__Properties_intf.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
type text_underline_position_keyword = Cascade__Properties_intf.text_underline_position_keyword =
  1. | Under
  2. | Left
  3. | Right
type text_underline_position = Cascade__Properties_intf.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
type text_orientation = Cascade__Properties_intf.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
type glyph_orientation_vertical = Cascade__Properties_intf.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
type text_transform_case = Cascade__Properties_intf.text_transform_case =
  1. | Capitalize
  2. | Uppercase
  3. | Lowercase
type text_transform = Cascade__Properties_intf.text_transform =
  1. | None
  2. | Case of text_transform_case
  3. | Combo of {
    1. case : text_transform_case option;
    2. full_width : bool;
    3. full_size_kana : bool;
    }
  4. | Inherit
  5. | Initial
  6. | Unset
  7. | Revert
  8. | Revert_layer
  9. | Var of text_transform Values.var
type line_break = Cascade__Properties_intf.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
type font_optical_sizing = Cascade__Properties_intf.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
type font_kerning = Cascade__Properties_intf.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
type font_language_override = Cascade__Properties_intf.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
type font_synthesis_style = Cascade__Properties_intf.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
type font_synthesis_weight = Cascade__Properties_intf.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
type font_synthesis_small_caps = Cascade__Properties_intf.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
type font_synthesis_position = Cascade__Properties_intf.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
type font_variant_ligature = Cascade__Properties_intf.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
type font_variant_ligatures = Cascade__Properties_intf.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
type font_variant_caps = Cascade__Properties_intf.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
type font_variant_alternates_item = Cascade__Properties_intf.font_variant_alternates_item =
  1. | Stylistic of string
  2. | Historical_forms
  3. | Styleset of string list
  4. | Character_variant of string list
  5. | Swash of string
  6. | Ornaments of string
  7. | Annotation of string
type font_variant_alternates = Cascade__Properties_intf.font_variant_alternates =
  1. | Normal
  2. | Alternates of font_variant_alternates_item list
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of font_variant_alternates Values.var
type font_variant_position = Cascade__Properties_intf.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
type east_asian_feature = Cascade__Properties_intf.east_asian_feature =
  1. | Jis78
  2. | Jis83
  3. | Jis90
  4. | Jis04
  5. | Simplified
  6. | Traditional
  7. | Full_width
  8. | Proportional_width
  9. | Ruby
type font_variant_east_asian = Cascade__Properties_intf.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
type text_overflow = Cascade__Properties_intf.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
type text_wrap = Cascade__Properties_intf.text_wrap =
  1. | Wrap
  2. | No_wrap
  3. | Auto
  4. | Balance
  5. | Stable
  6. | Pretty
  7. | Mode_style of [ `No_wrap | `Wrap ] * [ `Auto | `Balance | `Pretty | `Stable ]
  8. | Inherit
  9. | Initial
  10. | Unset
  11. | Revert
  12. | Revert_layer
  13. | Var of text_wrap Values.var
type text_wrap_mode = Cascade__Properties_intf.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
type text_wrap_style = Cascade__Properties_intf.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
type text_box_trim = Cascade__Properties_intf.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
type text_box_edge_keyword = Cascade__Properties_intf.text_box_edge_keyword =
  1. | Text
  2. | Cap
  3. | Ex
  4. | Alphabetic
  5. | Ideographic
  6. | Ideographic_ink
type text_box_edge = Cascade__Properties_intf.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
type text_box = Cascade__Properties_intf.text_box =
  1. | Normal
  2. | Box of text_box_trim option * text_box_edge option
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of text_box Values.var
type inline_sizing = Cascade__Properties_intf.inline_sizing =
  1. | Normal
  2. | Stretch
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of inline_sizing Values.var
type line_fit_edge_keyword = Cascade__Properties_intf.line_fit_edge_keyword =
  1. | Leading
  2. | Text
  3. | Cap
  4. | Ex
  5. | Alphabetic
  6. | Ideographic
  7. | Ideographic_ink
type line_fit_edge = Cascade__Properties_intf.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
type interpolate_size = Cascade__Properties_intf.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
type min_intrinsic_sizing_keyword = Cascade__Properties_intf.min_intrinsic_sizing_keyword =
  1. | Legacy
  2. | Zero_if_scroll
  3. | Zero_if_extrinsic
type min_intrinsic_sizing = Cascade__Properties_intf.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
type text_spacing_trim = Cascade__Properties_intf.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
type hyphenate_limit_chars_item = Cascade__Properties_intf.hyphenate_limit_chars_item =
  1. | Auto
  2. | Chars of Values.number
type hyphenate_limit_chars = Cascade__Properties_intf.hyphenate_limit_chars =
  1. | One of hyphenate_limit_chars_item
  2. | Two of hyphenate_limit_chars_item * hyphenate_limit_chars_item
  3. | Three of hyphenate_limit_chars_item * hyphenate_limit_chars_item * hyphenate_limit_chars_item
  4. | Inherit
  5. | Initial
  6. | Unset
  7. | Revert
  8. | Revert_layer
  9. | Var of hyphenate_limit_chars Values.var
type initial_letter = Cascade__Properties_intf.initial_letter =
  1. | Normal
  2. | Drop
  3. | Raise
  4. | Size of float
  5. | Size_sink of float * int
  6. | Calc of initial_letter Values.calc * int option
  7. | Inherit
  8. | Initial
  9. | Unset
  10. | Revert
  11. | Revert_layer
  12. | Var of initial_letter Values.var
type initial_letter_align_keyword = Cascade__Properties_intf.initial_letter_align_keyword =
  1. | Alphabetic
  2. | Ideographic
  3. | Hanging
  4. | Leading
  5. | Border_box
type initial_letter_align = Cascade__Properties_intf.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
type initial_letter_wrap = Cascade__Properties_intf.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
type ruby_merge = Cascade__Properties_intf.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
type ruby_align = Cascade__Properties_intf.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
type ruby_overhang = Cascade__Properties_intf.ruby_overhang =
  1. | Auto
  2. | Spaces
  3. | None
  4. | Inherit
  5. | Initial
  6. | Unset
  7. | Revert
  8. | Revert_layer
  9. | Var of ruby_overhang Values.var
type ruby_position_keyword = Cascade__Properties_intf.ruby_position_keyword =
  1. | Alternate
  2. | Over
  3. | Under
  4. | Inter_character
type ruby_position = Cascade__Properties_intf.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
type dominant_baseline = Cascade__Properties_intf.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
type white_space = Cascade__Properties_intf.white_space =
  1. | Normal
  2. | Nowrap
  3. | Pre
  4. | Pre_wrap
  5. | Pre_line
  6. | Break_spaces
  7. | Collapse
  8. | Preserve_nowrap
  9. | Inherit
  10. | Initial
  11. | Unset
  12. | Revert
  13. | Revert_layer
  14. | Var of white_space Values.var
type white_space_collapse = Cascade__Properties_intf.white_space_collapse =
  1. | Collapse
  2. | Discard
  3. | Preserve
  4. | Preserve_breaks
  5. | Preserve_spaces
  6. | Break_spaces
  7. | Inherit
  8. | Initial
  9. | Unset
  10. | Revert
  11. | Revert_layer
  12. | Var of white_space_collapse Values.var
type word_break = Cascade__Properties_intf.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
type overflow_wrap = Cascade__Properties_intf.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
type hyphens = Cascade__Properties_intf.hyphens =
  1. | None
  2. | Manual
  3. | Auto
  4. | Inherit
  5. | Initial
  6. | Unset
  7. | Revert
  8. | Revert_layer
  9. | Var of hyphens Values.var
type symbols_type = Cascade__Properties_intf.symbols_type =
  1. | Cyclic
  2. | Numeric
  3. | Alphabetic
  4. | Symbolic
  5. | Fixed
type list_style_symbol = Cascade__Properties_intf.list_style_symbol =
  1. | String of string
  2. | Url of string
type list_style_type = Cascade__Properties_intf.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. | Name of string
  58. | String of string
  59. | Symbols of symbols_type option * list_style_symbol list
  60. | Inherit
  61. | Initial
  62. | Unset
  63. | Revert
  64. | Revert_layer
  65. | Var of list_style_type Values.var
type list_style_position = Cascade__Properties_intf.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
type table_layout = Cascade__Properties_intf.table_layout =
  1. | Auto
  2. | Fixed
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of table_layout Values.var
type vertical_align = Cascade__Properties_intf.vertical_align =
  1. | Baseline
  2. | Top
  3. | Middle
  4. | Bottom
  5. | Text_top
  6. | Text_bottom
  7. | Sub
  8. | Super
  9. | Length of Values.length_percentage
  10. | Inherit
  11. | Initial
  12. | Unset
  13. | Revert
  14. | Revert_layer
  15. | Var of vertical_align Values.var
type border_collapse = Cascade__Properties_intf.border_collapse =
  1. | Collapse
  2. | Separate
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of border_collapse Values.var
type border_shorthand = Cascade__Properties_intf.border_shorthand = {
  1. width : border_width option;
  2. style : border_style option;
  3. color : Values.color option;
}
type border = Cascade__Properties_intf.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
type logical_border_color = Cascade__Properties_intf.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
type logical_border_width = Cascade__Properties_intf.logical_border_width =
  1. | Single of border_width
  2. | Pair of border_width * border_width
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of logical_border_width Values.var
type logical_border_style = Cascade__Properties_intf.logical_border_style =
  1. | Single of border_style
  2. | Pair of border_style * border_style
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of logical_border_style Values.var
type webkit_text_stroke = Cascade__Properties_intf.webkit_text_stroke = {
  1. width : border_width option;
  2. color : Values.color option;
}
type outline_style = Cascade__Properties_intf.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
type outline_shorthand = Cascade__Properties_intf.outline_shorthand = {
  1. width : border_width option;
  2. style : outline_style option;
  3. color : Values.color option;
}
type outline = Cascade__Properties_intf.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
type font_family = Cascade__Properties_intf.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
type font_stretch = Cascade__Properties_intf.font_stretch =
  1. | Pct of float
  2. | Calc of font_stretch Values.calc
  3. | Ultra_condensed
  4. | Extra_condensed
  5. | Condensed
  6. | Semi_condensed
  7. | Normal
  8. | Semi_expanded
  9. | Expanded
  10. | Extra_expanded
  11. | Ultra_expanded
  12. | Inherit
  13. | Initial
  14. | Unset
  15. | Revert
  16. | Revert_layer
  17. | Var of font_stretch Values.var
type font_variant_css21 = Cascade__Properties_intf.font_variant_css21 =
  1. | Normal
  2. | Small_caps
type font_shorthand = Cascade__Properties_intf.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;
}
type font = Cascade__Properties_intf.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
type font_size_adjust_metric = Cascade__Properties_intf.font_size_adjust_metric =
  1. | Ex_height
  2. | Cap_height
  3. | Ch_width
  4. | Ic_width
  5. | Ic_height
type font_size_adjust = Cascade__Properties_intf.font_size_adjust =
  1. | None
  2. | Number of float
  3. | Calc of font_size_adjust Values.calc
  4. | From_font
  5. | Metric_number of font_size_adjust_metric * float
  6. | Metric_from_font of font_size_adjust_metric
  7. | Inherit
  8. | Initial
  9. | Unset
  10. | Revert
  11. | Revert_layer
  12. | Var of font_size_adjust Values.var
type font_variant_emoji = Cascade__Properties_intf.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
type font_display = Cascade__Properties_intf.font_display =
  1. | Auto
  2. | Block
  3. | Swap
  4. | Fallback
  5. | Optional
  6. | Var of font_display Values.var
type unicode_range = Cascade__Properties_intf.unicode_range =
  1. | Single of int
  2. | Range of int * int
  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
type font_variant_numeric_token = Cascade__Properties_intf.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
type font_variant_numeric = Cascade__Properties_intf.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
type font_variant_shorthand = Cascade__Properties_intf.font_variant_shorthand = {
  1. ligatures : font_variant_ligature list;
  2. alternates : font_variant_alternates_item list;
  3. caps : font_variant_caps option;
  4. numeric : font_variant_numeric_token list;
  5. east_asian : east_asian_feature list;
  6. position : font_variant_position option;
  7. emoji : font_variant_emoji option;
}
type font_variant = Cascade__Properties_intf.font_variant =
  1. | Normal
  2. | None
  3. | Shorthand of font_variant_shorthand
  4. | Inherit
  5. | Initial
  6. | Unset
  7. | Revert
  8. | Revert_layer
  9. | Var of font_variant Values.var
type font_feature_value = Cascade__Properties_intf.font_feature_value =
  1. | On
  2. | Off
  3. | Index of int
type font_feature_setting = Cascade__Properties_intf.font_feature_setting = {
  1. tag : string;
  2. value : font_feature_value option;
}
type font_feature_settings = Cascade__Properties_intf.font_feature_settings =
  1. | Normal
  2. | Feature_list of font_feature_setting list
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of font_feature_settings Values.var
type font_variation_setting = Cascade__Properties_intf.font_variation_setting = {
  1. tag : string;
  2. value : float;
}
type font_variation_settings = Cascade__Properties_intf.font_variation_settings =
  1. | Normal
  2. | Axis_list of font_variation_setting list
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of font_variation_settings Values.var
type transform = Cascade__Properties_intf.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
type transforms = transform list
type transform_style = Cascade__Properties_intf.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
type backface_visibility = Cascade__Properties_intf.backface_visibility =
  1. | Visible
  2. | Hidden
  3. | Initial
  4. | Inherit
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of backface_visibility Values.var
type scale = Cascade__Properties_intf.scale =
  1. | X of Values.number_percentage
  2. | XY of Values.number_percentage * Values.number_percentage
  3. | XYZ of Values.number_percentage * Values.number_percentage * Values.number_percentage
  4. | None
  5. | Inherit
  6. | Initial
  7. | Unset
  8. | Revert
  9. | Revert_layer
  10. | Var of scale Values.var
type translate_value = Cascade__Properties_intf.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
type rotate_value = Cascade__Properties_intf.rotate_value =
  1. | Angle of Values.angle
  2. | X of Values.angle
  3. | Y of Values.angle
  4. | Z of Values.angle
  5. | Axis of float * float * float * Values.angle
  6. | None
  7. | Inherit
  8. | Initial
  9. | Unset
  10. | Revert
  11. | Revert_layer
  12. | Var of rotate_value Values.var
type steps_direction = Cascade__Properties_intf.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
type timing_function = Cascade__Properties_intf.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
type transition_property_value = Cascade__Properties_intf.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
type transition_property = transition_property_value list
type transition_behavior = Cascade__Properties_intf.transition_behavior =
  1. | Normal
  2. | Allow_discrete
  3. | Behaviors of transition_behavior list
  4. | Inherit
  5. | Initial
  6. | Unset
  7. | Revert
  8. | Revert_layer
  9. | Var of transition_behavior Values.var
type overlay = Cascade__Properties_intf.overlay =
  1. | Auto
  2. | None
  3. | Initial
  4. | Inherit
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of overlay Values.var
type transition_shorthand = Cascade__Properties_intf.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;
}
type transition = Cascade__Properties_intf.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
type animation_direction = Cascade__Properties_intf.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
type animation_fill_mode = Cascade__Properties_intf.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
type animation_iteration_count = Cascade__Properties_intf.animation_iteration_count =
  1. | Count of Values.number
  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
type animation_play_state = Cascade__Properties_intf.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
type animation_composition_item = Cascade__Properties_intf.animation_composition_item =
  1. | Replace
  2. | Add
  3. | Accumulate
type animation_composition = Cascade__Properties_intf.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
type animation_name = Cascade__Properties_intf.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
type animation_shorthand = Cascade__Properties_intf.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;
}
and animation_timeline = Cascade__Properties_intf.animation_timeline =
  1. | None
  2. | Auto
  3. | Name of string
  4. | Scroll of string
  5. | View of string
  6. | Timelines of animation_timeline list
  7. | Initial
  8. | Inherit
  9. | Unset
  10. | Revert
  11. | Revert_layer
  12. | Var of animation_timeline Values.var
type animation = Cascade__Properties_intf.animation =
  1. | Inherit
  2. | Initial
  3. | None
  4. | Shorthand of animation_shorthand
  5. | Var of animation Values.var
type blend_mode = Cascade__Properties_intf.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
type shadow = Cascade__Properties_intf.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
and shadow_body = Cascade__Properties_intf.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;
}
and inset = Cascade__Properties_intf.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;
    }
type text_shadow = Cascade__Properties_intf.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
type filter_function = Cascade__Properties_intf.filter_function =
  1. | Blur_function
  2. | Brightness_function
  3. | Contrast_function
  4. | Grayscale_function
  5. | Hue_rotate_function
  6. | Invert_function
  7. | Opacity_function
  8. | Saturate_function
  9. | Sepia_function
type filter = Cascade__Properties_intf.filter =
  1. | None
  2. | Omitted of filter_function
  3. | Blur of Values.length
  4. | Brightness of Values.number_percentage
  5. | Contrast of Values.number_percentage
  6. | Drop_shadow of shadow
  7. | Grayscale of Values.number_percentage
  8. | Hue_rotate of Values.angle
  9. | Invert of Values.number_percentage
  10. | Opacity of Values.number_percentage
  11. | Saturate of Values.number_percentage
  12. | Sepia of Values.number_percentage
  13. | Url of string
  14. | List of filter list
  15. | Inherit
  16. | Initial
  17. | Unset
  18. | Revert
  19. | Revert_layer
  20. | Var of filter Values.var
type background_attachment = Cascade__Properties_intf.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
type background_box = Cascade__Properties_intf.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
type background_repeat = Cascade__Properties_intf.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
type background_size = Cascade__Properties_intf.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
type hue_interpolation_method = Cascade__Properties_intf.hue_interpolation_method =
  1. | Shorter
  2. | Longer
  3. | Increasing
  4. | Decreasing
type color_interpolation = Cascade__Properties_intf.color_interpolation =
  1. | In of Values.color_space * hue_interpolation_method option
  2. | Var of color_interpolation Values.var
type gradient_direction = Cascade__Properties_intf.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
type radial_shape = Cascade__Properties_intf.radial_shape =
  1. | Circle
  2. | Ellipse
  3. | Var of radial_shape Values.var
type radial_size = Cascade__Properties_intf.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
type position_value = Cascade__Properties_intf.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
  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_percentage
  27. | Edge_offset_edge_offset of string * Values.length_percentage * string * Values.length_percentage
  28. | Var of position_value Values.var
type position_axis_edge = Cascade__Properties_intf.position_axis_edge =
  1. | Left
  2. | Right
  3. | Top
  4. | Bottom
type background_position_axis = Cascade__Properties_intf.background_position_axis =
  1. | Center
  2. | Edge of position_axis_edge
  3. | Offset of Values.length_percentage
  4. | Edge_offset of position_axis_edge * Values.length_percentage
  5. | Layers of background_position_axis list
  6. | Inherit
  7. | Initial
  8. | Unset
  9. | Revert
  10. | Revert_layer
  11. | Var of background_position_axis Values.var
type radial_gradient_config = Cascade__Properties_intf.radial_gradient_config = {
  1. shape : radial_shape option;
  2. size : radial_size option;
  3. position : position_value option;
  4. interpolation : color_interpolation option;
}
type border_radius = Cascade__Properties_intf.border_radius =
  1. | Radius of {
    1. horizontal : Values.length_percentage list;
    2. vertical : Values.length_percentage list option;
    }
  2. | Inherit
  3. | Initial
  4. | Unset
  5. | Revert
  6. | Revert_layer
  7. | Var of border_radius Values.var
type conic_gradient_config = Cascade__Properties_intf.conic_gradient_config = {
  1. angle : Values.angle option;
  2. position : position_value option;
  3. interpolation : color_interpolation option;
}
type gradient_position = Cascade__Properties_intf.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
type gradient_stop = Cascade__Properties_intf.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
  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
module Webkit_gradient : sig ... end
type background_image = Cascade__Properties_intf.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
  5. | Radial_gradient of radial_gradient_config * gradient_stop list
  6. | Radial_gradient_var of gradient_stop Values.var
  7. | Conic_gradient of conic_gradient_config * gradient_stop list
  8. | Conic_gradient_var of gradient_stop Values.var
  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
  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
  25. | Webkit_image_set of image_set_option list
  26. | Cross_fade of cross_fade_option list
  27. | Webkit_gradient of Webkit_gradient.t
  28. | List of background_image list
  29. | None
  30. | Initial
  31. | Inherit
  32. | Unset
  33. | Revert
  34. | Revert_layer
  35. | Var of background_image Values.var
and image_set_option = Cascade__Properties_intf.image_set_option = {
  1. source : image_set_source;
  2. resolution : string option;
  3. mime_type : string option;
}
and image_set_source = Cascade__Properties_intf.image_set_source =
  1. | Url of string
  2. | String of string
and cross_fade_option = Cascade__Properties_intf.cross_fade_option = {
  1. image : background_image;
  2. percent : Values.percentage option;
}
type list_style_image = Cascade__Properties_intf.list_style_image =
  1. | None
  2. | Image of background_image
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of list_style_image Values.var
type list_style_shorthand = Cascade__Properties_intf.list_style_shorthand = {
  1. type_ : list_style_type option;
  2. position : list_style_position option;
  3. image : list_style_image option;
}
type list_style = Cascade__Properties_intf.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
type background_position = position_value list
type background_shorthand = Cascade__Properties_intf.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;
}
type background = Cascade__Properties_intf.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
type webkit_mask_composite = Cascade__Properties_intf.webkit_mask_composite =
  1. | Source_over
  2. | Source_in
  3. | Source_out
  4. | Source_atop
  5. | Destination_over
  6. | Destination_in
  7. | Destination_out
  8. | Destination_atop
  9. | Xor
  10. | Plus_lighter
  11. | Clear
  12. | Copy
  13. | Composites of webkit_mask_composite list
  14. | Inherit
  15. | Initial
  16. | Unset
  17. | Revert
  18. | Revert_layer
  19. | Var of webkit_mask_composite Values.var
type mask_composite = Cascade__Properties_intf.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
type webkit_mask_source_type = Cascade__Properties_intf.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
type mask_mode = Cascade__Properties_intf.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
type mask_type = Cascade__Properties_intf.mask_type =
  1. | Alpha
  2. | Luminance
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of mask_type Values.var
type mask_box = Cascade__Properties_intf.mask_box =
  1. | Border_box
  2. | Content_box
  3. | Fill_box
  4. | Padding_box
  5. | Stroke_box
  6. | View_box
  7. | No_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
type webkit_mask_box = Cascade__Properties_intf.webkit_mask_box =
  1. | Border
  2. | Border_box
  3. | Content
  4. | Content_box
  5. | Padding
  6. | Padding_box
  7. | Text
  8. | Layers of webkit_mask_box list
  9. | Inherit
  10. | Initial
  11. | Unset
  12. | Revert
  13. | Revert_layer
  14. | Var of webkit_mask_box Values.var
type mask_layer = Cascade__Properties_intf.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;
}
type mask = Cascade__Properties_intf.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
type border_image_slice_item = Cascade__Properties_intf.border_image_slice_item =
  1. | Number of Values.number
  2. | Pct of float
  3. | Calc of border_image_slice_item Values.calc
type border_image_slice_offsets = Cascade__Properties_intf.border_image_slice_offsets = {
  1. offsets : border_image_slice_item list;
  2. fill : bool;
}
type border_image_slice = Cascade__Properties_intf.border_image_slice =
  1. | Slices of border_image_slice_offsets
  2. | Inherit
  3. | Initial
  4. | Unset
  5. | Revert
  6. | Revert_layer
  7. | Var of border_image_slice Values.var
type border_image_width_item = Cascade__Properties_intf.border_image_width_item =
  1. | Number of Values.number
  2. | Pct of float
  3. | Length of Values.length
  4. | Auto
type border_image_outset_item = Cascade__Properties_intf.border_image_outset_item =
  1. | Number of Values.number
  2. | Length of Values.length
type border_image_repeat_keyword = Cascade__Properties_intf.border_image_repeat_keyword =
  1. | Stretch
  2. | Repeat
  3. | Round
  4. | Space
type border_image_repeat = Cascade__Properties_intf.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
type border_image_width = Cascade__Properties_intf.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
type border_image_outset = Cascade__Properties_intf.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
type mask_border_mode = Cascade__Properties_intf.mask_border_mode =
  1. | Alpha
  2. | Luminance
type border_image = Cascade__Properties_intf.border_image = {
  1. source : background_image option;
  2. slice : border_image_slice_offsets 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;
}
type gap = Cascade__Properties_intf.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
type cursor = Cascade__Properties_intf.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
type interactivity = Cascade__Properties_intf.interactivity =
  1. | Auto
  2. | Inert
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of interactivity Values.var
type caret_animation = Cascade__Properties_intf.caret_animation =
  1. | Auto
  2. | Manual
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of caret_animation Values.var
type caret_shape = Cascade__Properties_intf.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
type caret = Cascade__Properties_intf.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
type interest_delay_item = Cascade__Properties_intf.interest_delay_item =
  1. | Normal
  2. | Time of Values.duration
type interest_delay = Cascade__Properties_intf.interest_delay =
  1. | Delays of interest_delay_item list
  2. | Inherit
  3. | Initial
  4. | Unset
  5. | Revert
  6. | Revert_layer
  7. | Var of interest_delay Values.var
type nav_scope = Cascade__Properties_intf.nav_scope =
  1. | Current
  2. | Root
  3. | Named of string
type nav = Cascade__Properties_intf.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
type user_select = Cascade__Properties_intf.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
type pointer_events = Cascade__Properties_intf.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
type touch_action = Cascade__Properties_intf.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
  18. | Var of touch_action Values.var
type resize = Cascade__Properties_intf.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
type box_sizing = Cascade__Properties_intf.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
type field_sizing = Cascade__Properties_intf.field_sizing =
  1. | Content
  2. | Fixed
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of field_sizing Values.var
type caption_side = Cascade__Properties_intf.caption_side =
  1. | Top
  2. | Bottom
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of caption_side Values.var
type object_fit = Cascade__Properties_intf.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
type object_view_box = Cascade__Properties_intf.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
type content = Cascade__Properties_intf.content =
  1. | String of string
  2. | Quoted of {
    1. value : string;
    2. quote : char;
    3. repr : string option;
    }
  3. | Image of background_image
  4. | None
  5. | Normal
  6. | Open_quote
  7. | Close_quote
  8. | Attr of content Values.attr_call
  9. | Counter of string
  10. | Counters of string * string
  11. | String_ref of string
  12. | Content_list of content list
  13. | Inherit
  14. | Initial
  15. | Unset
  16. | Revert
  17. | Revert_layer
  18. | Var of content Values.var
type counter_item = Cascade__Properties_intf.counter_item = {
  1. name : string;
  2. value : int option;
}
type counter_set = Cascade__Properties_intf.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
type content_visibility = Cascade__Properties_intf.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
type quotes = Cascade__Properties_intf.quotes =
  1. | Auto
  2. | None
  3. | Pairs of (string * string) list
  4. | Inherit
  5. | Initial
  6. | Unset
  7. | Revert
  8. | Revert_layer
  9. | Var of quotes Values.var
type container_type = Cascade__Properties_intf.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
type container_name = Cascade__Properties_intf.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
type anchor_name = Cascade__Properties_intf.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
type position_area_keyword = Cascade__Properties_intf.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. | Start
  27. | End
  28. | Span_start
  29. | Span_end
  30. | Self_start
  31. | Self_end
  32. | Span_self_start
  33. | Span_self_end
  34. | Self_x_start
  35. | Self_x_end
  36. | Self_y_start
  37. | Self_y_end
  38. | Span_self_x_start
  39. | Span_self_x_end
  40. | Span_self_y_start
  41. | Span_self_y_end
  42. | Self_block_start
  43. | Self_block_end
  44. | Self_inline_start
  45. | Self_inline_end
  46. | Span_self_block_start
  47. | Span_self_block_end
  48. | Span_self_inline_start
  49. | Span_self_inline_end
  50. | Span_all
type position_anchor = Cascade__Properties_intf.position_anchor =
  1. | Normal
  2. | None
  3. | Auto
  4. | Anchor of string
  5. | Initial
  6. | Inherit
  7. | Unset
  8. | Revert
  9. | Revert_layer
  10. | Var of position_anchor Values.var
type position_try_fallback = Cascade__Properties_intf.position_try_fallback =
  1. | Flip_block
  2. | Flip_inline
  3. | Flip_start
  4. | Name of string
type position_try_fallback_entry = Cascade__Properties_intf.position_try_fallback_entry =
  1. | Tactics of position_try_fallback list
  2. | Area of position_area_keyword * position_area_keyword option
type position_try_fallbacks = Cascade__Properties_intf.position_try_fallbacks =
  1. | None
  2. | Fallbacks of position_try_fallback_entry list
  3. | Initial
  4. | Inherit
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of position_try_fallbacks Values.var
type position_try_order = Cascade__Properties_intf.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
type position_try = Cascade__Properties_intf.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
type position_visibility_condition = Cascade__Properties_intf.position_visibility_condition =
  1. | Anchors_visible
  2. | No_overflow
type position_visibility = Cascade__Properties_intf.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
type position_area = Cascade__Properties_intf.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
type overflow_anchor = Cascade__Properties_intf.overflow_anchor =
  1. | Auto
  2. | None
  3. | Initial
  4. | Inherit
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of overflow_anchor Values.var
type scrollbar_width = Cascade__Properties_intf.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
type scrollbar_color = Cascade__Properties_intf.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
type scrollbar_gutter = Cascade__Properties_intf.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
type font_palette = Cascade__Properties_intf.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
type font_synthesis_feature = Cascade__Properties_intf.font_synthesis_feature =
  1. | Weight
  2. | Style
  3. | Small_caps
  4. | Position
type font_synthesis = Cascade__Properties_intf.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
type animation_range_name = Cascade__Properties_intf.animation_range_name =
  1. | Cover
  2. | Contain
  3. | Entry
  4. | Exit
  5. | Entry_crossing
  6. | Exit_crossing
type animation_range_item = Cascade__Properties_intf.animation_range_item =
  1. | Normal
  2. | Items of animation_range_item list
  3. | Offset of Values.length_percentage
  4. | Named of animation_range_name * Values.length_percentage option
  5. | Initial
  6. | Inherit
  7. | Unset
  8. | Revert
  9. | Revert_layer
  10. | Var of animation_range_item Values.var
type animation_range = Cascade__Properties_intf.animation_range =
  1. | Range of animation_range_item * animation_range_item option
  2. | Ranges of animation_range list
  3. | Initial
  4. | Inherit
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of animation_range Values.var
type view_transition_name = Cascade__Properties_intf.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
type view_transition_class = Cascade__Properties_intf.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
type image_orientation = Cascade__Properties_intf.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
type image_rendering = Cascade__Properties_intf.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
type resolution = Cascade__Properties_intf.resolution =
  1. | Dpi of float
  2. | Dpcm of float
  3. | Dppx of float
  4. | X of float
type image_resolution = Cascade__Properties_intf.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
type contain_intrinsic_size_item = Cascade__Properties_intf.contain_intrinsic_size_item =
  1. | None
  2. | Length of Values.length
  3. | Auto_none
  4. | Auto of Values.length
type contain_intrinsic_size = Cascade__Properties_intf.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
type contain_intrinsic_longhand = Cascade__Properties_intf.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
type margin_trim_edge = Cascade__Properties_intf.margin_trim_edge =
  1. | Block_start
  2. | Inline_start
  3. | Block_end
  4. | Inline_end
type margin_trim_axis = Cascade__Properties_intf.margin_trim_axis =
  1. | Block
  2. | Inline
type margin_trim = Cascade__Properties_intf.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
type ray_size = Cascade__Properties_intf.ray_size =
  1. | Closest_side
  2. | Closest_corner
  3. | Farthest_side
  4. | Farthest_corner
  5. | Sides
type ray = Cascade__Properties_intf.ray = {
  1. angle : Values.angle;
  2. size : ray_size option;
  3. contain : bool;
  4. position : position_value option;
}
type clip_geometry_box = Cascade__Properties_intf.clip_geometry_box =
  1. | Margin_box
  2. | Border_box
  3. | Padding_box
  4. | Content_box
  5. | Fill_box
  6. | Stroke_box
  7. | View_box
type clip_path_extent = Cascade__Properties_intf.clip_path_extent =
  1. | Extent_length of Values.length
  2. | Closest_side
  3. | Farthest_side
type clip_path_fill_rule = Cascade__Properties_intf.clip_path_fill_rule =
  1. | Nonzero
  2. | Evenodd
type clip_path = Cascade__Properties_intf.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;
    }
  4. | Clip_path_circle of {
    1. radius : clip_path_extent option;
    2. position : position_value option;
    }
  5. | Clip_path_ellipse of {
    1. rx : clip_path_extent option;
    2. ry : clip_path_extent option;
    3. position : position_value option;
    }
  6. | Clip_path_polygon of {
    1. fill_rule : clip_path_fill_rule option;
    2. points : (Values.length * Values.length) list;
    3. spaced : bool;
    }
  7. | Clip_path_path of string
  8. | Clip_path_shape of string
  9. | Clip_path_box of clip_geometry_box
  10. | Clip_path_with_box of {
    1. shape : clip_path;
    2. box : clip_geometry_box;
    3. box_first : bool;
    }
  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;
    }
  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;
    }
  13. | Inherit
  14. | Initial
  15. | Unset
  16. | Revert
  17. | Revert_layer
  18. | Var of clip_path Values.var
  19. | Invalid of Values.invalid_value
type offset_path = Cascade__Properties_intf.offset_path =
  1. | None
  2. | Url of string
  3. | Path of string
  4. | Ray of ray
  5. | Shape of clip_path
  6. | Initial
  7. | Inherit
  8. | Unset
  9. | Revert
  10. | Revert_layer
  11. | Var of offset_path Values.var
type offset_anchor = Cascade__Properties_intf.offset_anchor =
  1. | Auto
  2. | Position of position_value
  3. | Initial
  4. | Inherit
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of offset_anchor Values.var
type offset_position = Cascade__Properties_intf.offset_position =
  1. | Normal
  2. | Auto
  3. | Position of position_value
  4. | Initial
  5. | Inherit
  6. | Unset
  7. | Revert
  8. | Revert_layer
  9. | Var of offset_position Values.var
type offset_rotate_mode = Cascade__Properties_intf.offset_rotate_mode =
  1. | Auto
  2. | Reverse
type offset_rotate = Cascade__Properties_intf.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
type offset_target = Cascade__Properties_intf.offset_target =
  1. | Position_only of offset_position
  2. | With_path of {
    1. position : offset_position option;
    2. path : offset_path;
    3. distance : Values.length_percentage option;
    4. rotate : offset_rotate option;
    }
type offset = Cascade__Properties_intf.offset =
  1. | Shorthand of {
    1. target : offset_target;
    2. anchor : offset_anchor option;
    }
  2. | Initial
  3. | Inherit
  4. | Unset
  5. | Revert
  6. | Revert_layer
  7. | Var of offset Values.var
type container_shorthand = Cascade__Properties_intf.container_shorthand =
  1. | Shorthand of {
    1. name : container_name;
    2. ctype : container_type option;
    }
  2. | Initial
  3. | Inherit
  4. | Unset
  5. | Revert
  6. | Revert_layer
  7. | Var of container_shorthand Values.var
type contain = Cascade__Properties_intf.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
type isolation = Cascade__Properties_intf.isolation =
  1. | Auto
  2. | Isolate
  3. | Initial
  4. | Inherit
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of isolation Values.var
type break_value = Cascade__Properties_intf.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
type break_inside_value = Cascade__Properties_intf.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
type page_break_value = Cascade__Properties_intf.page_break_value =
  1. | Auto
  2. | Always
  3. | Avoid
  4. | Left
  5. | Right
  6. | Initial
  7. | Inherit
  8. | Unset
  9. | Revert
  10. | Revert_layer
  11. | Var of page_break_value Values.var
type page_break_inside_value = Cascade__Properties_intf.page_break_inside_value =
  1. | Auto
  2. | Avoid
  3. | Initial
  4. | Inherit
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of page_break_inside_value Values.var
type page_size_name = Cascade__Properties_intf.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
type page_size_orientation = Cascade__Properties_intf.page_size_orientation =
  1. | Portrait
  2. | Landscape
  3. | Var of page_size_orientation Values.var
type page_size = Cascade__Properties_intf.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. | Initial
  8. | Inherit
  9. | Unset
  10. | Revert
  11. | Revert_layer
  12. | Var of page_size Values.var
type columns_value = Cascade__Properties_intf.columns_value =
  1. | Auto
  2. | Count of int
  3. | Width of Values.length
  4. | Both of Values.length * int
  5. | Auto_count of int
  6. | Count_calc of columns_value Values.calc
  7. | Inherit
  8. | Initial
  9. | Unset
  10. | Revert
  11. | Revert_layer
  12. | Var of columns_value Values.var
type column_width = Cascade__Properties_intf.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
type column_count = Cascade__Properties_intf.column_count =
  1. | Auto
  2. | Count of int
  3. | Calc of column_count Values.calc
  4. | Inherit
  5. | Initial
  6. | Unset
  7. | Revert
  8. | Revert_layer
  9. | Var of column_count Values.var
type column_height = Cascade__Properties_intf.column_height =
  1. | Auto
  2. | Height of Values.length
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of column_height Values.var
type column_wrap = Cascade__Properties_intf.column_wrap =
  1. | Auto
  2. | Nowrap
  3. | Wrap
  4. | Inherit
  5. | Initial
  6. | Unset
  7. | Revert
  8. | Revert_layer
  9. | Var of column_wrap Values.var
type column_span = Cascade__Properties_intf.column_span =
  1. | None
  2. | All
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of column_span Values.var
type scroll_behavior = Cascade__Properties_intf.scroll_behavior =
  1. | Auto
  2. | Smooth
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of scroll_behavior Values.var
type scroll_snap_align = Cascade__Properties_intf.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
type scroll_snap_stop = Cascade__Properties_intf.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
type scroll_snap_strictness = Cascade__Properties_intf.scroll_snap_strictness =
  1. | Mandatory
  2. | Proximity
  3. | Var of scroll_snap_strictness Values.var
type scroll_snap_axis = Cascade__Properties_intf.scroll_snap_axis =
  1. | None
  2. | X
  3. | Y
  4. | Block
  5. | Inline
  6. | Both
  7. | Var of scroll_snap_axis Values.var
type scroll_snap_type = Cascade__Properties_intf.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
type timeline_axis = Cascade__Properties_intf.timeline_axis =
  1. | Block
  2. | Inline
  3. | X
  4. | Y
  5. | Axes of timeline_axis list
  6. | Initial
  7. | Inherit
  8. | Unset
  9. | Revert
  10. | Revert_layer
  11. | Var of timeline_axis Values.var
type timeline_ident = Cascade__Properties_intf.timeline_ident =
  1. | None
  2. | Name of string
type timeline_name = Cascade__Properties_intf.timeline_name =
  1. | Names of timeline_ident list
  2. | Initial
  3. | Inherit
  4. | Unset
  5. | Revert
  6. | Revert_layer
  7. | Var of timeline_name Values.var
type timeline_scope = Cascade__Properties_intf.timeline_scope =
  1. | None
  2. | Names of string list
  3. | Initial
  4. | Inherit
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of timeline_scope Values.var
type timeline_shorthand_item = Cascade__Properties_intf.timeline_shorthand_item = {
  1. name : timeline_ident;
  2. axis : timeline_axis option;
}
type timeline_shorthand = Cascade__Properties_intf.timeline_shorthand =
  1. | Timelines of timeline_shorthand_item list
  2. | Initial
  3. | Inherit
  4. | Unset
  5. | Revert
  6. | Revert_layer
  7. | Var of timeline_shorthand Values.var
type timeline_inset_item = Cascade__Properties_intf.timeline_inset_item =
  1. | Auto
  2. | Length of Values.length_percentage
type timeline_inset = Cascade__Properties_intf.timeline_inset =
  1. | Inset of timeline_inset_item * timeline_inset_item option
  2. | Insets of timeline_inset list
  3. | Initial
  4. | Inherit
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of timeline_inset Values.var
type view_timeline_shorthand_item = Cascade__Properties_intf.view_timeline_shorthand_item = {
  1. name : timeline_ident;
  2. axis : timeline_axis option;
  3. inset : timeline_inset option;
}
type view_timeline_shorthand = Cascade__Properties_intf.view_timeline_shorthand =
  1. | Timelines of view_timeline_shorthand_item list
  2. | Initial
  3. | Inherit
  4. | Unset
  5. | Revert
  6. | Revert_layer
  7. | Var of view_timeline_shorthand Values.var
type overscroll_behavior = Cascade__Properties_intf.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
type svg_paint = Cascade__Properties_intf.svg_paint =
  1. | None
  2. | Inherit
  3. | Current_color
  4. | Color of Values.color
  5. | Url of string * svg_paint option
  6. | Context_fill
  7. | Context_stroke
  8. | Var of svg_paint Values.var
type fill_rule = Cascade__Properties_intf.fill_rule =
  1. | Nonzero
  2. | Evenodd
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of fill_rule Values.var
type stroke_width = Cascade__Properties_intf.stroke_width =
  1. | Number of float
  2. | Calc of stroke_width Values.calc
  3. | Length of Values.length_percentage
  4. | Inherit
  5. | Initial
  6. | Unset
  7. | Revert
  8. | Revert_layer
  9. | Var of stroke_width Values.var
type stroke_linecap = Cascade__Properties_intf.stroke_linecap =
  1. | Butt
  2. | Round
  3. | Square
  4. | Inherit
  5. | Initial
  6. | Unset
  7. | Revert
  8. | Revert_layer
  9. | Var of stroke_linecap Values.var
type stroke_linejoin = Cascade__Properties_intf.stroke_linejoin =
  1. | Miter
  2. | Miter_clip
  3. | Round
  4. | Bevel
  5. | Arcs
  6. | Inherit
  7. | Initial
  8. | Unset
  9. | Revert
  10. | Revert_layer
  11. | Var of stroke_linejoin Values.var
type stroke_miterlimit = Cascade__Properties_intf.stroke_miterlimit =
  1. | Number of float
  2. | Calc of stroke_miterlimit Values.calc
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of stroke_miterlimit Values.var
type dash_length = Cascade__Properties_intf.dash_length =
  1. | Number of Values.number
  2. | Length of Values.length_percentage
type stroke_dashoffset = Cascade__Properties_intf.stroke_dashoffset =
  1. | Dash of dash_length
  2. | Inherit
  3. | Initial
  4. | Unset
  5. | Revert
  6. | Revert_layer
  7. | Var of stroke_dashoffset Values.var
type stroke_dasharray = Cascade__Properties_intf.stroke_dasharray =
  1. | None
  2. | Dashes of dash_length list
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of stroke_dasharray Values.var
type paint_order_keyword = Cascade__Properties_intf.paint_order_keyword =
  1. | Fill
  2. | Stroke
  3. | Markers
type paint_order = Cascade__Properties_intf.paint_order =
  1. | Normal
  2. | Order of paint_order_keyword list
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of paint_order Values.var
type vector_effect_keyword = Cascade__Properties_intf.vector_effect_keyword =
  1. | Non_scaling_stroke
  2. | Non_scaling_size
  3. | Non_rotation
  4. | Fixed_position
type vector_effect_space = Cascade__Properties_intf.vector_effect_space =
  1. | Viewport
  2. | Screen
type vector_effect = Cascade__Properties_intf.vector_effect =
  1. | None
  2. | Effects of vector_effect_keyword list * vector_effect_space option
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of vector_effect Values.var
type direction = Cascade__Properties_intf.direction =
  1. | Ltr
  2. | Rtl
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of direction Values.var
type unicode_bidi = Cascade__Properties_intf.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
type writing_mode = Cascade__Properties_intf.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
type text_combine_upright = Cascade__Properties_intf.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
type webkit_appearance = Cascade__Properties_intf.webkit_appearance =
  1. | None
  2. | Auto
  3. | Button
  4. | Textfield
  5. | Menulist
  6. | Base_select
  7. | Listbox
  8. | Checkbox
  9. | Radio
  10. | Push_button
  11. | Square_button
  12. | Apple_pay_button
  13. | Inherit
  14. | Initial
  15. | Unset
  16. | Revert
  17. | Revert_layer
  18. | Var of webkit_appearance Values.var
type webkit_font_smoothing = Cascade__Properties_intf.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
type moz_osx_font_smoothing = Cascade__Properties_intf.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
type webkit_box_orient = Cascade__Properties_intf.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
type moz_orient = Cascade__Properties_intf.moz_orient =
  1. | Inline
  2. | Block
  3. | Horizontal
  4. | Vertical
  5. | Inherit
  6. | Var of moz_orient Values.var
type webkit_line_clamp = Cascade__Properties_intf.webkit_line_clamp =
  1. | None
  2. | Lines of int
  3. | Calc of webkit_line_clamp Values.calc
  4. | Inherit
  5. | Initial
  6. | Unset
  7. | Revert
  8. | Revert_layer
  9. | Var of webkit_line_clamp Values.var
type text_size_adjust = Cascade__Properties_intf.text_size_adjust =
  1. | None
  2. | Auto
  3. | Pct of float
  4. | Calc of text_size_adjust Values.calc
  5. | Inherit
  6. | Initial
  7. | Unset
  8. | Revert
  9. | Revert_layer
  10. | Var of text_size_adjust Values.var
type forced_color_adjust = Cascade__Properties_intf.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
type color_scheme = Cascade__Properties_intf.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
type appearance = Cascade__Properties_intf.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
type print_color_adjust = Cascade__Properties_intf.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
type box_decoration_break = Cascade__Properties_intf.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
type clear = Cascade__Properties_intf.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
type float_side = Cascade__Properties_intf.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
type text_decoration_skip_ink = Cascade__Properties_intf.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
type transform_origin = Cascade__Properties_intf.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
  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
type transform_box = Cascade__Properties_intf.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
type will_change = Cascade__Properties_intf.will_change =
  1. | Will_change_auto
  2. | Scroll_position
  3. | Contents
  4. | Transform
  5. | Opacity
  6. | Properties of string list
  7. | Initial
  8. | Inherit
  9. | Unset
  10. | Revert
  11. | Revert_layer
  12. | Var of will_change Values.var
type perspective_origin = position_value
type clip = Cascade__Properties_intf.clip =
  1. | Clip_auto
  2. | Clip_rect of Values.length * Values.length * Values.length * Values.length
  3. | Inherit
  4. | Initial
  5. | Unset
  6. | Revert
  7. | Revert_layer
  8. | Var of clip Values.var
type !'a kind = 'a Cascade__Properties_intf.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. | Content : content kind
  32. | Gradient_stop : gradient_stop kind
  33. | Gradient_direction : gradient_direction kind
  34. | Gradient_position : gradient_position kind
  35. | Radial_shape : radial_shape kind
  36. | Radial_size : radial_size kind
  37. | Position_value : position_value kind
  38. | Animation : animation kind
  39. | Timing_function : timing_function kind
  40. | Transform : transform kind
  41. | Touch_action : touch_action kind
  42. | Transition_property_value : transition_property_value kind
  43. | Background_image : background_image kind
  44. | Z_index : z_index kind
  45. | Filter : filter kind
  46. | Font_src : Font_face.src kind
type custom_property = Cascade__Properties_intf.custom_property =
  1. | Custom_value : {
    1. value : custom_property_value;
    2. layer : string option;
    3. meta : Values.meta option;
    } -> custom_property
and custom_property_value = Cascade__Properties_intf.custom_property_value =
  1. | Typed : {
    1. kind : 'a kind;
    2. value : 'a;
    } -> custom_property_value
  2. | Tokens of Values.custom_value
type css_wide = Cascade__Properties_intf.css_wide =
  1. | Initial
  2. | Inherit
  3. | Unset
  4. | Revert
  5. | Revert_layer
  6. | Var of css_wide Values.var
type !'a property = 'a Cascade__Properties_intf.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 list 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. | Border_inline_start_style : border_style property
  13. | Border_inline_end_style : border_style property
  14. | Border_block_start_style : border_style property
  15. | Border_block_end_style : border_style property
  16. | Padding : Values.length list property
  17. | Padding_left : Values.length property
  18. | Padding_right : Values.length property
  19. | Padding_bottom : Values.length property
  20. | Padding_top : Values.length property
  21. | Padding_inline : Values.length list property
  22. | Padding_inline_start : Values.length property
  23. | Padding_inline_end : Values.length property
  24. | Padding_block : Values.length list property
  25. | Padding_block_start : Values.length property
  26. | Padding_block_end : Values.length property
  27. | Margin : Values.length list property
  28. | Margin_inline_end : Values.length property
  29. | Margin_inline_start : Values.length property
  30. | Margin_left : Values.length property
  31. | Margin_right : Values.length property
  32. | Margin_top : Values.length property
  33. | Margin_bottom : Values.length property
  34. | Margin_inline : Values.length list property
  35. | Margin_block : Values.length list property
  36. | Margin_block_start : Values.length property
  37. | Margin_block_end : Values.length property
  38. | Gap : gap property
  39. | Column_gap : Values.length property
  40. | Row_gap : Values.length property
  41. | Width : Values.length_percentage property
  42. | Height : Values.length_percentage property
  43. | Min_width : Values.length_percentage property
  44. | Min_height : Values.length_percentage property
  45. | Max_width : Values.length_percentage property
  46. | Max_height : Values.length_percentage property
  47. | Inline_size : Values.length_percentage property
  48. | Min_inline_size : Values.length_percentage property
  49. | Max_inline_size : Values.length_percentage property
  50. | Block_size : Values.length_percentage property
  51. | Min_block_size : Values.length_percentage property
  52. | Max_block_size : Values.length_percentage property
  53. | Font_size : font_size property
  54. | Line_height : line_height property
  55. | Font_weight : font_weight property
  56. | Font_style : font_style property
  57. | Text_align : text_align property
  58. | Text_decoration : text_decoration property
  59. | Text_decoration_line : text_decoration_line list property
  60. | Text_decoration_style : text_decoration_style property
  61. | Text_decoration_color : Values.color property
  62. | Text_underline_offset : Values.length property
  63. | Text_decoration_skip : text_decoration_skip property
  64. | Text_decoration_skip_self : text_decoration_skip_self property
  65. | Text_decoration_skip_box : text_decoration_skip_box property
  66. | Text_decoration_skip_inset : text_decoration_skip_inset property
  67. | Text_decoration_skip_spaces : text_decoration_skip_spaces property
  68. | Text_emphasis : text_emphasis property
  69. | Text_emphasis_style : text_emphasis_style property
  70. | Text_emphasis_color : Values.color property
  71. | Text_emphasis_position : text_emphasis_position property
  72. | Text_emphasis_skip : text_emphasis_skip property
  73. | Text_orientation : text_orientation property
  74. | Text_transform : text_transform property
  75. | Letter_spacing : Values.length property
  76. | List_style_type : list_style_type property
  77. | List_style_position : list_style_position property
  78. | List_style_image : list_style_image property
  79. | Display : display property
  80. | Position : position property
  81. | Visibility : visibility property
  82. | Baseline_source : baseline_source property
  83. | Alignment_baseline : alignment_baseline property
  84. | Baseline_shift : baseline_shift property
  85. | Flex_direction : flex_direction property
  86. | Flex_wrap : flex_wrap property
  87. | Flex_flow : flex_flow property
  88. | Flex : flex property
  89. | Flex_grow : flex_factor property
  90. | Flex_shrink : flex_factor property
  91. | Flex_basis : flex_basis property
  92. | Order : order property
  93. | Align_items : align_items property
  94. | Justify_content : justify_content property
  95. | Justify_items : justify_items property
  96. | Justify_self : justify_self property
  97. | Align_content : align_content property
  98. | Align_self : align_self property
  99. | Place_content : place_content property
  100. | Place_items : place_items property
  101. | Place_self : (align_self * justify_self) property
  102. | Grid_template_columns : grid_template property
  103. | Grid_template_rows : grid_template property
  104. | Grid_template_areas : grid_template_areas property
  105. | Grid_template : grid_template property
  106. | Grid : grid_template property
  107. | Grid_area : grid_area property
  108. | Grid_auto_flow : grid_auto_flow property
  109. | Grid_auto_columns : grid_template property
  110. | Grid_auto_rows : grid_template property
  111. | Grid_column : grid_line_pair property
  112. | Grid_row : grid_line_pair property
  113. | Grid_column_start : grid_line property
  114. | Grid_column_end : grid_line property
  115. | Grid_row_start : grid_line property
  116. | Grid_row_end : grid_line property
  117. | Border_width : border_width list property
  118. | Border_top_width : border_width property
  119. | Border_right_width : border_width property
  120. | Border_bottom_width : border_width property
  121. | Border_left_width : border_width property
  122. | Border_inline_start_width : border_width property
  123. | Border_inline_end_width : border_width property
  124. | Border_block_start_width : border_width property
  125. | Border_block_end_width : border_width property
  126. | Border_inline_width : logical_border_width property
  127. | Border_block_width : logical_border_width property
  128. | Border_image : border_image property
  129. | Border_image_source : background_image property
  130. | Border_image_slice : border_image_slice property
  131. | Border_image_repeat : border_image_repeat property
  132. | Border_image_width : border_image_width property
  133. | Border_image_outset : border_image_outset property
  134. | Border_radius : border_radius property
  135. | Border_top_left_radius : Values.length list property
  136. | Border_top_right_radius : Values.length list property
  137. | Border_bottom_left_radius : Values.length list property
  138. | Border_bottom_right_radius : Values.length list property
  139. | Border_top_color : Values.color property
  140. | Border_right_color : Values.color property
  141. | Border_bottom_color : Values.color property
  142. | Border_left_color : Values.color property
  143. | Border_inline_start_color : Values.color property
  144. | Border_inline_end_color : Values.color property
  145. | Border_block_start_color : Values.color property
  146. | Border_block_end_color : Values.color property
  147. | Border_inline_color : logical_border_color property
  148. | Border_block_color : logical_border_color property
  149. | Border_inline_style : logical_border_style property
  150. | Border_block_style : logical_border_style property
  151. | Border_start_start_radius : Values.length list property
  152. | Border_start_end_radius : Values.length list property
  153. | Border_end_start_radius : Values.length list property
  154. | Border_end_end_radius : Values.length list property
  155. | Opacity : opacity property
  156. | Fill_opacity : opacity property
  157. | Stroke_opacity : opacity property
  158. | Stop_opacity : opacity property
  159. | Flood_opacity : opacity property
  160. | Mix_blend_mode : blend_mode property
  161. | Transform : transform list property
  162. | Translate : translate_value property
  163. | Cursor : cursor property
  164. | Interactivity : interactivity property
  165. | Caret_animation : caret_animation property
  166. | Caret_shape : caret_shape property
  167. | Caret : caret property
  168. | Interest_delay : interest_delay property
  169. | Interest_delay_start : interest_delay property
  170. | Interest_delay_end : interest_delay property
  171. | Nav_up : nav property
  172. | Nav_right : nav property
  173. | Nav_down : nav property
  174. | Nav_left : nav property
  175. | Table_layout : table_layout property
  176. | Border_collapse : border_collapse property
  177. | Border_spacing : border_spacing property
  178. | User_select : user_select property
  179. | Pointer_events : pointer_events property
  180. | Overflow : overflow property
  181. | Inset : Values.length list property
  182. | Inset_inline : Values.length list property
  183. | Inset_inline_start : Values.length list property
  184. | Inset_inline_end : Values.length list property
  185. | Inset_block : Values.length list property
  186. | Inset_block_start : Values.length list property
  187. | Inset_block_end : Values.length list property
  188. | Top : Values.length list property
  189. | Right : Values.length list property
  190. | Bottom : Values.length list property
  191. | Left : Values.length list property
  192. | Z_index : z_index property
  193. | Outline : outline property
  194. | Outline_style : outline_style property
  195. | Outline_width : border_width property
  196. | Outline_color : Values.color property
  197. | Outline_offset : Values.length property
  198. | Forced_color_adjust : forced_color_adjust property
  199. | Scroll_snap_type : scroll_snap_type property
  200. | White_space : white_space property
  201. | White_space_collapse : white_space_collapse property
  202. | Border : border property
  203. | Border_block : border property
  204. | Border_block_start : border property
  205. | Border_block_end : border property
  206. | Border_inline : border property
  207. | Border_inline_start : border property
  208. | Border_inline_end : border property
  209. | Background : background list property
  210. | Tab_size : tab_size property
  211. | Zoom : zoom property
  212. | Webkit_text_size_adjust : text_size_adjust property
  213. | Font_feature_settings : font_feature_settings property
  214. | Font_variation_settings : font_variation_settings property
  215. | Webkit_tap_highlight_color : Values.color property
  216. | Webkit_user_select : user_select property
  217. | Moz_user_select : user_select property
  218. | Ms_user_select : user_select property
  219. | Webkit_text_decoration : text_decoration property
  220. | Webkit_text_decoration_color : Values.color property
  221. | Webkit_text_fill_color : Values.color property
  222. | Webkit_text_stroke : webkit_text_stroke property
  223. | Webkit_text_stroke_width : border_width property
  224. | Webkit_text_stroke_color : Values.color property
  225. | Text_indent : text_indent_value property
  226. | List_style : list_style property
  227. | Font : font property
  228. | Source : Font_face.src property
  229. | Webkit_appearance : webkit_appearance property
  230. | Webkit_transform : transform list property
  231. | Moz_transform : transform list property
  232. | Ms_transform : transform list property
  233. | O_transform : transform list property
  234. | Webkit_transition : transition list property
  235. | Webkit_transition_delay : Values.duration property
  236. | Webkit_transition_duration : Values.duration property
  237. | Webkit_transition_property : transition_property property
  238. | Webkit_transition_timing_function : timing_function property
  239. | Webkit_animation : animation list property
  240. | Webkit_animation_delay : Values.duration property
  241. | Webkit_animation_duration : Values.duration property
  242. | Webkit_animation_direction : animation_direction property
  243. | Webkit_animation_iteration_count : animation_iteration_count property
  244. | Webkit_animation_name : animation_name property
  245. | Webkit_animation_timing_function : timing_function property
  246. | Webkit_animation_fill_mode : animation_fill_mode property
  247. | Webkit_animation_play_state : animation_play_state property
  248. | Webkit_flex_direction : flex_direction property
  249. | Webkit_flex_wrap : flex_wrap property
  250. | Webkit_flex_flow : flex_flow property
  251. | Webkit_justify_content : justify_content property
  252. | Webkit_align_items : align_items property
  253. | Webkit_align_content : align_content property
  254. | Webkit_align_self : align_self property
  255. | Webkit_border_radius : border_radius property
  256. | Webkit_box_sizing : box_sizing property
  257. | Moz_box_sizing : box_sizing property
  258. | Webkit_box_shadow : shadow property
  259. | Webkit_background_size : background_size property
  260. | Webkit_filter : filter property
  261. | Moz_appearance : appearance property
  262. | Moz_animation : animation list property
  263. | Moz_animation_delay : Values.duration property
  264. | Moz_animation_duration : Values.duration property
  265. | Moz_animation_direction : animation_direction property
  266. | Moz_animation_iteration_count : animation_iteration_count property
  267. | Moz_animation_name : animation_name property
  268. | Moz_animation_timing_function : timing_function property
  269. | Moz_animation_fill_mode : animation_fill_mode property
  270. | Moz_animation_play_state : animation_play_state property
  271. | Moz_transition : transition list property
  272. | Moz_transition_delay : Values.duration property
  273. | Moz_transition_duration : Values.duration property
  274. | Moz_transition_property : transition_property property
  275. | Moz_transition_timing_function : timing_function property
  276. | Moz_border_radius : border_radius property
  277. | Moz_box_shadow : shadow property
  278. | Ms_filter : filter property
  279. | O_transition : transition list property
  280. | Container_type : container_type property
  281. | Container_name : container_name property
  282. | Container : container_shorthand property
  283. | Anchor_name : anchor_name property
  284. | Position_anchor : position_anchor property
  285. | Position_try_fallbacks : position_try_fallbacks property
  286. | Position_try_order : position_try_order property
  287. | Position_try : position_try property
  288. | Position_visibility : position_visibility property
  289. | Position_area : position_area property
  290. | Shape_outside : string property
  291. | Shape_margin : Values.length_percentage property
  292. | Shape_image_threshold : shape_image_threshold property
  293. | Overflow_clip_margin : overflow_clip_margin property
  294. | Overflow_anchor : overflow_anchor property
  295. | Scrollbar_width : scrollbar_width property
  296. | Scrollbar_color : scrollbar_color property
  297. | Scrollbar_gutter : scrollbar_gutter property
  298. | Line_height_step : Values.length property
  299. | Font_palette : font_palette property
  300. | Font_synthesis : font_synthesis property
  301. | Text_wrap_mode : text_wrap_mode property
  302. | Text_wrap_style : text_wrap_style property
  303. | Text_box_trim : text_box_trim property
  304. | Text_underline_position : text_underline_position property
  305. | Text_box_edge : text_box_edge property
  306. | Text_box : text_box property
  307. | Inline_sizing : inline_sizing property
  308. | Line_fit_edge : line_fit_edge property
  309. | Interpolate_size : interpolate_size property
  310. | Min_intrinsic_sizing : min_intrinsic_sizing property
  311. | Ruby_align : ruby_align property
  312. | Ruby_merge : ruby_merge property
  313. | Ruby_overhang : ruby_overhang property
  314. | Ruby_position : ruby_position property
  315. | Glyph_orientation_vertical : glyph_orientation_vertical property
  316. | Text_combine_upright : text_combine_upright property
  317. | Animation_timeline : animation_timeline property
  318. | Animation_range : animation_range property
  319. | Animation_range_start : animation_range_item property
  320. | Animation_range_end : animation_range_item property
  321. | Scroll_timeline : timeline_shorthand property
  322. | Scroll_timeline_name : timeline_name property
  323. | Scroll_timeline_axis : timeline_axis property
  324. | View_transition_name : view_transition_name property
  325. | View_transition_class : view_transition_class property
  326. | Image_orientation : image_orientation property
  327. | Image_rendering : image_rendering property
  328. | Image_resolution : image_resolution property
  329. | Contain_intrinsic_size : contain_intrinsic_size property
  330. | Contain_intrinsic_width : contain_intrinsic_longhand property
  331. | Contain_intrinsic_height : contain_intrinsic_longhand property
  332. | Contain_intrinsic_block_size : contain_intrinsic_longhand property
  333. | Contain_intrinsic_inline_size : contain_intrinsic_longhand property
  334. | Margin_trim : margin_trim property
  335. | Offset_path : offset_path property
  336. | Offset_distance : Values.length_percentage property
  337. | Offset_rotate : offset_rotate property
  338. | Font_size_adjust : font_size_adjust property
  339. | Font_variant_emoji : font_variant_emoji property
  340. | Text_spacing_trim : text_spacing_trim property
  341. | Hyphenate_limit_chars : hyphenate_limit_chars property
  342. | Initial_letter : initial_letter property
  343. | Initial_letter_align : initial_letter_align property
  344. | Initial_letter_wrap : initial_letter_wrap property
  345. | Dominant_baseline : dominant_baseline property
  346. | View_timeline_name : timeline_name property
  347. | View_timeline_axis : timeline_axis property
  348. | View_timeline_inset : timeline_inset property
  349. | View_timeline : view_timeline_shorthand property
  350. | Timeline_scope : timeline_scope property
  351. | Perspective : Values.length property
  352. | Perspective_origin : perspective_origin property
  353. | Transform_style : transform_style property
  354. | Backface_visibility : backface_visibility property
  355. | Object_position : position_value property
  356. | Rotate : rotate_value property
  357. | Transition_duration : Values.duration property
  358. | Transition_timing_function : timing_function property
  359. | Transition_delay : Values.duration property
  360. | Transition_property : transition_property property
  361. | Transition_behavior : transition_behavior property
  362. | Overlay : overlay property
  363. | Will_change : will_change property
  364. | Contain : contain property
  365. | Isolation : isolation property
  366. | Break_before : break_value property
  367. | Break_after : break_value property
  368. | Break_inside : break_inside_value property
  369. | Page_break_before : page_break_value property
  370. | Page_break_after : page_break_value property
  371. | Page_break_inside : page_break_inside_value property
  372. | Page_size : page_size property
  373. | Columns : columns_value property
  374. | Column_width : column_width property
  375. | Column_height : column_height property
  376. | Column_wrap : column_wrap property
  377. | Column_count : column_count property
  378. | Column_rule : border list property
  379. | Column_rule_width : border_width list property
  380. | Column_rule_style : border_style list property
  381. | Column_rule_color : Values.color list property
  382. | Column_span : column_span property
  383. | Word_spacing : Values.length property
  384. | Background_attachment : background_attachment property
  385. | Border_top : border property
  386. | Border_right : border property
  387. | Border_bottom : border property
  388. | Border_left : border property
  389. | Transform_origin : transform_origin property
  390. | Transform_box : transform_box property
  391. | Text_shadow : text_shadow list property
  392. | Clip_path : clip_path property
  393. | Mask : mask property
  394. | Mask_border : border_image property
  395. | Content_visibility : content_visibility property
  396. | Filter : filter property
  397. | Background_image : background_image list property
  398. | Background_origin : background_box property
  399. | Background_clip : background_box property
  400. | Webkit_background_clip : background_box property
  401. | Animation : animation list property
  402. | Aspect_ratio : aspect_ratio property
  403. | Overflow_x : overflow property
  404. | Overflow_y : overflow property
  405. | Overflow_block : overflow property
  406. | Overflow_inline : overflow property
  407. | Vertical_align : vertical_align property
  408. | Font_family : font_family property
  409. | Background_position : background_position property
  410. | Background_position_x : background_position_axis property
  411. | Background_position_y : background_position_axis property
  412. | Webkit_mask_position_x : background_position_axis property
  413. | Webkit_mask_position_y : background_position_axis property
  414. | Background_repeat : background_repeat property
  415. | Background_size : background_size property
  416. | Webkit_font_smoothing : webkit_font_smoothing property
  417. | Moz_osx_font_smoothing : moz_osx_font_smoothing property
  418. | Webkit_line_clamp : webkit_line_clamp property
  419. | Webkit_box_orient : webkit_box_orient property
  420. | Moz_orient : moz_orient property
  421. | Text_overflow : text_overflow property
  422. | Text_wrap : text_wrap property
  423. | Word_break : word_break property
  424. | Overflow_wrap : overflow_wrap property
  425. | Line_break : line_break property
  426. | Hyphens : hyphens property
  427. | Webkit_hyphens : hyphens property
  428. | Font_stretch : font_stretch property
  429. | Font_optical_sizing : font_optical_sizing property
  430. | Font_kerning : font_kerning property
  431. | Font_language_override : font_language_override property
  432. | Font_synthesis_style : font_synthesis_style property
  433. | Font_synthesis_weight : font_synthesis_weight property
  434. | Font_synthesis_small_caps : font_synthesis_small_caps property
  435. | Font_synthesis_position : font_synthesis_position property
  436. | Font_variant_ligatures : font_variant_ligatures property
  437. | Caps : font_variant_caps property
  438. | Numeric : font_variant_numeric property
  439. | Font_variant_position : font_variant_position property
  440. | Font_variant_alternates : font_variant_alternates property
  441. | Font_variant : font_variant property
  442. | East_asian : font_variant_east_asian property
  443. | Backdrop_filter : filter property
  444. | Webkit_backdrop_filter : filter property
  445. | Webkit_mask_image : background_image property
  446. | Webkit_mask_composite : webkit_mask_composite property
  447. | Webkit_mask_source_type : webkit_mask_source_type property
  448. | Webkit_mask_size : background_size property
  449. | Webkit_mask_position : background_position property
  450. | Webkit_mask_repeat : background_repeat property
  451. | Webkit_mask_clip : webkit_mask_box property
  452. | Webkit_mask_origin : webkit_mask_box property
  453. | Mask_image : background_image property
  454. | Mask_composite : mask_composite property
  455. | Mask_mode : mask_mode property
  456. | Mask_size : background_size property
  457. | Mask_position : background_position property
  458. | Mask_repeat : background_repeat property
  459. | Mask_clip : mask_box property
  460. | Mask_origin : mask_box property
  461. | Mask_type : mask_type property
  462. | Scroll_snap_align : scroll_snap_align property
  463. | Scroll_snap_stop : scroll_snap_stop property
  464. | Scroll_behavior : scroll_behavior property
  465. | Box_sizing : box_sizing property
  466. | Field_sizing : field_sizing property
  467. | Caption_side : caption_side property
  468. | Resize : resize property
  469. | Object_fit : object_fit property
  470. | Object_view_box : object_view_box property
  471. | Appearance : appearance property
  472. | Color_scheme : color_scheme property
  473. | Print_color_adjust : print_color_adjust property
  474. | Webkit_print_color_adjust : print_color_adjust property
  475. | Box_decoration_break : box_decoration_break property
  476. | Webkit_box_decoration_break : box_decoration_break property
  477. | Content : content property
  478. | Counter_reset : counter_set property
  479. | Counter_increment : counter_set property
  480. | Quotes : quotes property
  481. | Text_decoration_thickness : Values.length property
  482. | Text_size_adjust : text_size_adjust property
  483. | Touch_action : touch_action property
  484. | Clip : clip property
  485. | Clear : clear property
  486. | Float : float_side property
  487. | Scale : scale property
  488. | Transition : transition list property
  489. | Box_shadow : shadow property
  490. | Fill : svg_paint property
  491. | Stroke : svg_paint property
  492. | Stroke_width : stroke_width property
  493. | Fill_rule : fill_rule property
  494. | Clip_rule : fill_rule property
  495. | Stroke_linecap : stroke_linecap property
  496. | Stroke_linejoin : stroke_linejoin property
  497. | Stroke_miterlimit : stroke_miterlimit property
  498. | Stroke_dashoffset : stroke_dashoffset property
  499. | Stroke_dasharray : stroke_dasharray property
  500. | Paint_order : paint_order property
  501. | Vector_effect : vector_effect property
  502. | Stop_color : Values.color property
  503. | Flood_color : Values.color property
  504. | Lighting_color : Values.color property
  505. | Direction : direction property
  506. | Unicode_bidi : unicode_bidi property
  507. | Writing_mode : writing_mode property
  508. | Text_decoration_skip_ink : text_decoration_skip_ink property
  509. | Animation_name : animation_name property
  510. | Animation_duration : Values.duration property
  511. | Animation_timing_function : timing_function property
  512. | Animation_delay : Values.duration property
  513. | Animation_iteration_count : animation_iteration_count property
  514. | Animation_direction : animation_direction property
  515. | Animation_fill_mode : animation_fill_mode property
  516. | Animation_play_state : animation_play_state property
  517. | Animation_composition : animation_composition property
  518. | Background_blend_mode : blend_mode list property
  519. | Scroll_margin : Values.length list property
  520. | Scroll_margin_top : Values.length property
  521. | Scroll_margin_right : Values.length property
  522. | Scroll_margin_bottom : Values.length property
  523. | Scroll_margin_left : Values.length property
  524. | Scroll_margin_inline : Values.length list property
  525. | Scroll_margin_inline_start : Values.length property
  526. | Scroll_margin_inline_end : Values.length property
  527. | Scroll_margin_block : Values.length list property
  528. | Scroll_margin_block_start : Values.length property
  529. | Scroll_margin_block_end : Values.length property
  530. | Scroll_padding : Values.length list property
  531. | Scroll_padding_top : Values.length property
  532. | Scroll_padding_right : Values.length property
  533. | Scroll_padding_bottom : Values.length property
  534. | Scroll_padding_left : Values.length property
  535. | Scroll_padding_inline : Values.length list property
  536. | Scroll_padding_inline_start : Values.length property
  537. | Scroll_padding_inline_end : Values.length property
  538. | Scroll_padding_block : Values.length list property
  539. | Scroll_padding_block_start : Values.length property
  540. | Scroll_padding_block_end : Values.length property
  541. | Overscroll_behavior : overscroll_behavior list property
  542. | Overscroll_behavior_x : overscroll_behavior property
  543. | Overscroll_behavior_y : overscroll_behavior property
  544. | Overscroll_behavior_block : overscroll_behavior property
  545. | Overscroll_behavior_inline : overscroll_behavior property
  546. | Accent_color : Values.color property
  547. | Caret_color : Values.color property
  548. | Offset_anchor : offset_anchor property
  549. | Offset_position : offset_position property
  550. | Offset : offset property
type any_property = Cascade__Properties_intf.any_property =
  1. | Prop : 'a property -> any_property
type !'a property_value_kind = 'a Cascade__Properties_intf.property_value_kind =
  1. | Length : Values.length property_value_kind
  2. | Lengths : Values.length list property_value_kind
  3. | Length_percentage : Values.length_percentage property_value_kind
  4. | Border_width : border_width property_value_kind
  5. | Border_widths : border_width list property_value_kind
  6. | Opacity : opacity property_value_kind
  7. | Rotate : rotate_value property_value_kind
  8. | Duration : Values.duration property_value_kind
  9. | Number_percentage : Values.number_percentage property_value_kind
  10. | Font_size : font_size property_value_kind
  11. | Display : display property_value_kind
  12. | Position : position property_value_kind
  13. | Visibility : visibility property_value_kind
  14. | Clear : clear property_value_kind
  15. | Float : float_side property_value_kind
  16. | Scale : scale property_value_kind
  17. | Translate : translate_value property_value_kind
  18. | Transform : transform list property_value_kind
  19. | Animation : animation list property_value_kind
  20. | Transition : transition list property_value_kind
  21. | Filter : filter property_value_kind
  22. | Shadow : shadow property_value_kind
  23. | Border_radius : border_radius property_value_kind
  24. | Color : Values.color property_value_kind
  25. | Colors : Values.color list property_value_kind
  26. | Animation_name : animation_name property_value_kind
  27. | Background : background list property_value_kind
  28. | Background_image : background_image property_value_kind
  29. | Background_images : background_image list property_value_kind
  30. | Font_src : Font_face.src property_value_kind
  31. | Font_family : font_family property_value_kind
  32. | Stroke_width : stroke_width property_value_kind
val equal_overflow : overflow -> overflow -> bool
val equal_grid_line : grid_line -> grid_line -> bool
val equal_text_emphasis_skip_keyword : text_emphasis_skip_keyword -> text_emphasis_skip_keyword -> bool
val equal_min_intrinsic_sizing_keyword : min_intrinsic_sizing_keyword -> min_intrinsic_sizing_keyword -> bool
val equal_initial_letter_align_keyword : initial_letter_align_keyword -> initial_letter_align_keyword -> bool
val equal_ruby_position_keyword : ruby_position_keyword -> ruby_position_keyword -> bool
val equal_background_shorthand : background_shorthand -> background_shorthand -> bool
val equal_background_box : background_box -> background_box -> bool
val equal_mask_layer : mask_layer -> mask_layer -> bool
val equal_position_area_keyword : position_area_keyword -> position_area_keyword -> bool
val equal_position_visibility_condition : position_visibility_condition -> position_visibility_condition -> bool
val equal_animation_range_name : animation_range_name -> animation_range_name -> bool
val equal_container_shorthand : container_shorthand -> container_shorthand -> bool
val equal_paint_order_keyword : paint_order_keyword -> paint_order_keyword -> bool
val equal_paint_order : paint_order -> paint_order -> bool
val equal_border_width : border_width -> border_width -> bool
val equal_overscroll_behavior : overscroll_behavior -> overscroll_behavior -> bool
val equal_contain_intrinsic_size_item : contain_intrinsic_size_item -> contain_intrinsic_size_item -> bool
val equal_border_style : border_style -> border_style -> bool
Sourceval pp_property : 'a property Pp.t

pp_property is the pretty-printer for property names.

Sourceval property_is_inherited : 'a property -> bool

property_is_inherited property is whether property inherits by default. Shorthands return true when every longhand they reset inherits. The classification is exhaustive over the property GADT, so adding a property requires an explicit decision here.

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

minified_name_carries property value is whether the name pp_property gives property under minify can carry value. A page-break-* property minifies to the CSS Fragmentation 3 sec. 3.4 break-* property it aliases, and that alias is defined by a value mapping table, so it is a spelling the declaration can use only for a value the table names. A var() is not one: substitution happens at computed-value time, and always, the only mapping that is not the identity, has no break-* spelling. Every other property names itself the same whatever it carries.

Sourceval compare_property : 'a property -> 'b property -> int

compare_property a b is a total order on property identities. It is 0 exactly when a and b are the same property, so an ordered container keyed on a property agrees with equality on it.

Sourceval eq_property : 'a property -> 'b property -> ('a, 'b) Type.eq option

eq_property a b is Some Equal when a and b are the same property, and None otherwise. It answers compare_property's question and carries the proof that the two properties value the same type, which the comparison on its own cannot express.

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 -> ?exact_srgb:bool -> ?resolve_missing: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 bounded colour and numeric approximation while keeping exact canonicalisation.

exact_srgb and resolve_missing are Values.normalize_color's flags of the same names, applied to the properties whose whole value is a colour. Both are for the canonical diff projection only. A colour a value nests - a gradient stop, a shadow colour - normalises without either, so resolve_missing never reaches a colour the value interpolates.

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). Optimize.drop_invalid, which every serialisation runs, removes declarations that satisfy this predicate. The classification is exhaustive over the property GADT, so adding a property requires an explicit validity decision here.

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.

val unquote_font_family_strings : Values.custom_value -> Values.custom_value

unquote_font_family_strings components rewrites each <string> token whose content is an identifier sequence as the equivalent <ident> <whitespace> <ident> ... component sequence, which CSS Fonts 4 sec. 2.1.1 spells as the same <font-family-name>, one word or several. Only for a stream a generic family has proven to be a font stack. A string holding a word that sec. 2.1.1 excludes from <custom-ident>, and any token that isn't a <string>, pass through unchanged; a name of one word also clears emoji, fangsong and none.

Sourceval canonicalize_time_components : Values.custom_value -> Values.custom_value

canonicalize_time_components components spells every <time> token of components the way a minified typed <time> is spelled, the shorter of its s and ms forms, which CSS Values 4 sec. 7.2 makes one quantity. Equivalence-only normalisation for structural diffing; every other token passes through unchanged.

Sourceval canonicalize_angle_components : Values.custom_value -> Values.custom_value

canonicalize_angle_components components spells every <angle> token of components as the degrees it names, a rad, turn or grad rounded to the six-significant-figure budget a computed value takes, which CSS Values 4 sec. 6.1 makes one dimension. Equivalence-only normalisation for structural diffing; every other token passes through unchanged.

Sourceval canonicalize_math_whitespace_components : Values.custom_value -> Values.custom_value

canonicalize_math_whitespace_components components drops the whitespace of components that CSS reads as nothing: around the * and / of CSS Values 4 (ED) sec. 10.8 arithmetic, and after a function or block whose closing bracket already separates it from what follows. The whitespace sec. 10.8 requires around a math + or -, and the whitespace next to a var(), env() or attr() whose substitution would otherwise merge with its neighbour, both stay.

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

val pp_shadow : shadow Pp.t

pp_shadow is the pretty-printer for shadow values.

val read_shadow : Cursor.t -> shadow

read_shadow t parses a shadow value from t.

val read_timeline_shorthand : Cursor.t -> timeline_shorthand

read_timeline_shorthand t parses scroll-timeline.

val pp_timeline_shorthand : timeline_shorthand Pp.t

pp_timeline_shorthand pretty-prints scroll-timeline shorthand values.

val read_view_timeline_shorthand : Cursor.t -> view_timeline_shorthand

read_view_timeline_shorthand t parses view-timeline.

val pp_view_timeline_shorthand : view_timeline_shorthand Pp.t

pp_view_timeline_shorthand pretty-prints view-timeline shorthand values.

val pp_timeline_axis : timeline_axis Pp.t

pp_timeline_axis pretty-prints a timeline axis.

val read_timeline_axis : Cursor.t -> timeline_axis

read_timeline_axis t parses a timeline axis.

val pp_timeline_ident : timeline_ident Pp.t

pp_timeline_ident pretty-prints one timeline name.

val read_timeline_ident : Cursor.t -> timeline_ident

read_timeline_ident t parses one timeline name.

val pp_timeline_name : timeline_name Pp.t

pp_timeline_name pretty-prints a timeline name list.

val read_timeline_name : Cursor.t -> timeline_name

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

val pp_timeline_scope : timeline_scope Pp.t

pp_timeline_scope pretty-prints a timeline-scope.

val read_timeline_scope : Cursor.t -> timeline_scope

read_timeline_scope t parses timeline-scope.

val pp_timeline_inset : timeline_inset Pp.t

pp_timeline_inset pretty-prints view-timeline-inset.

val read_timeline_inset : Cursor.t -> timeline_inset

read_timeline_inset t parses view-timeline-inset.

val pp_position_try_order : position_try_order Pp.t

pp_position_try_order pretty-prints position-try-order.

val pp_position_try_fallback : position_try_fallback Pp.t

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

val pp_position_try_fallback_entry : position_try_fallback_entry Pp.t

pp_position_try_fallback_entry pretty-prints one comma-separated position-try-fallbacks entry.

val pp_position_try_fallbacks : position_try_fallbacks Pp.t

pp_position_try_fallbacks pretty-prints position-try-fallbacks.

val read_position_try_fallback : Cursor.t -> position_try_fallback

read_position_try_fallback t parses a single position-try-fallback.

val read_position_try_fallback_entry : Cursor.t -> position_try_fallback_entry

read_position_try_fallback_entry t parses one comma-separated position-try-fallbacks entry.

val read_position_try_fallbacks : Cursor.t -> position_try_fallbacks

read_position_try_fallbacks t parses position-try-fallbacks.

val read_position_try_order : Cursor.t -> position_try_order

read_position_try_order t parses position-try-order.

val read_position_try : Cursor.t -> position_try

read_position_try t parses the position-try shorthand.

val pp_contain_intrinsic_size_item : contain_intrinsic_size_item Pp.t

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

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

val pp_font_synthesis_feature : font_synthesis_feature Pp.t

pp_font_synthesis_feature pretty-prints one font-synthesis feature.

val read_font_synthesis_feature : Cursor.t -> font_synthesis_feature

read_font_synthesis_feature t parses one font-synthesis feature.

val pp_line_fit_edge_keyword : line_fit_edge_keyword Pp.t

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

val read_line_fit_edge_keyword : Cursor.t -> line_fit_edge_keyword

read_line_fit_edge_keyword t parses a line-fit-edge keyword.

val pp_mask_layer : mask_layer Pp.t

pp_mask_layer pretty-prints one mask layer.

val read_mask_layer : Cursor.t -> mask_layer

read_mask_layer t parses one mask layer.

val pp_min_intrinsic_sizing_keyword : min_intrinsic_sizing_keyword Pp.t

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

val read_min_intrinsic_sizing_keyword : Cursor.t -> min_intrinsic_sizing_keyword

read_min_intrinsic_sizing_keyword t parses a min-intrinsic-sizing keyword.

val pp_offset_rotate_mode : offset_rotate_mode Pp.t

pp_offset_rotate_mode pretty-prints the offset-rotate mode prefix.

val read_offset_rotate_mode : Cursor.t -> offset_rotate_mode

read_offset_rotate_mode t parses the offset-rotate mode prefix.

val pp_overflow_clip_box : overflow_clip_box Pp.t

pp_overflow_clip_box pretty-prints overflow-clip-box.

val read_overflow_clip_box : Cursor.t -> overflow_clip_box

read_overflow_clip_box t parses overflow-clip-box.

val pp_position_area_keyword : position_area_keyword Pp.t

pp_position_area_keyword pretty-prints one position-area keyword.

val read_position_area_keyword : Cursor.t -> position_area_keyword

read_position_area_keyword t parses one position-area keyword.

val pp_ruby_position_keyword : ruby_position_keyword Pp.t

pp_ruby_position_keyword pretty-prints one ruby-position keyword.

val read_ruby_position_keyword : Cursor.t -> ruby_position_keyword

read_ruby_position_keyword t parses one ruby-position keyword.

val pp_text_box_edge_keyword : text_box_edge_keyword Pp.t

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

val read_text_box_edge_keyword : Cursor.t -> text_box_edge_keyword

read_text_box_edge_keyword t parses one text-box-edge keyword.

val pp_text_emphasis_fill : text_emphasis_fill Pp.t

pp_text_emphasis_fill pretty-prints the text-emphasis fill keyword.

val read_text_emphasis_fill : Cursor.t -> text_emphasis_fill

read_text_emphasis_fill t parses the text-emphasis fill keyword.

val pp_text_emphasis_line : text_emphasis_line Pp.t

pp_text_emphasis_line pretty-prints a text-emphasis line keyword.

val read_text_emphasis_line : Cursor.t -> text_emphasis_line

read_text_emphasis_line t parses a text-emphasis line keyword.

val pp_text_emphasis_shape : text_emphasis_shape Pp.t

pp_text_emphasis_shape pretty-prints a text-emphasis shape keyword.

val read_text_emphasis_shape : Cursor.t -> text_emphasis_shape

read_text_emphasis_shape t parses a text-emphasis shape keyword.

val pp_text_emphasis_side : text_emphasis_side Pp.t

pp_text_emphasis_side pretty-prints a text-emphasis side keyword.

val read_text_emphasis_side : Cursor.t -> text_emphasis_side

read_text_emphasis_side t parses a text-emphasis side keyword.

val pp_text_underline_position_keyword : text_underline_position_keyword Pp.t

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

val read_text_underline_position_keyword : Cursor.t -> text_underline_position_keyword

read_text_underline_position_keyword t parses a text-underline-position keyword.

val pp_timeline_inset_item : timeline_inset_item Pp.t

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

val read_timeline_inset_item : Cursor.t -> timeline_inset_item

read_timeline_inset_item t parses one view-timeline-inset item.

val pp_timeline_shorthand_item : timeline_shorthand_item Pp.t

pp_timeline_shorthand_item pretty-prints one scroll-timeline shorthand item.

val read_timeline_shorthand_item : Cursor.t -> timeline_shorthand_item

read_timeline_shorthand_item t parses one scroll-timeline shorthand item.

val pp_view_timeline_shorthand_item : view_timeline_shorthand_item Pp.t

pp_view_timeline_shorthand_item pretty-prints one view-timeline shorthand item.

val read_view_timeline_shorthand_item : Cursor.t -> view_timeline_shorthand_item

read_view_timeline_shorthand_item t parses one view-timeline shorthand item.

val pp_font_variant_emoji : font_variant_emoji Pp.t

pp_font_variant_emoji pretty-prints font-variant-emoji.

val read_font_variant_emoji : Cursor.t -> font_variant_emoji

read_font_variant_emoji t parses font-variant-emoji.

val pp_dominant_baseline : dominant_baseline Pp.t

pp_dominant_baseline pretty-prints dominant-baseline.

val read_dominant_baseline : Cursor.t -> dominant_baseline

read_dominant_baseline t parses dominant-baseline.

val pp_ray_size : ray_size Pp.t

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

val read_ray_size : Cursor.t -> ray_size

read_ray_size t parses the size keyword inside ray().

val pp_initial_letter_align_keyword : initial_letter_align_keyword Pp.t

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

val read_initial_letter_align_keyword : Cursor.t -> initial_letter_align_keyword

read_initial_letter_align_keyword t parses one initial-letter-align keyword.

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

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

val pp_animation_range_name : animation_range_name Pp.t

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

val read_animation_range_name : Cursor.t -> animation_range_name

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

val pp_border_image_repeat_keyword : border_image_repeat_keyword Pp.t

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

val read_border_image_repeat_keyword : Cursor.t -> border_image_repeat_keyword

read_border_image_repeat_keyword t parses one border-image-repeat keyword.

val pp_margin_trim_axis : margin_trim_axis Pp.t

pp_margin_trim_axis pretty-prints a margin-trim axis keyword.

val read_margin_trim_axis : Cursor.t -> margin_trim_axis

read_margin_trim_axis t parses a margin-trim axis keyword.

val pp_margin_trim_edge : margin_trim_edge Pp.t

pp_margin_trim_edge pretty-prints a margin-trim edge keyword.

val read_margin_trim_edge : Cursor.t -> margin_trim_edge

read_margin_trim_edge t parses a margin-trim edge keyword.

val pp_font_size_adjust : font_size_adjust Pp.t

pp_font_size_adjust pretty-prints font-size-adjust.

val read_font_size_adjust : Cursor.t -> font_size_adjust

read_font_size_adjust t parses font-size-adjust.

val read_initial_letter : Cursor.t -> initial_letter

read_initial_letter t parses initial-letter.

val pp_initial_letter_align : initial_letter_align Pp.t

pp_initial_letter_align pretty-prints initial-letter-align.

val read_initial_letter_align : Cursor.t -> initial_letter_align

read_initial_letter_align t parses initial-letter-align.

val pp_initial_letter_wrap : initial_letter_wrap Pp.t

pp_initial_letter_wrap pretty-prints initial-letter-wrap.

val read_initial_letter_wrap : Cursor.t -> initial_letter_wrap

read_initial_letter_wrap t parses initial-letter-wrap.

val pp_margin_trim : margin_trim Pp.t

pp_margin_trim pretty-prints margin-trim.

val read_margin_trim : Cursor.t -> margin_trim

read_margin_trim t parses margin-trim.

val pp_offset_path : offset_path Pp.t

pp_offset_path pretty-prints offset-path.

val read_offset_path : Cursor.t -> offset_path

read_offset_path t parses offset-path.

val pp_offset_anchor : offset_anchor Pp.t

pp_offset_anchor pretty-prints offset-anchor.

val read_offset_anchor : Cursor.t -> offset_anchor

read_offset_anchor t parses offset-anchor.

val pp_offset : offset Pp.t

pp_offset pretty-prints the offset shorthand.

val read_offset : Cursor.t -> offset

read_offset t parses the offset shorthand.

val pp_offset_target : offset_target Pp.t

pp_offset_target pretty-prints the required leading group of the offset shorthand.

val read_offset_target : Cursor.t -> offset_target

read_offset_target t parses the required leading group of the offset shorthand.

val pp_offset_position : offset_position Pp.t

pp_offset_position pretty-prints offset-position.

val read_offset_position : Cursor.t -> offset_position

read_offset_position t parses offset-position.

val pp_animation_range_item : animation_range_item Pp.t

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

val read_animation_range_item : Cursor.t -> animation_range_item

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

val read_animation_range : Cursor.t -> animation_range

read_animation_range t parses animation-range.

val pp_border_image_slice_item : border_image_slice_item Pp.t

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

val read_border_image_slice_item : Cursor.t -> border_image_slice_item

read_border_image_slice_item t parses one border-image-slice item.

val pp_border_image_slice_offsets : border_image_slice_offsets Pp.t

pp_border_image_slice_offsets pretty-prints the offsets a border-image-slice carries, the part the border-image shorthand takes.

val read_border_image_slice_offsets : Cursor.t -> border_image_slice_offsets

read_border_image_slice_offsets t parses those offsets.

val pp_border_image_slice : border_image_slice Pp.t

pp_border_image_slice pretty-prints border-image-slice.

val read_border_image_slice : Cursor.t -> border_image_slice

read_border_image_slice t parses the border-image-slice longhand, including the CSS-wide keywords.

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

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

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

val pp_border_image_width_item : border_image_width_item Pp.t

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

val read_border_image_width_item : Cursor.t -> border_image_width_item

read_border_image_width_item t parses one border-image-width item.

val pp_border_image_outset_item : border_image_outset_item Pp.t

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

val read_border_image_outset_item : Cursor.t -> border_image_outset_item

read_border_image_outset_item t parses one border-image-outset item.

val pp_mask_border_mode : mask_border_mode Pp.t

pp_mask_border_mode pretty-prints a mask-border mode keyword.

val read_mask_border_mode : Cursor.t -> mask_border_mode

read_mask_border_mode t parses a mask-border mode keyword.

val normalize_border_image : border_image -> border_image

normalize_border_image v drops each component of v that names its own longhand's initial, which is what leaving the component out names.

val pp_border_image : border_image Pp.t

pp_border_image pretty-prints the border-image shorthand.

val read_border_image : Cursor.t -> border_image

read_border_image t parses the border-image shorthand.

val read_mask_border : Cursor.t -> border_image

read_mask_border t parses the mask-border shorthand. It shares read_border_image's slots and adds the <'mask-border-mode'> one, which border-image has no grammar for.

val read_grid_template_areas : Cursor.t -> grid_template_areas

read_grid_template_areas t parses grid-template-areas.

val read_border_spacing : Cursor.t -> border_spacing

read_border_spacing t parses border-spacing.

val pp_position_visibility_condition : position_visibility_condition Pp.t

pp_position_visibility_condition pretty-prints one position-visibility condition keyword.

val read_position_visibility_condition : Cursor.t -> position_visibility_condition

read_position_visibility_condition t parses one position-visibility condition keyword.

val pp_ray : ray Pp.t

pp_ray pretty-prints a ray() expression.

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

val pp_position_visibility : position_visibility Pp.t

pp_position_visibility pretty-prints position-visibility.

val read_position_visibility : Cursor.t -> position_visibility

read_position_visibility t parses position-visibility.

val pp_position_area : position_area Pp.t

pp_position_area pretty-prints position-area.

val read_position_area : Cursor.t -> position_area

read_position_area t parses position-area.

val pp_offset_rotate : offset_rotate Pp.t

pp_offset_rotate pretty-prints offset-rotate.

val read_offset_rotate : Cursor.t -> offset_rotate

read_offset_rotate t parses offset-rotate.

val read_page_size : Cursor.t -> page_size

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

val pp_page_size : page_size Pp.t

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

val pp_page_size_name : page_size_name Pp.t

pp_page_size_name pretty-prints a page size name.

val read_page_size_name : Cursor.t -> page_size_name

read_page_size_name t parses a page size name.

val pp_page_size_orientation : page_size_orientation Pp.t

pp_page_size_orientation pretty-prints a page size orientation.

val read_page_size_orientation : Cursor.t -> page_size_orientation

read_page_size_orientation t parses a page size orientation.

val url : string -> background_image

url path builds a background_image URL value.

val linear_gradient : gradient_direction -> gradient_stop list -> background_image

linear_gradient dir stops builds a linear-gradient background image.

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

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

val color_stop : Values.color -> gradient_stop

color_stop c is a gradient stop with just a color.

val color_position : Values.color -> Values.length -> gradient_stop

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

val animation_shorthand : ?name:string -> ?duration:Values.duration -> ?timing_function:timing_function -> ?delay:Values.duration -> ?iteration_count:animation_iteration_count -> ?direction:animation_direction -> ?fill_mode:animation_fill_mode -> ?play_state:animation_play_state -> ?timeline:animation_timeline -> unit -> animation

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

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

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

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

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

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

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

val background_shorthand : ?color:Values.color -> ?image:background_image -> ?position:position_value -> ?size:background_size -> ?repeat:background_repeat -> ?attachment:background_attachment -> ?clip:background_box -> ?origin:background_box -> unit -> background

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

Pretty-printers and readers for property value types.

val pp_border_style : border_style Pp.t

pp_border_style is the pretty-printer for border_style.

val read_border_style : Cursor.t -> border_style

read_border_style t is the border_style parsed from t.

val read_border_style_box : Cursor.t -> border_style list

read_border_style_box t is the <line-style>{1,4} box the border-style shorthand takes (CSS Backgrounds 3 (ED) sec. 3.2).

val pp_border_width : border_width Pp.t

pp_border_width is the pretty-printer for border_width.

val read_border_width : Cursor.t -> border_width

read_border_width t is the border_width parsed from t.

val border_width_has_runtime_subst : border_width -> bool

border_width_has_runtime_subst w is true when w is a var() or reaches one through a math function.

val pp_border : border Pp.t

pp_border is the pretty-printer for border.

val read_border : Cursor.t -> border

read_border t is the border shorthand parsed from t.

val pp_border_shorthand : border_shorthand Pp.t

pp_border_shorthand pretty-prints a border shorthand value.

val read_border_shorthand : Cursor.t -> border_shorthand

read_border_shorthand t parses a border shorthand value.

val pp_line_height : line_height Pp.t

pp_line_height is the pretty-printer for line_height.

val read_line_height : Cursor.t -> line_height

read_line_height t is the line_height parsed from t.

val pp_font_weight : font_weight Pp.t

pp_font_weight is the pretty-printer for font_weight.

val read_font_weight : Cursor.t -> font_weight

read_font_weight t is the font_weight parsed from t.

val pp_display : display Pp.t

pp_display is the pretty-printer for display.

val read_display : Cursor.t -> display

read_display t is the display parsed from t.

val pp_position : position Pp.t

pp_position is the pretty-printer for position.

val read_position : Cursor.t -> position

read_position t is the position parsed from t.

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

val read_css_wide : Cursor.t -> css_wide

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

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

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

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

val pp_visibility : visibility Pp.t

pp_visibility is the pretty-printer for visibility.

val read_visibility : Cursor.t -> visibility

read_visibility t is the visibility parsed from t.

val pp_baseline_source : baseline_source Pp.t

pp_baseline_source is the pretty-printer for baseline_source.

val read_baseline_source : Cursor.t -> baseline_source

read_baseline_source t is the baseline_source parsed from t.

val pp_alignment_baseline : alignment_baseline Pp.t

pp_alignment_baseline is the pretty-printer for alignment_baseline.

val read_alignment_baseline : Cursor.t -> alignment_baseline

read_alignment_baseline t is the alignment_baseline parsed from t.

val pp_baseline_shift : baseline_shift Pp.t

pp_baseline_shift is the pretty-printer for baseline_shift.

val read_baseline_shift : Cursor.t -> baseline_shift

read_baseline_shift t is the baseline_shift parsed from t.

val pp_z_index : z_index Pp.t

pp_z_index is the pretty-printer for z_index.

val read_z_index : Cursor.t -> z_index

read_z_index t is the z_index parsed from t.

val pp_tab_size : tab_size Pp.t

pp_tab_size is the pretty-printer for tab_size.

val pp_zoom : zoom Pp.t

pp_zoom is the pretty-printer for zoom.

val read_tab_size : Cursor.t -> tab_size

read_tab_size t is the tab_size parsed from t.

val read_zoom : Cursor.t -> zoom

read_zoom t is the zoom value parsed from t.

val pp_order : order Pp.t

pp_order is the pretty-printer for order.

val read_order : Cursor.t -> order

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

val pp_overflow : overflow Pp.t

pp_overflow is the pretty-printer for overflow.

val pp_border_spacing : border_spacing Pp.t

pp_border_spacing is the pretty-printer for border_spacing.

val read_overflow : Cursor.t -> overflow

read_overflow t is the overflow parsed from t.

val read_overflow_single : Cursor.t -> overflow

read_overflow_single t parses a single-axis overflow value.

val pp_flex_direction : flex_direction Pp.t

pp_flex_direction is the pretty-printer for flex_direction.

val read_flex_direction : Cursor.t -> flex_direction

read_flex_direction t is the flex_direction parsed from t.

val pp_flex_wrap : flex_wrap Pp.t

pp_flex_wrap is the pretty-printer for flex_wrap.

val read_flex_wrap : Cursor.t -> flex_wrap

read_flex_wrap t is the flex_wrap parsed from t.

val pp_flex_flow : flex_flow Pp.t

pp_flex_flow is the pretty-printer for flex_flow.

val read_flex_flow : Cursor.t -> flex_flow

read_flex_flow t is the flex_flow parsed from t.

val pp_flex_factor : flex_factor Pp.t

pp_flex_factor is the pretty-printer for flex_factor.

val read_flex_factor : Cursor.t -> flex_factor

read_flex_factor t is the flex_factor parsed from t.

val pp_align_items : align_items Pp.t

pp_align_items is the pretty-printer for align_items.

val read_align_items : Cursor.t -> align_items

read_align_items t is the align_items parsed from t.

val pp_align_self : align_self Pp.t

pp_align_self is the pretty-printer for align_self.

val read_align_self : Cursor.t -> align_self

read_align_self t is the align_self parsed from t.

val pp_justify_content : justify_content Pp.t

pp_justify_content is the pretty-printer for justify_content.

val read_justify_content : Cursor.t -> justify_content

read_justify_content t is the justify_content parsed from t.

val pp_align_content : align_content Pp.t

pp_align_content is the pretty-printer for align_content.

val read_align_content : Cursor.t -> align_content

read_align_content t is the align_content parsed from t.

val pp_justify_items : justify_items Pp.t

pp_justify_items is the pretty-printer for justify_items.

val read_justify_items : Cursor.t -> justify_items

read_justify_items t is the justify_items parsed from t.

val pp_justify_self : justify_self Pp.t

pp_justify_self is the pretty-printer for justify_self.

val read_justify_self : Cursor.t -> justify_self

read_justify_self t is the justify_self parsed from t.

val pp_flex : flex Pp.t

pp_flex is the pretty-printer for flex.

val read_flex : Cursor.t -> flex

read_flex t is the flex parsed from t.

val pp_column_height : column_height Pp.t

pp_column_height is the pretty-printer for column_height.

val read_column_height : Cursor.t -> column_height

read_column_height t is the column_height parsed from t.

val pp_column_wrap : column_wrap Pp.t

pp_column_wrap is the pretty-printer for column_wrap.

val read_column_wrap : Cursor.t -> column_wrap

read_column_wrap t is the column_wrap parsed from t.

val pp_column_width : column_width Pp.t

pp_column_width is the pretty-printer for column_width.

val pp_column_count : column_count Pp.t

pp_column_count is the pretty-printer for column_count.

val pp_position_try : position_try Pp.t

pp_position_try is the pretty-printer for position_try.

val pp_border_image_repeat : border_image_repeat Pp.t

pp_border_image_repeat is the pretty-printer for border_image_repeat.

val pp_border_image_width : border_image_width Pp.t

pp_border_image_width is the pretty-printer for border_image_width.

val pp_border_image_outset : border_image_outset Pp.t

pp_border_image_outset is the pretty-printer for border_image_outset.

val pp_font_variant_css21 : font_variant_css21 Pp.t

pp_font_variant_css21 is the pretty-printer for font_variant_css21.

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

val pp_flex_basis : flex_basis Pp.t

pp_flex_basis pretty-prints a flex-basis value.

val read_flex_basis : Cursor.t -> flex_basis

read_flex_basis t parses a flex-basis value.

val pp_place_content : place_content Pp.t

pp_place_content is the pretty-printer for place_content.

val read_place_content : Cursor.t -> place_content

read_place_content t is the place_content parsed from t.

val pp_place_items : place_items Pp.t

pp_place_items is the pretty-printer for place_items.

val read_place_items : Cursor.t -> place_items

read_place_items t is the place_items parsed from t.

val pp_grid_auto_flow_component : grid_auto_flow_component Pp.t

pp_grid_auto_flow_component is the pretty-printer for one grid_auto_flow component.

val read_grid_auto_flow_component : Cursor.t -> grid_auto_flow_component

read_grid_auto_flow_component t is one grid_auto_flow component parsed from t.

val pp_grid_auto_flow : grid_auto_flow Pp.t

pp_grid_auto_flow is the pretty-printer for grid_auto_flow.

val read_grid_auto_flow : Cursor.t -> grid_auto_flow

read_grid_auto_flow t is the grid_auto_flow parsed from t.

val pp_grid_flex_math : grid_flex_math Pp.t

pp_grid_flex_math is the pretty-printer for grid_flex_math.

val read_grid_flex_math : Cursor.t -> grid_flex_math

read_grid_flex_math t is the grid_flex_math parsed from t.

val pp_grid_template : grid_template Pp.t

pp_grid_template is the pretty-printer for grid_template.

val pp_grid_template_areas : grid_template_areas Pp.t

pp_grid_template_areas is the pretty-printer for grid_template_areas.

val read_grid_template : Cursor.t -> grid_template

read_grid_template t is the grid_template parsed from t.

val read_grid_template_tracks : Cursor.t -> grid_template

read_grid_template_tracks t is the grid-template-columns or grid-template-rows track list parsed from t.

val read_grid_auto_tracks : Cursor.t -> grid_template

read_grid_auto_tracks t is the grid-auto-columns / grid-auto-rows value parsed from t. CSS Grid 2 (ED) sec. 7.6 gives those properties <track-size>+, so the value shares the grid_template type with grid-template-columns but takes none of its line-name, repeat() or slash forms.

val read_grid : Cursor.t -> grid_template

read_grid t is the grid shorthand parsed from t.

val pp_grid_line : grid_line Pp.t

pp_grid_line is the pretty-printer for grid_line.

val read_grid_line : Cursor.t -> grid_line

read_grid_line t is the grid_line parsed from t.

val pp_grid_line_pair : grid_line_pair Pp.t

pp_grid_line_pair is the pretty-printer for grid_line_pair.

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

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

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

val pp_aspect_ratio : aspect_ratio Pp.t

pp_aspect_ratio is the pretty-printer for aspect_ratio.

val read_aspect_ratio : Cursor.t -> aspect_ratio

read_aspect_ratio t is the aspect_ratio parsed from t.

val pp_font_style : font_style Pp.t

pp_font_style is the pretty-printer for font_style.

val read_font_style : Cursor.t -> font_style

read_font_style t is the font_style parsed from t.

val pp_font_size : font_size Pp.t

pp_font_size is the pretty-printer for font_size.

val read_font_size : Cursor.t -> font_size

read_font_size t is the font_size parsed from t.

val pp_text_align : text_align Pp.t

pp_text_align is the pretty-printer for text_align.

val read_text_align : Cursor.t -> text_align

read_text_align t is the text_align parsed from t.

val pp_text_decoration : text_decoration Pp.t

pp_text_decoration is the pretty-printer for text_decoration.

val read_text_decoration : Cursor.t -> text_decoration

read_text_decoration t is the text_decoration parsed from t.

val pp_text_decoration_line : text_decoration_line Pp.t

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

val read_text_decoration_line : Cursor.t -> text_decoration_line

read_text_decoration_line t parses a text-decoration-line value.

val pp_text_decoration_shorthand : text_decoration_shorthand Pp.t

pp_text_decoration_shorthand pretty-prints a text-decoration shorthand value.

val read_text_decoration_shorthand : Cursor.t -> text_decoration_shorthand

read_text_decoration_shorthand t parses a text-decoration shorthand.

val pp_text_decoration_style : text_decoration_style Pp.t

pp_text_decoration_style is the pretty-printer for text_decoration_style.

val read_text_decoration_style : Cursor.t -> text_decoration_style

read_text_decoration_style t is the text_decoration_style parsed from t.

val pp_text_transform : text_transform Pp.t

pp_text_transform is the pretty-printer for text_transform.

val read_text_transform : Cursor.t -> text_transform

read_text_transform t is the text_transform parsed from t.

val pp_text_transform_case : text_transform_case Pp.t

pp_text_transform_case pretty-prints a text-transform case keyword.

val read_text_transform_case : Cursor.t -> text_transform_case

read_text_transform_case t parses a text-transform case keyword.

val pp_text_overflow : text_overflow Pp.t

pp_text_overflow is the pretty-printer for text_overflow.

val read_text_overflow : Cursor.t -> text_overflow

read_text_overflow t is the text_overflow parsed from t.

val pp_text_wrap : text_wrap Pp.t

pp_text_wrap is the pretty-printer for text_wrap.

val read_text_wrap : Cursor.t -> text_wrap

read_text_wrap t is the text_wrap parsed from t.

val pp_text_wrap_mode : text_wrap_mode Pp.t

pp_text_wrap_mode is the pretty-printer for text_wrap_mode.

val read_text_wrap_mode : Cursor.t -> text_wrap_mode

read_text_wrap_mode t is the text_wrap_mode parsed from t.

val pp_text_wrap_style : text_wrap_style Pp.t

pp_text_wrap_style is the pretty-printer for text_wrap_style.

val read_text_wrap_style : Cursor.t -> text_wrap_style

read_text_wrap_style t is the text_wrap_style parsed from t.

val pp_text_box_trim : text_box_trim Pp.t

pp_text_box_trim is the pretty-printer for text_box_trim.

val read_text_box_trim : Cursor.t -> text_box_trim

read_text_box_trim t is the text_box_trim parsed from t.

val pp_text_underline_position : text_underline_position Pp.t

pp_text_underline_position pretty-prints text_underline_position.

val read_text_underline_position : Cursor.t -> text_underline_position

read_text_underline_position t parses text-underline-position.

val pp_text_box_edge : text_box_edge Pp.t

pp_text_box_edge is the pretty-printer for text_box_edge.

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

read_text_box_edge t parses text-box-edge.

val pp_text_box : text_box Pp.t

pp_text_box is the pretty-printer for text_box.

val read_text_box : Cursor.t -> text_box

read_text_box t parses text-box.

val pp_inline_sizing : inline_sizing Pp.t

pp_inline_sizing is the pretty-printer for inline_sizing.

val read_inline_sizing : Cursor.t -> inline_sizing

read_inline_sizing t parses inline-sizing.

val pp_line_fit_edge : line_fit_edge Pp.t

pp_line_fit_edge is the pretty-printer for line_fit_edge.

val read_line_fit_edge : Cursor.t -> line_fit_edge

read_line_fit_edge t parses line-fit-edge.

val pp_interpolate_size : interpolate_size Pp.t

pp_interpolate_size is the pretty-printer for interpolate_size.

val read_interpolate_size : Cursor.t -> interpolate_size

read_interpolate_size t parses interpolate-size.

val pp_min_intrinsic_sizing : min_intrinsic_sizing Pp.t

pp_min_intrinsic_sizing pretty-prints min_intrinsic_sizing.

val read_min_intrinsic_sizing : Cursor.t -> min_intrinsic_sizing

read_min_intrinsic_sizing t parses min-intrinsic-sizing.

val pp_ruby_align : ruby_align Pp.t

pp_ruby_align is the pretty-printer for ruby_align.

val read_ruby_align : Cursor.t -> ruby_align

read_ruby_align t parses ruby-align.

val pp_ruby_merge : ruby_merge Pp.t

pp_ruby_merge is the pretty-printer for ruby_merge.

val read_ruby_merge : Cursor.t -> ruby_merge

read_ruby_merge t parses ruby-merge.

val pp_ruby_overhang : ruby_overhang Pp.t

pp_ruby_overhang is the pretty-printer for ruby_overhang.

val read_ruby_overhang : Cursor.t -> ruby_overhang

read_ruby_overhang t parses ruby-overhang.

val pp_ruby_position : ruby_position Pp.t

pp_ruby_position is the pretty-printer for ruby_position.

val read_ruby_position : Cursor.t -> ruby_position

read_ruby_position t parses ruby-position.

val pp_glyph_orientation_vertical : glyph_orientation_vertical Pp.t

pp_glyph_orientation_vertical pretty-prints glyph_orientation_vertical.

val read_glyph_orientation_vertical : Cursor.t -> glyph_orientation_vertical

read_glyph_orientation_vertical t parses glyph-orientation-vertical.

val pp_text_spacing_trim : text_spacing_trim Pp.t

pp_text_spacing_trim is the pretty-printer for text_spacing_trim.

val read_text_spacing_trim : Cursor.t -> text_spacing_trim

read_text_spacing_trim t is the text_spacing_trim parsed from t.

val pp_hyphenate_limit_chars_item : hyphenate_limit_chars_item Pp.t

pp_hyphenate_limit_chars_item pretty-prints one hyphenate-limit-chars slot.

val read_hyphenate_limit_chars_item : Cursor.t -> hyphenate_limit_chars_item

read_hyphenate_limit_chars_item t parses one hyphenate-limit-chars slot.

val pp_hyphenate_limit_chars : hyphenate_limit_chars Pp.t

pp_hyphenate_limit_chars pretty-prints a hyphenate_limit_chars.

val read_hyphenate_limit_chars : Cursor.t -> hyphenate_limit_chars

read_hyphenate_limit_chars t parses a hyphenate_limit_chars.

val pp_initial_letter : initial_letter Pp.t

pp_initial_letter pretty-prints an initial_letter.

val pp_text_size_adjust : text_size_adjust Pp.t

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

val pp_white_space : white_space Pp.t

pp_white_space is the pretty-printer for white_space.

val pp_white_space_collapse : white_space_collapse Pp.t

pp_white_space_collapse is the pretty-printer for white_space_collapse.

val read_white_space_collapse : Cursor.t -> white_space_collapse

read_white_space_collapse t is the white_space_collapse parsed from t.

val pp_webkit_text_stroke : webkit_text_stroke Pp.t

pp_webkit_text_stroke is the pretty-printer for webkit_text_stroke.

val read_webkit_text_stroke : Cursor.t -> webkit_text_stroke

read_webkit_text_stroke t is the -webkit-text-stroke shorthand parsed from t.

val read_white_space : Cursor.t -> white_space

read_white_space t is the white_space parsed from t.

val pp_word_break : word_break Pp.t

pp_word_break is the pretty-printer for word_break.

val read_word_break : Cursor.t -> word_break

read_word_break t is the word_break parsed from t.

val pp_overflow_wrap : overflow_wrap Pp.t

pp_overflow_wrap is the pretty-printer for overflow_wrap.

val read_overflow_wrap : Cursor.t -> overflow_wrap

read_overflow_wrap t is the overflow_wrap parsed from t.

val pp_hyphens : hyphens Pp.t

pp_hyphens is the pretty-printer for hyphens.

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

val pp_table_layout : table_layout Pp.t

pp_table_layout is the pretty-printer for table_layout.

val read_table_layout : Cursor.t -> table_layout

read_table_layout t is the table_layout parsed from t.

val pp_vertical_align : vertical_align Pp.t

pp_vertical_align is the pretty-printer for vertical_align.

val read_vertical_align : Cursor.t -> vertical_align

read_vertical_align t is the vertical_align parsed from t.

val pp_border_collapse : border_collapse Pp.t

pp_border_collapse is the pretty-printer for border_collapse.

val read_border_collapse : Cursor.t -> border_collapse

read_border_collapse t is the border_collapse parsed from t.

val pp_outline_style : outline_style Pp.t

pp_outline_style is the pretty-printer for outline_style.

val read_outline_style : Cursor.t -> outline_style

read_outline_style t is the outline_style parsed from t.

val pp_outline : outline Pp.t

pp_outline is the pretty-printer for outline.

val read_outline : Cursor.t -> outline

read_outline t is the outline parsed from t.

val pp_font_family : font_family Pp.t

pp_font_family is the pretty-printer for font_family.

val pp_font_family_name : font_family Pp.t

pp_font_family_name is the pretty-printer for a descriptor <font-family-name>.

val read_font_family : Cursor.t -> font_family

read_font_family t is the font_family parsed from t.

val read_font_family_name : Cursor.t -> font_family

read_font_family_name t is the descriptor <font-family-name> parsed from t. Unquoted generic-family and CSS-wide keywords are rejected.

val is_font_family_name_value : font_family -> bool

is_font_family_name_value family is true when family can fill a descriptor <font-family-name> slot.

val pp_font : font Pp.t

pp_font is the pretty-printer for the font shorthand.

val read_font : Cursor.t -> font

read_font t is the font shorthand parsed from t.

val pp_font_shorthand : font_shorthand Pp.t

pp_font_shorthand is the pretty-printer for the font_shorthand record.

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

val pp_font_src : Font_face.src Pp.t

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

val read_font_src : Cursor.t -> Font_face.src

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

val pp_font_stretch : font_stretch Pp.t

pp_font_stretch is the pretty-printer for font_stretch.

val read_font_stretch : Cursor.t -> font_stretch

read_font_stretch t is the font_stretch parsed from t.

val pp_font_display : font_display Pp.t

pp_font_display is the pretty-printer for font_display.

val read_font_display : Cursor.t -> font_display

read_font_display t is the font_display parsed from t.

val pp_unicode_range : unicode_range Pp.t

pp_unicode_range is the pretty-printer for unicode_range.

val read_unicode_range : Cursor.t -> unicode_range

read_unicode_range t is the unicode_range parsed from t.

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

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

val pp_font_variant_numeric : font_variant_numeric Pp.t

pp_font_variant_numeric is the pretty-printer for font_variant_numeric.

val read_font_variant_numeric : Cursor.t -> font_variant_numeric

read_font_variant_numeric t is the font_variant_numeric parsed from t.

val pp_font_feature_value : font_feature_value Pp.t

pp_font_feature_value is the pretty-printer for font_feature_value.

val read_font_feature_value : Cursor.t -> font_feature_value

read_font_feature_value t is the font_feature_value parsed from t.

val pp_font_feature_setting : font_feature_setting Pp.t

pp_font_feature_setting is the pretty-printer for font_feature_setting.

val read_font_feature_setting : Cursor.t -> font_feature_setting

read_font_feature_setting t is the font_feature_setting parsed from t.

val pp_font_feature_settings : font_feature_settings Pp.t

pp_font_feature_settings is the pretty-printer for font_feature_settings.

val read_font_feature_settings : Cursor.t -> font_feature_settings

read_font_feature_settings t is the font_feature_settings parsed from t.

val pp_font_variation_setting : font_variation_setting Pp.t

pp_font_variation_setting is the pretty-printer for font_variation_setting.

val read_font_variation_setting : Cursor.t -> font_variation_setting

read_font_variation_setting t is the font_variation_setting parsed from t.

val pp_font_variation_settings : font_variation_settings Pp.t

pp_font_variation_settings is the pretty-printer for font_variation_settings.

val read_font_variation_settings : Cursor.t -> font_variation_settings

read_font_variation_settings t is the font_variation_settings parsed from t.

val pp_transform : transform Pp.t

pp_transform is the pretty-printer for transform.

val pp_transforms : transform list Pp.t

pp_transforms is the pretty-printer for transform list.

val read_transform : Cursor.t -> transform

read_transform t is the transform parsed from t.

val read_transforms : Cursor.t -> transform list

read_transforms t is the transform list parsed from t.

val read_transform_origin : Cursor.t -> transform_origin

read_transform_origin t is the transform_origin parsed from t.

val pp_transform_box : transform_box Pp.t

pp_transform_box is the pretty-printer for transform_box.

val read_transform_box : Cursor.t -> transform_box

read_transform_box t is the transform_box parsed from t.

val pp_transform_style : transform_style Pp.t

pp_transform_style is the pretty-printer for transform_style.

val read_transform_style : Cursor.t -> transform_style

read_transform_style t is the transform_style parsed from t.

val pp_backface_visibility : backface_visibility Pp.t

pp_backface_visibility is the pretty-printer for backface_visibility.

val read_backface_visibility : Cursor.t -> backface_visibility

read_backface_visibility t is the backface_visibility parsed from t.

val pp_scale : scale Pp.t

pp_scale is the pretty-printer for scale.

val read_scale : Cursor.t -> scale

read_scale t is the scale parsed from t.

val pp_steps_direction : steps_direction Pp.t

pp_steps_direction is the pretty-printer for steps_direction.

val pp_timing_function : timing_function Pp.t

pp_timing_function is the pretty-printer for timing_function.

val read_steps_direction : Cursor.t -> steps_direction

read_steps_direction t is the steps_direction parsed from t.

val read_timing_function : Cursor.t -> timing_function

read_timing_function t is the timing_function parsed from t.

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

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

val pp_transition_property_value : transition_property_value Pp.t

pp_transition_property_value is the pretty-printer for transition_property_value.

val read_transition_property_value : Cursor.t -> transition_property_value

read_transition_property_value t is the transition_property_value parsed from t.

val pp_transition_property : transition_property Pp.t

pp_transition_property is the pretty-printer for transition_property.

val read_transition_property : Cursor.t -> transition_property

read_transition_property t is the transition_property parsed from t.

val pp_transition_behavior : transition_behavior Pp.t

pp_transition_behavior is the pretty-printer for transition_behavior.

val read_transition_behavior : Cursor.t -> transition_behavior

read_transition_behavior t is the transition_behavior parsed from t.

val read_transition_behavior_list : Cursor.t -> transition_behavior

read_transition_behavior_list t is the <transition-behavior-value># the property takes, one behaviour per transition.

val pp_overlay : overlay Pp.t

pp_overlay is the pretty-printer for overlay.

val read_overlay : Cursor.t -> overlay

read_overlay t parses overlay.

val pp_transition_shorthand : transition_shorthand Pp.t

pp_transition_shorthand is the pretty-printer for transition_shorthand.

val read_transition_shorthand : Cursor.t -> transition_shorthand

read_transition_shorthand t is the transition_shorthand parsed from t.

val pp_transition : transition Pp.t

pp_transition is the pretty-printer for transition.

val read_transition : Cursor.t -> transition

read_transition t is the transition parsed from t.

val read_transitions : Cursor.t -> transition list

read_transitions t parses a comma-separated list of transitions.

val pp_animation_direction : animation_direction Pp.t

pp_animation_direction is the pretty-printer for animation_direction.

val read_animation_direction : Cursor.t -> animation_direction

read_animation_direction t is the animation_direction parsed from t.

val pp_animation_fill_mode : animation_fill_mode Pp.t

pp_animation_fill_mode is the pretty-printer for animation_fill_mode.

val read_animation_fill_mode : Cursor.t -> animation_fill_mode

read_animation_fill_mode t is the animation_fill_mode parsed from t.

val pp_animation_iteration_count : animation_iteration_count Pp.t

pp_animation_iteration_count is the pretty-printer for animation_iteration_count.

val read_animation_iteration_count : Cursor.t -> animation_iteration_count

read_animation_iteration_count t is the animation_iteration_count parsed from t.

val pp_animation_name : animation_name Pp.t

pp_animation_name is the pretty-printer for animation_name.

val read_animation_name : Cursor.t -> animation_name

read_animation_name t is the animation_name parsed from t.

val pp_animation_play_state : animation_play_state Pp.t

pp_animation_play_state is the pretty-printer for animation_play_state.

val read_animation_play_state : Cursor.t -> animation_play_state

read_animation_play_state t is the animation_play_state parsed from t.

val pp_animation_composition_item : animation_composition_item Pp.t

pp_animation_composition_item is the pretty-printer for animation_composition_item.

val read_animation_composition_item : Cursor.t -> animation_composition_item

read_animation_composition_item t is the animation_composition_item parsed from t.

val pp_animation_composition : animation_composition Pp.t

pp_animation_composition is the pretty-printer for animation_composition.

val read_animation_composition : Cursor.t -> animation_composition

read_animation_composition t is the animation_composition parsed from t.

val pp_animation_shorthand : animation_shorthand Pp.t

pp_animation_shorthand is the pretty-printer for animation_shorthand.

val read_animation_shorthand : Cursor.t -> animation_shorthand

read_animation_shorthand t is the animation_shorthand parsed from t.

val pp_animation : animation Pp.t

pp_animation is the pretty-printer for animation.

val read_animation : Cursor.t -> animation

read_animation t is the animation parsed from t.

val read_animations : Cursor.t -> animation list

read_animations t parses a comma-separated list of animations.

val pp_blend_mode : blend_mode Pp.t

pp_blend_mode is the pretty-printer for blend_mode.

val read_blend_mode : Cursor.t -> blend_mode

read_blend_mode t is the blend_mode parsed from t.

val pp_position_value : position_value Pp.t

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

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

val pp_text_shadow : text_shadow Pp.t

pp_text_shadow is the pretty-printer for text_shadow.

val read_text_shadow : Cursor.t -> text_shadow

read_text_shadow t is the text_shadow parsed from t.

val read_text_shadows : Cursor.t -> text_shadow list

read_text_shadows t parses a comma-separated list of text_shadows.

val pp_translate_value : translate_value Pp.t

pp_translate_value is the pretty-printer for translate_value.

val read_translate_value : Cursor.t -> translate_value

read_translate_value t is the translate_value parsed from t.

val pp_rotate_value : rotate_value Pp.t

pp_rotate_value is the pretty-printer for rotate_value.

val read_rotate_value : Cursor.t -> rotate_value

read_rotate_value t is the rotate_value parsed from t.

val pp_filter_function : filter_function Pp.t

pp_filter_function prints the name of a filter function with an optional argument, without parentheses.

val read_filter_function : Cursor.t -> filter_function

read_filter_function t reads the name of a filter function with an optional argument. drop-shadow is excluded because its arguments are mandatory.

val pp_filter : filter Pp.t

pp_filter is the pretty-printer for filter.

val read_filter : Cursor.t -> filter

read_filter t is the filter parsed from t.

val pp_opacity : opacity Pp.t

pp_opacity is the pretty-printer for opacity.

val read_opacity : Cursor.t -> opacity

read_opacity t is the opacity parsed from t.

val pp_shape_image_threshold : shape_image_threshold Pp.t

pp_shape_image_threshold is the pretty-printer for shape_image_threshold.

val read_shape_image_threshold : Cursor.t -> shape_image_threshold

read_shape_image_threshold t parses shape_image_threshold.

val pp_overflow_clip_margin : overflow_clip_margin Pp.t

pp_overflow_clip_margin is the pretty-printer for overflow_clip_margin.

val read_overflow_clip_margin : Cursor.t -> overflow_clip_margin

read_overflow_clip_margin t parses overflow_clip_margin.

val pp_background_attachment : background_attachment Pp.t

pp_background_attachment is the pretty-printer for background_attachment.

val read_background_attachment : Cursor.t -> background_attachment

read_background_attachment t is the background_attachment parsed from t.

val pp_background_repeat : background_repeat Pp.t

pp_background_repeat is the pretty-printer for background_repeat.

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

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

val pp_background_size : background_size Pp.t

pp_background_size is the pretty-printer for background_size.

val read_background_size : Cursor.t -> background_size

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

val read_background_size_list : Cursor.t -> background_size

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

val pp_gradient_direction : gradient_direction Pp.t

pp_gradient_direction is the pretty-printer for gradient_direction.

val read_gradient_direction : Cursor.t -> gradient_direction

read_gradient_direction t is the gradient_direction parsed from t.

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

val pp_color_interpolation : color_interpolation Pp.t

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

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

val pp_hue_interpolation_method : hue_interpolation_method Pp.t

pp_hue_interpolation_method pretty-prints a hue interpolation method.

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

val pp_radial_shape : radial_shape Pp.t

pp_radial_shape is the pretty-printer for radial_shape.

val read_radial_shape : Cursor.t -> radial_shape

read_radial_shape t is the radial_shape parsed from t.

val pp_radial_size : radial_size Pp.t

pp_radial_size is the pretty-printer for radial_size.

val read_radial_size : Cursor.t -> radial_size

read_radial_size t is the radial_size parsed from t.

val pp_radial_gradient_config : radial_gradient_config Pp.t

pp_radial_gradient_config is the pretty-printer for radial_gradient_config.

val read_radial_gradient_config : Cursor.t -> radial_gradient_config

read_radial_gradient_config t is the radial_gradient_config parsed from t.

val pp_conic_gradient_config : conic_gradient_config Pp.t

pp_conic_gradient_config pretty-prints a conic-gradient prefix configuration.

val read_conic_gradient_config : Cursor.t -> conic_gradient_config

read_conic_gradient_config t parses a conic-gradient prefix configuration.

val pp_gradient_position : gradient_position Pp.t

pp_gradient_position pretty-prints a gradient prelude/position value.

val read_gradient_position : Cursor.t -> gradient_position

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

val pp_gradient_stop : gradient_stop Pp.t

pp_gradient_stop is the pretty-printer for gradient_stop.

val read_gradient_stop : Cursor.t -> gradient_stop

read_gradient_stop t is the gradient_stop parsed from t.

val read_gradient_stop_list : Cursor.t -> gradient_stop

read_gradient_stop_list t parses a comma-separated gradient_stop list.

val pp_background_image : background_image Pp.t

pp_background_image is the pretty-printer for background_image.

val read_background_image : Cursor.t -> background_image

read_background_image t is the background_image parsed from t.

val read_background_images : Cursor.t -> background_image list

read_background_images t parses a comma-separated list of background_images.

val read_border_image_source : Cursor.t -> background_image

read_border_image_source t is the single image a border-image or mask-border source takes, where read_background_image takes a list.

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

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

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

val pp_background_box : background_box Pp.t

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

val read_webkit_mask_composite : Cursor.t -> webkit_mask_composite

read_webkit_mask_composite t parses a webkit-mask-composite value.

val pp_webkit_mask_composite : webkit_mask_composite Pp.t

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

val read_mask_composite : Cursor.t -> mask_composite

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

val read_mask_composite_list : Cursor.t -> mask_composite

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

val pp_mask_composite : mask_composite Pp.t

pp_mask_composite pretty-prints a standard mask-composite value.

val read_webkit_mask_source_type : Cursor.t -> webkit_mask_source_type

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

val pp_webkit_mask_source_type : webkit_mask_source_type Pp.t

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

val read_mask_mode : Cursor.t -> mask_mode

read_mask_mode t parses a standard mask-mode value.

val pp_mask_mode : mask_mode Pp.t

pp_mask_mode pretty-prints a standard mask-mode value.

val read_mask_type : Cursor.t -> mask_type

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

val pp_mask_type : mask_type Pp.t

pp_mask_type pretty-prints a mask-type value.

val read_mask_box : ?clip:bool -> Cursor.t -> mask_box

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

val pp_webkit_mask_box : webkit_mask_box Pp.t

pp_webkit_mask_box pretty-prints a -webkit-mask-clip / -webkit-mask-origin box.

val read_webkit_mask_box : ?clip:bool -> Cursor.t -> webkit_mask_box

read_webkit_mask_box ?clip t parses one prefixed mask box. clip admits the text keyword, which only -webkit-mask-clip takes.

val read_webkit_mask_box_list : ?clip:bool -> Cursor.t -> webkit_mask_box

read_webkit_mask_box_list ?clip t parses the standalone -webkit-mask-clip / -webkit-mask-origin value, one box per layer.

val read_mask_box_list : ?clip:bool -> Cursor.t -> mask_box

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

val pp_mask_box : mask_box Pp.t

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

val read_mask : Cursor.t -> mask

read_mask t parses a mask shorthand value.

val pp_mask : mask Pp.t

pp_mask pretty-prints a mask shorthand value.

val read_background_shorthand : Cursor.t -> background_shorthand

read_background_shorthand t parses a background shorthand property.

val pp_background_shorthand : background_shorthand Pp.t

pp_background_shorthand pretty-prints a background shorthand value.

val read_background : Cursor.t -> background

read_background t parses a background property.

val read_backgrounds : Cursor.t -> background list

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

val pp_background : background Pp.t

pp_background pretty-prints a background value.

val pp_border_radius : border_radius Pp.t

pp_border_radius pretty-prints a border-radius shorthand value.

val read_border_radius : Cursor.t -> border_radius

read_border_radius t parses a border-radius shorthand value.

val read_gap : Cursor.t -> gap

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

val pp_gap : gap Pp.t

pp_gap pretty-prints a gap shorthand value.

val pp_cursor : cursor Pp.t

pp_cursor is the pretty-printer for cursor.

val read_cursor : Cursor.t -> cursor

read_cursor t is the cursor parsed from t.

val pp_interactivity : interactivity Pp.t

pp_interactivity is the pretty-printer for interactivity.

val read_interactivity : Cursor.t -> interactivity

read_interactivity t is the interactivity parsed from t.

val pp_caret_animation : caret_animation Pp.t

pp_caret_animation is the pretty-printer for caret_animation.

val read_caret_animation : Cursor.t -> caret_animation

read_caret_animation t is the caret_animation parsed from t.

val pp_caret_shape : caret_shape Pp.t

pp_caret_shape is the pretty-printer for caret_shape.

val read_caret_shape : Cursor.t -> caret_shape

read_caret_shape t is the caret_shape parsed from t.

val pp_caret : caret Pp.t

pp_caret is the pretty-printer for caret.

val read_caret : Cursor.t -> caret

read_caret t is the caret parsed from t.

val pp_interest_delay : interest_delay Pp.t

pp_interest_delay is the pretty-printer for interest_delay.

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

read_interest_delay t is the interest_delay parsed from t.

val pp_interest_delay_item : interest_delay_item Pp.t

pp_interest_delay_item is the pretty-printer for interest_delay_item.

val read_interest_delay_item : Cursor.t -> interest_delay_item

read_interest_delay_item t is the one slot of an interest_delay parsed from t.

val pp_nav_scope : nav_scope Pp.t

pp_nav_scope is the pretty-printer for nav_scope.

val read_nav_scope : Cursor.t -> nav_scope

read_nav_scope t is the nav_scope parsed from t.

val pp_nav : nav Pp.t

pp_nav is the pretty-printer for nav.

val read_nav : Cursor.t -> nav

read_nav t is the nav parsed from t.

val pp_user_select : user_select Pp.t

pp_user_select is the pretty-printer for user_select.

val read_user_select : Cursor.t -> user_select

read_user_select t is the user_select parsed from t.

val pp_pointer_events : pointer_events Pp.t

pp_pointer_events is the pretty-printer for pointer_events.

val read_pointer_events : Cursor.t -> pointer_events

read_pointer_events t is the pointer_events parsed from t.

val pp_touch_action : touch_action Pp.t

pp_touch_action is the pretty-printer for touch_action.

val read_touch_action : Cursor.t -> touch_action

read_touch_action t is the touch_action parsed from t.

val pp_resize : resize Pp.t

pp_resize is the pretty-printer for resize.

val read_resize : Cursor.t -> resize

read_resize t is the resize parsed from t.

val pp_box_sizing : box_sizing Pp.t

pp_box_sizing is the pretty-printer for box_sizing.

val read_box_sizing : Cursor.t -> box_sizing

read_box_sizing t is the box_sizing parsed from t.

val pp_field_sizing : field_sizing Pp.t

pp_field_sizing is the pretty-printer for field_sizing.

val read_field_sizing : Cursor.t -> field_sizing

read_field_sizing t is the field_sizing parsed from t.

val pp_caption_side : caption_side Pp.t

pp_caption_side is the pretty-printer for caption_side.

val read_caption_side : Cursor.t -> caption_side

read_caption_side t is the caption_side parsed from t.

val pp_object_fit : object_fit Pp.t

pp_object_fit is the pretty-printer for object_fit.

val read_object_fit : Cursor.t -> object_fit

read_object_fit t is the object_fit parsed from t.

val pp_object_view_box : object_view_box Pp.t

pp_object_view_box is the pretty-printer for object_view_box.

val read_object_view_box : Cursor.t -> object_view_box

read_object_view_box t is the object_view_box parsed from t.

val read_position_value : Cursor.t -> position_value

read_position_value t is the position_value parsed from t.

val pp_background_position : background_position Pp.t

pp_background_position is the pretty-printer for background_position.

val pp_background_position_axis : background_position_axis Pp.t

pp_background_position_axis is the pretty-printer for one axis of background-position.

val read_background_position_x : Cursor.t -> background_position_axis

read_background_position_x t is the background-position-x value parsed from t.

val read_background_position_y : Cursor.t -> background_position_axis

read_background_position_y t is the background-position-y value parsed from t.

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

val pp_content_visibility : content_visibility Pp.t

pp_content_visibility is the pretty-printer for content_visibility.

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

val pp_container_type : container_type Pp.t

pp_container_type is the pretty-printer for container_type.

val read_container_type : Cursor.t -> container_type

read_container_type t is the container_type parsed from t.

val pp_container_name : container_name Pp.t

pp_container_name is the pretty-printer for container_name.

val read_container_name : Cursor.t -> container_name

read_container_name t is the container_name parsed from t.

val pp_anchor_name : anchor_name Pp.t

pp_anchor_name is the pretty-printer for anchor_name.

val read_anchor_name : Cursor.t -> anchor_name

read_anchor_name t is the anchor_name parsed from t.

val pp_position_anchor : position_anchor Pp.t

pp_position_anchor is the pretty-printer for position_anchor.

val read_position_anchor : Cursor.t -> position_anchor

read_position_anchor t is the position_anchor parsed from t.

val pp_overflow_anchor : overflow_anchor Pp.t

pp_overflow_anchor is the pretty-printer for overflow_anchor.

val read_overflow_anchor : Cursor.t -> overflow_anchor

read_overflow_anchor t is the overflow_anchor parsed from t.

val pp_scrollbar_width : scrollbar_width Pp.t

pp_scrollbar_width is the pretty-printer for scrollbar_width.

val read_scrollbar_width : Cursor.t -> scrollbar_width

read_scrollbar_width t is the scrollbar_width parsed from t.

val pp_scrollbar_color : scrollbar_color Pp.t

pp_scrollbar_color is the pretty-printer for scrollbar_color.

val read_scrollbar_color : Cursor.t -> scrollbar_color

read_scrollbar_color t is the scrollbar_color parsed from t.

val pp_scrollbar_gutter : scrollbar_gutter Pp.t

pp_scrollbar_gutter is the pretty-printer for scrollbar_gutter.

val read_scrollbar_gutter : Cursor.t -> scrollbar_gutter

read_scrollbar_gutter t is the scrollbar_gutter parsed from t.

val pp_font_palette : font_palette Pp.t

pp_font_palette is the pretty-printer for font_palette.

val read_font_palette : Cursor.t -> font_palette

read_font_palette t is the font_palette parsed from t.

val pp_font_synthesis : font_synthesis Pp.t

pp_font_synthesis is the pretty-printer for font_synthesis.

val read_font_synthesis : Cursor.t -> font_synthesis

read_font_synthesis t is the font_synthesis parsed from t.

val pp_animation_timeline : animation_timeline Pp.t

pp_animation_timeline is the pretty-printer for animation_timeline.

val read_animation_timeline : Cursor.t -> animation_timeline

read_animation_timeline t is the animation_timeline parsed from t.

val pp_animation_range : animation_range Pp.t

pp_animation_range is the pretty-printer for animation_range.

val pp_view_transition_name : view_transition_name Pp.t

pp_view_transition_name is the pretty-printer for view_transition_name.

val read_view_transition_name : Cursor.t -> view_transition_name

read_view_transition_name t is the view_transition_name parsed from t.

val pp_view_transition_class : view_transition_class Pp.t

pp_view_transition_class is the pretty-printer for view_transition_class.

val read_view_transition_class : Cursor.t -> view_transition_class

read_view_transition_class t parses view_transition_class.

val pp_image_orientation : image_orientation Pp.t

pp_image_orientation is the pretty-printer for image_orientation.

val read_image_orientation : Cursor.t -> image_orientation

read_image_orientation t is the image_orientation parsed from t.

val pp_image_rendering : image_rendering Pp.t

pp_image_rendering is the pretty-printer for image_rendering.

val read_image_rendering : Cursor.t -> image_rendering

read_image_rendering t is the image_rendering parsed from t.

val pp_resolution : resolution Pp.t

pp_resolution is the pretty-printer for resolution.

val read_resolution : Cursor.t -> resolution

read_resolution t is the resolution parsed from t.

val pp_image_resolution : image_resolution Pp.t

pp_image_resolution is the pretty-printer for image_resolution.

val read_image_resolution : Cursor.t -> image_resolution

read_image_resolution t is the image_resolution parsed from t.

val pp_contain_intrinsic_size : contain_intrinsic_size Pp.t

pp_contain_intrinsic_size is the pretty-printer for contain_intrinsic_size.

val read_contain_intrinsic_size : Cursor.t -> contain_intrinsic_size

read_contain_intrinsic_size t is the contain_intrinsic_size parsed from t.

val pp_contain_intrinsic_longhand : contain_intrinsic_longhand Pp.t

pp_contain_intrinsic_longhand is the pretty-printer for contain_intrinsic_longhand.

val read_contain_intrinsic_longhand : Cursor.t -> contain_intrinsic_longhand

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

val pp_container_shorthand : container_shorthand Pp.t

pp_container_shorthand is the pretty-printer for container_shorthand.

val read_container_shorthand : Cursor.t -> container_shorthand

read_container_shorthand t is the container_shorthand parsed from t.

val pp_contain : contain Pp.t

pp_contain is the pretty-printer for contain.

val read_contain : Cursor.t -> contain

read_contain t is the contain parsed from t.

val pp_isolation : isolation Pp.t

pp_isolation is the pretty-printer for isolation.

val read_isolation : Cursor.t -> isolation

read_isolation t is the isolation parsed from t.

val pp_break_value : break_value Pp.t

pp_break_value is the pretty-printer for break_value.

val read_break_value : Cursor.t -> break_value

read_break_value t is the break value parsed from t.

val pp_break_inside_value : break_inside_value Pp.t

pp_break_inside_value is the pretty-printer for break_inside_value.

val read_break_inside_value : Cursor.t -> break_inside_value

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

val pp_page_break_value : page_break_value Pp.t

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

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

val pp_page_break_inside_value : page_break_inside_value Pp.t

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

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

val normalize_columns_value : columns_value -> columns_value

normalize_columns_value v drops an explicit auto width beside a count, which is what leaving the component out names.

val pp_columns_value : columns_value Pp.t

pp_columns_value is the pretty-printer for columns_value.

val read_columns_value : Cursor.t -> columns_value

read_columns_value t is the columns_value parsed from t.

val read_column_width : Cursor.t -> column_width

read_column_width t is the column_width parsed from t.

val read_column_count : Cursor.t -> column_count

read_column_count t is the column_count parsed from t.

val pp_logical_border_color : logical_border_color Pp.t

pp_logical_border_color is the pretty-printer for logical_border_color.

val read_logical_border_color : Cursor.t -> logical_border_color

read_logical_border_color t is the logical_border_color parsed from t.

val pp_logical_border_width : logical_border_width Pp.t

pp_logical_border_width is the pretty-printer for logical_border_width.

val read_logical_border_width : Cursor.t -> logical_border_width

read_logical_border_width t is the logical_border_width parsed from t.

val pp_logical_border_style : logical_border_style Pp.t

pp_logical_border_style is the pretty-printer for logical_border_style.

val read_logical_border_style : Cursor.t -> logical_border_style

read_logical_border_style t is the logical_border_style parsed from t.

val pp_column_span : column_span Pp.t

pp_column_span is the pretty-printer for column_span.

val read_column_span : Cursor.t -> column_span

read_column_span t is the column_span parsed from t.

val pp_text_emphasis : text_emphasis Pp.t

pp_text_emphasis is the pretty-printer for text_emphasis.

val read_text_emphasis : Cursor.t -> text_emphasis

read_text_emphasis t is the text_emphasis parsed from t.

val pp_text_emphasis_style : text_emphasis_style Pp.t

pp_text_emphasis_style is the pretty-printer for text_emphasis_style.

val read_text_emphasis_style : Cursor.t -> text_emphasis_style

read_text_emphasis_style t is the text_emphasis_style parsed from t.

val pp_text_decoration_skip : text_decoration_skip Pp.t

pp_text_decoration_skip is the pretty-printer for text_decoration_skip.

val read_text_decoration_skip : Cursor.t -> text_decoration_skip

read_text_decoration_skip t is the text_decoration_skip parsed from t.

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

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

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

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

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

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

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

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

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

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

val pp_text_emphasis_position : text_emphasis_position Pp.t

pp_text_emphasis_position is the pretty-printer for text_emphasis_position.

val read_text_emphasis_position : Cursor.t -> text_emphasis_position

read_text_emphasis_position t is the text_emphasis_position parsed from t.

val pp_text_indent_value : text_indent_value Pp.t

pp_text_indent_value is the pretty-printer for text_indent_value.

val read_text_indent_value : Cursor.t -> text_indent_value

read_text_indent_value t is the text_indent_value parsed from t.

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

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

val pp_text_emphasis_skip : text_emphasis_skip Pp.t

pp_text_emphasis_skip is the pretty-printer for text_emphasis_skip.

val read_text_emphasis_skip : Cursor.t -> text_emphasis_skip

read_text_emphasis_skip t is the text_emphasis_skip parsed from t.

val pp_text_orientation : text_orientation Pp.t

pp_text_orientation is the pretty-printer for text_orientation.

val read_text_orientation : Cursor.t -> text_orientation

read_text_orientation t is the text_orientation parsed from t.

val pp_line_break : line_break Pp.t

pp_line_break is the pretty-printer for line_break.

val read_line_break : Cursor.t -> line_break

read_line_break t is the line_break parsed from t.

val pp_font_optical_sizing : font_optical_sizing Pp.t

pp_font_optical_sizing is the pretty-printer for font_optical_sizing.

val read_font_optical_sizing : Cursor.t -> font_optical_sizing

read_font_optical_sizing t is the font_optical_sizing parsed from t.

val pp_font_kerning : font_kerning Pp.t

pp_font_kerning is the pretty-printer for font_kerning.

val read_font_kerning : Cursor.t -> font_kerning

read_font_kerning t is the font_kerning parsed from t.

val pp_font_language_override : font_language_override Pp.t

pp_font_language_override is the pretty-printer for font_language_override.

val read_font_language_override : Cursor.t -> font_language_override

read_font_language_override t is the font_language_override parsed from t.

val pp_font_synthesis_style : font_synthesis_style Pp.t

pp_font_synthesis_style is the pretty-printer for font_synthesis_style.

val read_font_synthesis_style : Cursor.t -> font_synthesis_style

read_font_synthesis_style t is the font_synthesis_style parsed from t.

val pp_font_synthesis_weight : font_synthesis_weight Pp.t

pp_font_synthesis_weight is the pretty-printer for font_synthesis_weight.

val read_font_synthesis_weight : Cursor.t -> font_synthesis_weight

read_font_synthesis_weight t is the font_synthesis_weight parsed from t.

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

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

val pp_font_synthesis_position : font_synthesis_position Pp.t

pp_font_synthesis_position is the pretty-printer for font_synthesis_position.

val read_font_synthesis_position : Cursor.t -> font_synthesis_position

read_font_synthesis_position t is the font_synthesis_position parsed from t.

val pp_font_variant_ligature : font_variant_ligature Pp.t

pp_font_variant_ligature is the pretty-printer for font_variant_ligature.

val read_font_variant_ligature : Cursor.t -> font_variant_ligature

read_font_variant_ligature t is the font_variant_ligature parsed from t.

val pp_font_variant_ligatures : font_variant_ligatures Pp.t

pp_font_variant_ligatures is the pretty-printer for font_variant_ligatures.

val read_font_variant_ligatures : Cursor.t -> font_variant_ligatures

read_font_variant_ligatures t is the font_variant_ligatures parsed from t.

val pp_font_variant : font_variant Pp.t

pp_font_variant prints the font-variant shorthand.

val pp_font_variant_alternates : font_variant_alternates Pp.t

pp_font_variant_alternates prints font-variant-alternates.

val pp_font_variant_caps : font_variant_caps Pp.t

pp_font_variant_caps is the pretty-printer for font_variant_caps.

val font_width_css3 : font_stretch -> font_stretch option

font_width_css3 width is the <font-width-css3> keyword width stands for, which is the only spelling the font shorthand's width slot takes (CSS Fonts 4 sec. 5.3). None when no keyword names it.

val read_font_variant : Cursor.t -> font_variant

read_font_variant t parses the font-variant shorthand.

val read_font_variant_alternates : Cursor.t -> font_variant_alternates

read_font_variant_alternates t parses font-variant-alternates.

val read_font_variant_caps : Cursor.t -> font_variant_caps

read_font_variant_caps t is the font_variant_caps parsed from t.

val pp_font_variant_position : font_variant_position Pp.t

pp_font_variant_position is the pretty-printer for font_variant_position.

val read_font_variant_position : Cursor.t -> font_variant_position

read_font_variant_position t is the font_variant_position parsed from t.

val pp_east_asian_feature : east_asian_feature Pp.t

pp_east_asian_feature is the pretty-printer for east_asian_feature.

val read_east_asian_feature : Cursor.t -> east_asian_feature

read_east_asian_feature t is the east_asian_feature parsed from t.

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

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

val pp_scroll_behavior : scroll_behavior Pp.t

pp_scroll_behavior is the pretty-printer for scroll_behavior.

val read_scroll_behavior : Cursor.t -> scroll_behavior

read_scroll_behavior t is the scroll_behavior parsed from t.

val pp_scroll_snap_align : scroll_snap_align Pp.t

pp_scroll_snap_align is the pretty-printer for scroll_snap_align.

val read_scroll_snap_align : Cursor.t -> scroll_snap_align

read_scroll_snap_align t is the scroll_snap_align parsed from t.

val pp_scroll_snap_stop : scroll_snap_stop Pp.t

pp_scroll_snap_stop is the pretty-printer for scroll_snap_stop.

val read_scroll_snap_stop : Cursor.t -> scroll_snap_stop

read_scroll_snap_stop t is the scroll_snap_stop parsed from t.

val pp_scroll_snap_strictness : scroll_snap_strictness Pp.t

pp_scroll_snap_strictness is the pretty-printer for scroll_snap_strictness.

val read_scroll_snap_strictness : Cursor.t -> scroll_snap_strictness

read_scroll_snap_strictness t is the scroll_snap_strictness parsed from t.

val pp_scroll_snap_axis : scroll_snap_axis Pp.t

pp_scroll_snap_axis is the pretty-printer for scroll_snap_axis.

val read_scroll_snap_axis : Cursor.t -> scroll_snap_axis

read_scroll_snap_axis t is the scroll_snap_axis parsed from t.

val pp_scroll_snap_type : scroll_snap_type Pp.t

pp_scroll_snap_type is the pretty-printer for scroll_snap_type.

val read_scroll_snap_type : Cursor.t -> scroll_snap_type

read_scroll_snap_type t is the scroll_snap_type parsed from t.

val pp_overscroll_behavior : overscroll_behavior Pp.t

pp_overscroll_behavior is the pretty-printer for overscroll_behavior.

val read_overscroll_behavior : Cursor.t -> overscroll_behavior

read_overscroll_behavior t is the overscroll_behavior parsed from t.

val pp_svg_paint : svg_paint Pp.t

pp_svg_paint is the pretty-printer for svg_paint.

val read_svg_paint : Cursor.t -> svg_paint

read_svg_paint t is the svg_paint parsed from t.

val pp_direction : direction Pp.t

pp_direction is the pretty-printer for direction.

val read_direction : Cursor.t -> direction

read_direction t is the direction parsed from t.

val pp_fill_rule : fill_rule Pp.t

pp_fill_rule pretty-prints an SVG <fill-rule>.

val read_fill_rule : Cursor.t -> fill_rule

read_fill_rule t is the fill_rule parsed from t.

val pp_stroke_linecap : stroke_linecap Pp.t

pp_stroke_linecap pretty-prints a stroke-linecap keyword.

val read_stroke_linecap : Cursor.t -> stroke_linecap

read_stroke_linecap t is the stroke_linecap parsed from t.

val pp_stroke_linejoin : stroke_linejoin Pp.t

pp_stroke_linejoin pretty-prints a stroke-linejoin keyword.

val read_stroke_linejoin : Cursor.t -> stroke_linejoin

read_stroke_linejoin t is the stroke_linejoin parsed from t.

val pp_stroke_miterlimit : stroke_miterlimit Pp.t

pp_stroke_miterlimit pretty-prints a stroke-miterlimit.

val read_stroke_miterlimit : Cursor.t -> stroke_miterlimit

read_stroke_miterlimit t is the stroke_miterlimit parsed from t.

val pp_vector_effect_keyword : vector_effect_keyword Pp.t

pp_vector_effect_keyword pretty-prints one vector-effect operand.

val read_vector_effect_keyword : Cursor.t -> vector_effect_keyword

read_vector_effect_keyword t is the vector_effect_keyword parsed from t.

val pp_vector_effect_space : vector_effect_space Pp.t

pp_vector_effect_space pretty-prints a vector-effect host space.

val read_vector_effect_space : Cursor.t -> vector_effect_space

read_vector_effect_space t is the vector_effect_space parsed from t.

val pp_vector_effect : vector_effect Pp.t

pp_vector_effect pretty-prints a vector-effect.

val read_vector_effect : Cursor.t -> vector_effect

read_vector_effect t is the vector_effect parsed from t.

val pp_paint_order_keyword : paint_order_keyword Pp.t

pp_paint_order_keyword pretty-prints one paint-order operand.

val read_paint_order_keyword : Cursor.t -> paint_order_keyword

read_paint_order_keyword t is the paint_order_keyword parsed from t.

val pp_paint_order : paint_order Pp.t

pp_paint_order pretty-prints a paint-order.

val read_paint_order : Cursor.t -> paint_order

read_paint_order t is the paint_order parsed from t.

val pp_stroke_width : stroke_width Pp.t

pp_stroke_width pretty-prints a stroke-width.

val read_stroke_width : Cursor.t -> stroke_width

read_stroke_width t is the stroke_width parsed from t. A bare number is in user units; anything carrying a unit or a percent sign is a <length-percentage>. A negative width is rejected.

val pp_dash_length : dash_length Pp.t

pp_dash_length pretty-prints one SVG dash length.

val read_dash_length : ?allow_negative:bool -> Cursor.t -> dash_length

read_dash_length ?allow_negative t is the dash_length parsed from t. A bare number is in user units; anything carrying a unit or a percent sign is a <length-percentage>. allow_negative defaults to true, which is what stroke-dashoffset takes; a dash of stroke-dasharray takes false.

val pp_stroke_dashoffset : stroke_dashoffset Pp.t

pp_stroke_dashoffset pretty-prints a stroke-dashoffset.

val read_stroke_dashoffset : Cursor.t -> stroke_dashoffset

read_stroke_dashoffset t is the stroke_dashoffset parsed from t.

val pp_stroke_dasharray : stroke_dasharray Pp.t

pp_stroke_dasharray pretty-prints a stroke-dasharray.

val read_stroke_dasharray : Cursor.t -> stroke_dasharray

read_stroke_dasharray t is the stroke_dasharray parsed from t.

val pp_unicode_bidi : unicode_bidi Pp.t

pp_unicode_bidi is the pretty-printer for unicode_bidi.

val read_unicode_bidi : Cursor.t -> unicode_bidi

read_unicode_bidi t is the unicode_bidi parsed from t.

val pp_writing_mode : writing_mode Pp.t

pp_writing_mode is the pretty-printer for writing_mode.

val read_writing_mode : Cursor.t -> writing_mode

read_writing_mode t is the writing_mode parsed from t.

val pp_text_combine_upright : text_combine_upright Pp.t

pp_text_combine_upright is the pretty-printer for text_combine_upright.

val read_text_combine_upright : Cursor.t -> text_combine_upright

read_text_combine_upright t is the text_combine_upright parsed from t.

val pp_webkit_appearance : webkit_appearance Pp.t

pp_webkit_appearance is the pretty-printer for webkit_appearance.

val read_webkit_appearance : Cursor.t -> webkit_appearance

read_webkit_appearance t is the webkit_appearance parsed from t.

val pp_webkit_font_smoothing : webkit_font_smoothing Pp.t

pp_webkit_font_smoothing is the pretty-printer for webkit_font_smoothing.

val read_webkit_font_smoothing : Cursor.t -> webkit_font_smoothing

read_webkit_font_smoothing t is the webkit_font_smoothing parsed from t.

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

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

val pp_webkit_box_orient : webkit_box_orient Pp.t

pp_webkit_box_orient is the pretty-printer for webkit_box_orient.

val read_webkit_box_orient : Cursor.t -> webkit_box_orient

read_webkit_box_orient t is the webkit_box_orient parsed from t.

val pp_moz_orient : moz_orient Pp.t

pp_moz_orient is the pretty-printer for moz_orient.

val read_moz_orient : Cursor.t -> moz_orient

read_moz_orient t is the moz_orient parsed from t.

val pp_webkit_line_clamp : webkit_line_clamp Pp.t

pp_webkit_line_clamp is the pretty-printer for webkit_line_clamp.

val read_webkit_line_clamp : Cursor.t -> webkit_line_clamp

read_webkit_line_clamp t is the webkit_line_clamp parsed from t.

val read_text_size_adjust : Cursor.t -> text_size_adjust

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

val pp_forced_color_adjust : forced_color_adjust Pp.t

pp_forced_color_adjust is the pretty-printer for forced_color_adjust.

val read_forced_color_adjust : Cursor.t -> forced_color_adjust

read_forced_color_adjust t is the forced_color_adjust parsed from t.

val pp_appearance : appearance Pp.t

pp_appearance is the pretty-printer for appearance.

val read_appearance : Cursor.t -> appearance

read_appearance t is the appearance parsed from t.

val pp_color_scheme : color_scheme Pp.t

pp_color_scheme is the pretty-printer for color_scheme.

val read_color_scheme : Cursor.t -> color_scheme

read_color_scheme t is the color_scheme parsed from t.

val pp_print_color_adjust : print_color_adjust Pp.t

pp_print_color_adjust is the pretty-printer for print_color_adjust.

val read_print_color_adjust : Cursor.t -> print_color_adjust

read_print_color_adjust t is the print_color_adjust parsed from t.

val pp_box_decoration_break : box_decoration_break Pp.t

pp_box_decoration_break is the pretty-printer for box_decoration_break.

val read_box_decoration_break : Cursor.t -> box_decoration_break

read_box_decoration_break t is the box_decoration_break parsed from t.

val pp_clear : clear Pp.t

pp_clear is the pretty-printer for clear.

val read_clear : Cursor.t -> clear

read_clear t is the clear parsed from t.

val pp_float_side : float_side Pp.t

pp_float_side is the pretty-printer for float_side.

val read_float_side : Cursor.t -> float_side

read_float_side t is the float_side parsed from t.

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

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

val pp_will_change : will_change Pp.t

pp_will_change is the pretty-printer for will_change.

val read_will_change : Cursor.t -> will_change

read_will_change t is the will_change parsed from t.

val pp_clip : clip Pp.t

pp_clip is the pretty-printer for clip.

val read_clip : Cursor.t -> clip

read_clip t is the clip parsed from t.

val pp_clip_path : clip_path Pp.t

pp_clip_path is the pretty-printer for clip_path.

val read_clip_path : Cursor.t -> clip_path

read_clip_path t is the clip_path parsed from t.

val pp_clip_geometry_box : clip_geometry_box Pp.t

pp_clip_geometry_box pretty-prints a clip geometry box.

val read_clip_geometry_box : Cursor.t -> clip_geometry_box

read_clip_geometry_box t parses a clip geometry box.

val pp_clip_path_extent : clip_path_extent Pp.t

pp_clip_path_extent pretty-prints a clip path extent.

val read_clip_path_extent : Cursor.t -> clip_path_extent

read_clip_path_extent t parses a clip path extent.

val pp_clip_path_fill_rule : clip_path_fill_rule Pp.t

pp_clip_path_fill_rule pretty-prints a clip path fill rule.

val read_clip_path_fill_rule : Cursor.t -> clip_path_fill_rule

read_clip_path_fill_rule t parses a clip path fill rule.

val pp_perspective_origin : perspective_origin Pp.t

pp_perspective_origin is the pretty-printer for perspective_origin.

val read_perspective_origin : Cursor.t -> perspective_origin

read_perspective_origin t is the perspective_origin parsed from t.

val pp_outline_shorthand : outline_shorthand Pp.t

pp_outline_shorthand is the pretty-printer for outline_shorthand.

val read_outline_shorthand : Cursor.t -> outline_shorthand

read_outline_shorthand t is the outline_shorthand parsed from t.

Helper functions for property types

val shadow : ?inset:bool -> ?inset_var:string -> ?inset_var_no_fallback:bool -> ?h_offset:Values.length -> ?v_offset:Values.length -> ?blur:Values.length -> ?spread:Values.length -> ?color:Values.color -> unit -> 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).

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 returns the optional property-specific evaluator for a value shape. Generic context evaluation, including direct CSS-wide keywords, does not depend on this specialization.

Function names

Sourceval is_math_function : string -> bool

is_math_function name is true for a CSS Values 4 sec. 10 math function: calc(), the comparison functions (min(), max(), clamp()), the stepped-value (round(), mod(), rem()), trigonometric (sin() through atan2()), exponential (pow(), sqrt(), hypot(), log(), exp()) and sign-related (abs(), sign()) families. name is matched case insensitively, as CSS function names are.

Sourceval is_color_function : string -> bool

is_color_function name is true for a function whose own syntax fixes it as a colour: the CSS Color 4 numeric notations, color() and color-mix(), and light-dark(). A gradient is not one: its type is fixed by the property it lands in, not by the function.