This property specifies the combination of multiple characters into the space of a single character. If the combined text is wider than 1em, the UA must fit the contents within 1em, see below. The resulting composition is treated as a single upright glyph for the purposes of layout and decoration. This property only has an effect in vertical writing modes.
Name:
text-combine-horizontal
Value:
none | all | [ digits <integer>? ]
Initial:
none
Applies to:
non-replaced inline elements
Inherited:
yes
Media:
visual
Computed value:
specified keyword, plus integer if digits
Canonical order:
n/a
Percentages:
n/a
Animatable:
no
Syntax
text-combine-horizontal: none | all | [ digits ? ]
Values
none
No special processing.
all
Attempt to typeset horizontally all consecutive characters within the element such that they take up the space of a single character within the vertical line box.
digits <integer>?
Attempt to typeset horizontally each maximal sequence of consecutive ASCII digits (U+0030–U+0039) that has as many or fewer characters than the specified integer such that it takes up the space of a single character within the vertical line box. If the integer is omitted, it computes to 2. Integers outside the range 2-4 are invalid.