diff options
author | MDN <actions@users.noreply.github.com> | 2021-09-28 00:50:31 +0000 |
---|---|---|
committer | MDN <actions@users.noreply.github.com> | 2021-09-28 00:50:31 +0000 |
commit | 52e48a7ac7bfc64b78c5aabb86cab4c0d7b88054 (patch) | |
tree | da6d856de98ad3aa793cd8f3986b3fb4bb9c1c71 /files/ru/conflicting/web/web_components | |
parent | 996ebd1c41727cdad43e5709e190132368d0bd9b (diff) | |
download | translated-content-52e48a7ac7bfc64b78c5aabb86cab4c0d7b88054.tar.gz translated-content-52e48a7ac7bfc64b78c5aabb86cab4c0d7b88054.tar.bz2 translated-content-52e48a7ac7bfc64b78c5aabb86cab4c0d7b88054.zip |
[CRON] sync translated content
Diffstat (limited to 'files/ru/conflicting/web/web_components')
-rw-r--r-- | files/ru/conflicting/web/web_components/index.html | 38 |
1 files changed, 38 insertions, 0 deletions
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 +--- +<div class="warning"> +<p>Firefox will not ship <em>HTML Imports</em> in its current form. See this <a href="https://hacks.mozilla.org/2015/06/the-state-of-web-components/">status update</a> 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 <code><a href="https://github.com/webcomponents/webcomponentsjs">webcomponents.js</a></code>.</p> +</div> + +<p><em>HTML Импорты</em> is intended to be the packaging mechanism for <a href="/en-US/docs/Web/Web_Components">web components</a>, but you can also use HTML Imports by itself.</p> + +<div>You import an HTML file by using a <a href="/en-US/docs/Web/HTML/Element/link"><code><link></code></a> tag in an HTML document like this: </div> + +<div> </div> + +<pre><link rel="import" href="myfile.html"></pre> + +<p><span style="line-height: 1.5;">The </span><code style="font-style: normal; line-height: 1.5;">import</code><span style="line-height: 1.5;"> </span><span style="line-height: 1.5;">link type </span><span style="line-height: 1.5;">is new.</span></p> + +<h2 id="Specification">Specification</h2> + +<table class="spec-table standard-table"> + <tbody> + <tr> + <th scope="col">Specification</th> + <th scope="col">Status</th> + <th scope="col">Comment</th> + </tr> + <tr> + <td>{{SpecName('HTML Imports', "", "")}}</td> + <td>{{Spec2('HTML Imports')}}</td> + <td> </td> + </tr> + </tbody> +</table> + +<p> </p> |