diff options
author | Florian Merz <me@fiji-flo.de> | 2021-02-23 15:56:25 +0100 |
---|---|---|
committer | Florian Merz <me@fiji-flo.de> | 2021-02-23 15:56:25 +0100 |
commit | 05b2650717b84d199f6ebd5df8a8f9d1e3b23f3f (patch) | |
tree | 3a996b21e1eb1ed852ab792b9752648783a87a75 /files/zh-cn/web | |
parent | 10701ffef1cb57f06970990b9b7086ea7f24a019 (diff) | |
download | translated-content-05b2650717b84d199f6ebd5df8a8f9d1e3b23f3f.tar.gz translated-content-05b2650717b84d199f6ebd5df8a8f9d1e3b23f3f.tar.bz2 translated-content-05b2650717b84d199f6ebd5df8a8f9d1e3b23f3f.zip |
sync: move
Diffstat (limited to 'files/zh-cn/web')
-rw-r--r-- | files/zh-cn/web/api/document/activeelement/index.html (renamed from files/zh-cn/web/api/documentorshadowroot/activeelement/index.html) | 0 | ||||
-rw-r--r-- | files/zh-cn/web/api/element/nextelementsibling/index.html (renamed from files/zh-cn/web/api/nondocumenttypechildnode/nextelementsibling/index.html) | 0 | ||||
-rw-r--r-- | files/zh-cn/web/api/element/previouselementsibling/index.html (renamed from files/zh-cn/web/api/nondocumenttypechildnode/previouselementsibling/index.html) | 0 | ||||
-rw-r--r-- | files/zh-cn/web/api/htmlanchorelement/hash/index.html (renamed from files/zh-cn/web/api/htmlhyperlinkelementutils/hash/index.html) | 0 | ||||
-rw-r--r-- | files/zh-cn/web/api/htmlanchorelement/href/index.html (renamed from files/zh-cn/web/api/htmlhyperlinkelementutils/href/index.html) | 0 | ||||
-rw-r--r-- | files/zh-cn/web/api/htmlanchorelement/origin/index.html (renamed from files/zh-cn/web/api/htmlhyperlinkelementutils/origin/index.html) | 0 | ||||
-rw-r--r-- | files/zh-cn/web/api/htmlanchorelement/password/index.html (renamed from files/zh-cn/web/api/htmlhyperlinkelementutils/password/index.html) | 0 | ||||
-rw-r--r-- | files/zh-cn/web/api/htmlanchorelement/pathname/index.html (renamed from files/zh-cn/web/api/htmlhyperlinkelementutils/pathname/index.html) | 0 | ||||
-rw-r--r-- | files/zh-cn/web/api/htmlanchorelement/search/index.html (renamed from files/zh-cn/web/api/htmlhyperlinkelementutils/search/index.html) | 0 | ||||
-rw-r--r-- | files/zh-cn/web/api/htmlanchorelement/tostring/index.html (renamed from files/zh-cn/web/api/htmlhyperlinkelementutils/tostring/index.html) | 0 | ||||
-rw-r--r-- | files/zh-cn/web/api/htmlanchorelement/username/index.html (renamed from files/zh-cn/web/api/htmlhyperlinkelementutils/username/index.html) | 0 | ||||
-rw-r--r-- | files/zh-cn/web/api/htmlhyperlinkelementutils/index.html | 84 | ||||
-rw-r--r-- | files/zh-cn/web/api/nondocumenttypechildnode/index.html | 69 |
13 files changed, 0 insertions, 153 deletions
diff --git a/files/zh-cn/web/api/documentorshadowroot/activeelement/index.html b/files/zh-cn/web/api/document/activeelement/index.html index 90b67fbf5c..90b67fbf5c 100644 --- a/files/zh-cn/web/api/documentorshadowroot/activeelement/index.html +++ b/files/zh-cn/web/api/document/activeelement/index.html diff --git a/files/zh-cn/web/api/nondocumenttypechildnode/nextelementsibling/index.html b/files/zh-cn/web/api/element/nextelementsibling/index.html index a39fd29558..a39fd29558 100644 --- a/files/zh-cn/web/api/nondocumenttypechildnode/nextelementsibling/index.html +++ b/files/zh-cn/web/api/element/nextelementsibling/index.html diff --git a/files/zh-cn/web/api/nondocumenttypechildnode/previouselementsibling/index.html b/files/zh-cn/web/api/element/previouselementsibling/index.html index 8c78a68adf..8c78a68adf 100644 --- a/files/zh-cn/web/api/nondocumenttypechildnode/previouselementsibling/index.html +++ b/files/zh-cn/web/api/element/previouselementsibling/index.html diff --git a/files/zh-cn/web/api/htmlhyperlinkelementutils/hash/index.html b/files/zh-cn/web/api/htmlanchorelement/hash/index.html index afb17d505e..afb17d505e 100644 --- a/files/zh-cn/web/api/htmlhyperlinkelementutils/hash/index.html +++ b/files/zh-cn/web/api/htmlanchorelement/hash/index.html diff --git a/files/zh-cn/web/api/htmlhyperlinkelementutils/href/index.html b/files/zh-cn/web/api/htmlanchorelement/href/index.html index dd9cbd64f3..dd9cbd64f3 100644 --- a/files/zh-cn/web/api/htmlhyperlinkelementutils/href/index.html +++ b/files/zh-cn/web/api/htmlanchorelement/href/index.html diff --git a/files/zh-cn/web/api/htmlhyperlinkelementutils/origin/index.html b/files/zh-cn/web/api/htmlanchorelement/origin/index.html index 6b1eb90cda..6b1eb90cda 100644 --- a/files/zh-cn/web/api/htmlhyperlinkelementutils/origin/index.html +++ b/files/zh-cn/web/api/htmlanchorelement/origin/index.html diff --git a/files/zh-cn/web/api/htmlhyperlinkelementutils/password/index.html b/files/zh-cn/web/api/htmlanchorelement/password/index.html index 0358323ce9..0358323ce9 100644 --- a/files/zh-cn/web/api/htmlhyperlinkelementutils/password/index.html +++ b/files/zh-cn/web/api/htmlanchorelement/password/index.html diff --git a/files/zh-cn/web/api/htmlhyperlinkelementutils/pathname/index.html b/files/zh-cn/web/api/htmlanchorelement/pathname/index.html index 95ceda3636..95ceda3636 100644 --- a/files/zh-cn/web/api/htmlhyperlinkelementutils/pathname/index.html +++ b/files/zh-cn/web/api/htmlanchorelement/pathname/index.html diff --git a/files/zh-cn/web/api/htmlhyperlinkelementutils/search/index.html b/files/zh-cn/web/api/htmlanchorelement/search/index.html index 1fc142cc1f..1fc142cc1f 100644 --- a/files/zh-cn/web/api/htmlhyperlinkelementutils/search/index.html +++ b/files/zh-cn/web/api/htmlanchorelement/search/index.html diff --git a/files/zh-cn/web/api/htmlhyperlinkelementutils/tostring/index.html b/files/zh-cn/web/api/htmlanchorelement/tostring/index.html index 1bffe5100b..1bffe5100b 100644 --- a/files/zh-cn/web/api/htmlhyperlinkelementutils/tostring/index.html +++ b/files/zh-cn/web/api/htmlanchorelement/tostring/index.html diff --git a/files/zh-cn/web/api/htmlhyperlinkelementutils/username/index.html b/files/zh-cn/web/api/htmlanchorelement/username/index.html index f7a9df9f66..f7a9df9f66 100644 --- a/files/zh-cn/web/api/htmlhyperlinkelementutils/username/index.html +++ b/files/zh-cn/web/api/htmlanchorelement/username/index.html diff --git a/files/zh-cn/web/api/htmlhyperlinkelementutils/index.html b/files/zh-cn/web/api/htmlhyperlinkelementutils/index.html deleted file mode 100644 index d6d93674e3..0000000000 --- a/files/zh-cn/web/api/htmlhyperlinkelementutils/index.html +++ /dev/null @@ -1,84 +0,0 @@ ---- -title: URLUtils -slug: Web/API/HTMLHyperlinkElementUtils -translation_of: Web/API/HTMLHyperlinkElementUtils -original_slug: Web/API/URLUtils ---- -<p>{{ApiRef("URL API")}}{{SeeCompatTable}}</p> - -<p>The <strong><code>HTMLHyperlinkElementUtils</code></strong> mixin defines utility methods and properties to work with {{domxref("HTMLAnchorElement")}} and {{domxref("HTMLAreaElement")}}. These utilities allow to deal with common features like URLs.</p> - -<p>There are no objects of this type, but several objects {{domxref("HTMLAnchorElement")}} and {{domxref("HTMLAreaElement")}} implement it.</p> - -<h2 id="属性">属性</h2> - -<div class="note"> -<p><strong>注意:</strong>This interface doesn't inherit any property.</p> -</div> - -<dl> - <dt>{{domxref("HTMLHyperlinkElementUtils.href")}}</dt> - <dd>This is a {{domxref("USVString")}} containing the whole URL.</dd> - <dt>{{domxref("HTMLHyperlinkElementUtils.protocol")}}</dt> - <dd>This is a {{domxref("USVString")}} containing the protocol scheme of the URL, including the final <code>':'</code>.</dd> - <dt>{{domxref("HTMLHyperlinkElementUtils.host")}}</dt> - <dd>This is a {{domxref("USVString")}} containing the host, that is the <em>hostname</em>, and then, if the <em>port</em> of the URL is not empty (which can happen because it was not specified or because it was specified to be the default port of the URL's scheme), a <code>':'</code>, and the <em>port</em> of the URL.</dd> - <dt>{{domxref("HTMLHyperlinkElementUtils.hostname")}}</dt> - <dd>This is a {{domxref("USVString")}} containing the domain of the URL.</dd> - <dt>{{domxref("HTMLHyperlinkElementUtils.port")}}</dt> - <dd>This is a {{domxref("USVString")}} containing the port number of the URL.</dd> - <dt>{{domxref("HTMLHyperlinkElementUtils.pathname")}}</dt> - <dd>This is a {{domxref("USVString")}} containing an initial <code>'/'</code> followed by the path of the URL.</dd> - <dt>{{domxref("HTMLHyperlinkElementUtils.search")}}</dt> - <dd>This is a {{domxref("USVString")}} containing a <code>'?'</code> followed by the parameters of the URL.</dd> - <dt>{{domxref("HTMLHyperlinkElementUtils.hash")}}</dt> - <dd>This is a {{domxref("USVString")}} containing a <code>'#'</code> followed by the fragment identifier of the URL.</dd> - <dt>{{domxref("HTMLHyperlinkElementUtils.username")}}</dt> - <dd>This is a {{domxref("USVString")}} containing the username specified before the domain name.</dd> - <dt>{{domxref("HTMLHyperlinkElementUtils.password")}}</dt> - <dd>This is a {{domxref("USVString")}} containing the password specified before the domain name.</dd> - <dt>{{domxref("HTMLHyperlinkElementUtils.origin")}} {{readonlyInline}}</dt> - <dd>This returns a {{domxref("USVString")}} containing the origin of the URL (that is its scheme, its domain and its port).</dd> -</dl> - -<h2 id="方法">方法</h2> - -<div class="note"> -<p><strong>注意:</strong>This interface doesn't inherit any method.</p> -</div> - -<dl> - <dt>{{domxref("HTMLHyperlinkElementUtils.toString()")}}</dt> - <dd>This returns a {{domxref("USVString")}} containing the whole URL. It is a synonym for {{domxref("HTMLHyperlinkElementUtils.href")}}, though it can't be used to modify the value.</dd> -</dl> - -<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>{{SpecName('HTML WHATWG', '#htmlhyperlinkelementutils', 'HTMLHyperlinkElementUtils')}}</td> - <td>{{Spec2('HTML WHATWG')}}</td> - <td>Initial definition</td> - </tr> - </tbody> -</table> - -<h2 id="浏览器兼容性">浏览器兼容性</h2> - - - -<p>{{Compat("api.HTMLHyperlinkElementUtils")}}</p> - -<h2 id="参见">参见</h2> - -<ul> - <li>Interfaces implementing this one: {{domxref("HTMLAnchorElement")}}, {{domxref("HTMLAreaElement")}}</li> -</ul> diff --git a/files/zh-cn/web/api/nondocumenttypechildnode/index.html b/files/zh-cn/web/api/nondocumenttypechildnode/index.html deleted file mode 100644 index bdaccbe5fd..0000000000 --- a/files/zh-cn/web/api/nondocumenttypechildnode/index.html +++ /dev/null @@ -1,69 +0,0 @@ ---- -title: NonDocumentTypeChildNode -slug: Web/API/NonDocumentTypeChildNode -tags: - - API - - DOM - - NonDocumentTypeChildNode - - 参考 - - 接口 -translation_of: Web/API/NonDocumentTypeChildNode ---- -<div>{{APIRef("DOM")}}</div> - -<p><code><strong>NonDocumentTypeChildNode</strong></code> 接口包含专属于某些(特殊) {{domxref("Node")}} 对象的方法,这些对象可以拥有父对象,但不适用于 {{domxref("DocumentType")}} 接口。</p> - -<p><code>NonDocumentTypeChildNode</code> 是一个裸接口(raw interface),无法创建拥有此类型的对象;它是由 {{domxref("Element")}},和 {{domxref("CharacterData")}} 对象实现的。</p> - -<h2 id="属性">属性</h2> - -<p class="syntaxbox"><em>此接口没有继承属性。</em></p> - -<dl> - <dt>{{domxref("NonDocumentTypeChildNode.previousElementSibling")}} {{readonlyInline}}</dt> - <dd>Returns the {{domxref("Element")}} immediately prior to this node in its parent's children list, or <code>null</code> if there is no {{domxref("Element")}} in the list prior to this node.</dd> - <dt>{{domxref("NonDocumentTypeChildNode.nextElementSibling")}} {{readonlyInline}}</dt> - <dd>Returns the {{domxref("Element")}} immediately following this node in its parent's children list, or <code>null</code> if there is no {{domxref("Element")}} in the list following this node.</dd> -</dl> - -<h2 id="方法">方法</h2> - -<p class="syntaxbox"><em>此接口既没有继承方法,又没有专有方法。</em></p> - -<h2 id="规范">规范</h2> - -<table class="standard-table"> - <tbody> - <tr> - <th scope="col">规范</th> - <th scope="col">状态</th> - <th scope="col">备注</th> - </tr> - <tr> - <td>{{SpecName('DOM WHATWG', '#interface-childnode', 'NonDocumentTypeChildNode')}}</td> - <td>{{Spec2('DOM WHATWG')}}</td> - <td>Splitted the <code>ElementTraversal</code> interface in {{domxref("ParentNode")}}, {{domxref("ChildNode")}}, and <code>NonDocumentTypeChildNode</code>. The <code>previousElementSibling</code> and <code>nextElementSibling</code> are now defined on the latter.<br> - The {{domxref("CharacterData")}} and {{domxref("Element")}} implemented the new interfaces.</td> - </tr> - <tr> - <td>{{SpecName('Element Traversal', '#interface-elementTraversal', 'ElementTraversal')}}</td> - <td>{{Spec2('Element Traversal')}}</td> - <td>Added the initial definition of its properties to the <code>ElementTraversal</code> pure interface and use it on {{domxref("Element")}}.</td> - </tr> - </tbody> -</table> - -<h2 id="浏览器兼容性">浏览器兼容性</h2> - - - -<p>{{Compat("api.NonDocumentTypeChildNode")}}</p> - -<h2 id="参见">参见</h2> - -<ul> - <li>The {{domxref("ParentNode")}} and {{domxref("ChildNode")}} pure interface.</li> - <li> - <div class="syntaxbox">Object types implementing this pure interface: {{domxref("CharacterData")}}, and {{domxref("Element")}}.</div> - </li> -</ul> |