diff options
author | Florian Dieminger <me@fiji-flo.de> | 2021-02-25 14:37:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-25 14:37:47 +0100 |
commit | 8879aacd682787fc20ffe2661733f9cd267c81ce (patch) | |
tree | 11bf4a1114c543989c24c7a801ba379b2c20a30c /files/zh-cn/web/api/document | |
parent | d1794f6b276285489b417053507f432a14be31df (diff) | |
parent | 97065b2e68dd8768dc1ea092c893c57ebe205026 (diff) | |
download | translated-content-8879aacd682787fc20ffe2661733f9cd267c81ce.tar.gz translated-content-8879aacd682787fc20ffe2661733f9cd267c81ce.tar.bz2 translated-content-8879aacd682787fc20ffe2661733f9cd267c81ce.zip |
Merge pull request #70 from peterbe/use-classhidden-not-styledisplaynone
use class="hidden" not style="display:none"
Diffstat (limited to 'files/zh-cn/web/api/document')
-rw-r--r-- | files/zh-cn/web/api/document/adoptnode/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/files/zh-cn/web/api/document/adoptnode/index.html b/files/zh-cn/web/api/document/adoptnode/index.html index 1f502e20a6..74d824966f 100644 --- a/files/zh-cn/web/api/document/adoptnode/index.html +++ b/files/zh-cn/web/api/document/adoptnode/index.html @@ -17,8 +17,8 @@ translation_of: Web/API/Document/adoptNode </pre> <dl> - <dt><code><span style="display: none;"> </span><span style="display: none;"> </span><span style="display: none;"> </span>node</code></dt> - <dd>导入当前文档的新节点. 新节点的 <code><a href="https://developer.mozilla.org/zh-cn/DOM/Node.parentNode" title="zh-cn/DOM/Node.parentNode">parentNode</a></code> 是 <code>null</code>, 因为它还没有插入当前文档的文档树中,属于游离状态.<span style="display: none;"> </span><span style="display: none;"> </span></dd> + <dt><code><span class="hidden"> </span><span class="hidden"> </span><span class="hidden"> </span>node</code></dt> + <dd>导入当前文档的新节点. 新节点的 <code><a href="https://developer.mozilla.org/zh-cn/DOM/Node.parentNode" title="zh-cn/DOM/Node.parentNode">parentNode</a></code> 是 <code>null</code>, 因为它还没有插入当前文档的文档树中,属于游离状态.<span class="hidden"> </span><span class="hidden"> </span></dd> <dt><code>externalNode</code></dt> <dd>将要从外部文档导入的节点。</dd> </dl> |