aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/api/text
diff options
context:
space:
mode:
authortristantheb <tristantheb@users.noreply.github.com>2021-04-02 13:50:14 +0200
committerGitHub <noreply@github.com>2021-04-02 13:50:14 +0200
commit99efa5cfa34c3f9d38b75352881acdfc99508ebf (patch)
tree15a37e05bf05f0daff2893f0a2f1c8a3673ac86b /files/fr/web/api/text
parentc37cf5ec1bb9d4f6c51d12eaeef1bd5af12695f8 (diff)
downloadtranslated-content-99efa5cfa34c3f9d38b75352881acdfc99508ebf.tar.gz
translated-content-99efa5cfa34c3f9d38b75352881acdfc99508ebf.tar.bz2
translated-content-99efa5cfa34c3f9d38b75352881acdfc99508ebf.zip
UPDATE: FR-ONLY - Remove all old CompatibilityTable to replace with {{Compat()}} (#311)
* UPDATE: Removing CompatibilityTable script - Part 1 * UPDATE: Removing CompatibilityTable script - Part 2 * UPDATE: Removing CompatibilityTable script - Part 3 * UPDATE: Removing CompatibilityTable script - Part 4 * UPDATE: Removing CompatibilityTable script - Part 5/5 * FIX: Repair the EOL of one page * FIX: Fix conflicting file
Diffstat (limited to 'files/fr/web/api/text')
-rw-r--r--files/fr/web/api/text/index.html136
-rw-r--r--files/fr/web/api/text/splittext/index.html56
2 files changed, 2 insertions, 190 deletions
diff --git a/files/fr/web/api/text/index.html b/files/fr/web/api/text/index.html
index 702acd9d54..17d8a077cf 100644
--- a/files/fr/web/api/text/index.html
+++ b/files/fr/web/api/text/index.html
@@ -91,141 +91,7 @@ translation_of: Web/API/Text
<h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Fonctionnalité</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0 [3]</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.0")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}} [3]</td>
- <td>{{CompatVersionUnknown}} [4]</td>
- </tr>
- <tr>
- <td><code>wholeText</code></td>
- <td>1.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.9.1")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>isElementContentWhitespace</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}<br>
- Removed in {{CompatGeckoDesktop("10")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>replaceWholeText</code></td>
- <td>{{CompatVersionUnknown}} [1] [2]</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.9.1")}}<br>
- Removed in {{CompatGeckoDesktop("10")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}} [1] [2]</td>
- <td>{{CompatVersionUnknown}} [4]</td>
- </tr>
- <tr>
- <td><code>Text()</code> constructor</td>
- <td>28.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("24.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>15.0</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Fonctionnalité</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}} [3]</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("1.0")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}} [3]</td>
- <td>{{CompatVersionUnknown}} [4]</td>
- </tr>
- <tr>
- <td><code>wholeText</code></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("1.9.1")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>isElementContentWhitespace</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}<br>
- Removed in {{CompatGeckoMobile("10")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>replaceWholeText</code></td>
- <td>{{CompatVersionUnknown}} [1] [2]</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("1.9.1")}}<br>
- Removed in {{CompatGeckoMobile("10")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}} [1] [2]</td>
- <td>{{CompatVersionUnknown}} [4]</td>
- </tr>
- <tr>
- <td><code>Text()</code> constructor</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("24.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>15.0</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Chromium envisage actuellement de laisser tomber son support.</p>
-
-<p>[2] Avant Chrome 30 et Opera 17, l'argument n'était pas obligatoire, comme requis par la spécification.</p>
-
-<p>[3] Avant Chrome 30 et Opera 17, l'argument <code>splitText()</code> n'était pas obligatoire, tel que requis par la spécification et mis en œuvre par les navigateurs IE et Gecko.</p>
-
-<p>[4] L'argument n'est pas obligatoire, bien que requis par la spécification.</p>
+<p>{{Compat("api.Text")}}</p>
<h2 id="Voir_aussi">Voir aussi</h2>
diff --git a/files/fr/web/api/text/splittext/index.html b/files/fr/web/api/text/splittext/index.html
index 034a953e46..32b259df12 100644
--- a/files/fr/web/api/text/splittext/index.html
+++ b/files/fr/web/api/text/splittext/index.html
@@ -78,61 +78,7 @@ translation_of: Web/API/Text/splitText
<h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Fonctionnalité</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Support de base</td>
- <td>1.0 [1]</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.0")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}} [1]</td>
- <td>{{CompatVersionUnknown}} [2]</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Fonctionnalité</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Support de base</td>
- <td>{{CompatVersionUnknown}} [1]</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("1.0")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}} [1]</td>
- <td>{{CompatVersionUnknown}} [2]</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Avant Chrome 30 et Opera 17, l’argument de <code>splitText()</code> n’était pas obligatoire, tel que requis par la spécification et implementé par IE et les navigateurs basés sur Gecko.</p>
-
-<p>[2] L’argument n’est pas obligatoire, bien que requis par la spec.</p>
+<p>{{Compat("api.Text.splitText")}}</p>
<h2 id="Voir_aussi">Voir aussi</h2>