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/biquadfilternode/index.html | 4 ++-- files/zh-cn/web/api/cssgroupingrule/index.html | 2 +- .../api/devicemotionevent/devicemotionevent/index.html | 4 ++-- files/zh-cn/web/api/devicemotionevent/index.html | 4 ++-- 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 ++-- .../zh-cn/web/api/document/fullscreenelement/index.html | 2 +- .../web/api/document/getelementsbytagname/index.html | 2 +- .../web/api/document/getelementsbytagnamens/index.html | 2 +- files/zh-cn/web/api/document/head/index.html | 2 +- .../web/api/document/onafterscriptexecute/index.html | 2 +- .../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 +- .../locating_dom_elements_using_selectors/index.html | 2 +- files/zh-cn/web/api/element/childelementcount/index.html | 2 +- files/zh-cn/web/api/element/getattribute/index.html | 2 +- files/zh-cn/web/api/element/index.html | 2 +- files/zh-cn/web/api/element/mousewheel_event/index.html | 2 +- files/zh-cn/web/api/element/queryselectorall/index.html | 2 +- files/zh-cn/web/api/element/scrollwidth/index.html | 2 +- files/zh-cn/web/api/element/setattribute/index.html | 2 +- files/zh-cn/web/api/element/wheel_event/index.html | 2 +- files/zh-cn/web/api/file_handle_api/index.html | 2 +- files/zh-cn/web/api/htmlcollection/index.html | 4 ++-- files/zh-cn/web/api/htmlfieldsetelement/index.html | 2 +- .../web/api/indexeddb_api/using_indexeddb/index.html | 6 +++--- files/zh-cn/web/api/keyboardevent/keycode/index.html | 2 +- files/zh-cn/web/api/mousewheelevent/index.html | 2 +- files/zh-cn/web/api/notification/index.html | 4 ++-- files/zh-cn/web/api/svgaelement/index.html | 2 +- files/zh-cn/web/api/touch/clientx/index.html | 6 +++--- files/zh-cn/web/api/touch/clienty/index.html | 6 +++--- files/zh-cn/web/api/touch/force/index.html | 2 +- files/zh-cn/web/api/touch/identifier/index.html | 2 +- files/zh-cn/web/api/touch/index.html | 4 ++-- files/zh-cn/web/api/touch/pagex/index.html | 2 +- files/zh-cn/web/api/touch/pagey/index.html | 2 +- files/zh-cn/web/api/touch/radiusx/index.html | 2 +- files/zh-cn/web/api/touch/rotationangle/index.html | 2 +- files/zh-cn/web/api/webgl_api/index.html | 16 ++++++++-------- .../adding_2d_content_to_a_webgl_context/index.html | 6 +++--- .../tutorial/getting_started_with_webgl/index.html | 2 +- files/zh-cn/web/api/webgl_api/tutorial/index.html | 2 +- 45 files changed, 67 insertions(+), 67 deletions(-) (limited to 'files/zh-cn/web/api') diff --git a/files/zh-cn/web/api/biquadfilternode/index.html b/files/zh-cn/web/api/biquadfilternode/index.html index d1e149028b..ce149cc218 100644 --- a/files/zh-cn/web/api/biquadfilternode/index.html +++ b/files/zh-cn/web/api/biquadfilternode/index.html @@ -44,9 +44,9 @@ translation_of: Web/API/BiquadFilterNode
{{domxref("BiquadFilterNode.detune")}}
Is an a-rate {{domxref("AudioParam")}} representing detuning of the frequency in cents.
{{domxref("BiquadFilterNode.Q")}}
-
Is an a-rate {{domxref("AudioParam")}}, a double representing a Q factor, or quality factor.
+
Is an a-rate {{domxref("AudioParam")}}, a double representing a Q factor, or quality factor.
{{domxref("BiquadFilterNode.gain")}} {{readonlyInline}}
-
Is an a-rate {{domxref("AudioParam")}}, a double representing the gain used in the current filtering algorithm.
+
Is an a-rate {{domxref("AudioParam")}}, a double representing the gain used in the current filtering algorithm.
{{domxref("BiquadFilterNode.type")}}
节点实现定义不同过滤算法的一个字符串值.
diff --git a/files/zh-cn/web/api/cssgroupingrule/index.html b/files/zh-cn/web/api/cssgroupingrule/index.html index a77564e2e2..3a62362267 100644 --- a/files/zh-cn/web/api/cssgroupingrule/index.html +++ b/files/zh-cn/web/api/cssgroupingrule/index.html @@ -21,7 +21,7 @@ translation_of: Web/API/CSSGroupingRule

