aboutsummaryrefslogtreecommitdiff
path: root/files/ru/web/api/selection
diff options
context:
space:
mode:
authorYujiSoftware <yuji.software@gmail.com>2021-05-16 22:30:00 +0900
committerGitHub <noreply@github.com>2021-05-16 16:30:00 +0300
commitd2c717611f2ab3dc0a25deae3a78cf44aa31a4f2 (patch)
treebb953ad1f2cf6752372fac3dcae7db4634e2de6f /files/ru/web/api/selection
parent0667721b0999fe6407c1a82888a760ea5d0e2c7d (diff)
downloadtranslated-content-d2c717611f2ab3dc0a25deae3a78cf44aa31a4f2.tar.gz
translated-content-d2c717611f2ab3dc0a25deae3a78cf44aa31a4f2.tar.bz2
translated-content-d2c717611f2ab3dc0a25deae3a78cf44aa31a4f2.zip
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)
Diffstat (limited to 'files/ru/web/api/selection')
-rw-r--r--files/ru/web/api/selection/getrangeat/index.html50
-rw-r--r--files/ru/web/api/selection/index.html67
2 files changed, 2 insertions, 115 deletions
diff --git a/files/ru/web/api/selection/getrangeat/index.html b/files/ru/web/api/selection/getrangeat/index.html
index b69ef6a122..f586e27f7a 100644
--- a/files/ru/web/api/selection/getrangeat/index.html
+++ b/files/ru/web/api/selection/getrangeat/index.html
@@ -60,55 +60,7 @@ for(var i = 0; i &lt; sel.rangeCount; i++) {
<h2 id="Browser_compatibility" name="Browser_compatibility">Совместимость</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Особенность</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Базовая поддержка</td>
- <td>Да</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Особенность</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Базовая поддержка</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>1.0</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+<p>{{Compat("api.Selection.getRangeAt")}}</p>
<h2 id="See_also" name="See_also">Смотрите также</h2>
diff --git a/files/ru/web/api/selection/index.html b/files/ru/web/api/selection/index.html
index 7c6e62ec82..8d07ebd8de 100644
--- a/files/ru/web/api/selection/index.html
+++ b/files/ru/web/api/selection/index.html
@@ -136,72 +136,7 @@ var range = selObj.getRangeAt(0);</pre>
<h2 id="Browser_compatibility" name="Browser_compatibility">Browser compatibility</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>9</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>modify()</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop(2)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>modify()</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile(2)}}</td>
- <td>1.0</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+<p>{{Compat("api.Selection")}}</p>
<h2 id="See_also" name="See_also">Смотрите также</h2>