aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/element
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/api/element')
-rw-r--r--files/zh-cn/web/api/element/childelementcount/index.html2
-rw-r--r--files/zh-cn/web/api/element/getattribute/index.html2
-rw-r--r--files/zh-cn/web/api/element/index.html2
-rw-r--r--files/zh-cn/web/api/element/mousewheel_event/index.html2
-rw-r--r--files/zh-cn/web/api/element/queryselectorall/index.html2
-rw-r--r--files/zh-cn/web/api/element/scrollwidth/index.html2
-rw-r--r--files/zh-cn/web/api/element/setattribute/index.html2
-rw-r--r--files/zh-cn/web/api/element/wheel_event/index.html2
8 files changed, 8 insertions, 8 deletions
diff --git a/files/zh-cn/web/api/element/childelementcount/index.html b/files/zh-cn/web/api/element/childelementcount/index.html
index 8981c4ad50..93c5534455 100644
--- a/files/zh-cn/web/api/element/childelementcount/index.html
+++ b/files/zh-cn/web/api/element/childelementcount/index.html
@@ -87,7 +87,7 @@ if (foo.childElementCount > 0) {
</body>
</pre>
-<div>执行上面的例子:<a class="external" href="http://help.dottoro.com/external/examples/ljsfamht/childElementCount_1.htm" title="http://help.dottoro.com/external/examples/ljsfamht/childElementCount_1.htm">http://help.dottoro.com/external/examples/ljsfamht/childElementCount_1.htm</a></div>
+<div>执行上面的例子:<a class="external" href="http://help.dottoro.com/external/examples/ljsfamht/childElementCount_1.htm">http://help.dottoro.com/external/examples/ljsfamht/childElementCount_1.htm</a></div>
<p> </p>
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);
<p>当在被标记为 HTML 文档中的一个 HTML 元素上调用此方法时,<code>getAttribute()</code> 会先将其参数转换为小写形式。</p>
-<p>当指定的属性不存在于元素上时,所有浏览器(Firefox、Internet Explorer、Opera 最新版本、Safari、Konqueror 以及 iCab 等等)都返回 <code>null</code>,这也是<a href="http://dom.spec.whatwg.org/#dom-element-getattribute" title="http://dom.spec.whatwg.org/#dom-element-getattribute">当前 DOM 规范草案</a>规定的。然而,旧的DOM 3 Core specification 认为此时正确的返回值应该是一个空字符串,一些 DOM 实现环境实现了该行为(behavior)。在 XUL (Gecko) 中,getAttribute 的实现遵从 DOM 3 Core specification,返回一个空字符串。因此,如果一个属性可能不存在于指定的元素上,在调用 <code>getAttribute()</code> 之前,你应该使用 {{domxref("element.hasAttribute()")}} 来检测该属性是否存在。</p>
+<p>当指定的属性不存在于元素上时,所有浏览器(Firefox、Internet Explorer、Opera 最新版本、Safari、Konqueror 以及 iCab 等等)都返回 <code>null</code>,这也是<a href="http://dom.spec.whatwg.org/#dom-element-getattribute">当前 DOM 规范草案</a>规定的。然而,旧的DOM 3 Core specification 认为此时正确的返回值应该是一个空字符串,一些 DOM 实现环境实现了该行为(behavior)。在 XUL (Gecko) 中,getAttribute 的实现遵从 DOM 3 Core specification,返回一个空字符串。因此,如果一个属性可能不存在于指定的元素上,在调用 <code>getAttribute()</code> 之前,你应该使用 {{domxref("element.hasAttribute()")}} 来检测该属性是否存在。</p>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
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
<dt>{{DOMxRef("Element.namespaceURI")}} {{readonlyInline}}</dt>
<dd>元素对应的 namespace URI ,如果没有则返回 <code>null</code>
<div class="note">
- <p><strong>Note:</strong> In Firefox 3.5 and earlier, HTML elements are in no namespace. In later versions, HTML elements are in the <code><a class="linkification-ext external" href="http://www.w3.org/1999/xhtml" title="Linkification: http://www.w3.org/1999/xhtml">http://www.w3.org/1999/xhtml</a></code> namespace in both HTML and XML trees. {{ gecko_minversion_inline("1.9.2")}}</p>
+ <p><strong>Note:</strong> In Firefox 3.5 and earlier, HTML elements are in no namespace. In later versions, HTML elements are in the <code><a class="linkification-ext external" href="http://www.w3.org/1999/xhtml">http://www.w3.org/1999/xhtml</a></code> namespace in both HTML and XML trees. {{ gecko_minversion_inline("1.9.2")}}</p>
</div>
</dd>
<dt>{{DOMxRef("NonDocumentTypeChildNode.nextElementSibling")}} {{readOnlyInline}}</dt>
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
<p>This difference makes a serious issue for web application developers. That is, web developers cannot know if <code>mousewheel</code> event is caused by which device.</p>
-<p>See <code>WebInputEventFactory::mouseWheelEvent</code> of the <a href="http://mxr.mozilla.org/chromium/source/src/third_party/WebKit/Source/web/WebInputEventFactoryMac.mm" title="http://mxr.mozilla.org/chromium/source/src/third_party/WebKit/Source/web/mac/WebInputEventFactory.mm">Chromium's source code</a> for the detail.</p>
+<p>See <code>WebInputEventFactory::mouseWheelEvent</code> of the <a href="http://mxr.mozilla.org/chromium/source/src/third_party/WebKit/Source/web/WebInputEventFactoryMac.mm">Chromium's source code</a> for the detail.</p>
<h3 id="Safari">Safari</h3>
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 &gt; p');
<h2 id="Specification" name="Specification">规范</h2>
<ul>
- <li><a href="http://www.w3.org/TR/selectors-api/" title="http://www.w3.org/TR/selectors-api/">选择器API</a></li>
+ <li><a href="http://www.w3.org/TR/selectors-api/">选择器API</a></li>
</ul>
<h2 id="See_also" name="See_also">相关链接</h2>
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
<h2 id="Specification" name="Specification">规范</h2>
-<p>The <a class="external" href="http://dev.w3.org/csswg/cssom-view/#dom-element-scrollwidth" title="http://dev.w3.org/csswg/cssom-view/#dom-element-scrollwidth">CSSOM View Module</a> defines <code>scrollWidth</code></p>
+<p>The <a class="external" href="http://dev.w3.org/csswg/cssom-view/#dom-element-scrollwidth">CSSOM View Module</a> defines <code>scrollWidth</code></p>
<h2 id="See_also" name="See_also">相关</h2>
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", "");
<ul>
<li><a class="external" href="http://www.w3.org/TR/DOM-Level-2-Core/core.html#ID-F68F082">DOM Level 2 Core: setAttribute</a> (introduced in <a class="external" href="http://www.w3.org/TR/REC-DOM-Level-1/level-one-core.html#method-setAttribute">DOM Level 1 Core</a>)</li>
- <li><a class="external" href="http://www.whatwg.org/specs/web-apps/current-work/#apis-in-html-documents" title="http://www.whatwg.org/specs/web-apps/current-work/#apis-in-html-documents">HTML5: APIs in HTML documents</a></li>
+ <li><a class="external" href="http://www.whatwg.org/specs/web-apps/current-work/#apis-in-html-documents">HTML5: APIs in HTML documents</a></li>
</ul>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
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
<li>{{ domxref("WheelEvent") }}</li>
<li>Gecko's legacy events: <code>DOMMouseScroll</code> and <code>MozMousePixelScroll</code></li>
<li>Non-Gecko browsers' legacy event: <code>mousewheel</code></li>
- <li>WebKit bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=94081" title="https://bugs.webkit.org/show_bug.cgi?id=94081">https://bugs.webkit.org/show_bug.cgi?id=94081</a></li>
+ <li>WebKit bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=94081">https://bugs.webkit.org/show_bug.cgi?id=94081</a></li>
</ul>