Values
Lengths
いくつかの MathML プレゼンテーション要素には、サイズまたは間隔に使用される長さの値を受け入れる属性があります。 MathML は、長さを指定するための様々な単位と定数を受け入れます。
単位
単位 | 説明 |
---|---|
em |
font-relative unit |
ex |
font-relative unit. (The "x"-height of the element, 1ex ≈ 0.5em in many fonts) |
px |
Pixels |
in |
Inches (1 inch = 2.54 centimeters) |
cm |
センチメートル |
mm |
ミリメートル |
pt |
Points (1 point = 1/72 inch) |
pc |
Picas (1 pica = 12 points) |
% |
Percentage of the default value. |
定数
非推奨
この機能は非推奨になりました。まだ対応しているブラウザーがあるかもしれませんが、すでに関連するウェブ標準から削除されているか、削除の手続き中であるか、互換性のためだけに残されている可能性があります。使用を避け、できれば既存のコードは更新してください。このページの下部にある互換性一覧表を見て判断してください。この機能は突然動作しなくなる可能性があることに注意してください。
以下の廃止された定数の代わりは次のとおりです:
veryverythinmathspace => 0.05555555555555555em
verythinmathspace => 0.1111111111111111em
thinmathspace => 0.16666666666666666em
mediummathspace => 0.2222222222222222em
thickmathspace => 0.2777777777777778em
verythickmathspace => 0.3333333333333333em
veryverythickmathspace => 0.3888888888888889em
定数 | 値 |
---|---|
veryverythinmathspace |
1/18em |
verythinmathspace |
2/18em |
thinmathspace |
3/18em |
mediummathspace |
4/18em |
thickmathspace |
5/18em |
verythickmathspace |
6/18em |
veryverythickmathspace |
7/18em |
Negative contstants are introduced in Gecko 7.0 (Firefox 7.0 / Thunderbird 7.0 / SeaMonkey 2.4) (バグ 650530) | |
negativeveryverythinmathspace |
-1/18em |
negativeverythinmathspace |
-2/18em |
negativethinmathspace |
-3/18em |
negativemediummathspace |
-4/18em |
negativethickmathspace |
-5/18em |
negativeverythickmathspace |
-6/18em |
negativeveryverythickmathspace |
-7/18em |
Note: Namedspace のバインディングの廃止 は MathML3 で行われ、 Gecko 15.0 (Firefox 15.0 / Thunderbird 15.0 / SeaMonkey 2.12) で削除されました。 (bug 673759).