From e9bb21320278d88f6795525b4bb6c91b90711fcc Mon Sep 17 00:00:00 2001 From: tristantheb Date: Wed, 21 Apr 2021 16:21:07 +0200 Subject: KS: Removal of the least used macros --- files/zh-cn/web/api/document/width/index.html | 1 - files/zh-cn/web/api/filelist/index.html | 2 -- files/zh-cn/web/api/htmlelement/dir/index.html | 4 +--- files/zh-cn/web/api/htmlmediaelement/index.html | 2 +- files/zh-cn/web/api/keyboardevent/key/key_values/index.html | 12 ++++++------ .../api/navigatoronline/online_and_offline_events/index.html | 2 -- files/zh-cn/web/api/window/open/index.html | 2 -- 7 files changed, 8 insertions(+), 17 deletions(-) (limited to 'files/zh-cn/web/api') 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
{{ApiRef}} {{Obsolete_header}}
-

{{gecko_callout_heading("6.0")}}

从Gecko 6.0开始,不再支持document.width,请使用document.body.clientWidth来代替.查看{{domxref("element.clientWidth")}}.

概述

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

一个 FileList 对象通常来自于一个 HTML {{HTMLElement("input")}} 元素的 files 属性,你可以通过这个对象访问到用户所选择的文件。该类型的对象还有可能来自用户的拖放操作,查看 DataTransfer 对象了解详情。

-
{{ gecko_callout_heading("1.9.2") }}
-

在 Gecko 1.9.2 之前,通过 input 元素,每次只能选择一个文件,这意味着该 input 元素的 files 属性上的 FileList 对象无论如何都只能包含一个文件。从Gecko 1.9.2 开始,如果一个 input 元素拥有 multiple 属性,则可以用它来选择多个文件。

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";

当表格的dir属性设置为"rtl"时, 那么该表格的所有列将从右到左排列.

-

{{ gecko_callout_heading("7.0") }}

- -

在Gecko 7.0 {{ geckoRelease("7.0") }}之前, 该属性的返回值不一定都是小写的.从 Gecko 7.0开始, 该属性的返回值全部为小写字母, 这也是规范中所规定的.

+

在Gecko 7.0 之前, 该属性的返回值不一定都是小写的.从 Gecko 7.0开始, 该属性的返回值全部为小写字母, 这也是规范中所规定的.

规范

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 正在加载. - NETWORK_NO_SOURCE{{ ref("1") }} + NETWORK_NO_SOURCE 3 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 "LaunchCalculator" [5] - The Calculator key, often labeled with an icon such as {{FontAwesomeIcon("icon-calculator")}}. This is often used as a generic application launcher key (APPCOMMAND_LAUNCH_APP2). + The Calculator key, often labeled with an icon such as calculator icon. This is often used as a generic application launcher key (APPCOMMAND_LAUNCH_APP2). APPCOMMAND_LAUNCH_APP2 GDK_KEY_Calculator (0x1008FF1D)
@@ -3167,7 +3167,7 @@ translation_of: Web/API/KeyboardEvent/key/Key_Values "LaunchCalendar" [5] - The Calendar key, often labeled with an icon like {{FontAwesomeIcon("icon-calendar")}}. + The Calendar key, often labeled with an icon like a calendar icon. GDK_KEY_Calendar (0x1008FF20)
@@ -3184,7 +3184,7 @@ translation_of: Web/API/KeyboardEvent/key/Key_Values "LaunchMail" - The Mail key. This is often displayed as {{FontAwesomeIcon("icon-envelope-o")}}. + The Mail key. This is often displayed as envelope icon. VK_LAUNCH_MAIL (0xB4)
APPCOMMAND_LAUNCH_MAIL @@ -3206,7 +3206,7 @@ translation_of: Web/API/KeyboardEvent/key/Key_Values "LaunchMusicPlayer" [5] - The Music Player key, often labeled with an icon such as {{FontAwesomeIcon("icon-music")}}. + The Music Player key, often labeled with an icon such as music icon. GDK_KEY_Music (0x1008FF92)
@@ -3242,7 +3242,7 @@ translation_of: Web/API/KeyboardEvent/key/Key_Values "LaunchSpreadsheet" [4] - The Spreadsheet key. This key may be labeled with an icon such as {{FontAwesomeIcon("icon-table")}} or that of a specific spreadsheet application. + The Spreadsheet key. This key may be labeled with an icon such as table icon or that of a specific spreadsheet application. GDK_KEY_Excel (0x1008FF5C)
@@ -3251,7 +3251,7 @@ translation_of: Web/API/KeyboardEvent/key/Key_Values "LaunchWebBrowser" [4] - The Web Browser key. This key is frequently labeled with an icon such as {{FontAwesomeIcon("icon-globe")}} or the icon of a specific browser, depending on the device manufacturer. + The Web Browser 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. GDK_KEY_WWW (0x1008FF2E)
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
  • An explanation of Online/Offline events
  • offline web applications at hacks.mozilla.org - showcases an offline app demo and explains how it works.
  • - -
    {{ HTML5ArticleTOC() }}
    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 = () => {

    -
    {{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.")}}
    -

    Note on position and dimension error correction

    {{bug(176320)}}
    -- cgit v1.2.3-54-g00ecf