语法

-

The syntax is described using the WebIDL format.

+

The syntax is described using the WebIDL format.

interface CSSGroupingRule : CSSRule {
     readonly attribute CSSRuleList cssRules;
diff --git a/files/zh-cn/web/api/devicemotionevent/devicemotionevent/index.html b/files/zh-cn/web/api/devicemotionevent/devicemotionevent/index.html
index fcbe9a2864..72de7a63f3 100644
--- a/files/zh-cn/web/api/devicemotionevent/devicemotionevent/index.html
+++ b/files/zh-cn/web/api/devicemotionevent/devicemotionevent/index.html
@@ -19,8 +19,8 @@ translation_of: Web/API/DeviceMotionEvent/DeviceMotionEvent
  
options{{Optional_Inline}}
可选项如下:
    -
  • acceleration: 一个对象,包含设备在X,Y和Z三个轴线上的加速度。加速度的单位为m/s2.
  • -
  • accelerationIncludingGravity: 一个对象,包含设备在X,Y和Z三个轴线上,重力作用下的加速度。加速度的单位为m/s2.
  • +
  • acceleration: 一个对象,包含设备在X,Y和Z三个轴线上的加速度。加速度的单位为m/s2.
  • +
  • accelerationIncludingGravity: 一个对象,包含设备在X,Y和Z三个轴线上,重力作用下的加速度。加速度的单位为m/s2.
  • rotationRate: 一个对象,包含设备的定向在三个定向轴alpha, beta 和 gamma上的偏移比率。偏移比率的单位是每秒偏移的角度。
  • interval: 时间间隔,单位毫秒,表示设备获取数据的间隔时间。
diff --git a/files/zh-cn/web/api/devicemotionevent/index.html b/files/zh-cn/web/api/devicemotionevent/index.html index 4892a855b9..9e5ffff8d6 100644 --- a/files/zh-cn/web/api/devicemotionevent/index.html +++ b/files/zh-cn/web/api/devicemotionevent/index.html @@ -31,9 +31,9 @@ translation_of: Web/API/DeviceMotionEvent
{{domxref("DeviceMotionEvent.acceleration")}} {{readonlyinline}}
-
提供了设备在X,Y,Z轴方向上加速度的对象。加速度的单位为 m/s2
+
提供了设备在X,Y,Z轴方向上加速度的对象。加速度的单位为 m/s2
{{domxref("DeviceMotionEvent.accelerationIncludingGravity")}} {{readonlyinline}}
-
提供了设备在X,Y,Z轴方向上带重力的加速度的对象。加速度的单位为 m/s2
+
提供了设备在X,Y,Z轴方向上带重力的加速度的对象。加速度的单位为 m/s2
{{domxref("DeviceMotionEvent.rotationRate")}} {{readonlyinline}}
提供了设备在 alpha,beta, gamma轴方向上旋转的速率的对象。旋转速率的单位为度每秒。
{{domxref("DeviceMotionEvent.interval")}} {{readonlyinline}}
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

相关链接

  • Using full-screen mode
  • diff --git a/files/zh-cn/web/api/document/getelementsbytagname/index.html b/files/zh-cn/web/api/document/getelementsbytagname/index.html index 9e8120dd11..e5787722c8 100644 --- a/files/zh-cn/web/api/document/getelementsbytagname/index.html +++ b/files/zh-cn/web/api/document/getelementsbytagname/index.html @@ -18,7 +18,7 @@ translation_of: Web/API/Document/getElementsByTagName
  • name 是一个代表元素的名称的字符串。特殊字符 "*" 代表了所有元素。
-
注意: 最新的 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!"

