The unicode-bidi CSS property specifies the Unicode bidirectional algorithm.
object.style.unicodeBidi = "value";
<'unicode-bidi'> = normal | embed | isolate | bidi-override | isolate-override | plaintext
The box does not open an additional level of embedding with respect to the bidirectional algorithm.
If the box is inline, this value creates a directional embedding by opening an additional level of embedding with respect to the bidirectional algorithm.
On an inline box, this bidi-isolates its contents.
Puts the box's immediate inline content in a directional 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.
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).