From d2c717611f2ab3dc0a25deae3a78cf44aa31a4f2 Mon Sep 17 00:00:00 2001 From: YujiSoftware Date: Sun, 16 May 2021 22:30:00 +0900 Subject: Migrate CompatibilityTable to Compat macro (lang-ru) (#876) * Migrate to Compat macro * Migrate to Compat macro (multiple in page) * Migrate to Compat macro * Migrate to Compat macro (removed) --- files/ru/web/api/document/activeelement/index.html | 50 +-------------- files/ru/web/api/document/characterset/index.html | 73 +--------------------- .../api/document/createdocumentfragment/index.html | 52 +-------------- .../ru/web/api/document/createtextnode/index.html | 48 +------------- files/ru/web/api/document/currentscript/index.html | 52 +-------------- files/ru/web/api/document/documenturi/index.html | 70 +-------------------- files/ru/web/api/document/execcommand/index.html | 58 +---------------- .../ru/web/api/document/getelementbyid/index.html | 48 +------------- .../api/document/getelementsbyclassname/index.html | 48 +------------- files/ru/web/api/document/hasfocus/index.html | 52 +-------------- files/ru/web/api/document/origin/index.html | 50 +-------------- .../ru/web/api/document/registerelement/index.html | 48 +------------- files/ru/web/api/document/scripts/index.html | 48 +------------- 13 files changed, 13 insertions(+), 684 deletions(-) (limited to 'files/ru/web/api/document') diff --git a/files/ru/web/api/document/activeelement/index.html b/files/ru/web/api/document/activeelement/index.html index b0a464ecf6..26a0fecb89 100644 --- a/files/ru/web/api/document/activeelement/index.html +++ b/files/ru/web/api/document/activeelement/index.html @@ -106,55 +106,7 @@ ID активного элемента: <span id="output-element"></spa

Совместимость с браузерами

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support23.04 [1]9.64.0
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}
-
- -

[1]: В IE9 наблюдается баг: при попытке получения доступа к activeElement в {{domxref("window.parent")}} {{domxref("Document")}} из {{HTMLElement("iframe")}} (т.е. parent.document.activeElement) выбрасывается ошибка.

+

{{Compat("api.Document.activeElement")}}

Связанные события

diff --git a/files/ru/web/api/document/characterset/index.html b/files/ru/web/api/document/characterset/index.html index 021ce45b4a..f1a85afe7c 100644 --- a/files/ru/web/api/document/characterset/index.html +++ b/files/ru/web/api/document/characterset/index.html @@ -45,75 +45,4 @@ translation_of: Web/API/Document/characterSet

Совместимость с браузерами

-

{{CompatibilityTable}}

- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
ВозможностьChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Базовая поддержка{{CompatChrome(45.0)}}{{CompatVersionUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
кодировкаСделано read-only в  {{CompatChrome(45)}}{{CompatGeckoDesktop(44)}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ВозможностьAndroidAndroid WebviewFirefox Mobile (Gecko)Firefox OSIE MobileOpera MobileSafari MobileChrome for Android
Базовая поддержка{{CompatNo}}{{CompatChrome(45.0)}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatChrome(45.0)}}
кодировка{{CompatUnknown}}{{CompatUnknown}}{{CompatGeckoMobile(44)}}2.5{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
-
+

{{Compat("api.Document.characterSet")}}

diff --git a/files/ru/web/api/document/createdocumentfragment/index.html b/files/ru/web/api/document/createdocumentfragment/index.html index f266afbed6..d28375a448 100644 --- a/files/ru/web/api/document/createdocumentfragment/index.html +++ b/files/ru/web/api/document/createdocumentfragment/index.html @@ -77,57 +77,7 @@ element.appendChild(fragment);

Browser compatibility

-
{{CompatibilityTable}}
- -
- - - - - - - - - - - - - - - - - - - - - -
FeatureFirefox (Gecko)ChromeEdgeInternet ExplorerOperaSafari
Basic support{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
-
- -
- - - - - - - - - - - - - - - - - - - - - -
FeatureFirefox Mobile (Gecko)AndroidEdgeIE MobileOpera MobileSafari Mobile
Basic support{{CompatUnknown}}{{CompatUnknown}}{{CompatVersionUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
-
+

{{Compat("api.Document.createDocumentFragment")}}

See also

diff --git a/files/ru/web/api/document/createtextnode/index.html b/files/ru/web/api/document/createtextnode/index.html index 7007e89080..4a71593db1 100644 --- a/files/ru/web/api/document/createtextnode/index.html +++ b/files/ru/web/api/document/createtextnode/index.html @@ -71,50 +71,4 @@ function addTextNode(text) {

Совместимость

-

{{CompatibilityTable}}

- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatUnknown}}
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
-
+

{{Compat("api.Document.createTextNode")}}

diff --git a/files/ru/web/api/document/currentscript/index.html b/files/ru/web/api/document/currentscript/index.html index e4d3849b73..3439912157 100644 --- a/files/ru/web/api/document/currentscript/index.html +++ b/files/ru/web/api/document/currentscript/index.html @@ -49,57 +49,7 @@ translation_of: Web/API/Document/currentScript

Совместимость

-

{{CompatibilityTable}}

- -
- - - - - - - - - - - - - - - - - - - - - -
FeatureChromeEdgeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support{{CompatChrome(29.0)}}{{CompatVersionUnknown}}{{CompatGeckoDesktop("2.0")}}{{CompatNo}}168
-
- -
- - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidChrome for AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support4.4{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatUnknown}}{{CompatUnknown}}8
-
+

{{Compat("api.Document.currentScript")}}

Смотрите также

diff --git a/files/ru/web/api/document/documenturi/index.html b/files/ru/web/api/document/documenturi/index.html index ca57ddec41..cfe96d25de 100644 --- a/files/ru/web/api/document/documenturi/index.html +++ b/files/ru/web/api/document/documenturi/index.html @@ -42,72 +42,4 @@ translation_of: Web/API/Document/documentURI

Совместимость с браузерами

-

{{CompatibilityTable}}

- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
DOM3 behavior{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatUnknown}}{{CompatVersionUnknown}}
DOM4 behavior{{CompatChrome(43.0)}}{{CompatVersionUnknown}}{{CompatNo}}{{CompatUnknown}}{{CompatNo}}
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)Firefox OSIE MobileOpera MobileSafari MobileChrome for Android
DOM3 behavior{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatVersionUnknown}}
DOM4 behavior{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatChrome(43.0)}}
-
+

{{Compat("api.Document.documentURI")}}

diff --git a/files/ru/web/api/document/execcommand/index.html b/files/ru/web/api/document/execcommand/index.html index 0c52c9a3b7..838cbbafcb 100644 --- a/files/ru/web/api/document/execcommand/index.html +++ b/files/ru/web/api/document/execcommand/index.html @@ -274,63 +274,7 @@ translation_of: Web/API/Document/execCommand

Совместимость с браузерами

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Базовая поддержка{{ CompatVersionUnknown() }}{{ CompatVersionUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatVersionUnknown() }}
insertBrOnReturn{{ CompatNo() }}{{ CompatVersionUnknown() }}{{ CompatNo() }}{{ CompatNo() }}{{ CompatNo() }}
-
- -
- - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidChrome для AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Базовая поддержка{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatVersionUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}
-
+

{{Compat("api.Document.execCommand")}}

Спецификация

diff --git a/files/ru/web/api/document/getelementbyid/index.html b/files/ru/web/api/document/getelementbyid/index.html index 454b70d88e..67f5f1aaca 100644 --- a/files/ru/web/api/document/getelementbyid/index.html +++ b/files/ru/web/api/document/getelementbyid/index.html @@ -99,53 +99,7 @@ var el = document.getElementById('testqq'); // el will be null!

Совместимость в браузерах

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - -
ВозможностьChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Базовая поддержка1.0{{ CompatGeckoDesktop(1.0) }}5.57.01.0
-
- -
- - - - - - - - - - - - - - - - - - - -
ВозможностьAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Базовая поддержка1.0{{ CompatGeckoMobile(1.0) }}6.06.01.0
-
+

{{Compat("api.Document.getElementById")}}

Смотрите также

