aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/svg/attribute/accent-height/index.md
blob: 7f6314794cce392e5596ec2c01a14d44de23680e (plain)
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
51
52
53
54
55
56
57
58
59
---
title: accent-height
slug: Web/SVG/Attribute/accent-height
tags:
  - Attribut
  - NeedsCompatTable
  - NeedsExample
  - NeedsUpdate
  - Reference
  - SVG
translation_of: Web/SVG/Attribute/accent-height
---
{{SVGRef}}

L'attribut **`accent-height`** définit la distance entre l'origine et le haut des accents placés sur les caractères. Cette distance est mesurée dans le système de coordonnées de la police.

Si cet attribut n'est pas défini, l'effet obtenu est identique à celui obtenu avec la valeur de l'attribut {{SVGAttr("ascent")}}.

## Contexte d'utilisation

<table class="standard-table">
  <tbody>
    <tr>
      <th scope="row">Catégories</th>
      <td>Aucune</td>
    </tr>
    <tr>
      <th scope="row">Type de valeur</th>
      <td>
        <a
          href="/fr/docs/Web/SVG/Content_type#Length"
          title="https://developer.mozilla.org/en/SVG/Content_type#Number"
          >&#x3C;number></a
        >
      </td>
    </tr>
    <tr>
      <th scope="row">Peut être animé</th>
      <td>Non</td>
    </tr>
    <tr>
      <th scope="row">Spécification</th>
      <td>
        <a
          href="https://www.w3.org/TR/SVG/fonts.html#FontFaceElementAccentHeightAttribute"
          >SVG 1.1 (seconde édition)</a
        >
      </td>
    </tr>
  </tbody>
</table>

{{page("/fr/docs/Web/SVG/Content_type","Number")}}

## Éléments

On peut utiliser l'attribut `accent-height` sur les éléments suivants :

- {{SVGElement("font-face")}}