    规范

    diff --git a/files/zh-cn/web/api/document_object_model/locating_dom_elements_using_selectors/index.html b/files/zh-cn/web/api/document_object_model/locating_dom_elements_using_selectors/index.html index 26246f9809..b2f680a644 100644 --- a/files/zh-cn/web/api/document_object_model/locating_dom_elements_using_selectors/index.html +++ b/files/zh-cn/web/api/document_object_model/locating_dom_elements_using_selectors/index.html @@ -45,7 +45,7 @@ translation_of: Web/API/Document_object_model/Locating_DOM_elements_using_select

    另请参阅

    -
    执行上面的例子:http://help.dottoro.com/external/examples/ljsfamht/childElementCount_1.htm
    +
    执行上面的例子:http://help.dottoro.com/external/examples/ljsfamht/childElementCount_1.htm

     

    diff --git a/files/zh-cn/web/api/element/getattribute/index.html b/files/zh-cn/web/api/element/getattribute/index.html index 2310d18095..ed9673bde5 100644 --- a/files/zh-cn/web/api/element/getattribute/index.html +++ b/files/zh-cn/web/api/element/getattribute/index.html @@ -35,7 +35,7 @@ alert(align);

    当在被标记为 HTML 文档中的一个 HTML 元素上调用此方法时,getAttribute() 会先将其参数转换为小写形式。

    -

    当指定的属性不存在于元素上时,所有浏览器(Firefox、Internet Explorer、Opera 最新版本、Safari、Konqueror 以及 iCab 等等)都返回 null,这也是当前 DOM 规范草案规定的。然而,旧的DOM 3 Core specification 认为此时正确的返回值应该是一个空字符串,一些 DOM 实现环境实现了该行为(behavior)。在 XUL (Gecko) 中,getAttribute 的实现遵从 DOM 3 Core specification,返回一个空字符串。因此,如果一个属性可能不存在于指定的元素上,在调用 getAttribute() 之前,你应该使用 {{domxref("element.hasAttribute()")}} 来检测该属性是否存在。

    +

    当指定的属性不存在于元素上时,所有浏览器(Firefox、Internet Explorer、Opera 最新版本、Safari、Konqueror 以及 iCab 等等)都返回 null,这也是当前 DOM 规范草案规定的。然而,旧的DOM 3 Core specification 认为此时正确的返回值应该是一个空字符串,一些 DOM 实现环境实现了该行为(behavior)。在 XUL (Gecko) 中,getAttribute 的实现遵从 DOM 3 Core specification,返回一个空字符串。因此,如果一个属性可能不存在于指定的元素上,在调用 getAttribute() 之前,你应该使用 {{domxref("element.hasAttribute()")}} 来检测该属性是否存在。

    浏览器兼容性

    diff --git a/files/zh-cn/web/api/element/index.html b/files/zh-cn/web/api/element/index.html index 4fa0547838..344f99bef4 100644 --- a/files/zh-cn/web/api/element/index.html +++ b/files/zh-cn/web/api/element/index.html @@ -51,7 +51,7 @@ translation_of: Web/API/Element
    {{DOMxRef("Element.namespaceURI")}} {{readonlyInline}}
    元素对应的 namespace URI ,如果没有则返回 null
    -

    Note: In Firefox 3.5 and earlier, HTML elements are in no namespace. In later versions, HTML elements are in the http://www.w3.org/1999/xhtml namespace in both HTML and XML trees. {{ gecko_minversion_inline("1.9.2")}}

    +

    Note: In Firefox 3.5 and earlier, HTML elements are in no namespace. In later versions, HTML elements are in the http://www.w3.org/1999/xhtml namespace in both HTML and XML trees. {{ gecko_minversion_inline("1.9.2")}}

