aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/mathmlelement
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/api/mathmlelement
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/api/mathmlelement')
-rw-r--r--files/zh-cn/web/api/mathmlelement/index.html72
1 files changed, 72 insertions, 0 deletions
diff --git a/files/zh-cn/web/api/mathmlelement/index.html b/files/zh-cn/web/api/mathmlelement/index.html
new file mode 100644
index 0000000000..1d6c01f1c7
--- /dev/null
+++ b/files/zh-cn/web/api/mathmlelement/index.html
@@ -0,0 +1,72 @@
+---
+title: MathMLElement
+slug: Web/API/MathMLElement
+tags:
+ - API
+ - MathML
+ - 元素
+ - 参考
+ - 接口
+translation_of: Web/API/MathMLElement
+---
+<div>{{APIRef("MathML")}}</div>
+
+<p class="summary"><strong><code>MathMLElement</code></strong> 接口表示任意 <a href="/zh-CN/docs/Web/MathML">MathML</a> 元素。</p>
+
+<h2 id="属性">属性</h2>
+
+<p><em>This interface has no properties, but inherits properties from: {{DOMxRef("DocumentAndElementEventHandlers")}}, {{DOMxRef("Element")}}, {{DOMxRef("ElementCSSInlineStyle")}}, {{DOMxRef("GlobalEventHandlers")}}, {{DOMxRef("HTMLOrForeignElement")}}</em></p>
+
+<ul>
+</ul>
+
+<h2 id="方法">方法</h2>
+
+<p><em>This interface has no methods, but inherits methods from: {{DOMxRef("DocumentAndElementEventHandlers")}}, {{DOMxRef("Element")}}, {{DOMxRef("ElementCSSInlineStyle")}}, {{DOMxRef("GlobalEventHandlers")}}, {{DOMxRef("HTMLOrForeignElement")}}</em></p>
+
+<h2 id="示例">示例</h2>
+
+<h3 id="MathML">MathML</h3>
+
+<pre class="brush: html">&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
+ &lt;msqrt&gt;
+ &lt;mi&gt;x&lt;/mi&gt;
+ &lt;/msqrt&gt;
+&lt;/math&gt;</pre>
+
+<h3 id="JavaScript">JavaScript</h3>
+
+<pre class="brush: js">document.querySelector('msqrt').constructor.name; // MathMLElement</pre>
+
+<h2 id="规范">规范</h2>
+
+<table class="standard-table">
+ <thead>
+ <tr>
+ <th scope="col">规范</th>
+ <th scope="col">状态</th>
+ <th scope="col">备注</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td><a href="https://mathml-refresh.github.io/mathml-core/#dom-mathmlelement">MathMLElement interface</a></td>
+ <td></td>
+ <td></td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="浏览器兼容性">浏览器兼容性</h2>
+
+
+
+<p>{{Compat("api.MathMLElement")}}</p>
+
+<h2 id="参见">参见</h2>
+
+<ul>
+ <li>{{DOMxRef("Element")}}</li>
+ <li>{{DOMxRef("HTMLElement")}}</li>
+ <li>{{DOMxRef("SVGElement")}}</li>
+</ul>