CKTIS / CSS
text-combine-upright — horizontal text within vertical text
text-combine-upright combines characters into a horizontal fragment occupying one character space in vertical text.
Version: CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
Syntax
text-combine-upright: none | all | [ digits <integer [2,4]>? ];text-combine-upright affects only vertical writing. The combined fragment occupies a 1em square in layout. The property inherits; its initial value, none, disables combination.
all combines continuous text within a box. Box boundaries interrupt combination. Target short fragments because longer content is compressed.
Level 4 also defines digits: maximal ASCII digit sequences no longer than a limit of 2–4, defaulting to 2. Longer sequences are not split into groups. This is specification syntax, not confirmation of browser support; the example uses all.
Examples
<!doctype html>
<html lang="ja">
<meta charset="utf-8">
<title>text-combine-upright</title>
<style>
p { writing-mode: vertical-rl; font: 32px sans-serif; }
span { text-combine-upright: all; }
</style>
<p>第<span>12</span>回</p>
</html>Result
第 → 12 → 回 (top to bottom; 12 horizontal within one character space)
The displayed code and declared result were verified in an isolated environment using the method recorded in the verification evidence for this exact version.