ascent

  • Revision slug: SVG/Attribute/ascent
  • Revision title: ascent
  • Revision id: 48120
  • Created:
  • Creator: Jeremie
  • Is current revision? No
  • Comment page created, 77 words added

Revision Content

« SVG Attribute reference home

This attribute defines the maximum unaccented depth of the font within the font coordinate system.

If the attribute is not specified, the effect is as if the attribute were set to the {{ SVGAttr("vert-origin-y") }} value for the corresponding font.

Usage context

Categories None
Value <number>
Animatable No
Normative document SVG 1.1 (2nd Edition)

{{ page("/en/SVG/Content_type","Number") }}

Elements

The following elements can use the ascent attribute

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

Revision Source

<p>« <a href="/en/SVG/Attribute" title="en/SVG/Attribute">SVG Attribute reference home</a></p>
<p>This attribute defines the maximum unaccented depth of the font within the font coordinate system.</p>
<p>If the attribute is not specified, the effect is as if the attribute were set to the {{ SVGAttr("vert-origin-y") }} value for the corresponding font.</p>
<h2 id="Usage_context">Usage context</h2>
<table class="standard-table"> <tbody> <tr> <th scope="row">Categories</th> <td>None</td> </tr> <tr> <th scope="row">Value</th> <td><a href="/en/SVG/Content_type#Length" title="https://developer.mozilla.org/en/SVG/Content_type#Number">&lt;number&gt;</a></td> </tr> <tr> <th scope="row">Animatable</th> <td>No</td> </tr> <tr> <th scope="row">Normative document</th> <td><a class="external" href="http://www.w3.org/TR/SVG/fonts.html#FontFaceElementAscentAttribute" title="http://www.w3.org/TR/SVG/fonts.html#FontFaceElementAscentAttribute">SVG 1.1 (2nd Edition)</a></td> </tr> </tbody>
</table>
<p>{{ page("/en/SVG/Content_type","Number") }}</p>
<h2 id="Elements">Elements</h2>
<p>The following elements can use the <code>ascent</code> attribute</p>
<ul> <li>{{ SVGElement("font-face") }}</li>
</ul>
Revert to this revision