From d4b97cd8ba7c9b71d5e3ccb119103047da3b44a8 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Mon, 2 Aug 2021 10:31:29 -0400 Subject: remove link 'title' attributes that's just the 'href' (zh-cn, part 6) --- files/zh-cn/web/api/document/clear/index.html | 2 +- files/zh-cn/web/api/document/createtreewalker/index.html | 2 +- files/zh-cn/web/api/document/defaultview/index.html | 4 ++-- files/zh-cn/web/api/document/fullscreenelement/index.html | 2 +- files/zh-cn/web/api/document/getelementsbytagname/index.html | 2 +- files/zh-cn/web/api/document/getelementsbytagnamens/index.html | 2 +- files/zh-cn/web/api/document/head/index.html | 2 +- files/zh-cn/web/api/document/onafterscriptexecute/index.html | 2 +- files/zh-cn/web/api/document/onbeforescriptexecute/index.html | 2 +- files/zh-cn/web/api/document/stylesheetsets/index.html | 2 +- files/zh-cn/web/api/document/title/index.html | 2 +- 11 files changed, 12 insertions(+), 12 deletions(-) (limited to 'files/zh-cn/web/api/document') diff --git a/files/zh-cn/web/api/document/clear/index.html b/files/zh-cn/web/api/document/clear/index.html index f4a8008ff6..cec476ce40 100644 --- a/files/zh-cn/web/api/document/clear/index.html +++ b/files/zh-cn/web/api/document/clear/index.html @@ -17,5 +17,5 @@ translation_of: Web/API/Document/clear

规范

diff --git a/files/zh-cn/web/api/document/createtreewalker/index.html b/files/zh-cn/web/api/document/createtreewalker/index.html index 5f39fe11ed..5548d3fdb4 100644 --- a/files/zh-cn/web/api/document/createtreewalker/index.html +++ b/files/zh-cn/web/api/document/createtreewalker/index.html @@ -23,7 +23,7 @@ translation_of: Web/API/Document/createTreeWalker
root
是遍历这个 {{domxref("TreeWalker")}} 的根节点(root {{domxref("Node")}})。通常这是文档的一个元素。
whatToShow {{optional_inline}}
-
一个无符号长整型,表示一个整合自 NodeFilter 常量属性的位掩码。这是筛选特定类型节点的便捷方式。默认为 0xFFFFFFFF,表示 SHOW_ALL 常量。 +
一个无符号长整型,表示一个整合自 NodeFilter 常量属性的位掩码。这是筛选特定类型节点的便捷方式。默认为 0xFFFFFFFF,表示 SHOW_ALL 常量。 diff --git a/files/zh-cn/web/api/document/defaultview/index.html b/files/zh-cn/web/api/document/defaultview/index.html index a54db93990..58f35be700 100644 --- a/files/zh-cn/web/api/document/defaultview/index.html +++ b/files/zh-cn/web/api/document/defaultview/index.html @@ -20,14 +20,14 @@ translation_of: Web/API/Document/defaultView

备注

-

根据 quirksmode,IE 9 以下版本不支持 defaultView

+

根据 quirksmode,IE 9 以下版本不支持 defaultView

规范

{{ languages( {"pl": "pl/DOM/document.defaultView","en": "en/DOM/document.defaultView" } ) }}

diff --git a/files/zh-cn/web/api/document/fullscreenelement/index.html b/files/zh-cn/web/api/document/fullscreenelement/index.html index e4ebc89c0c..8e84782789 100644 --- a/files/zh-cn/web/api/document/fullscreenelement/index.html +++ b/files/zh-cn/web/api/document/fullscreenelement/index.html @@ -65,7 +65,7 @@ original_slug: Web/API/DocumentOrShadowRoot/fullscreenElement

规范

-

该方法提案已经进入相关规范草案 http://dvcs.w3.org/hg/fullscrezh-CN/raw-file/tip/Overview.html#dom-document-fullscreenelement

+

该方法提案已经进入相关规范草案 http://dvcs.w3.org/hg/fullscrezh-CN/raw-file/tip/Overview.html#dom-document-fullscreenelement

相关链接

