スタイルunicodeBidiプロパティ
例
<p>要素のテキストを上書きします。
document.getElementById("myP").style.unicodeBidi = "bidi-override";
定義と使用法
unicodeBidiプロパティは、同じドキュメント内の複数の言語をサポートするためにテキストをオーバーライドするかどうかを設定または返すために、 directionプロパティとともに使用されます。
ブラウザのサポート
Property | |||||
---|---|---|---|---|---|
unicodeBidi | Yes | Yes | Yes | Yes | Yes |
構文
unicodeBidiプロパティを返します。
object.style.unicodeBidi
unicodeBidiプロパティを設定します。
object.style.unicodeBidi = "normal|embed|bidi-override|initial|inherit"
プロパティ値
Value | Description |
---|---|
normal | Does not use an additional level of embedding. This is default |
embed | Creates an additional level of embedding |
bidi-override | Creates an additional level of embedding. Reordering depends on the direction property |
initial | Sets this property to its default value. Read about initial |
inherit | Inherits this property from its parent element. Read about inherit |
技術的な詳細
デフォルト値: | 正常 |
---|---|
戻り値: | 双方向アルゴリズムに関する埋め込みのレベルを表す文字列 |
CSSバージョン | CSS2 |
その他の例
例
unicodeBidiプロパティを返します。
alert(document.getElementById("myP").style.unicodeBidi);
関連ページ
CSSチュートリアル:CSSテキスト
CSSリファレンス:unicode-bidiプロパティ
❮スタイルオブジェクト