    {{DOMxRef("NonDocumentTypeChildNode.nextElementSibling")}} {{readOnlyInline}}
    diff --git a/files/zh-cn/web/api/element/mousewheel_event/index.html b/files/zh-cn/web/api/element/mousewheel_event/index.html index 26649814ed..bd903b3be5 100644 --- a/files/zh-cn/web/api/element/mousewheel_event/index.html +++ b/files/zh-cn/web/api/element/mousewheel_event/index.html @@ -155,7 +155,7 @@ original_slug: Web/Events/mousewheel

    This difference makes a serious issue for web application developers. That is, web developers cannot know if mousewheel event is caused by which device.

    -

    See WebInputEventFactory::mouseWheelEvent of the Chromium's source code for the detail.

    +

    See WebInputEventFactory::mouseWheelEvent of the Chromium's source code for the detail.

    Safari

    diff --git a/files/zh-cn/web/api/element/queryselectorall/index.html b/files/zh-cn/web/api/element/queryselectorall/index.html index d432c28ed2..b9ebdb8860 100644 --- a/files/zh-cn/web/api/element/queryselectorall/index.html +++ b/files/zh-cn/web/api/element/queryselectorall/index.html @@ -122,7 +122,7 @@ var matches = el.querySelectorAll('div.highlighted > p');

    规范

    相关链接

    diff --git a/files/zh-cn/web/api/element/scrollwidth/index.html b/files/zh-cn/web/api/element/scrollwidth/index.html index fd712b9204..21a8bf162b 100644 --- a/files/zh-cn/web/api/element/scrollwidth/index.html +++ b/files/zh-cn/web/api/element/scrollwidth/index.html @@ -95,7 +95,7 @@ translation_of: Web/API/Element/scrollWidth

    规范

    -

    The CSSOM View Module defines scrollWidth

    +

    The CSSOM View Module defines scrollWidth

    相关

    diff --git a/files/zh-cn/web/api/element/setattribute/index.html b/files/zh-cn/web/api/element/setattribute/index.html index 133a829186..7a35901b5b 100644 --- a/files/zh-cn/web/api/element/setattribute/index.html +++ b/files/zh-cn/web/api/element/setattribute/index.html @@ -83,7 +83,7 @@ b.setAttribute("disabled", "");

    浏览器兼容性

