mozilla

Revision 426755 of font-size-adjust

  • Revision slug: Web/SVG/Attribute/font-size-adjust
  • Revision title: font-size-adjust
  • Revision id: 426755
  • Created:
  • Creator: Jeremie
  • Is current revision? Yes
  • Comment one or more formatting changesSVG/Attribute/font-size-adjust Web/SVG/Attribute/font-size-adjust

Revision Content

« SVG Attribute reference home

The font-size-adjust attribute allows authors to specify an aspect value for an element that will preserve the x-height of the first choice font in a substitute font.

As a presentation attribute, it also can be used as a property directly inside a CSS stylesheet, see {{ cssxref("font-size-adjust","CSS font-size-adjust") }} for further information.

Usage context

Categories Presentation attribute
Value <number> | none | inherit
Animatable Yes
Normative document SVG 1.1 (2nd Edition)

Example

Elements

The following elements can use the font-size-adjust attribute

See also

  • {{ cssxref("font-size-adjust","CSS font-size-adjust") }}

Revision Source

<p>« <a href="/en/SVG/Attribute" title="en/SVG/Attribute">SVG Attribute reference home</a></p>
<p>The <code>font-size-adjust</code> attribute allows authors to specify an aspect value for an element that will preserve the x-height of the first choice font in a substitute font.</p>
<p>As a presentation attribute, it also can be used as a property directly inside a CSS stylesheet, see {{ cssxref("font-size-adjust","CSS font-size-adjust") }} for further information.</p>
<h2 id="Usage_context">Usage context</h2>
<table class="standard-table"> <tbody> <tr> <th scope="row">Categories</th> <td>Presentation attribute</td> </tr> <tr> <th scope="row">Value</th> <td><a href="/en/SVG/Content_type#Number" title="https://developer.mozilla.org/en/SVG/Content_type#Number">&lt;number&gt;</a> | <strong>none</strong> | inherit</td> </tr> <tr> <th scope="row">Animatable</th> <td>Yes</td> </tr> <tr> <th scope="row">Normative document</th> <td><a class="external" href="http://www.w3.org/TR/SVG11/text.html#FontSizeAdjustProperty" title="http://www.w3.org/TR/SVG11/text.html#FontSizeAdjustProperty">SVG 1.1 (2nd Edition)</a></td> </tr> </tbody>
</table>
<h2 id="Example">Example</h2>
<h2 id="Elements">Elements</h2>
<p>The following elements can use the <code>font-size-adjust</code> attribute</p>
<ul> <li><a href="/en/SVG/Element#Text_content_elements" title="en/SVG/Element#Text_content_elements">Text content elements</a> »</li>
</ul>
<h2 id="See_also">See also</h2>
<ul> <li>{{ cssxref("font-size-adjust","CSS font-size-adjust") }}</li>
</ul>
Revert to this revision