HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

unicode-bidi

Description

The unicode-bidi property for CSS specifies the Unicode bidirectional algorithm.

Syntax

CSS

unicode-bidi: value;

JS

object.style.unicodeBidi = "value";

Values

<'unicode-bidi'> = normal | embed | isolate | bidi-override | isolate-override | plaintext
normal

The box does not open an additional level of embedding with respect to the bidirectional algorithm.

embed

If the box is inline, this value creates a directional embedding by opening an additional level of embedding with respect to the bidirectional algorithm.

isolate

On an inline box, this bidi-isolates its contents.

bidi-override

Puts the box's immediate inline content in a directional override.

isolate-override

This combines the isolation behavior of isolate with the directional override behavior of bidi-override: to surrounding content, it is equivalent to isolate, but within the box content is ordered as if bidi-override were specified.

plaintext

Behaves as isolate except that for the purposes of the Unicode bidirectional algorithm, the base directionality of each of the box's bidi paragraphs (if a block container) or isolated sequences (if an inline) is determined by following the heuristic in rules P2 and P3 of the Unicode bidirectional algorithm (rather than by using the direction property of the box).

Initial

normal

Examples

1 · normal

2 · embed

3 · isolate

4 · bidi-override

5 · isolate-override

6 · plaintext

7 · JS