aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/svg/element/altglyph/index.html
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
commit33058f2b292b3a581333bdfb21b8f671898c5060 (patch)
tree51c3e392513ec574331b2d3f85c394445ea803c6 /files/zh-cn/web/svg/element/altglyph/index.html
parent8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff)
downloadtranslated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip
initial commit
Diffstat (limited to 'files/zh-cn/web/svg/element/altglyph/index.html')
-rw-r--r--files/zh-cn/web/svg/element/altglyph/index.html115
1 files changed, 115 insertions, 0 deletions
diff --git a/files/zh-cn/web/svg/element/altglyph/index.html b/files/zh-cn/web/svg/element/altglyph/index.html
new file mode 100644
index 0000000000..f9c25d6c68
--- /dev/null
+++ b/files/zh-cn/web/svg/element/altglyph/index.html
@@ -0,0 +1,115 @@
+---
+title: altGlyph
+slug: Web/SVG/Element/altGlyph
+tags:
+ - SVG
+ - SVG文本内容
+ - 元素
+ - 参考
+translation_of: Web/SVG/Element/altGlyph
+---
+<div>{{SVGRef}}</div>
+
+<p><code>altGlyph</code>元素允许符号的复杂选区,用来呈现它的子字符数据。</p>
+
+<h2 id="使用上下文">使用上下文</h2>
+
+<p>{{svginfo}}</p>
+
+<h2 id="示例">示例</h2>
+
+<h2 id="属性">属性</h2>
+
+<h3 id="全局属性">全局属性</h3>
+
+<ul>
+ <li><a href="/en-US/SVG/Attribute#ConditionalProccessing">条件处理属性</a> »</li>
+ <li><a href="/en-US/SVG/Attribute#Core">核心属性</a> »</li>
+ <li><a href="/en-US/SVG/Attribute#GraphicalEvent">图形事件属性</a> »</li>
+ <li><a href="/en-US/SVG/Attribute#Presentation">外观属性</a> »</li>
+ <li><a href="/en-US/SVG/Attribute#XLink">XLink属性</a> »</li>
+ <li>{{SVGAttr("class")}}</li>
+ <li>{{SVGAttr("style")}}</li>
+ <li>{{SVGAttr("externalResourcesRequired")}}</li>
+</ul>
+
+<h3 id="专有属性">专有属性</h3>
+
+<ul>
+ <li>{{SVGAttr("x")}}</li>
+ <li>{{SVGAttr("y")}}</li>
+ <li>{{SVGAttr("dx")}}</li>
+ <li>{{SVGAttr("dy")}}</li>
+ <li>{{SVGAttr("rotate")}}</li>
+ <li>{{SVGAttr("glyphRef")}}</li>
+ <li>{{SVGAttr("format")}}</li>
+ <li>{{SVGAttr("xlink:href")}}</li>
+</ul>
+
+<h2 id="DOM_接口">DOM 接口</h2>
+
+<p>该元素实现了<code><a href="/en-US/docs/Web/API/SVGAltGlyphElement">SVGAltGlyphElement</a></code> 接口。</p>
+
+<h2 id="浏览器兼容性">浏览器兼容性</h2>
+
+<p>{{CompatibilityTable}}</p>
+
+<div id="compat-desktop">
+<table class="compat-table">
+ <tbody>
+ <tr>
+ <th>Feature</th>
+ <th>Chrome</th>
+ <th>Firefox (Gecko)</th>
+ <th>Internet Explorer</th>
+ <th>Opera</th>
+ <th>Safari</th>
+ </tr>
+ <tr>
+ <td>Basic support</td>
+ <td>1.0</td>
+ <td>{{CompatGeckoDesktop('2.0')}} [1]</td>
+ <td>{{CompatUnknown}}</td>
+ <td>{{CompatOpera('10.6')}}</td>
+ <td>{{CompatSafari('4.0')}}</td>
+ </tr>
+ </tbody>
+</table>
+</div>
+
+<div id="compat-mobile">
+<table class="compat-table">
+ <tbody>
+ <tr>
+ <th>Feature</th>
+ <th>Android</th>
+ <th>Firefox Mobile (Gecko)</th>
+ <th>IE Phone</th>
+ <th>Opera Mobile</th>
+ <th>Safari Mobile</th>
+ </tr>
+ <tr>
+ <td>Basic support</td>
+ <td>{{CompatUnknown}}</td>
+ <td>{{CompatGeckoMobile('2.0')}}<sup>[1]</sup></td>
+ <td>{{CompatNo}}</td>
+ <td>{{CompatOperaMobile('11.0')}}</td>
+ <td>{{CompatSafari('4.0')}}</td>
+ </tr>
+ </tbody>
+</table>
+</div>
+
+<p>[1] 部分支持,请看<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=456286">bug 456286</a> 以及<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=571808">bug 571808</a>.</p>
+
+<p>该表格基于<a href="/en-US/SVG/Compatibility_sources">这些资源</a>。</p>
+
+<h2 id="参见">参见</h2>
+
+<ul>
+ <li>{{SVGElement("tspan")}}</li>
+ <li>{{SVGElement("glyph")}}</li>
+ <li>{{SVGElement("altGlyphDef")}}</li>
+</ul>
+
+<p>{{SVGRef}}</p>