diff options
| author | Alexey Pyltsyn <lex61rus@gmail.com> | 2021-10-25 10:06:22 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-25 10:06:22 +0300 |
| commit | f3abb48a00c8c813e6b1bc8fee19e6b4c0414ce9 (patch) | |
| tree | 6cde25b36984040fda960876bff7acc84161ed7e /files/ru/web/html/global_attributes | |
| parent | e87401f97c68764ae7070f305199af2f529c1def (diff) | |
| download | translated-content-f3abb48a00c8c813e6b1bc8fee19e6b4c0414ce9.tar.gz translated-content-f3abb48a00c8c813e6b1bc8fee19e6b4c0414ce9.tar.bz2 translated-content-f3abb48a00c8c813e6b1bc8fee19e6b4c0414ce9.zip | |
Использование макроса для вставки специфицикаций (#2850)
* Использование макроса для вставки специфицикаций
* Replaces
Diffstat (limited to 'files/ru/web/html/global_attributes')
9 files changed, 9 insertions, 260 deletions
diff --git a/files/ru/web/html/global_attributes/accesskey/index.html b/files/ru/web/html/global_attributes/accesskey/index.html index 9d5e443f85..2f5702dc08 100644 --- a/files/ru/web/html/global_attributes/accesskey/index.html +++ b/files/ru/web/html/global_attributes/accesskey/index.html @@ -84,42 +84,7 @@ translation_of: Web/HTML/Global_attributes/accesskey <h2 id="Спецификации">Спецификации</h2> -<table class="standard-table"> - <tbody> - <tr> - <th scope="col">Спецификация</th> - <th scope="col">Положение дел</th> - <th scope="col">Комментарий</th> - </tr> - <tr> - <td>{{SpecName('HTML5.2', "editing.html#the-accesskey-attribute", "accesskey")}}</td> - <td>{{Spec2('HTML5.2')}}</td> - <td>Более приближённое к действительности описание поведения.</td> - </tr> - <tr> - </tr> - <tr> - <td>{{SpecName ( 'HTML WHATWG', "interaction.html#the-accesskey-attribute", "Accesskey")}}</td> - <td>{{Spec2 ( 'HTML WHATWG')}}</td> - <td>Никаких изменений с последнего снимка, {{SpecName ( 'HTML5.1')}}</td> - </tr> - <tr> - <td>{{SpecName ( 'HTML5.1', "editing.html#the-accesskey-attribute", "Accesskey")}}</td> - <td>{{Spec2 ( 'HTML5.1')}}</td> - <td>Снимок {{SpecName ( 'HTML WHATWG')}}, без изменений от {{SpecName ( 'W3C HTML5')}}</td> - </tr> - <tr> - <td>{{SpecName ( 'HTML5 W3C', "editing.html#the-accesskey-attribute", "Accesskey")}}</td> - <td>{{Spec2 ( 'W3C HTML5')}}</td> - <td>Снимок {{SpecName ( 'HTML WHATWG')}}. Из {{SpecName ( 'HTML4.01')}}, несколько символов могут быть установлены как <code>accesskey</code>. Кроме того , он может быть установлен на любом элементе.</td> - </tr> - <tr> - <td>{{SpecName ( 'HTML4.01', "interact/forms.html#h-17.11.2", "Accesskey")}}</td> - <td>{{Spec2 ( 'HTML4.01')}}</td> - <td>Поддерживается только {{HTMLElement ( "а")}}, {{HTMLElement ( "Площадь")}}, {{HTMLElement ( "кнопка")}}, {{HTMLElement ( "вход")}}, {{HTMLElement ( "метка")}}, {{HTMLElement ( "легенда")}} и {{HTMLElement ( "текстовое поле")}}</td> - </tr> - </tbody> -</table> +{{Specifications}} <h2 id="Совместимость_с_браузерами">Совместимость с браузерами</h2> diff --git a/files/ru/web/html/global_attributes/contenteditable/index.html b/files/ru/web/html/global_attributes/contenteditable/index.html index d4b3237a28..a4a474c6a7 100644 --- a/files/ru/web/html/global_attributes/contenteditable/index.html +++ b/files/ru/web/html/global_attributes/contenteditable/index.html @@ -26,30 +26,7 @@ translation_of: Web/HTML/Global_attributes/contenteditable <h2 id="Спецификации">Спецификации</h2> -<table class="standard-table"> - <tbody> - <tr> - <th scope="col">Specification</th> - <th scope="col">Status</th> - <th scope="col">Comment</th> - </tr> - <tr> - <td>{{SpecName('HTML WHATWG', "editing.html#attr-contenteditable", "contenteditable")}}</td> - <td>{{Spec2('HTML WHATWG')}}</td> - <td>Нет изменений с последней версии {{SpecName('HTML5.1')}}</td> - </tr> - <tr> - <td>{{SpecName('HTML5.1', "editing.html#attr-contenteditable", "contenteditable")}}</td> - <td>{{Spec2('HTML5.1')}}</td> - <td>Копия {{SpecName('HTML WHATWG')}}, нет изменений от {{SpecName('HTML5 W3C')}}</td> - </tr> - <tr> - <td>{{SpecName('HTML5 W3C', "editing.html#attr-contenteditable", "contenteditable")}}</td> - <td>{{Spec2('HTML5 W3C')}}</td> - <td>Копия {{SpecName('HTML WHATWG')}}, первоначальное определение.</td> - </tr> - </tbody> -</table> +{{Specifications}} <h2 id="Совместимость">Совместимость</h2> diff --git a/files/ru/web/html/global_attributes/id/index.html b/files/ru/web/html/global_attributes/id/index.html index 25334a48cf..3a10b1f457 100644 --- a/files/ru/web/html/global_attributes/id/index.html +++ b/files/ru/web/html/global_attributes/id/index.html @@ -25,35 +25,7 @@ translation_of: Web/HTML/Global_attributes/id <h2 id="Спецификации">Спецификации</h2> -<table class="standard-table"> - <tbody> - <tr> - <th scope="col">Спецификация</th> - <th scope="col">Статус</th> - <th scope="col">Комментарий</th> - </tr> - <tr> - <td>{{SpecName('HTML WHATWG', "dom.html#the-id-attribute", "id")}}</td> - <td>{{Spec2('HTML WHATWG')}}</td> - <td>Нет изменений с последнего "snapshot" (состояние сохранённое в определённый момент времени), {{SpecName('HTML5.1')}}</td> - </tr> - <tr> - <td>{{SpecName('HTML5.1', "dom.html#the-id-attribute", "id")}}</td> - <td>{{Spec2('HTML5.1')}}</td> - <td>"Snapshot" от {{SpecName('HTML WHATWG')}}, нет изменений с {{SpecName('HTML5 W3C')}}</td> - </tr> - <tr> - <td>{{SpecName('HTML5 W3C', "dom.html#the-id-attribute", "id")}}</td> - <td>{{Spec2('HTML5 W3C')}}</td> - <td>"Snapshot" от {{SpecName('HTML WHATWG')}}, допускает использование <code>'_'</code>, <code>'-'</code> и <code>'.'</code>, если они не в начале id. Также атрибут стал глобальным.</td> - </tr> - <tr> - <td>{{SpecName('HTML4.01', 'struct/global.html#adef-id', 'id')}}</td> - <td>{{Spec2('HTML4.01')}}</td> - <td>Поддерживается всеми элементами, кроме {{HTMLElement("base")}}, {{HTMLElement("head")}}, {{HTMLElement("html")}}, {{HTMLElement("meta")}}, {{HTMLElement("script")}}, {{HTMLElement("style")}}, и {{HTMLElement("title")}}.</td> - </tr> - </tbody> -</table> +{{Specifications}} <h2 id="Поддержка_браузерами">Поддержка браузерами</h2> <p>{{Compat("html.global_attributes.id")}}</p> diff --git a/files/ru/web/html/global_attributes/index.html b/files/ru/web/html/global_attributes/index.html index 6ca8cde1bc..888b4b0d4a 100644 --- a/files/ru/web/html/global_attributes/index.html +++ b/files/ru/web/html/global_attributes/index.html @@ -102,44 +102,7 @@ translation_of: Web/HTML/Global_attributes <h2 id="Спецификации">Спецификации</h2> -<table class="standard-table"> - <tbody> - <tr> - <th scope="col">Specification</th> - <th scope="col">Status</th> - <th scope="col">Comment</th> - </tr> - <tr> - <td>{{SpecName('HTML WHATWG', "dom.html#global-attributes", "Global attributes")}}</td> - <td>{{Spec2('HTML WHATWG')}}</td> - <td><strong>temid</strong>, <strong>itemprop</strong>, <strong>itemref</strong>, <strong>itemscope</strong>, и <strong>itemtype</strong> были добавлены из последнего снимка — {{SpecName('HTML5.1')}}.</td> - </tr> - <tr> - <td>{{SpecName('HTML5.1', "dom.html#global-attributes", "Global attributes")}}</td> - <td>{{Spec2('HTML5.1')}}</td> - <td>Снимок {{SpecName('HTML WHATWG')}}. <strong>spellcheck</strong>, <strong>draggable</strong> и <strong>dropzone</strong> были добавлены из {{SpecName('HTML5 W3C')}}.</td> - </tr> - <tr> - <td>{{SpecName('HTML5 W3C', "dom.html#global-attributes", "Global attributes")}}</td> - <td>{{Spec2('HTML5 W3C')}}</td> - <td>Снимок {{SpecName('HTML WHATWG')}}. Концепция глобальных атрибутов представлена начиная с {{SpecName("HTML4.01")}} и атрибуты <strong>dir</strong>, <strong>lang</strong>, <strong>style</strong>, <strong>id</strong>, <strong>class</strong>, <strong>tabindex</strong>, <strong>accesskey</strong> и <strong>title</strong> становятся глобальными.<br> - <strong>xml:lang</strong> который был частью XHTML, теперь также является частью HTML.<br> - Были добавлены <strong>hidden</strong>, <strong>data-*</strong>, <strong>contextmenu</strong>, <strong>contenteditable</strong> и <strong><strong>translate</strong></strong>.</td> - </tr> - <tr> - <td>{{SpecName('HTML4.01')}}</td> - <td>{{Spec2('HTML4.01')}}</td> - <td>Глобальные атрибуты на определены. Некоторые атрибуты из тех, что стали глобальными в последующих спецификациях, определены в подмножестве элементов .<br> - <strong>class</strong> и <strong>style</strong> поддерживаются для всех элементов кроме {{HTMLElement("base")}}, {{HTMLElement("basefont")}}, {{HTMLElement("head")}}, {{HTMLElement("html")}}, {{HTMLElement("meta")}}, {{HTMLElement("param")}}, {{HTMLElement("script")}}, {{HTMLElement("style")}} и {{HTMLElement("title")}}.<br> - <strong>dir</strong> поддерживается для всех элементов кроме {{HTMLElement("applet")}}, {{HTMLElement("base")}}, {{HTMLElement("basefont")}}, {{HTMLElement("bdo")}}, {{HTMLElement("br")}}, {{HTMLElement("frame")}}, {{HTMLElement("frameset")}}, {{HTMLElement("iframe")}}, {{HTMLElement("param")}} и {{HTMLElement("script")}}.<br> - <strong>id</strong> поддерживается для всех элементов кроме {{HTMLElement("base")}}, {{HTMLElement("head")}}, {{HTMLElement("html")}}, {{HTMLElement("meta")}}, {{HTMLElement("script")}}, {{HTMLElement("style")}} и {{HTMLElement("title")}}.<br> - <strong>lang</strong> поддерживается для всех элементов кроме {{HTMLElement("applet")}}, {{HTMLElement("base")}}, {{HTMLElement("basefont")}}, {{HTMLElement("br")}}, {{HTMLElement("frame")}}, {{HTMLElement("frameset")}}, {{HTMLElement("iframe")}}, {{HTMLElement("param")}} и {{HTMLElement("script")}}.<br> - <strong>tabindex</strong> поддерживается только для {{HTMLElement("a")}}, {{HTMLElement("area")}}, {{HTMLElement("button")}}, {{HTMLElement("object")}}, {{HTMLElement("select")}} и {{HTMLElement("textarea")}}.<br> - <strong>accesskey</strong> поддерживается только для {{ HTMLElement("a") }}, {{ HTMLElement("area") }}, {{ HTMLElement("button") }}, {{ HTMLElement("input") }}, {{ HTMLElement("label") }}, {{ HTMLElement("legend") }} и {{ HTMLElement("textarea") }}.<br> - <strong>title</strong> поддерживается для всех элементов кроме {{HTMLElement("base")}}, {{HTMLElement("basefont")}}, {{HTMLElement("head")}}, {{HTMLElement("html")}}, {{HTMLElement("meta")}}, {{HTMLElement("param")}}, {{HTMLElement("script")}} и {{HTMLElement("title")}}.</td> - </tr> - </tbody> -</table> +{{Specifications}} <h2 id="Совместимость_с_браузерами">Совместимость с браузерами</h2> diff --git a/files/ru/web/html/global_attributes/is/index.html b/files/ru/web/html/global_attributes/is/index.html index c62892e64c..7ca73f9974 100644 --- a/files/ru/web/html/global_attributes/is/index.html +++ b/files/ru/web/html/global_attributes/is/index.html @@ -32,22 +32,7 @@ customElements.define('word-count', WordCount, { extends: 'p' });</pre> <h2 id="Спецификации">Спецификации</h2> -<table class="standard-table"> - <thead> - <tr> - <th scope="col">Спецификация</th> - <th scope="col">Статус</th> - <th scope="col">Комментарий</th> - </tr> - </thead> - <tbody> - <tr> - <td>{{SpecName('HTML WHATWG', "custom-elements.html#attr-is", "is")}}</td> - <td>{{Spec2('HTML WHATWG')}}</td> - <td></td> - </tr> - </tbody> -</table> +{{Specifications}} <h2 id="Поддержка_браузерами">Поддержка браузерами</h2> diff --git a/files/ru/web/html/global_attributes/itemid/index.html b/files/ru/web/html/global_attributes/itemid/index.html index feb88b9d11..6728aa26cc 100644 --- a/files/ru/web/html/global_attributes/itemid/index.html +++ b/files/ru/web/html/global_attributes/itemid/index.html @@ -62,27 +62,7 @@ translation_of: Web/HTML/Global_attributes/itemid <h2 id="Спецификации">Спецификации</h2> -<table class="standard-table"> - <thead> - <tr> - <th scope="col">Спецификация</th> - <th scope="col">Статус</th> - <th scope="col">Комментарий</th> - </tr> - </thead> - <tbody> - <tr> - <td>{{SpecName('HTML Microdata', "#items", "itemid")}}</td> - <td>{{Spec2('HTML Microdata')}}</td> - <td></td> - </tr> - <tr> - <td>{{SpecName('HTML WHATWG', "microdata.html#attr-itemid", "itemid")}}</td> - <td>{{Spec2('HTML WHATWG')}}</td> - <td></td> - </tr> - </tbody> -</table> +{{Specifications}} <h2 id="Поддержка_браузерами">Поддержка браузерами</h2> diff --git a/files/ru/web/html/global_attributes/lang/index.html b/files/ru/web/html/global_attributes/lang/index.html index 93575eec05..660ddee13c 100644 --- a/files/ru/web/html/global_attributes/lang/index.html +++ b/files/ru/web/html/global_attributes/lang/index.html @@ -42,39 +42,7 @@ translation_of: Web/HTML/Global_attributes/lang <h2 id="Спецификации">Спецификации</h2> -<table class="standard-table"> - <thead> - <tr> - <th scope="col">Specification</th> - <th scope="col">Status</th> - <th scope="col">Comment</th> - </tr> - </thead> - <tbody> - <tr> - <td>{{SpecName('HTML WHATWG', "dom.html#the-lang-and-xml:lang-attributes", "lang")}}</td> - <td>{{Spec2('HTML WHATWG')}}</td> - <td> - <p>No change from latest snapshot,{{SpecName('HTML5.1')}}</p> - </td> - </tr> - <tr> - <td>{{SpecName('HTML5.1', "dom.html#the-lang-and-xml:lang-attributes", "lang")}}</td> - <td>{{Spec2('HTML5.1')}}</td> - <td>Snapshot of {{SpecName('HTML WHATWG')}}, no change from {{SpecName('HTML5 W3C')}}</td> - </tr> - <tr> - <td>{{SpecName('HTML5 W3C', "dom.html#the-lang-and-xml:lang-attributes", "lang")}}</td> - <td>{{Spec2('HTML5 W3C')}}</td> - <td>Snapshot of {{SpecName('HTML WHATWG')}}, behavior with <code>xml:lang</code> and language determination algorithm defined. It also is a true global attribute.</td> - </tr> - <tr> - <td>{{SpecName('HTML4.01', 'struct/dirlang.html#h-8.1', 'lang')}}</td> - <td>{{Spec2('HTML4.01')}}</td> - <td>Supported on all elements but {{HTMLElement("applet")}}, {{HTMLElement("base")}}, {{HTMLElement("basefont")}}, {{HTMLElement("br")}}, {{HTMLElement("frame")}}, {{HTMLElement("frameset")}}, {{HTMLElement("iframe")}}, {{HTMLElement("param")}}, and {{HTMLElement("script")}}.</td> - </tr> - </tbody> -</table> +{{Specifications}} <h2 id="Совместимость_с_браузерами">Совместимость с браузерами</h2> diff --git a/files/ru/web/html/global_attributes/style/index.html b/files/ru/web/html/global_attributes/style/index.html index 3342d0ca69..986ba4d60f 100644 --- a/files/ru/web/html/global_attributes/style/index.html +++ b/files/ru/web/html/global_attributes/style/index.html @@ -17,40 +17,7 @@ translation_of: Web/HTML/Global_attributes/style <h2 id="Спецификации">Спецификации</h2> -<table class="standard-table"> - <tbody> - <tr> - <th scope="col">Спецификация</th> - <th scope="col">Статус</th> - <th scope="col">Комментарий</th> - </tr> - <tr> - <td>{{SpecName('HTML WHATWG', "dom.html#the-style-attribute", "style")}}</td> - <td>{{Spec2('HTML WHATWG')}}</td> - <td>Без изменений от последнего моментального снимка, {{SpecName('HTML5.1')}}</td> - </tr> - <tr> - <td>{{SpecName('HTML5.1', "dom.html#the-style-attribute", "style")}}</td> - <td>{{Spec2('HTML5.1')}}</td> - <td>Снимок {{SpecName ('HTML WHATWG')}}, без изменений от {{SpecName ('HTML5 W3C')}}</td> - </tr> - <tr> - <td>{{SpecName('HTML5 W3C', "dom.html#the-style-attribute", "style")}}</td> - <td>{{Spec2('HTML5 W3C')}}</td> - <td>Моментальный снимок {{SpecName ('HTML WHATWG')}}. Из {{SpecName ("HTML4.01")}} теперь это истинный глобальный атрибут</td> - </tr> - <tr> - <td>{{SpecName('HTML4.01', 'present/styles.html#h-14.2.2', 'style')}}</td> - <td>{{Spec2('HTML4.01')}}</td> - <td>Поддерживает все элементы, кроме {{HTMLElement("base")}}, {{HTMLElement("basefont")}}, {{HTMLElement("head")}}, {{HTMLElement("html")}}, {{HTMLElement("meta")}}, {{HTMLElement("param")}}, {{HTMLElement("script")}}, {{HTMLElement("style")}}, и {{HTMLElement("title")}}.</td> - </tr> - <tr> - <td>{{SpecName("CSS3 Style", "", "")}}</td> - <td>{{Spec2("CSS3 Style")}}</td> - <td>Определяет содержимое атрибута <code>style</code>.</td> - </tr> - </tbody> -</table> +{{Specifications}} <h2 id="Совместимость_с_браузером">Совместимость с браузером</h2> diff --git a/files/ru/web/html/global_attributes/tabindex/index.html b/files/ru/web/html/global_attributes/tabindex/index.html index 9509f12728..fa80a70218 100644 --- a/files/ru/web/html/global_attributes/tabindex/index.html +++ b/files/ru/web/html/global_attributes/tabindex/index.html @@ -21,35 +21,7 @@ translation_of: Web/HTML/Global_attributes/tabindex <h2 id="Спецификации">Спецификации</h2> -<table class="standard-table"> - <tbody> - <tr> - <th scope="col">Specification</th> - <th scope="col">Status</th> - <th scope="col">Comment</th> - </tr> - <tr> - <td>{{SpecName('HTML WHATWG', "editing.html#attr-tabindex", "tabindex")}}</td> - <td>{{Spec2('HTML WHATWG')}}</td> - <td>Нет изменений с предыдущей спецификации {{SpecName('HTML5.1')}}</td> - </tr> - <tr> - <td>{{SpecName('HTML5.1', "editing.html#attr-tabindex", "tabindex")}}</td> - <td>{{Spec2('HTML5.1')}}</td> - <td>{{SpecName('HTML WHATWG')}}, нет изменений с {{SpecName('HTML5 W3C')}}</td> - </tr> - <tr> - <td>{{SpecName('HTML5 W3C', "editing.html#attr-tabindex", "tabindex")}}</td> - <td>{{Spec2('HTML5 W3C')}}</td> - <td>{{SpecName('HTML WHATWG')}}. От {{SpecName("HTML4.01")}}, атрибут теперь поддерживается всеми элементами.</td> - </tr> - <tr> - <td>{{SpecName('HTML4.01', 'interact/forms.html#adef-tabindex', 'tabindex')}}</td> - <td>{{Spec2('HTML4.01')}}</td> - <td>Поддерживается только {{HTMLElement("a")}}, {{HTMLElement("area")}}, {{HTMLElement("button")}}, {{HTMLElement("object")}}, {{HTMLElement("select")}}, и {{HTMLElement("textarea")}}.</td> - </tr> - </tbody> -</table> +{{Specifications}} <h2 id="Совместимость_с_браузерами">Совместимость с браузерами</h2> |
