#### Previous | #### Table of Contents | #### Bottom | #### Next

Quick Table of Contents
A Internationalization A.1 Additional writing-mode values

## A Internationalization

### A.1 Additional "writing-mode" values

The following additional values for the "writing-mode" property provide for more extensive internationalization support.

The values have the following meanings:

tb-lr

  Inline components and text within a line are stacked top-to-bottom. Lines and blocks are stacked left-to-right.

  Establishes the following directions:

  - inline-progression-direction to top-to-bottom

  - block-progression-direction to left-to-right

  - shift-direction to right-to-left

bt-lr

  Inline components and text within a line are stacked bottom-to-top. Lines and blocks are stacked left-to-right.

  Establishes the following directions:

  - inline-progression-direction to bottom-to-top

  - block-progression-direction to left-to-right

  - shift-direction to right-to-left

bt-rl

  Inline components and text within a line are stacked bottom-to-top. Lines and blocks are stacked right-to-left.

  Establishes the following directions:

  - inline-progression-direction to bottom-to-top

  - block-progression-direction to right-to-left

  - shift-direction to left-to-right

lr-bt

  Inline components and text within a line are stacked left-to-right. Lines and blocks are stacked bottom-to-top.

  Establishes the following directions:

  - inline-progression-direction to left-to-right

  - block-progression-direction to bottom-to-top

  - shift-direction to bottom-to-top

rl-bt

  Inline components and text within a line are stacked right-to-left. Lines and blocks are stacked bottom-to-top.

  Establishes the following directions:

  - inline-progression-direction to right-to-left

  - block-progression-direction to bottom-to-top

  - shift-direction to bottom-to-top

lr-alternating-rl-bt

  Inline components and text within the first line are stacked left-to-right, within the second line they are stacked right-to-left; continuing in alternation. Lines and blocks are stacked bottom-to-top.

  Establishes the following directions:

  - inline-progression-direction to left-to-right for odd-numbered lines, right-to-left for even-numbered lines

  - block-progression-direction to bottom-to-top

  - shift-direction to bottom-to-top

lr-alternating-rl-tb

  Inline components and text within the first line are stacked left-to-right, within the second line they are stacked right-to-left; continuing in alternation. Lines and blocks are stacked top-to-bottom.

  Establishes the following directions:

  - inline-progression-direction to left-to-right for odd-numbered lines, right-to-left for even-numbered lines

  - block-progression-direction to top-to-bottom

  - shift-direction to bottom-to-top

lr-inverting-rl-bt

  Inline components and text within the first line are stacked left-to-right, within the second line they inverted and are stacked right-to-left; continuing in alternation. Lines and blocks are stacked bottom-to-top.

  Establishes the following directions:

  - inline-progression-direction to left-to-right for odd-numbered lines, right-to-left for even-numbered lines

  - block-progression-direction to bottom-to-top

  - shift-direction to bottom-to-top for odd-numbered lines, top-to-bottom for even-numbered lines

lr-inverting-rl-tb

  Inline components and text within the first line are stacked left-to-right, within the second line they inverted and are stacked right-to-left; continuing in alternation. Lines and blocks are stacked top-to-bottom.

  Establishes the following directions:

  - inline-progression-direction to left-to-right for odd-numbered lines, right-to-left for even-numbered lines

  - block-progression-direction to top-to-bottom

  - shift-direction to bottom-to-top for odd-numbered lines, top-to-bottom for even-numbered lines

tb-lr-in-lr-pairs

  Text is written in two character, left-to-right, pairs. The pairs are then stacked top-to-bottom to form a line. Lines and blocks are stacked left-to-right.

  Establishes the following directions:

  - inline-progression-direction to top-to-bottom

  - block-progression-direction to left-to-right

  - shift-direction to right-to-left

  The two glyph areas in the pair are aligned in the inline-progression-direction in the same manner as for lines with a left-to-right inline progression direction using the values of the "alignment-baseline", "alignment-adjust", "baseline-shift", and "dominant-baseline" properties.

  > NOTE:

  > Informally: the two glyph areas are placed with respect to each other vertically as if they were part of a line written left-to-right.

  For stacking into lines each pair is considered a glyph area with an allocation rectangle that is the minimum rectangle required to enclose the allocation rectangles of the glyphs in the pair.

  In the block-progression-direction the pairs are aligned on a line that is half-way between the end-edge of the first glyph area and the start-edge of the second glyph area in the pair.

#### Previous | #### Table of Contents | #### Top | #### Next