From c8a90c7efb53bdf1f1b019a071d9b80e3efb823e Mon Sep 17 00:00:00 2001 From: MDN Date: Tue, 6 Jul 2021 00:36:59 +0000 Subject: [CRON] sync translated content --- files/zh-cn/_redirects.txt | 8 ++- files/zh-cn/_wikihistory.json | 30 ++++----- .../api/htmlorforeignelement/tabindex/index.html | 50 +++++++++++++++ files/zh-cn/orphaned/web/api/typeinfo/index.html | 71 ++++++++++++++++++++++ .../api/htmlorforeignelement/tabindex/index.html | 50 --------------- files/zh-cn/web/api/typeinfo/index.html | 70 --------------------- 6 files changed, 141 insertions(+), 138 deletions(-) create mode 100644 files/zh-cn/orphaned/web/api/htmlorforeignelement/tabindex/index.html create mode 100644 files/zh-cn/orphaned/web/api/typeinfo/index.html delete mode 100644 files/zh-cn/web/api/htmlorforeignelement/tabindex/index.html delete mode 100644 files/zh-cn/web/api/typeinfo/index.html (limited to 'files/zh-cn') diff --git a/files/zh-cn/_redirects.txt b/files/zh-cn/_redirects.txt index 8917908d39..4885ad6922 100644 --- a/files/zh-cn/_redirects.txt +++ b/files/zh-cn/_redirects.txt @@ -466,7 +466,7 @@ /zh-CN/docs/DOM/element.previousElementSibling /zh-CN/docs/Web/API/Element/previousElementSibling /zh-CN/docs/DOM/element.removeAttribute /zh-CN/docs/Web/API/Element/removeAttribute /zh-CN/docs/DOM/element.setCapture /zh-CN/docs/Web/API/Element/setCapture -/zh-CN/docs/DOM/element.tabIndex /zh-CN/docs/Web/API/HTMLOrForeignElement/tabIndex +/zh-CN/docs/DOM/element.tabIndex /zh-CN/docs/orphaned/Web/API/HTMLOrForeignElement/tabIndex /zh-CN/docs/DOM/element.tagName /zh-CN/docs/Web/API/Element/tagName /zh-CN/docs/DOM/event /zh-CN/docs/Web/API/Event /zh-CN/docs/DOM/event.altKey /zh-CN/docs/conflicting/Web/API/MouseEvent/altKey @@ -1632,7 +1632,7 @@ /zh-CN/docs/Web/API/HTMLElement.offsetTop /zh-CN/docs/Web/API/HTMLElement/offsetTop /zh-CN/docs/Web/API/HTMLElement.offsetWidth /zh-CN/docs/Web/API/HTMLElement/offsetWidth /zh-CN/docs/Web/API/HTMLElement.style /zh-CN/docs/orphaned/Web/API/ElementCSSInlineStyle/style -/zh-CN/docs/Web/API/HTMLElement.tabIndex /zh-CN/docs/Web/API/HTMLOrForeignElement/tabIndex +/zh-CN/docs/Web/API/HTMLElement.tabIndex /zh-CN/docs/orphaned/Web/API/HTMLOrForeignElement/tabIndex /zh-CN/docs/Web/API/HTMLElement.title /zh-CN/docs/Web/API/HTMLElement/title /zh-CN/docs/Web/API/HTMLElement/blur /zh-CN/docs/Web/API/HTMLOrForeignElement/blur /zh-CN/docs/Web/API/HTMLElement/dataset /zh-CN/docs/orphaned/Web/API/HTMLOrForeignElement/dataset @@ -1640,7 +1640,7 @@ /zh-CN/docs/Web/API/HTMLElement/forceSpellCheck /zh-CN/docs/orphaned/Web/API/HTMLElement/forceSpellCheck /zh-CN/docs/Web/API/HTMLElement/nonce /zh-CN/docs/Web/API/HTMLOrForeignElement/nonce /zh-CN/docs/Web/API/HTMLElement/style /zh-CN/docs/orphaned/Web/API/ElementCSSInlineStyle/style -/zh-CN/docs/Web/API/HTMLElement/tabIndex /zh-CN/docs/Web/API/HTMLOrForeignElement/tabIndex +/zh-CN/docs/Web/API/HTMLElement/tabIndex /zh-CN/docs/orphaned/Web/API/HTMLOrForeignElement/tabIndex /zh-CN/docs/Web/API/HTMLFormElement.elements /zh-CN/docs/Web/API/HTMLFormElement/elements /zh-CN/docs/Web/API/HTMLFormElement.reset /zh-CN/docs/Web/API/HTMLFormElement/reset /zh-CN/docs/Web/API/HTMLFormElement.submit /zh-CN/docs/Web/API/HTMLFormElement/submit @@ -1656,6 +1656,7 @@ /zh-CN/docs/Web/API/HTMLInputElement.mozSetFileNameArray /zh-CN/docs/conflicting/Web/API/HTMLInputElement /zh-CN/docs/Web/API/HTMLInputElement/mozSetFileNameArray /zh-CN/docs/conflicting/Web/API/HTMLInputElement /zh-CN/docs/Web/API/HTMLOrForeignElement/dataset /zh-CN/docs/orphaned/Web/API/HTMLOrForeignElement/dataset +/zh-CN/docs/Web/API/HTMLOrForeignElement/tabIndex /zh-CN/docs/orphaned/Web/API/HTMLOrForeignElement/tabIndex /zh-CN/docs/Web/API/HTMLTableElement.deleteTHead /zh-CN/docs/Web/API/HTMLTableElement/deleteTHead /zh-CN/docs/Web/API/IDBCursor.direction /zh-CN/docs/Web/API/IDBCursor/direction /zh-CN/docs/Web/API/IDBFactory.open /zh-CN/docs/Web/API/IDBFactory/open @@ -1813,6 +1814,7 @@ /zh-CN/docs/Web/API/Touch.screenX /zh-CN/docs/Web/API/Touch/screenX /zh-CN/docs/Web/API/Touch.screenY /zh-CN/docs/Web/API/Touch/screenY /zh-CN/docs/Web/API/TouchEvent.changedTouches /zh-CN/docs/Web/API/TouchEvent/changedTouches +/zh-CN/docs/Web/API/TypeInfo /zh-CN/docs/orphaned/Web/API/TypeInfo /zh-CN/docs/Web/API/UIEvent/cancelBubble /zh-CN/docs/orphaned/Web/API/UIEvent/cancelBubble /zh-CN/docs/Web/API/UIEvent/视图 /zh-CN/docs/Web/API/UIEvent/view /zh-CN/docs/Web/API/URL.URL /zh-CN/docs/Web/API/URL/URL diff --git a/files/zh-cn/_wikihistory.json b/files/zh-cn/_wikihistory.json index c45954d8fe..1dc9b64d00 100644 --- a/files/zh-cn/_wikihistory.json +++ b/files/zh-cn/_wikihistory.json @@ -15707,15 +15707,6 @@ "chenqingyue" ] }, - "Web/API/HTMLOrForeignElement/tabIndex": { - "modified": "2019-03-24T00:16:26.046Z", - "contributors": [ - "teoli", - "Hasilt", - "sleepholic", - "ziyunfei" - ] - }, "Web/API/HTMLParagraphElement": { "modified": "2020-11-03T10:28:13.003Z", "contributors": [ @@ -21104,12 +21095,6 @@ "Carllllo" ] }, - "Web/API/TypeInfo": { - "modified": "2019-03-23T22:15:17.331Z", - "contributors": [ - "xgqfrms-GitHub" - ] - }, "Web/API/UIEvent": { "modified": "2019-03-24T00:15:37.036Z", "contributors": [ @@ -49926,6 +49911,15 @@ "ReyCG" ] }, + "orphaned/Web/API/HTMLOrForeignElement/tabIndex": { + "modified": "2019-03-24T00:16:26.046Z", + "contributors": [ + "teoli", + "Hasilt", + "sleepholic", + "ziyunfei" + ] + }, "orphaned/Web/API/IndexedDB_API/Basic_Concepts_Behind_IndexedDB": { "modified": "2019-09-29T21:07:32.199Z", "contributors": [ @@ -50104,6 +50098,12 @@ "MCCF" ] }, + "orphaned/Web/API/TypeInfo": { + "modified": "2019-03-23T22:15:17.331Z", + "contributors": [ + "xgqfrms-GitHub" + ] + }, "orphaned/Web/API/UIEvent/cancelBubble": { "modified": "2019-03-24T00:17:23.644Z", "contributors": [ diff --git a/files/zh-cn/orphaned/web/api/htmlorforeignelement/tabindex/index.html b/files/zh-cn/orphaned/web/api/htmlorforeignelement/tabindex/index.html new file mode 100644 index 0000000000..576b630344 --- /dev/null +++ b/files/zh-cn/orphaned/web/api/htmlorforeignelement/tabindex/index.html @@ -0,0 +1,50 @@ +--- +title: HTMLElement.tabIndex +slug: orphaned/Web/API/HTMLOrForeignElement/tabIndex +translation_of: Web/API/HTMLOrForeignElement/tabIndex +original_slug: Web/API/HTMLOrForeignElement/tabIndex +--- +
+
{{ APIRef("HTML DOM") }}
+
+ +

概述

+ +

获取或设置当前元素的tab键激活顺序.

+ +

语法

+ +
element.tabIndex = index index = element.tabIndex
+
+ +

参数

+ + + +

Tab键的遍历顺序是这样的:

+ +
    +
  1. 对于tabIndex值为正数的元素,如果多个元素的tabIndex值相同,则以他们出现在字符流中的次序来遍历;否则按tabIndex值由小到大的顺序来遍历。
  2. +
  3. 对于不支持tabIndex属性或支持tabIndex属性并将其赋值为0的元素,按照他们出现在字符流中的次序来遍历。
  4. +
  5. 处于不可用状态的元素不会被遍历到。
  6. +
+ +

支持tabIndex属性的元素有:a,area,button,input,object,select和textarea

+ +

tabIndex的值不需要是连续的,也不需要以某个特定值开始。

+ +

例子

+ +
var b1 = document.getElementById("button1");
+b1.tabIndex = 1;
+
+ +

规范

+ +

W3C DOM Level 2 HTML tabIndex

+ +

了解更多,请查看: The solution: changes to standard behavior of tabindex

+ +

{{ languages( { "ja": "ja/DOM/element.tabIndex", "fr": "fr/DOM/element.tabIndex", "pl": "pl/DOM/element.tabIndex" , "en": "en/DOM/element.tabIndex" } ) }}

diff --git a/files/zh-cn/orphaned/web/api/typeinfo/index.html b/files/zh-cn/orphaned/web/api/typeinfo/index.html new file mode 100644 index 0000000000..cb47bcd1b7 --- /dev/null +++ b/files/zh-cn/orphaned/web/api/typeinfo/index.html @@ -0,0 +1,71 @@ +--- +title: TypeInfo +slug: orphaned/Web/API/TypeInfo +tags: + - TypeInfo +translation_of: Web/API/TypeInfo +original_slug: Web/API/TypeInfo +--- +

{{APIRef("DOM")}} {{obsolete_header}}

+ +

属性

+ +
+
{{domxref("TypeInfo.typeName")}} {{Readonlyinline}}
+
Returns a {{domxref("DOMString")}}.
+
{{domxref("TypeInfo.typeNamespace")}} {{Readonlyinline}}
+
Returns a {{domxref("DOMString")}}.
+
+ +

方法

+ +
+
{{domxref("TypeInfo.isDerivedFrom()")}}
+
Returns a {{jsxref("Boolean")}}
+
+ +

常量

+ + + + + + + + + + + + + + + + + + + + + + + + +
ConstantValue
DERIVATION_RESTRICTION1
DERIVATION_EXTENSION2
DERIVATION_UNION4
DERIVATION_LIST8
+ +

规范

+ + + + + + + + + + + + + + + + +
SpecificationStatusComment
{{SpecName("DOM3 Core", "core.html#TypeInfo", "TypeInfo")}}{{Spec2("DOM3 Core")}}Initial definition
diff --git a/files/zh-cn/web/api/htmlorforeignelement/tabindex/index.html b/files/zh-cn/web/api/htmlorforeignelement/tabindex/index.html deleted file mode 100644 index 1e842c0ff4..0000000000 --- a/files/zh-cn/web/api/htmlorforeignelement/tabindex/index.html +++ /dev/null @@ -1,50 +0,0 @@ ---- -title: HTMLElement.tabIndex -slug: Web/API/HTMLOrForeignElement/tabIndex -translation_of: Web/API/HTMLOrForeignElement/tabIndex -original_slug: Web/API/HTMLElement/tabIndex ---- -
-
{{ APIRef("HTML DOM") }}
-
- -

概述

- -

获取或设置当前元素的tab键激活顺序.

- -

语法

- -
element.tabIndex = index index = element.tabIndex
-
- -

参数

- - - -

Tab键的遍历顺序是这样的:

- -
    -
  1. 对于tabIndex值为正数的元素,如果多个元素的tabIndex值相同,则以他们出现在字符流中的次序来遍历;否则按tabIndex值由小到大的顺序来遍历。
  2. -
  3. 对于不支持tabIndex属性或支持tabIndex属性并将其赋值为0的元素,按照他们出现在字符流中的次序来遍历。
  4. -
  5. 处于不可用状态的元素不会被遍历到。
  6. -
- -

支持tabIndex属性的元素有:a,area,button,input,object,select和textarea

- -

tabIndex的值不需要是连续的,也不需要以某个特定值开始。

- -

例子

- -
var b1 = document.getElementById("button1");
-b1.tabIndex = 1;
-
- -

规范

- -

W3C DOM Level 2 HTML tabIndex

- -

了解更多,请查看: The solution: changes to standard behavior of tabindex

- -

{{ languages( { "ja": "ja/DOM/element.tabIndex", "fr": "fr/DOM/element.tabIndex", "pl": "pl/DOM/element.tabIndex" , "en": "en/DOM/element.tabIndex" } ) }}

diff --git a/files/zh-cn/web/api/typeinfo/index.html b/files/zh-cn/web/api/typeinfo/index.html deleted file mode 100644 index 5253369c82..0000000000 --- a/files/zh-cn/web/api/typeinfo/index.html +++ /dev/null @@ -1,70 +0,0 @@ ---- -title: TypeInfo -slug: Web/API/TypeInfo -tags: - - TypeInfo -translation_of: Web/API/TypeInfo ---- -

{{APIRef("DOM")}} {{obsolete_header}}

- -

属性

- -
-
{{domxref("TypeInfo.typeName")}} {{Readonlyinline}}
-
Returns a {{domxref("DOMString")}}.
-
{{domxref("TypeInfo.typeNamespace")}} {{Readonlyinline}}
-
Returns a {{domxref("DOMString")}}.
-
- -

方法

- -
-
{{domxref("TypeInfo.isDerivedFrom()")}}
-
Returns a {{jsxref("Boolean")}}
-
- -

常量

- - - - - - - - - - - - - - - - - - - - - - - - -
ConstantValue
DERIVATION_RESTRICTION1
DERIVATION_EXTENSION2
DERIVATION_UNION4
DERIVATION_LIST8
- -

规范

- - - - - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName("DOM3 Core", "core.html#TypeInfo", "TypeInfo")}}{{Spec2("DOM3 Core")}}Initial definition
-- cgit v1.2.3-54-g00ecf