<mspace>
Baseline 2023Newly available
Since January 2023, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.
Das <mspace>
MathML Element wird verwendet, um einen leeren Raum darzustellen, dessen Größe durch seine Attribute festgelegt wird.
Attribute
Die Attribute dieses Elements umfassen die globalen MathML Attribute sowie die folgenden Attribute:
depth
-
Ein
<length-percentage>
, das die gewünschte Tiefe (unter der Grundlinie) des Raumes angibt. height
-
Ein
<length-percentage>
, das die gewünschte Höhe (über der Grundlinie) des Raumes angibt. width
-
Ein
<length-percentage>
, das die gewünschte Breite des Raumes angibt.
Hinweis:
Für die Attribute depth
, height
, width
können einige Browser auch veraltete MathML-Längen akzeptieren.
Beispiele
<math display="block">
<mn>1</mn>
<mspace
depth="40px"
height="20px"
width="100px"
style="background: lightblue" />
<mn>2</mn>
</math>
Technische Zusammenfassung
Implizite ARIA-Rolle | Keine |
---|
Spezifikationen
Specification |
---|
MathML Core # space-mspace |
Browser-Kompatibilität
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
mspace | ||||||||||||
depth | ||||||||||||
height | ||||||||||||
Named spaces (e.g. thinmathspace to mean 3/18em) for width , height and depth attributes | ||||||||||||
width |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- No support
- No support
- Non-standard. Check cross-browser support before using.
- Deprecated. Not for use in new websites.
- See implementation notes.