aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/conflicting/web/api/node/index.html
diff options
context:
space:
mode:
authorFlorian Dieminger <me@fiji-flo.de>2021-02-11 18:29:51 +0100
committerGitHub <noreply@github.com>2021-02-11 18:29:51 +0100
commit2bc5610921312613f8623f7ed347aa576689b2b6 (patch)
treef17a7a00e232c97d1335ff3cb24dbcfafacfe141 /files/zh-cn/conflicting/web/api/node/index.html
parent964decad361766e85d928a56f0ab80af0e75c172 (diff)
parentfc56124ac4eda6b3f0349c8a16fa750f27b4c7d6 (diff)
downloadtranslated-content-2bc5610921312613f8623f7ed347aa576689b2b6.tar.gz
translated-content-2bc5610921312613f8623f7ed347aa576689b2b6.tar.bz2
translated-content-2bc5610921312613f8623f7ed347aa576689b2b6.zip
Merge pull request #32 from fiji-flo/unslugging-zh-cn
Unslugging zh cn
Diffstat (limited to 'files/zh-cn/conflicting/web/api/node/index.html')
-rw-r--r--files/zh-cn/conflicting/web/api/node/index.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/files/zh-cn/conflicting/web/api/node/index.html b/files/zh-cn/conflicting/web/api/node/index.html
new file mode 100644
index 0000000000..08e2664f32
--- /dev/null
+++ b/files/zh-cn/conflicting/web/api/node/index.html
@@ -0,0 +1,20 @@
+---
+title: Node.baseURIObject
+slug: conflicting/Web/API/Node
+translation_of: Web/API/Node
+translation_of_original: Web/API/Node/baseURIObject
+original_slug: Web/API/Node/baseURIObject
+---
+<div>
+ {{ApiRef}} {{Fx_minversion_header("3")}} {{Non-standard_header}}</div>
+<h2 id="Summary" name="Summary">概述</h2>
+<p><code>baseURIObject</code>属性返回一个代表当前节点(通常是文档节点或元素节点)的基URL的{{Interface("nsIURI")}}对象.该属性类似与{{domxref("Node.baseURI")}},只是它返回的是一个包含更多信息的nsIURI对象,而不只是一个URL字符串.</p>
+<p>该属性在所有类型的节点上都可用(HTML,XUL,SVG,MathML等),但脚本本身必须要有 UniversalXPConnect权限(XUL默认有这个权限,HTML没有).</p>
+<p>查看{{domxref("Node.baseURI")}}了解基URL(base URL)是什么.</p>
+<h2 id="Syntax" name="Syntax">语法</h2>
+<pre class="syntaxbox"><var>uriObj</var> = <em>node</em>.baseURIObject
+</pre>
+<h2 id="Notes" name="Notes">附注</h2>
+<p>该属性只读,尝试为它赋值会抛出异常. 此外,这个属性只能从特权代码中访问.</p>
+<h2 id="Specification" name="Specification">规范</h2>
+<p>不属于任何规范,mozilla私有属性.</p>