aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web
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
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')
-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
-rw-r--r--files/zh-cn/web/css/background-size/index.html4
-rw-r--r--files/zh-cn/web/guide/html/using_html_sections_and_outlines/index.html2
-rw-r--r--files/zh-cn/web/http/headers/user-agent/firefox/index.html2
-rw-r--r--files/zh-cn/web/xslt/index.html2
11 files changed, 10 insertions, 25 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>
diff --git a/files/zh-cn/web/css/background-size/index.html b/files/zh-cn/web/css/background-size/index.html
index 4fd689d375..debb3e69d8 100644
--- a/files/zh-cn/web/css/background-size/index.html
+++ b/files/zh-cn/web/css/background-size/index.html
@@ -156,9 +156,7 @@ background-size: 50% 25%;</code></pre>
<p>位图一定有固有尺寸与固有比例,矢量图可能两者都有,也可能只有一个。渐变视为只有固有尺寸或者只有固有比例的图片。</p>
<div class="geckoVersionNote">
-<p>{{gecko_callout_heading("8.0")}}</p>
-
-<p>This behavior changed in Gecko 8.0 {{geckoRelease("8.0")}}. Before this, gradients were treated as images with no intrinsic dimensions, with an intrinsic proportion identical to that of the background positioning area.</p>
+<p>This behavior changed in Gecko 8.0. Before this, gradients were treated as images with no intrinsic dimensions, with an intrinsic proportion identical to that of the background positioning area.</p>
</div>
<p>由 {{cssxref("-moz-element")}} 生成的背景图片,(which actually match an element) are currently treated as images with the dimensions of the element, or of the background positioning area if the element is SVG, with the corresponding intrinsic proportion.</p>
diff --git a/files/zh-cn/web/guide/html/using_html_sections_and_outlines/index.html b/files/zh-cn/web/guide/html/using_html_sections_and_outlines/index.html
index 334412d09f..907724aeda 100644
--- a/files/zh-cn/web/guide/html/using_html_sections_and_outlines/index.html
+++ b/files/zh-cn/web/guide/html/using_html_sections_and_outlines/index.html
@@ -374,5 +374,3 @@ original_slug: Web/Guide/HTML/Sections_and_Outlines_of_an_HTML5_document
<h2 id="总结">总结</h2>
<p>HTML5中新的节段和标题标签带来了以标准的方法来描述web文档的结构和大纲。其为人们使用HTML5浏览器和需要结构来帮助他们理解页面带来了一个很大的优势。例如,人们需要一些辅助技术的帮助。这些新的语义元素使用简单,几乎没有负担,也可以在不支持HTML5的浏览器中工作。因此,他们应该被广泛使用。</p>
-
-<div>{{HTML5ArticleTOC()}}</div>
diff --git a/files/zh-cn/web/http/headers/user-agent/firefox/index.html b/files/zh-cn/web/http/headers/user-agent/firefox/index.html
index f2360b3973..284ff8599a 100644
--- a/files/zh-cn/web/http/headers/user-agent/firefox/index.html
+++ b/files/zh-cn/web/http/headers/user-agent/firefox/index.html
@@ -37,8 +37,6 @@ translation_of: Web/HTTP/Headers/User-Agent/Firefox
</li>
</ul>
-<p>{{ h2_gecko_minversion("移动设备与平板设备的标注", "11.0") }}</p>
-
<p>User Agent(UA String)的<strong><em>platform</em></strong>部分,标明了 Firefox 是否运行在手机或平板尺寸的设备上。当Firefox运行在移动设备上时,UA 中的这个字段将包含<strong>Mobile;</strong>。当Firefox运行于平板设备时,UA 中的这个字段将包含<strong>Tablet;</strong>。例如:</p>
<pre>Mozilla/5.0 (Android 4.4; <strong>Mobile</strong>; rv:41.0) Gecko/41.0 Firefox/41.0
diff --git a/files/zh-cn/web/xslt/index.html b/files/zh-cn/web/xslt/index.html
index 223716c624..3a4de089d0 100644
--- a/files/zh-cn/web/xslt/index.html
+++ b/files/zh-cn/web/xslt/index.html
@@ -7,7 +7,7 @@ translation_of: Web/XSLT
---
<p> </p>
-<div><strong>可扩展样式表语言转换(XSLT)</strong>是一种基于<a href="cn/XML">XML</a>的语言,和专门的处理软件一起使用,用于XML文档转换。虽然这个处理过程被称作“转换”,但并没有改变原始文档,而是在原文档内容的基础上创建了一个新的XML文档。然后, 这个新文档会被处理器序列化(输出)为标准的XML语法或其他格式,如<a href="cn/HTML">HTML</a>或纯文本。XSLT最常用于不同XML模式间的数据转换,或用于将XML数据转换为网页或PDF文档。 {{ Ref("one") }}</div>
+<div><strong>可扩展样式表语言转换(XSLT)</strong>是一种基于<a href="cn/XML">XML</a>的语言,和专门的处理软件一起使用,用于XML文档转换。虽然这个处理过程被称作“转换”,但并没有改变原始文档,而是在原文档内容的基础上创建了一个新的XML文档。然后, 这个新文档会被处理器序列化(输出)为标准的XML语法或其他格式,如<a href="cn/HTML">HTML</a>或纯文本。XSLT最常用于不同XML模式间的数据转换,或用于将XML数据转换为网页或PDF文档。</div>
<table class="topicpage-table">
<tbody>