pub fn parse_style_text_color(input: &str) -> Result<StyleTextColor, StyleTextColorParseError<'_>> {
pub fn parse_style_text_align(input: &str) -> Result<StyleTextAlign, StyleTextAlignParseError<'_>> {
// repr(C,u8) FFI enum: boxing the large variant would change the C ABI (api.json bindings); size
pub fn parse_style_line_clamp(input: &str) -> Result<StyleLineClamp, StyleLineClampParseError<'_>> {
pub fn parse_style_line_height(input: &str) -> Result<StyleLineHeight, StyleLineHeightParseError> {
// Convention: negative normalized() = absolute pixel value (CSS line-height can't be negative).
pub fn parse_style_tab_size(input: &str) -> Result<StyleTabSize, StyleTabSizeParseError<'_>> {
pub fn parse_style_hyphens(input: &str) -> Result<StyleHyphens, StyleHyphensParseError<'_>> {
pub fn parse_style_line_break(input: &str) -> Result<StyleLineBreak, StyleLineBreakParseError<'_>> {
pub fn parse_style_word_break(input: &str) -> Result<StyleWordBreak, StyleWordBreakParseError<'_>> {
pub fn parse_style_direction(input: &str) -> Result<StyleDirection, StyleDirectionParseError<'_>> {
// +spec:writing-modes:daad86 - first value = over edge, second = under edge; single value applies
// specifies box's alignment baseline used before post-alignment shift +spec:inline-block:939f05 -
// alignment-baseline property definition with all spec values (baseline, text-bottom, alphabetic,
// +spec:inline-block:939f05 - baseline-source longhand: auto | first | last (auto = last baseline
// +spec:line-height:cc03df - line-fit-edge selects the over/under metrics that size a line box;
// line-fit-edge:leading (initial), margin/border/padding do not contribute to inline layout bounds