-
Notifications
You must be signed in to change notification settings - Fork 22.4k
/
index.md
50 lines (39 loc) · 1.08 KB
/
index.md
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
---
title: orientation
slug: Web/SVG/Attribute/orientation
page-type: svg-attribute
status:
- deprecated
browser-compat: svg.elements.glyph.orientation
---
{{SVGRef}}{{Deprecated_Header}}
The **`orientation`** attribute indicates that the given {{Glossary("glyph")}} is only to be used for a particular text direction, i.e. horizontal or vertical.
You can use this attribute with the following SVG elements:
- {{SVGElement("glyph")}}
## Usage notes
<table class="properties">
<tbody>
<tr>
<th scope="row">Value</th>
<td><code>h</code> | <code>v</code></td>
</tr>
<tr>
<th scope="row">Default value</th>
<td>
<em>None (meaning glyph can be used for both text directions)</em>
</td>
</tr>
<tr>
<th scope="row">Animatable</th>
<td>Yes</td>
</tr>
</tbody>
</table>
- `h`
- : This value indicates that the glyph is only used for a horizontal text direction.
- `v`
- : This value indicates that the glyph is only used for a vertical text direction.
## Specifications
{{Specifications}}
## Browser compatibility
{{Compat}}