Menu Samaritan's Purse

UNICODE-BIDI

The unicode-bidi property 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

NORMAL

EMBED

ISOLATE

BIDI-OVERRIDE

ISOLATE-OVERRIDE

PLAINTEXT

JS

INTERNAL

direction

text-combine-upright

text-orientation

writing-mode

EXTERNAL

World Wide Web Consortium (W3C)