From cf8bcd91a513c3e0a947b84545333f0fcfc928a6 Mon Sep 17 00:00:00 2001 From: "Daniel D. Beck" Date: Mon, 27 Sep 2021 22:19:48 +0100 Subject: [PATCH] Remove HTML Imports (#9292) This is no longer supported in any browser. Closes #9235 --- files/en-us/_redirects.txt | 1 + files/en-us/_wikihistory.json | 12 -------- files/en-us/web/html/link_types/index.html | 6 ---- .../web_components/html_imports/index.html | 29 ------------------- 4 files changed, 1 insertion(+), 47 deletions(-) delete mode 100644 files/en-us/web/web_components/html_imports/index.html diff --git a/files/en-us/_redirects.txt b/files/en-us/_redirects.txt index 80b2ba636c85b2f..0a2169c5cbea6e4 100644 --- a/files/en-us/_redirects.txt +++ b/files/en-us/_redirects.txt @@ -11242,6 +11242,7 @@ /en-US/docs/Web/Web_APIs /en-US/docs/Web/API /en-US/docs/Web/Web_Components/Custom_Elements /en-US/docs/Web/Web_Components/Using_custom_elements /en-US/docs/Web/Web_Components/Custom_Elements/Custom_Elements_with_Classes /en-US/docs/Web/Web_Components/Using_custom_elements +/en-US/docs/Web/Web_Components/HTML_Imports /en-US/docs/Web/Web_Components /en-US/docs/Web/Web_Components/Shadow_DOM /en-US/docs/Web/Web_Components/Using_shadow_DOM /en-US/docs/Web/XSLT/EXSLT /en-US/docs/Web/EXSLT /en-US/docs/Web/XSLT/Elements /en-US/docs/Web/XSLT/Element diff --git a/files/en-us/_wikihistory.json b/files/en-us/_wikihistory.json index a6339b81a12673c..d0e81dd4522e9ac 100644 --- a/files/en-us/_wikihistory.json +++ b/files/en-us/_wikihistory.json @@ -157138,18 +157138,6 @@ "kohei.yoshino" ] }, - "Web/Web_Components/HTML_Imports": { - "modified": "2020-10-15T21:30:02.826Z", - "contributors": [ - "ExE-Boss", - "RayannTedds", - "paulie4", - "indolering", - "chrisdavidmills", - "markg", - "teoli" - ] - }, "Web/Web_Components/Using_custom_elements": { "modified": "2020-11-07T18:06:44.658Z", "contributors": [ diff --git a/files/en-us/web/html/link_types/index.html b/files/en-us/web/html/link_types/index.html index 9cb6c73c5124fd3..3a41130011770c5 100644 --- a/files/en-us/web/html/link_types/index.html +++ b/files/en-us/web/html/link_types/index.html @@ -126,12 +126,6 @@ {{HTMLElement("link")}} {{HTMLElement("a")}}, {{HTMLElement("area")}}, {{HTMLElement("form")}} - - import {{Experimental_Inline}} - HTML Imports - {{HTMLElement("link")}} - {{HTMLElement("a")}}, {{HTMLElement("area")}}, {{HTMLElement("form")}} - index {{deprecated_inline}} Indicates that the page is part of a hierarchical structure and that the hyperlink leads to the top level resource of that structure.
diff --git a/files/en-us/web/web_components/html_imports/index.html b/files/en-us/web/web_components/html_imports/index.html deleted file mode 100644 index 9e9604b4253ee01..000000000000000 --- a/files/en-us/web/web_components/html_imports/index.html +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: HTML Imports -slug: Web/Web_Components/HTML_Imports -tags: - - Web Components ---- -

{{DefaultAPISidebar("Web Components")}}

- -
-

Obsolete since Google Chrome 73
- This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.

-
- -
-

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 Imports 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.

- -

Specifications

- -

This feature is not part of any current specification. It is no longer on track to become a standard.

-