diff options
Diffstat (limited to 'files/zh-cn/web/svg/attribute/accent-height')
| -rw-r--r-- | files/zh-cn/web/svg/attribute/accent-height/index.html | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/files/zh-cn/web/svg/attribute/accent-height/index.html b/files/zh-cn/web/svg/attribute/accent-height/index.html new file mode 100644 index 0000000000..ba39552047 --- /dev/null +++ b/files/zh-cn/web/svg/attribute/accent-height/index.html @@ -0,0 +1,43 @@ +--- +title: accent-height +slug: Web/SVG/Attribute/accent-height +translation_of: Web/SVG/Attribute/accent-height +--- +<p>« 回到SVG属性指南首页</p> + +<p>此属性定义从原点到重点字符顶部的距离,通过字体坐标系内的距离测量。</p> + +<p>若未定义该属性,那么该属性就会被设置为{{ SVGAttr("ascent") }}。</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"><number></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#FontFaceElementAccentHeightAttribute" title="http://www.w3.org/TR/SVG/fonts.html#FontFaceElementAccentHeightAttribute">SVG 1.1 (2nd Edition)</a></td> + </tr> + </tbody> +</table> + +<p>{{ page("/en-US/docs/SVG/Content_type","Number") }}</p> + +<h2 id="Elements">Elements</h2> + +<p>The following elements can use the <code>accent-height</code> attribute</p> + +<ul> + <li>{{ SVGElement("font-face") }}</li> +</ul> |
