aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api
diff options
context:
space:
mode:
authortristantheb <tristantheb@gmail.com>2021-04-21 16:21:07 +0200
committerIrvin <irvinfly@gmail.com>2021-04-22 00:40:28 +0800
commite9bb21320278d88f6795525b4bb6c91b90711fcc (patch)
tree954e9ca33c74f55cacebf9929ba640caf0b88c4c /files/zh-cn/web/api
parent3c2908eafe5aacd2b98c1b4e23a8da28a120dbeb (diff)
downloadtranslated-content-e9bb21320278d88f6795525b4bb6c91b90711fcc.tar.gz
translated-content-e9bb21320278d88f6795525b4bb6c91b90711fcc.tar.bz2
translated-content-e9bb21320278d88f6795525b4bb6c91b90711fcc.zip
KS: Removal of the least used macros
Diffstat (limited to 'files/zh-cn/web/api')
-rw-r--r--files/zh-cn/web/api/document/width/index.html1
-rw-r--r--files/zh-cn/web/api/filelist/index.html2
-rw-r--r--files/zh-cn/web/api/htmlelement/dir/index.html4
-rw-r--r--files/zh-cn/web/api/htmlmediaelement/index.html2
-rw-r--r--files/zh-cn/web/api/keyboardevent/key/key_values/index.html12
-rw-r--r--files/zh-cn/web/api/navigatoronline/online_and_offline_events/index.html2
-rw-r--r--files/zh-cn/web/api/window/open/index.html2
7 files changed, 8 insertions, 17 deletions
diff --git a/files/zh-cn/web/api/document/width/index.html b/files/zh-cn/web/api/document/width/index.html
index 47a2d1e13a..fa7c844ad7 100644
--- a/files/zh-cn/web/api/document/width/index.html
+++ b/files/zh-cn/web/api/document/width/index.html
@@ -6,7 +6,6 @@ translation_of: Web/API/Document/width
<div>
{{ApiRef}} {{Obsolete_header}}</div>
<div class="geckoVersionNote">
- <p>{{gecko_callout_heading("6.0")}}</p>
<p>从Gecko 6.0开始,<code>不再支持document.width,请使用</code><code>document.body.clientWidth</code>来代替.查看{{domxref("element.clientWidth")}}.</p>
</div>
<h2 id="Summary" name="Summary">概述</h2>
diff --git a/files/zh-cn/web/api/filelist/index.html b/files/zh-cn/web/api/filelist/index.html
index 7912555fcf..e3cd99d860 100644
--- a/files/zh-cn/web/api/filelist/index.html
+++ b/files/zh-cn/web/api/filelist/index.html
@@ -13,8 +13,6 @@ translation_of: Web/API/FileList
<p>一个 FileList 对象通常来自于一个 HTML {{HTMLElement("input")}} 元素的 <code>files</code> 属性,你可以通过这个对象访问到用户所选择的文件。该类型的对象还有可能来自用户的拖放操作,查看 <a href="/zh-CN/docs/DragDrop/DataTransfer" title="DragDrop/DataTransfer"><code>DataTransfer</code></a> 对象了解详情。</p>
<div class="geckoVersionNote">
-<div>{{ gecko_callout_heading("1.9.2") }}</div>
-
<p>在 Gecko 1.9.2 之前,通过 <code>input</code> 元素,每次只能选择一个文件,这意味着该 <code>input</code> 元素的 <code>files</code> 属性上的 FileList 对象无论如何都只能包含一个文件。从Gecko 1.9.2 开始,如果一个 <code>input</code> 元素拥有 <code>multiple</code> 属性,则可以用它来选择多个文件。</p>
</div>
diff --git a/files/zh-cn/web/api/htmlelement/dir/index.html b/files/zh-cn/web/api/htmlelement/dir/index.html
index 5af4c1d9f6..bc5c08f929 100644
--- a/files/zh-cn/web/api/htmlelement/dir/index.html
+++ b/files/zh-cn/web/api/htmlelement/dir/index.html
@@ -38,9 +38,7 @@ parg.dir = "rtl";
<p>当表格的<code>dir</code>属性设置为"rtl"时, 那么该表格的所有列将从右到左排列.</p>
<div class="geckoVersionNote">
-<p>{{ gecko_callout_heading("7.0") }}</p>
-
-<p>在Gecko 7.0 {{ geckoRelease("7.0") }}之前, 该属性的返回值不一定都是小写的.从 Gecko 7.0开始, 该属性的返回值全部为小写字母, 这也是规范中所规定的.</p>
+<p>在Gecko 7.0 之前, 该属性的返回值不一定都是小写的.从 Gecko 7.0开始, 该属性的返回值全部为小写字母, 这也是规范中所规定的.</p>
</div>
<h3 id="Specification" name="Specification">规范</h3>
diff --git a/files/zh-cn/web/api/htmlmediaelement/index.html b/files/zh-cn/web/api/htmlmediaelement/index.html
index b9c29bf057..0fc7ee5662 100644
--- a/files/zh-cn/web/api/htmlmediaelement/index.html
+++ b/files/zh-cn/web/api/htmlmediaelement/index.html
@@ -183,7 +183,7 @@ translation_of: Web/API/HTMLMediaElement
<td>正在加载.</td>
</tr>
<tr>
- <td><code>NETWORK_NO_SOURCE</code>{{ ref("1") }}</td>
+ <td><code>NETWORK_NO_SOURCE</code></td>
<td>3</td>
<td></td>
</tr>
diff --git a/files/zh-cn/web/api/keyboardevent/key/key_values/index.html b/files/zh-cn/web/api/keyboardevent/key/key_values/index.html
index 159f96c074..5923333c5d 100644
--- a/files/zh-cn/web/api/keyboardevent/key/key_values/index.html
+++ b/files/zh-cn/web/api/keyboardevent/key/key_values/index.html
@@ -3158,7 +3158,7 @@ translation_of: Web/API/KeyboardEvent/key/Key_Values
</tr>
<tr>
<td><code>"LaunchCalculator"</code> [5]</td>
- <td>The <kbd>Calculator</kbd> key, often labeled with an icon such as <kbd>{{FontAwesomeIcon("icon-calculator")}}</kbd>. This is often used as a generic application launcher key (<code>APPCOMMAND_LAUNCH_APP2</code>).</td>
+ <td>The <kbd>Calculator</kbd> key, often labeled with an icon such as calculator icon. This is often used as a generic application launcher key (<code>APPCOMMAND_LAUNCH_APP2</code>).</td>
<td><code>APPCOMMAND_LAUNCH_APP2</code></td>
<td></td>
<td><code>GDK_KEY_Calculator</code> (0x1008FF1D)<br>
@@ -3167,7 +3167,7 @@ translation_of: Web/API/KeyboardEvent/key/Key_Values
</tr>
<tr>
<td><code>"LaunchCalendar"</code> [5]</td>
- <td>The <kbd>Calendar</kbd> key, often labeled with an icon like <kbd>{{FontAwesomeIcon("icon-calendar")}}</kbd>.</td>
+ <td>The <kbd>Calendar</kbd> key, often labeled with an icon like a calendar icon.</td>
<td></td>
<td></td>
<td><code>GDK_KEY_Calendar</code> (0x1008FF20)<br>
@@ -3184,7 +3184,7 @@ translation_of: Web/API/KeyboardEvent/key/Key_Values
</tr>
<tr>
<td><code>"LaunchMail"</code></td>
- <td>The <kbd>Mail</kbd> key. This is often displayed as <kbd>{{FontAwesomeIcon("icon-envelope-o")}}</kbd>.</td>
+ <td>The <kbd>Mail</kbd> key. This is often displayed as envelope icon.</td>
<td><code>VK_LAUNCH_MAIL</code> (0xB4)<br>
<code>APPCOMMAND_LAUNCH_MAIL</code></td>
<td></td>
@@ -3206,7 +3206,7 @@ translation_of: Web/API/KeyboardEvent/key/Key_Values
</tr>
<tr>
<td><code>"LaunchMusicPlayer"</code> [5]</td>
- <td>The <kbd>Music Player</kbd> key, often labeled with an icon such as <kbd>{{FontAwesomeIcon("icon-music")}}</kbd>.</td>
+ <td>The <kbd>Music Player</kbd> key, often labeled with an icon such as music icon.</td>
<td></td>
<td></td>
<td><code>GDK_KEY_Music</code> (0x1008FF92)<br>
@@ -3242,7 +3242,7 @@ translation_of: Web/API/KeyboardEvent/key/Key_Values
</tr>
<tr>
<td><code>"LaunchSpreadsheet"</code> [4]</td>
- <td>The <kbd>Spreadsheet</kbd> key. This key may be labeled with an icon such as <kbd>{{FontAwesomeIcon("icon-table")}}</kbd> or that of a specific spreadsheet application.</td>
+ <td>The <kbd>Spreadsheet</kbd> key. This key may be labeled with an icon such as table icon or that of a specific spreadsheet application.</td>
<td></td>
<td></td>
<td><code>GDK_KEY_Excel</code> (0x1008FF5C)<br>
@@ -3251,7 +3251,7 @@ translation_of: Web/API/KeyboardEvent/key/Key_Values
</tr>
<tr>
<td><code>"LaunchWebBrowser"</code> [4]</td>
- <td>The <kbd>Web Browser</kbd> key. This key is frequently labeled with an icon such as <kbd>{{FontAwesomeIcon("icon-globe")}}</kbd> or the icon of a specific browser, depending on the device manufacturer.</td>
+ <td>The <kbd>Web Browser</kbd> key. This key is frequently labeled with an icon such as globe icon or the icon of a specific browser, depending on the device manufacturer.</td>
<td></td>
<td></td>
<td><code>GDK_KEY_WWW</code> (0x1008FF2E)<br>
diff --git a/files/zh-cn/web/api/navigatoronline/online_and_offline_events/index.html b/files/zh-cn/web/api/navigatoronline/online_and_offline_events/index.html
index bdf456094b..f4f28ed973 100644
--- a/files/zh-cn/web/api/navigatoronline/online_and_offline_events/index.html
+++ b/files/zh-cn/web/api/navigatoronline/online_and_offline_events/index.html
@@ -117,5 +117,3 @@ translation_of: Web/API/NavigatorOnLine/Online_and_offline_events
<li><a class="external" href="http://ejohn.org/blog/offline-events/">An explanation of Online/Offline events</a></li>
<li><a class="external" href="http://hacks.mozilla.org/2010/01/offline-web-applications/" title="http://hacks.mozilla.org/2010/01/offline-web-applications/">offline web applications</a> at hacks.mozilla.org - showcases an offline app demo and explains how it works.</li>
</ul>
-
-<div>{{ HTML5ArticleTOC() }}</div>
diff --git a/files/zh-cn/web/api/window/open/index.html b/files/zh-cn/web/api/window/open/index.html
index 3080abb470..d961a59998 100644
--- a/files/zh-cn/web/api/window/open/index.html
+++ b/files/zh-cn/web/api/window/open/index.html
@@ -108,8 +108,6 @@ const openRequestedPopup = () =&gt; {
<h3 id="Position_and_size_features" name="Position_and_size_features"></h3>
-<div>{{gecko_minversion_note("1.9.2", "Starting in Gecko 1.9.2 (Firefox 3.6), overriding the position of a window using window features will not change the persisted values saved by the session store feature. That means the next time the window is opened, it will still open in the saved location.")}}</div>
-
<p><a href="https://developer.mozilla.org/zh-CN/docs/Web/API/Window/open$edit#Note_on_position_and_dimension_error_correction">Note on position and dimension error correction</a></p>
<div class="bug">{{bug(176320)}}</div>