diff --git a/files/ru/web/api/document/getelementsbyclassname/index.html b/files/ru/web/api/document/getelementsbyclassname/index.html index 4adfa6b971..d4a6b01857 100644 --- a/files/ru/web/api/document/getelementsbyclassname/index.html +++ b/files/ru/web/api/document/getelementsbyclassname/index.html @@ -70,53 +70,7 @@ var testDivs = Array.prototype.filter.call(testElements, function(testElement){

Совместимость браузеров

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - -
УровеньChromeFirefox (Gecko)Internet ExplorerOperaSafari
Базовая поддержка{{ CompatVersionUnknown() }}3.09.0{{ CompatVersionUnknown() }}{{ CompatVersionUnknown() }}
-
- -
- - - - - - - - - - - - - - - - - - - -
УровеньAndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Базовая поддержка{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}
-
+

{{Compat("api.Document.getElementsByClassName")}}

Спецификация

diff --git a/files/ru/web/api/document/hasfocus/index.html b/files/ru/web/api/document/hasfocus/index.html index e0a3a5114b..62b5fb0749 100644 --- a/files/ru/web/api/document/hasfocus/index.html +++ b/files/ru/web/api/document/hasfocus/index.html @@ -87,57 +87,7 @@ function openWindow() {

Совместимость с браузерами

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - - - -
FeatureChromeEdgeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support30{{CompatVersionUnknown}}{{ CompatGeckoDesktop("1.9") }}6.012.10{{ CompatVersionUnknown() }}
-
- -
- - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidEdgeFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{ CompatUnknown() }}{{CompatVersionUnknown}}{{ CompatGeckoMobile("1.9") }}{{ CompatUnknown() }}{{ CompatNo() }}{{ CompatUnknown() }}
-
+

{{Compat("api.Document.hasFocus")}}

Смотрите также

diff --git a/files/ru/web/api/document/origin/index.html b/files/ru/web/api/document/origin/index.html index ba9835d38a..dee1d94e45 100644 --- a/files/ru/web/api/document/origin/index.html +++ b/files/ru/web/api/document/origin/index.html @@ -52,55 +52,7 @@ var origin = document.origin;

Совместимость с браузерами

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - -
ОсобенностьChromeFirefox (Gecko)Internet ExplorerOperaSafari
Базовая поддержка{{CompatChrome(41)}}{{CompatNo}} {{bug(931884)}}{{CompatNo}}{{CompatNo}}{{CompatNo}}
-
- -
- - - - - - - - - - - - - - - - - - - - - -
ОсобенностьAndroidChrome for AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Базовая поддержка{{CompatNo}}{{CompatNo}}{{CompatNo}}{{CompatNo}}{{CompatNo}}{{CompatNo}}
-
+

{{Compat("api.Document.origin")}}

Смотрите также

diff --git a/files/ru/web/api/document/registerelement/index.html b/files/ru/web/api/document/registerelement/index.html index 437d09059f..c6891a28a8 100644 --- a/files/ru/web/api/document/registerelement/index.html +++ b/files/ru/web/api/document/registerelement/index.html @@ -62,53 +62,7 @@ mytag.textContent = "I am a my-tag element.";

Browser compatibility

-

{{CompatibilityTable}}

- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support3531 (behind a flag){{CompatNo}}25{{CompatNo}}
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support4.4.431 (behind a flag){{CompatNo}}25{{CompatNo}}
-
+

{{Compat("api.Document.registerElement")}}

See also

diff --git a/files/ru/web/api/document/scripts/index.html b/files/ru/web/api/document/scripts/index.html index 5dfec9003a..2a6f63e753 100644 --- a/files/ru/web/api/document/scripts/index.html +++ b/files/ru/web/api/document/scripts/index.html @@ -27,53 +27,7 @@ if (scripts.length) {

Browser compatibility

-
{{CompatibilityTable}}
- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support{{CompatVersionUnknown}}{{CompatGeckoDesktop("9.0")}}4.0{{CompatVersionUnknown}}{{CompatVersionUnknown}}
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{CompatVersionUnknown}}{{CompatGeckoMobile("9.0")}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
-
+

{{Compat("api.Document.scripts")}}

Specifications

-- cgit v1.2.3-54-g00ecf