    diff --git a/files/zh-cn/web/api/element/wheel_event/index.html b/files/zh-cn/web/api/element/wheel_event/index.html index d426fa2e77..436751836b 100644 --- a/files/zh-cn/web/api/element/wheel_event/index.html +++ b/files/zh-cn/web/api/element/wheel_event/index.html @@ -262,5 +262,5 @@ translation_of: Web/API/Element/wheel_event
  • {{ domxref("WheelEvent") }}
  • Gecko's legacy events: DOMMouseScroll and MozMousePixelScroll
  • Non-Gecko browsers' legacy event: mousewheel
  • -
  • WebKit bug: https://bugs.webkit.org/show_bug.cgi?id=94081
  • +
  • WebKit bug: https://bugs.webkit.org/show_bug.cgi?id=94081
  • diff --git a/files/zh-cn/web/api/file_handle_api/index.html b/files/zh-cn/web/api/file_handle_api/index.html index d1ab4f5f24..86e4a5988d 100644 --- a/files/zh-cn/web/api/file_handle_api/index.html +++ b/files/zh-cn/web/api/file_handle_api/index.html @@ -212,7 +212,7 @@ writing.onerror = function () {

    Why a different API than FileWriter?

    -

    The FileWriter specification defines FileWriters, objects aiming at representing editable files. Discussions on public-webapps led to the conclusion that the API would behave poorly in the case of different entities writing concurrently to the same file. The outcome of this discussion is the FileHandle API with its LockedFile and transaction mechanism.

    +

    The FileWriter specification defines FileWriters, objects aiming at representing editable files. Discussions on public-webapps led to the conclusion that the API would behave poorly in the case of different entities writing concurrently to the same file. The outcome of this discussion is the FileHandle API with its LockedFile and transaction mechanism.

    Specifications

    diff --git a/files/zh-cn/web/api/htmlcollection/index.html b/files/zh-cn/web/api/htmlcollection/index.html index 07358016cb..4a24f045f8 100644 --- a/files/zh-cn/web/api/htmlcollection/index.html +++ b/files/zh-cn/web/api/htmlcollection/index.html @@ -54,8 +54,8 @@ alert(elem1 === elem2); // 显示 "true"

    规范

    相关链接

    diff --git a/files/zh-cn/web/api/htmlfieldsetelement/index.html b/files/zh-cn/web/api/htmlfieldsetelement/index.html index 97b7692640..c2e832bebe 100644 --- a/files/zh-cn/web/api/htmlfieldsetelement/index.html +++ b/files/zh-cn/web/api/htmlfieldsetelement/index.html @@ -5,7 +5,7 @@ translation_of: Web/API/HTMLFieldSetElement ---

    {{ ApiRef() }}

    HTML Field Set Element

    -

    DOM fieldset elements expose the HTMLFieldSetElement  ({{ HTMLVersionInline(4) }} HTMLFieldSetElement) interface, which provides special properties and methods (beyond the regular element object interface they also have available to them by inheritance) for manipulating the layout and presentation of field-set elements.

    +

    DOM fieldset elements expose the HTMLFieldSetElement  ({{ HTMLVersionInline(4) }} HTMLFieldSetElement) interface, which provides special properties and methods (beyond the regular element object interface they also have available to them by inheritance) for manipulating the layout and presentation of field-set elements.

    属性

    以下属性除了 form 都是在 {{ HTMLVersionInline(5) }} 中新添加的.

    diff --git a/files/zh-cn/web/api/indexeddb_api/using_indexeddb/index.html b/files/zh-cn/web/api/indexeddb_api/using_indexeddb/index.html index 49945bd852..7c7f278f51 100644 --- a/files/zh-cn/web/api/indexeddb_api/using_indexeddb/index.html +++ b/files/zh-cn/web/api/indexeddb_api/using_indexeddb/index.html @@ -1317,7 +1317,7 @@ input { - + diff --git a/files/zh-cn/web/api/notification/index.html b/files/zh-cn/web/api/notification/index.html index f92c528b16..72b28708f2 100644 --- a/files/zh-cn/web/api/notification/index.html +++ b/files/zh-cn/web/api/notification/index.html @@ -31,7 +31,7 @@ translation_of: Web/API/Notification
    一个被允许用来设置通知的对象。它包含以下属性:
    - +
    wheel WheelEventDOM Level 3DOM Level 3 Firefox 17+ ie9+
    规范文档SVG 1.1 (2nd Edition)SVG 1.1 (2nd Edition)
    diff --git a/files/zh-cn/web/api/touch/clientx/index.html b/files/zh-cn/web/api/touch/clientx/index.html index 1af2a13895..4d78b2f68d 100644 --- a/files/zh-cn/web/api/touch/clientx/index.html +++ b/files/zh-cn/web/api/touch/clientx/index.html @@ -7,7 +7,7 @@ translation_of: Web/API/Touch/clientX ---

    {{ ApiRef() }}

    概述

    -

    返回触点相对于可见视区(visual viewport)左边沿的的X坐标. 不包括任何滚动偏移.这个值会根据用户对可见视区的缩放行为而发生变化.

    +

    返回触点相对于可见视区(visual viewport)左边沿的的X坐标. 不包括任何滚动偏移.这个值会根据用户对可见视区的缩放行为而发生变化.

    语法

    var x = touchItem.clientX;
     
    @@ -16,10 +16,10 @@ translation_of: Web/API/Touch/clientX
    x
    - 触点相对于可见视区(visual viewport)左边沿的的X坐标. 不包括任何滚动偏移.
    + 触点相对于可见视区(visual viewport)左边沿的的X坐标. 不包括任何滚动偏移.

    标准定义

    -

    Touch Events Specification

    +

    Touch Events Specification

    相关链接