From 52e48a7ac7bfc64b78c5aabb86cab4c0d7b88054 Mon Sep 17 00:00:00 2001 From: MDN Date: Tue, 28 Sep 2021 00:50:31 +0000 Subject: [CRON] sync translated content --- files/fr/_redirects.txt | 1 + files/fr/_wikihistory.json | 14 +-- files/fr/conflicting/web/web_components/index.html | 49 +++++++++ .../fr/web/web_components/html_imports/index.html | 48 --------- files/ja/_redirects.txt | 1 + files/ja/_wikihistory.json | 12 +-- files/ja/conflicting/web/web_components/index.html | 45 ++++++++ .../ja/web/web_components/html_imports/index.html | 44 -------- files/ru/_redirects.txt | 1 + files/ru/_wikihistory.json | 12 +-- files/ru/conflicting/web/web_components/index.html | 38 +++++++ .../ru/web/web_components/html_imports/index.html | 37 ------- files/zh-cn/_redirects.txt | 6 +- files/zh-cn/_wikihistory.json | 30 +++--- .../conflicting/web/api/wheelevent/index.html | 120 +++++++++++++++++++++ .../conflicting/web/web_components/index.html | 60 +++++++++++ files/zh-cn/web/api/mousewheelevent/index.html | 119 -------------------- .../web/web_components/html_imports/index.html | 60 ----------- 18 files changed, 353 insertions(+), 344 deletions(-) create mode 100644 files/fr/conflicting/web/web_components/index.html delete mode 100644 files/fr/web/web_components/html_imports/index.html create mode 100644 files/ja/conflicting/web/web_components/index.html delete mode 100644 files/ja/web/web_components/html_imports/index.html create mode 100644 files/ru/conflicting/web/web_components/index.html delete mode 100644 files/ru/web/web_components/html_imports/index.html create mode 100644 files/zh-cn/conflicting/web/api/wheelevent/index.html create mode 100644 files/zh-cn/conflicting/web/web_components/index.html delete mode 100644 files/zh-cn/web/api/mousewheelevent/index.html delete mode 100644 files/zh-cn/web/web_components/html_imports/index.html (limited to 'files') diff --git a/files/fr/_redirects.txt b/files/fr/_redirects.txt index b429d17874..f8a1ed0fdb 100644 --- a/files/fr/_redirects.txt +++ b/files/fr/_redirects.txt @@ -5522,6 +5522,7 @@ /fr/docs/Web/WebGL/Commencer_avec_le_WebGL /fr/docs/Web/API/WebGL_API/Tutorial/Getting_started_with_WebGL /fr/docs/Web/WebGL/Using_shaders_to_apply_color_in_WebGL /fr/docs/Web/API/WebGL_API/Tutorial/Using_shaders_to_apply_color_in_WebGL /fr/docs/Web/WebGL/Utiliser_les_textures_avec_WebGL /fr/docs/Web/API/WebGL_API/Tutorial/Using_textures_in_WebGL +/fr/docs/Web/Web_Components/HTML_Imports /fr/docs/conflicting/Web/Web_Components /fr/docs/Web/Web_Components/Shadow_DOM /fr/docs/Web/Web_Components/Using_shadow_DOM /fr/docs/Web/Web_Components/Utilisation_des_templates_et_des_slots /fr/docs/Web/Web_Components/Using_templates_and_slots /fr/docs/Web/XML/Introduction_à_XML /fr/docs/Web/XML/XML_introduction diff --git a/files/fr/_wikihistory.json b/files/fr/_wikihistory.json index d0a2f3d840..e17fdcfc2a 100644 --- a/files/fr/_wikihistory.json +++ b/files/fr/_wikihistory.json @@ -41541,13 +41541,6 @@ "Zecat" ] }, - "Web/Web_Components/HTML_Imports": { - "modified": "2020-10-15T22:12:01.555Z", - "contributors": [ - "ledenis", - "ylerjen" - ] - }, "Web/Web_Components/Using_custom_elements": { "modified": "2019-03-18T21:38:08.858Z", "contributors": [ @@ -44071,6 +44064,13 @@ "JeffD" ] }, + "conflicting/Web/Web_Components": { + "modified": "2020-10-15T22:12:01.555Z", + "contributors": [ + "ledenis", + "ylerjen" + ] + }, "conflicting/Web/XPath/Introduction_to_using_XPath_in_JavaScript": { "modified": "2019-01-16T14:19:09.912Z", "contributors": [ diff --git a/files/fr/conflicting/web/web_components/index.html b/files/fr/conflicting/web/web_components/index.html new file mode 100644 index 0000000000..3bdbcd3339 --- /dev/null +++ b/files/fr/conflicting/web/web_components/index.html @@ -0,0 +1,49 @@ +--- +title: HTML Imports +slug: conflicting/Web/Web_Components +tags: + - Composants Web +translation_of: Web/Web_Components/HTML_Imports +original_slug: Web/Web_Components/HTML_Imports +--- +
{{DefaultAPISidebar("Web Components")}}
+ +
+

Obsolète depuis Google Chrome 73
+ Cette fonctionnalité est obsolète. Bien qu'encore supportée par des navigateurs, son utilisation est découragée pour tout nouveau projet. Évitez de l'utiliser.

+
+ +
+

Firefox ne va pas supporter HTML Imports dans sa forme actuelle. Voir cet article en anglais "status update" pour plus d'informations. Tant qu'aucun consensus sur le standard ou aucun mécanisme alternatif n'aura émergé, il est possible d'utiliser le polyfill webcomponents.js de Google.

+
+ +

HTML Imports est censé être un moyen de livrer des Composants Web dans une page, mais il est aussi possible d'utiliser HTML Imports seul.

+ +
On importe un fichier HTML cible à l'aide de la balise <link> dans un document HTML source de la manière suivante : 
+ +
+ +
<link rel="import" href="myfile.html">
+ +

La valeur d'attribut import de la balise link est nouveau.

+ +

Spécification

+ + + + + + + + + + + + + + +
SpécificationStatutCommentaires
{{SpecName('HTML Imports', "", "")}}{{Spec2('HTML Imports')}}Définition initiale
+ +

Compatibilité des navigateurs

+ +

{{Compat("html.elements.link.rel.import")}}

diff --git a/files/fr/web/web_components/html_imports/index.html b/files/fr/web/web_components/html_imports/index.html deleted file mode 100644 index 4f26a4cbb1..0000000000 --- a/files/fr/web/web_components/html_imports/index.html +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: HTML Imports -slug: Web/Web_Components/HTML_Imports -tags: - - Composants Web -translation_of: Web/Web_Components/HTML_Imports ---- -
{{DefaultAPISidebar("Web Components")}}
- -
-

Obsolète depuis Google Chrome 73
- Cette fonctionnalité est obsolète. Bien qu'encore supportée par des navigateurs, son utilisation est découragée pour tout nouveau projet. Évitez de l'utiliser.

-
- -
-

Firefox ne va pas supporter HTML Imports dans sa forme actuelle. Voir cet article en anglais "status update" pour plus d'informations. Tant qu'aucun consensus sur le standard ou aucun mécanisme alternatif n'aura émergé, il est possible d'utiliser le polyfill webcomponents.js de Google.

-
- -

HTML Imports est censé être un moyen de livrer des Composants Web dans une page, mais il est aussi possible d'utiliser HTML Imports seul.

- -
On importe un fichier HTML cible à l'aide de la balise <link> dans un document HTML source de la manière suivante : 
- -
- -
<link rel="import" href="myfile.html">
- -

La valeur d'attribut import de la balise link est nouveau.

- -

Spécification

- - - - - - - - - - - - - - -
SpécificationStatutCommentaires
{{SpecName('HTML Imports', "", "")}}{{Spec2('HTML Imports')}}Définition initiale
- -

Compatibilité des navigateurs

- -

{{Compat("html.elements.link.rel.import")}}

diff --git a/files/ja/_redirects.txt b/files/ja/_redirects.txt index b887f46a1e..6e48cc80d1 100644 --- a/files/ja/_redirects.txt +++ b/files/ja/_redirects.txt @@ -4385,6 +4385,7 @@ /ja/docs/Web/WebGL/Using_textures_in_WebGL /ja/docs/Web/API/WebGL_API/Tutorial/Using_textures_in_WebGL /ja/docs/Web/WebGL/WebGL_best_practices /ja/docs/Web/API/WebGL_API/WebGL_best_practices /ja/docs/Web/Web_Components/Custom_Elements /ja/docs/Web/Web_Components/Using_custom_elements +/ja/docs/Web/Web_Components/HTML_Imports /ja/docs/conflicting/Web/Web_Components /ja/docs/Web/Web_Components/Status_in_Firefox /ja/docs/orphaned/Web/Web_Components/Status_in_Firefox /ja/docs/Web/XSLT/Elements /ja/docs/Web/XSLT/Element /ja/docs/Web/XSLT/Elements/apply-imports /ja/docs/Web/XSLT/Element/apply-imports diff --git a/files/ja/_wikihistory.json b/files/ja/_wikihistory.json index 89f6bad76a..0921037642 100644 --- a/files/ja/_wikihistory.json +++ b/files/ja/_wikihistory.json @@ -47585,12 +47585,6 @@ "maybe" ] }, - "Web/Web_Components/HTML_Imports": { - "modified": "2020-10-15T22:23:11.378Z", - "contributors": [ - "reodog" - ] - }, "Web/Web_Components/Using_custom_elements": { "modified": "2020-01-11T10:20:01.300Z", "contributors": [ @@ -48636,6 +48630,12 @@ "Wind1808" ] }, + "conflicting/Web/Web_Components": { + "modified": "2020-10-15T22:23:11.378Z", + "contributors": [ + "reodog" + ] + }, "orphaned/Building_a_Mozilla_Distribution": { "modified": "2019-03-23T23:49:07.062Z", "contributors": [ diff --git a/files/ja/conflicting/web/web_components/index.html b/files/ja/conflicting/web/web_components/index.html new file mode 100644 index 0000000000..19162e4678 --- /dev/null +++ b/files/ja/conflicting/web/web_components/index.html @@ -0,0 +1,45 @@ +--- +title: HTML インポート +slug: conflicting/Web/Web_Components +translation_of: Web/Web_Components/HTML_Imports +original_slug: Web/Web_Components/HTML_Imports +--- +

{{DefaultAPISidebar("Web Components")}}

+ +
+

Google Chrome 73 で廃止
+ この機能は廃止されました。まだいくつかのブラウザーで動作するかもしれませんが、いつ削除されてもおかしくないので、使わないようにしましょう。

+
+ +
+

Firefox はこの形式の HTML インポート は提供していません。詳細は状況更新を参照してください。標準化への同意が集まるか、代替機構が発表されるまで、Google の webcomponents.js などのポリフィルを使用することができます。

+
+ +

HTML インポートWeb Components のパッケージング機構として使用されることを意図していますが、単独で使用することもできます。

+ +

以下のように、HTML 文書中で <link> タグを使用してインポートします。

+ +
<link rel="import" href="myfile.html">
+ +

リンク種別 import は新設です。

+ +

仕様

+ + + + + + + + + + + + + + +
仕様状態備考
{{SpecName("HTML Imports")}}{{Spec2("HTML Imports")}}初回定義。
+ +

ブラウザーの互換性

+ +

{{Compat("html.elements.link.rel.import")}}

diff --git a/files/ja/web/web_components/html_imports/index.html b/files/ja/web/web_components/html_imports/index.html deleted file mode 100644 index 8c432a5c01..0000000000 --- a/files/ja/web/web_components/html_imports/index.html +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: HTML インポート -slug: Web/Web_Components/HTML_Imports -translation_of: Web/Web_Components/HTML_Imports ---- -

{{DefaultAPISidebar("Web Components")}}

- -
-

Google Chrome 73 で廃止
- この機能は廃止されました。まだいくつかのブラウザーで動作するかもしれませんが、いつ削除されてもおかしくないので、使わないようにしましょう。

-
- -
-

Firefox はこの形式の HTML インポート は提供していません。詳細は状況更新を参照してください。標準化への同意が集まるか、代替機構が発表されるまで、Google の webcomponents.js などのポリフィルを使用することができます。

-
- -

HTML インポートWeb Components のパッケージング機構として使用されることを意図していますが、単独で使用することもできます。

- -

以下のように、HTML 文書中で <link> タグを使用してインポートします。

- -
<link rel="import" href="myfile.html">
- -

リンク種別 import は新設です。

- -

仕様

- - - - - - - - - - - - - - -
仕様状態備考
{{SpecName("HTML Imports")}}{{Spec2("HTML Imports")}}初回定義。
- -

ブラウザーの互換性

- -

{{Compat("html.elements.link.rel.import")}}

diff --git a/files/ru/_redirects.txt b/files/ru/_redirects.txt index b61407949d..dcdb318df3 100644 --- a/files/ru/_redirects.txt +++ b/files/ru/_redirects.txt @@ -675,6 +675,7 @@ /ru/docs/Web/WebGL/Animating_objects_with_WebGL /ru/docs/Web/API/WebGL_API/Tutorial/Animating_objects_with_WebGL /ru/docs/Web/WebGL/Getting_started_with_WebGL /ru/docs/Web/API/WebGL_API/Tutorial/Getting_started_with_WebGL /ru/docs/Web/WebGL/Using_shaders_to_apply_color_in_WebGL /ru/docs/Web/API/WebGL_API/Tutorial/Using_shaders_to_apply_color_in_WebGL +/ru/docs/Web/Web_Components/HTML_Imports /ru/docs/conflicting/Web/Web_Components /ru/docs/Web/Web_Components/Использование_пользовательских_элементов /ru/docs/Web/Web_Components/Using_custom_elements /ru/docs/Web/XPath/Funkcje /ru/docs/Web/XPath/Functions /ru/docs/Web/XPath/Funkcje/floor /ru/docs/Web/XPath/Functions/floor diff --git a/files/ru/_wikihistory.json b/files/ru/_wikihistory.json index d77429f430..716c988409 100644 --- a/files/ru/_wikihistory.json +++ b/files/ru/_wikihistory.json @@ -23845,12 +23845,6 @@ "Kalita-Roman" ] }, - "Web/Web_Components/HTML_Imports": { - "modified": "2019-03-18T21:40:10.986Z", - "contributors": [ - "PaulineNemchak" - ] - }, "Web/Web_Components/Using_custom_elements": { "modified": "2020-01-05T09:04:07.966Z", "contributors": [ @@ -24697,6 +24691,12 @@ "ruslan_g02" ] }, + "conflicting/Web/Web_Components": { + "modified": "2019-03-18T21:40:10.986Z", + "contributors": [ + "PaulineNemchak" + ] + }, "orphaned/Glossary/Polifill": { "modified": "2019-03-23T22:18:26.835Z", "contributors": [ diff --git a/files/ru/conflicting/web/web_components/index.html b/files/ru/conflicting/web/web_components/index.html new file mode 100644 index 0000000000..71cfa2e114 --- /dev/null +++ b/files/ru/conflicting/web/web_components/index.html @@ -0,0 +1,38 @@ +--- +title: HTML Импорты +slug: conflicting/Web/Web_Components +translation_of: Web/Web_Components/HTML_Imports +original_slug: Web/Web_Components/HTML_Imports +--- +
+

Firefox will not ship HTML Imports in its current form. See this status update for more information. Until there is a consensus on the standard or alternative mechanisms are worked out, you can use a polyfill such as Google's webcomponents.js.

+
+ +

HTML Импорты is intended to be the packaging mechanism for web components, but you can also use HTML Imports by itself.

+ +
You import an HTML file by using a <link> tag in an HTML document like this: 
+ +
 
+ +
<link rel="import" href="myfile.html">
+ +

The import link type is new.

+ +

Specification

+ + + + + + + + + + + + + + +
SpecificationStatusComment
{{SpecName('HTML Imports', "", "")}}{{Spec2('HTML Imports')}} 
+ +

 

diff --git a/files/ru/web/web_components/html_imports/index.html b/files/ru/web/web_components/html_imports/index.html deleted file mode 100644 index 06dab35aba..0000000000 --- a/files/ru/web/web_components/html_imports/index.html +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: HTML Импорты -slug: Web/Web_Components/HTML_Imports -translation_of: Web/Web_Components/HTML_Imports ---- -
-

Firefox will not ship HTML Imports in its current form. See this status update for more information. Until there is a consensus on the standard or alternative mechanisms are worked out, you can use a polyfill such as Google's webcomponents.js.

-
- -

HTML Импорты is intended to be the packaging mechanism for web components, but you can also use HTML Imports by itself.

- -
You import an HTML file by using a <link> tag in an HTML document like this: 
- -
 
- -
<link rel="import" href="myfile.html">
- -

The import link type is new.

- -

Specification

- - - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('HTML Imports', "", "")}}{{Spec2('HTML Imports')}} 
- -

 

