### Combining when sequence is not interrupted Source: https://www.w3.org/TR/css-writing-modes-4 Markup examples where the 34 combines because the preceding 12 does not share an ancestor with the same text-combine-upright value. ```html 12341234 1234 ``` -------------------------------- ### XML example with bidirectional text Source: https://www.w3.org/TR/css-writing-modes-4 Shows an XML document with bidirectional text using dir attributes. Lowercase letters represent inherently left-to-right characters and uppercase letters represent inherently right-to-left characters. The text stream is shown in logical backing store order. ```xml
HEBREW1 HEBREW2 english3 HEBREW4 HEBREW5 HEBREW6 HEBREW7 HEBREW8
english9 english10 english11 HEBREW12 HEBREW13 english14 english15 english16 english17 HEBREW18 english19 HEBREW20
``` -------------------------------- ### Mis-applied tate-chu-yoko example Source: https://www.w3.org/TR/css-writing-modes-4 Markup showing unintended consequences when text-combine-upright: digits 2 is applied to an entire document, combining digits across a comma. ```html

あれは10,000円ですよ!

``` -------------------------------- ### text-combine-upright: all rule Source: https://www.w3.org/TR/css-writing-modes-4 CSS rule using text-combine-upright: all; the same results occur as with digits 4: the first case does not combine, the second combines 34. ```css tcy { text-combine-upright: all; } ``` -------------------------------- ### text-combine-upright: digits 4 with box boundary Source: https://www.w3.org/TR/css-writing-modes-4 CSS rule and markup showing that text-combine-upright cannot combine across box boundaries; here no text combines because 12 and 34 share an ancestor with the same value. ```css tcy { text-combine-upright: digits 4; } ``` ```html 1234 ``` -------------------------------- ### text-combine-upright: digits 2 for date Source: https://www.w3.org/TR/css-writing-modes-4 CSS rule and markup for horizontal-in-vertical composition (tate-chu-yoko) of a date. The digits 2 value combines up to two consecutive ASCII digits into a single upright glyph. ```css date { text-combine-upright: digits 2; } ``` ```html 平成20年4月16日に ```