unicode-bidi
Baseline
Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.
The unicode-bidi attribute, together with the direction attribute, determines how bidirectional text in a document is handled. For example, if a block of content contains both left-to-right and right-to-left text, the browser uses the Unicode bidirectional algorithm to decide how to display the text. The unicode-bidi attribute allows the developer to override this algorithm and control the text embedding.
Note:
As a presentation attribute, unicode-bidi also has a CSS property counterpart: unicode-bidi. When both are specified, the CSS property takes priority.
Elements
You can use this attribute with the following SVG elements:
Usage notes
| Value | See unicode-bidi |
|---|---|
| Default value | normal |
| Animatable | No |
For a description of the values, please refer to the CSS unicode-bidi property.
Specifications
| Specification |
|---|
| CSS Writing Modes Level 4> # unicode-bidi> |
Browser compatibility
See also
- CSS
unicode-bidiproperty