diff --git a/files/zh-cn/_redirects.txt b/files/zh-cn/_redirects.txt index 701804d446..90ff7ef11f 100644 --- a/files/zh-cn/_redirects.txt +++ b/files/zh-cn/_redirects.txt @@ -243,7 +243,7 @@ /zh-CN/docs/DOM/ImageData /zh-CN/docs/Web/API/ImageData /zh-CN/docs/DOM/KeyboardEvent /zh-CN/docs/Web/API/KeyboardEvent /zh-CN/docs/DOM/MouseScrollEvent /zh-CN/docs/Web/API/MouseScrollEvent -/zh-CN/docs/DOM/MouseWheelEvent /zh-CN/docs/Web/API/MouseWheelEvent +/zh-CN/docs/DOM/MouseWheelEvent /zh-CN/docs/conflicting/Web/API/WheelEvent /zh-CN/docs/DOM/MutationObserver /zh-CN/docs/Web/API/MutationObserver /zh-CN/docs/DOM/Node /zh-CN/docs/Web/API/Node /zh-CN/docs/DOM/Node.appendChild /zh-CN/docs/Web/API/Node/appendChild @@ -1389,6 +1389,7 @@ /zh-CN/docs/Web/API/Location.replace /zh-CN/docs/Web/API/Location/replace /zh-CN/docs/Web/API/MediaStream.addTrack /zh-CN/docs/Web/API/MediaStream/addTrack /zh-CN/docs/Web/API/MouseEvent/which /zh-CN/docs/conflicting/Web/API/UIEvent/which +/zh-CN/docs/Web/API/MouseWheelEvent /zh-CN/docs/conflicting/Web/API/WheelEvent /zh-CN/docs/Web/API/Navigator.battery /zh-CN/docs/Web/API/Navigator/battery /zh-CN/docs/Web/API/Navigator.buildID /zh-CN/docs/Web/API/Navigator/buildID /zh-CN/docs/Web/API/Navigator.cookieEnabled /zh-CN/docs/Web/API/Navigator/cookieEnabled @@ -2191,7 +2192,8 @@ /zh-CN/docs/Web/WebGL/Getting_started_with_WebGL /zh-CN/docs/Web/API/WebGL_API/Tutorial/Getting_started_with_WebGL /zh-CN/docs/Web/WebGL/用WebGL来画2D图形 /zh-CN/docs/Web/API/WebGL_API/Tutorial/Adding_2D_content_to_a_WebGL_context /zh-CN/docs/Web/Web_Components/Custom_Elements /zh-CN/docs/Web/Web_Components/Using_custom_elements -/zh-CN/docs/Web/Web_Components/HTML导入 /zh-CN/docs/Web/Web_Components/HTML_Imports +/zh-CN/docs/Web/Web_Components/HTML_Imports /zh-CN/docs/conflicting/Web/Web_Components +/zh-CN/docs/Web/Web_Components/HTML导入 /zh-CN/docs/conflicting/Web/Web_Components /zh-CN/docs/Web/XSLT/Elements /zh-CN/docs/Web/XSLT/Element /zh-CN/docs/Web/媒体 /zh-CN/docs/Web/Media /zh-CN/docs/Web/媒体/Autoplay_guide /zh-CN/docs/Web/Media/Autoplay_guide diff --git a/files/zh-cn/_wikihistory.json b/files/zh-cn/_wikihistory.json index 704de457fd..d0bbfa5ee4 100644 --- a/files/zh-cn/_wikihistory.json +++ b/files/zh-cn/_wikihistory.json @@ -17277,13 +17277,6 @@ "teoli" ] }, - "Web/API/MouseWheelEvent": { - "modified": "2019-03-23T23:38:38.526Z", - "contributors": [ - "ziyunfei", - "teoli" - ] - }, "Web/API/MutationObserver": { "modified": "2020-10-15T21:21:10.567Z", "contributors": [ @@ -46366,14 +46359,6 @@ "Fantasy_shao" ] }, - "Web/Web_Components/HTML_Imports": { - "modified": "2020-10-15T21:47:50.577Z", - "contributors": [ - "2A5F", - "xgqfrms-GitHub", - "jchnxu" - ] - }, "Web/Web_Components/Using_custom_elements": { "modified": "2020-08-13T09:13:52.060Z", "contributors": [ @@ -47330,6 +47315,13 @@ "Carrie zhxj" ] }, + "conflicting/Web/API/WheelEvent": { + "modified": "2019-03-23T23:38:38.526Z", + "contributors": [ + "ziyunfei", + "teoli" + ] + }, "conflicting/Web/API/Window": { "modified": "2019-01-16T17:02:20.467Z", "contributors": [ @@ -48021,6 +48013,14 @@ "liminjun" ] }, + "conflicting/Web/Web_Components": { + "modified": "2020-10-15T21:47:50.577Z", + "contributors": [ + "2A5F", + "xgqfrms-GitHub", + "jchnxu" + ] + }, "conflicting/Web/Web_Components/Using_shadow_DOM": { "modified": "2019-03-23T22:29:42.834Z", "contributors": [ diff --git a/files/zh-cn/conflicting/web/api/wheelevent/index.html b/files/zh-cn/conflicting/web/api/wheelevent/index.html new file mode 100644 index 0000000000..c5d60a279c --- /dev/null +++ b/files/zh-cn/conflicting/web/api/wheelevent/index.html @@ -0,0 +1,120 @@ +--- +title: MouseWheelEvent +slug: conflicting/Web/API/WheelEvent +translation_of: Web/API/MouseWheelEvent +original_slug: Web/API/MouseWheelEvent +--- +

{{APIRef("DOM Events")}}{{ Non-standard_header() }}{{deprecated_header}}

+ +

{{ note("由于该事件对象是非标准的,所以Gecko并不准备实现它.") }}

+ +

MouseWheelEvent事件对象代表了当用户在滚动鼠标滚轮时触发的事件.

+ +

要优先使用标准化过的WheelEvent来代替该陈旧的事件对象.

+ +

属性

+ + + + + + + + + + + + + + +
名称类型描述
wheelDeltalong滚动的距离,以像素为单位 (由MSDN定义,但实际的用法不同, 查看mousewheel. 只读.
+ +

滚轮相关事件对比

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
事件类型事件对象是否标准兼容性
mousewheelMouseWheelEvent非标准只有Firefox不支持
DOMMouseScrollMouseScrollEvent非标准只有Firefox支持
wheelWheelEventDOM Level 3Firefox 17+ ie9+
+ +

浏览器兼容性

+ +

{{ CompatibilityTable() }}

+ +
+ + + + + + + + + + + + + + + + + + + +
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support{{ CompatVersionUnknown() }}{{ CompatNo() }}{{ CompatIE("6.0") }}{{ CompatVersionUnknown() }}{{ CompatVersionUnknown() }}
+
+ +
+ + + + + + + + + + + + + + + + + + + +
FeatureAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support{{ CompatUnknown() }}{{ CompatNo() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}
+
+ +

相关链接

+ + diff --git a/files/zh-cn/conflicting/web/web_components/index.html b/files/zh-cn/conflicting/web/web_components/index.html new file mode 100644 index 0000000000..2196d5894b --- /dev/null +++ b/files/zh-cn/conflicting/web/web_components/index.html @@ -0,0 +1,60 @@ +--- +title: HTML 导入(HTML Imports) +slug: conflicting/Web/Web_Components +tags: + - HTML Imports + - Web Components +translation_of: Web/Web_Components/HTML_Imports +original_slug: Web/Web_Components/HTML_Imports +--- +

{{DefaultAPISidebar("Web Components")}}

+ +
+

在 Google Chrome 73 后已过时
+ 此功能已过时。虽然它可能仍然适用于某些浏览器,但不鼓励使用它,因为它随时可能被删除。尽量避免使用它。

+
+ +
+

Firefox 将不会以当前形式发布HTML导入特性,有关 更多信息,请参阅此状态更新在对标准达成共识或制定替代机制之前,您可以使用Google等的polyfill webcomponents.js 

+
+ +

HTML Imports 旨在成为 Web Components 的打包机制,但也可以单独使用 HTML Imports。

+ +
可以在HTML文档中使用<link> 标记导入HTML文件,如下所示:
+ +
 
+ +
<link rel="import" href="myfile.html">
+ +

链接类型 import 是新加入的。

+ +

规范

+ + + + + + + + + + + + + + +
规范状态评论
{{SpecName('HTML Imports', "", "")}}{{Spec2('HTML Imports')}}初步定义
+ +

浏览器兼容性

+ +

{{Compat("html.elements.link.rel.import")}}

+ +

阅读更多:

+ + diff --git a/files/zh-cn/web/api/mousewheelevent/index.html b/files/zh-cn/web/api/mousewheelevent/index.html deleted file mode 100644 index cc2d1e95ea..0000000000 --- a/files/zh-cn/web/api/mousewheelevent/index.html +++ /dev/null @@ -1,119 +0,0 @@ ---- -title: MouseWheelEvent -slug: Web/API/MouseWheelEvent -translation_of: Web/API/MouseWheelEvent ---- -

{{APIRef("DOM Events")}}{{ Non-standard_header() }}{{deprecated_header}}

- -

{{ note("由于该事件对象是非标准的,所以Gecko并不准备实现它.") }}

- -

MouseWheelEvent事件对象代表了当用户在滚动鼠标滚轮时触发的事件.

- -

要优先使用标准化过的WheelEvent来代替该陈旧的事件对象.

- -

属性

- - - - - - - - - - - - - - -
名称类型描述
wheelDeltalong滚动的距离,以像素为单位 (由MSDN定义,但实际的用法不同, 查看mousewheel. 只读.
- -

滚轮相关事件对比

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
事件类型事件对象是否标准兼容性
mousewheelMouseWheelEvent非标准只有Firefox不支持
DOMMouseScrollMouseScrollEvent非标准只有Firefox支持
wheelWheelEventDOM Level 3Firefox 17+ ie9+
- -

浏览器兼容性

- -

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support{{ CompatVersionUnknown() }}{{ CompatNo() }}{{ CompatIE("6.0") }}{{ CompatVersionUnknown() }}{{ CompatVersionUnknown() }}
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support{{ CompatUnknown() }}{{ CompatNo() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}
-
- -

相关链接

- - diff --git a/files/zh-cn/web/web_components/html_imports/index.html b/files/zh-cn/web/web_components/html_imports/index.html deleted file mode 100644 index c9cc5bd9a0..0000000000 --- a/files/zh-cn/web/web_components/html_imports/index.html +++ /dev/null @@ -1,60 +0,0 @@ ---- -title: HTML 导入(HTML Imports) -slug: Web/Web_Components/HTML_Imports -tags: - - HTML Imports - - Web Components -translation_of: Web/Web_Components/HTML_Imports -original_slug: Web/Web_Components/HTML导入 ---- -

{{DefaultAPISidebar("Web Components")}}

- -
-

在 Google Chrome 73 后已过时
- 此功能已过时。虽然它可能仍然适用于某些浏览器,但不鼓励使用它,因为它随时可能被删除。尽量避免使用它。

-
- -
-

Firefox 将不会以当前形式发布HTML导入特性,有关 更多信息,请参阅此状态更新在对标准达成共识或制定替代机制之前,您可以使用Google等的polyfill webcomponents.js 

-
- -

HTML Imports 旨在成为 Web Components 的打包机制,但也可以单独使用 HTML Imports。

- -
可以在HTML文档中使用<link> 标记导入HTML文件,如下所示:
- -
 
- -
<link rel="import" href="myfile.html">
- -

链接类型 import 是新加入的。

- -

规范

- - - - - - - - - - - - - - -
规范状态评论
{{SpecName('HTML Imports', "", "")}}{{Spec2('HTML Imports')}}初步定义
- -

浏览器兼容性

- -

{{Compat("html.elements.link.rel.import")}}

- -

阅读更多:

- - -- cgit v1.2.3-54-g00ecf