-
注意: 最新的 W3C 规范 说明这些元素是 HTMLCollection(HTML集合); 然而, 这个方法在WebKit内核的浏览器中返回一个 {{domxref("NodeList")}} 。 更多详情请查看 {{bug(14869)}} 。
+
注意: 最新的 W3C 规范 说明这些元素是 HTMLCollection(HTML集合); 然而, 这个方法在WebKit内核的浏览器中返回一个 {{domxref("NodeList")}} 。 更多详情请查看 {{bug(14869)}} 。

例子

diff --git a/files/zh-cn/web/api/document/getelementsbytagnamens/index.html b/files/zh-cn/web/api/document/getelementsbytagnamens/index.html index 6c6e7cce87..f01e670a7b 100644 --- a/files/zh-cn/web/api/document/getelementsbytagnamens/index.html +++ b/files/zh-cn/web/api/document/getelementsbytagnamens/index.html @@ -24,7 +24,7 @@ translation_of: Web/API/Document/getElementsByTagNameNS
  • name 是所要查询的元素的名称。其中特殊字符 "*" 代表所有元素 (参考 element.localName)。
  • -
    注意:在W3C文档中,elements是一个 NodeList,而该方法在Gecko内核的浏览器和IE中返回的是HTML集合HTMLCollection. Opera返回的也是一个 NodeList,但通过 namedItem方法 , 使得它类似于一个HTMLCollection . 截止2012年1月,只有WebKit内核的浏览器返回的值是一个纯 NodeList. 详情请参考 bug 14869 .
    +
    注意:在W3C文档中,elements是一个 NodeList,而该方法在Gecko内核的浏览器和IE中返回的是HTML集合HTMLCollection. Opera返回的也是一个 NodeList,但通过 namedItem方法 , 使得它类似于一个HTMLCollection . 截止2012年1月,只有WebKit内核的浏览器返回的值是一个纯 NodeList. 详情请参考 bug 14869 .

    示例

    diff --git a/files/zh-cn/web/api/document/head/index.html b/files/zh-cn/web/api/document/head/index.html index a356a8273b..30eac3f791 100644 --- a/files/zh-cn/web/api/document/head/index.html +++ b/files/zh-cn/web/api/document/head/index.html @@ -68,5 +68,5 @@ alert( document.head === document.querySelector("head") ); // true

    规范

    diff --git a/files/zh-cn/web/api/document/onafterscriptexecute/index.html b/files/zh-cn/web/api/document/onafterscriptexecute/index.html index 74bd826004..5e4454cc86 100644 --- a/files/zh-cn/web/api/document/onafterscriptexecute/index.html +++ b/files/zh-cn/web/api/document/onafterscriptexecute/index.html @@ -34,7 +34,7 @@ document.addEventListener("afterscriptexecute", finished, true);

    规范

    相关链接

    diff --git a/files/zh-cn/web/api/document/onbeforescriptexecute/index.html b/files/zh-cn/web/api/document/onbeforescriptexecute/index.html index 966e866969..3025444d28 100644 --- a/files/zh-cn/web/api/document/onbeforescriptexecute/index.html +++ b/files/zh-cn/web/api/document/onbeforescriptexecute/index.html @@ -33,7 +33,7 @@ document.addEventListener("beforescriptexecute", starting, true);

    规范

    相关链接

    diff --git a/files/zh-cn/web/api/document/stylesheetsets/index.html b/files/zh-cn/web/api/document/stylesheetsets/index.html index 329884f55c..a89b509c31 100644 --- a/files/zh-cn/web/api/document/stylesheetsets/index.html +++ b/files/zh-cn/web/api/document/stylesheetsets/index.html @@ -39,7 +39,7 @@ for (var i = 0; i < sheets.length; i++) {

    Specifications

    See also

    diff --git a/files/zh-cn/web/api/document/title/index.html b/files/zh-cn/web/api/document/title/index.html index 3f8c887b65..40056fafe2 100644 --- a/files/zh-cn/web/api/document/title/index.html +++ b/files/zh-cn/web/api/document/title/index.html @@ -38,5 +38,5 @@ alert(document.title); // 显示 "Goodbye World!"

    规范

    -- cgit v1.2.3-54-g00ecf