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:

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:

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:

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:

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:

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:

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:

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:

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:

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:

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