This attribute defines the distance from the origin to the top of accent characters, measured by a distance within the font coordinate system.
If the attribute is not specified, the effect is as if the attribute were set to the value of the ascent
attribute.
Categories | None |
---|---|
Value | <number> |
Animatable | No |
Normative document | SVG 1.1 (2nd Edition) |
Real numbers are specified in one of two ways. When used in a stylesheet, a <number> is defined as follows:
number ::= integer | [+-]? [0-9]* "." [0-9]+
This syntax is the same as the definition in CSS (CSS2, section 4.3.1).
When used in an SVG attribute, a <number> is defined differently, to allow numbers with large magnitudes to be specified more concisely:
number ::= integer ([Ee] integer)? | [+-]? [0-9]* "." [0-9]+ ([Ee] integer)?
Within the SVG DOM, a <number> is represented as a float, SVGNumber
or a SVGAnimatedNumber
.
The following elements can use the accent-height
attribute
© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/accent-height