aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/api/htmlcanvaselement
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/htmlcanvaselement
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/htmlcanvaselement')
-rw-r--r--files/fr/web/api/htmlcanvaselement/getcontext/index.html161
-rw-r--r--files/fr/web/api/htmlcanvaselement/index.html124
2 files changed, 4 insertions, 281 deletions
diff --git a/files/fr/web/api/htmlcanvaselement/getcontext/index.html b/files/fr/web/api/htmlcanvaselement/getcontext/index.html
index 142044f6bd..d3f60a88a1 100644
--- a/files/fr/web/api/htmlcanvaselement/getcontext/index.html
+++ b/files/fr/web/api/htmlcanvaselement/getcontext/index.html
@@ -120,166 +120,7 @@ console.log(ctx); // CanvasRenderingContext2D { ... }
<h2 id="Compatibilité_navigateurs">Compatibilité 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 (contexte 2d)</td>
- <td>{{CompatChrome(4)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.9.2")}}</td>
- <td>{{CompatIE(9)}}</td>
- <td>{{CompatOpera(9)}}</td>
- <td>{{CompatSafari(3.1)}}</td>
- </tr>
- <tr>
- <td>Contexte <code>webgl</code></td>
- <td>{{CompatChrome(9)}}<sup>[1]</sup><br>
- {{CompatChrome(33)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop('1.9.2')}}<sup>[1]</sup><br>
- {{CompatGeckoDesktop('24')}}</td>
- <td>11.0<sup>[2]</sup></td>
- <td>9.0<sup>[3]</sup></td>
- <td>5.1<sup>[2]</sup></td>
- </tr>
- <tr>
- <td>Contexte <code>webgl2</code></td>
- <td>{{CompatChrome(56)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop('25')}}<sup>[4]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>Attribut de contexte <code>alpha </code>2d</td>
- <td>32</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop(30)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>
- <p><code>A</code>ttribut <code>failIfMajorPerformanceCaveat</code></p>
- </td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop(41)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Contexte bitmaprenderer</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop(46)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</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>Chrome pour 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 (contexte 2d)</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("1.9.2")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>Contexte <code>webgl</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}<sup>[2]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Contexte <code>webgl2</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>Attribut de contexte <code>alpha </code>2d</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile(30)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>A</code>ttribut <code>failIfMajorPerformanceCaveat</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile(41)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Contexte bitmaprenderer</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile(46)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Chrome 9 et Gecko 1.9.2 l'implémentaient initialement comme <code>-webgl</code> <code>expérimental</code>. Depuis Chrome 33 et Gecko 24, ils l'implémentent comme <code>webgl</code> standard.</p>
-
-<p>[2] Internet Explorer 11, WebKit 5.1 et Firefox Mobile l'implémentaient comme <code>-webgl</code> <code>expérimental</code>.</p>
-
-<p>[3] Opera 9 l'implémentait comme <code>-webgl</code> <code>expérimental</code> via une préférence utilisateur, dans la version 15.0, la préférence utilisateur a été supprimée.</p>
-
-<p>[4] Gecko 25 l'implémentait comme "<code>-webgl2</code> <code>expérimental</code>" via la préférence utilisateur <code>webgl.enable-prototype-webgl2</code>. A partir de Gecko 42, la chaîne "webgl2" est utilisée via la même préférence, et "experimental-webgl2" n'est plus accepté.</p>
+<p>{{Compat("api.HTMLCanvasElement.getContext")}}</p>
<h2 id="Voir_aussi">Voir aussi</h2>
diff --git a/files/fr/web/api/htmlcanvaselement/index.html b/files/fr/web/api/htmlcanvaselement/index.html
index d87b8022f5..b87a8ee1fd 100644
--- a/files/fr/web/api/htmlcanvaselement/index.html
+++ b/files/fr/web/api/htmlcanvaselement/index.html
@@ -232,129 +232,11 @@ function supprimerCouleurs() {
</tbody>
</table>
-<h2 id="Support_par_les_navigateurs">Support par les navigateurs</h2>
+<h2 id="Browser_compatibility">Compatibilité des navigateurs</h2>
-<div>{{CompatibilityTable}}</div>
+<p>{{Compat("api.HTMLCanvasElement")}}</p>
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Fonctionnalité</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Fonctionnalité de base</td>
- <td>4.0</td>
- <td>{{CompatGeckoDesktop('3.6')}}</td>
- <td>9.0</td>
- <td>9.0 [1]</td>
- <td>3.1</td>
- </tr>
- <tr>
- <td><code>toBlob()</code></td>
- <td>{{CompatNo}} (bug <a href="http://crbug.com/67587">67587</a>)</td>
- <td>{{CompatGeckoDesktop('3.6')}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}} (bug <a href="https://bugs.webkit.org/show_bug.cgi?id=71270">71270</a>)</td>
- </tr>
- <tr>
- <td><code>toBlobHD()</code>, <code>toDataURLHD()</code>, <code>supportsContext()</code>, <code>setContext()</code>, <code>transferControlToProxy()</code> {{experimental_inline}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>mozGetAsFile()</code> {{non-standard_inline}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop('2')}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>mozFetchAsStream()</code> {{non-standard_inline}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop('13')}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</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>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Fonctionnalité de base</td>
- <td>2.1</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>10.0 [1]</td>
- <td>3.2</td>
- </tr>
- <tr>
- <td><code>toBlob()</code></td>
- <td>{{CompatNo}} (bug <a href="http://crbug.com/67587">67587</a>)</td>
- <td>{{CompatNo}} (bug <a href="http://crbug.com/67587">67587</a>)</td>
- <td>{{CompatGeckoMobile('3.6')}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}} (bug <a href="https://bugs.webkit.org/show_bug.cgi?id=71270">71270</a>)</td>
- </tr>
- <tr>
- <td><code>toBlobHD()</code>, <code>toDataURLHD()</code>, <code>supportsContext()</code>, <code>setContext()</code>, <code>transferControlToProxy()</code> {{experimental_inline}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>mozGetAsFile()</code> {{non-standard_inline}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile('2')}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>mozFetchAsStream()</code> {{non-standard_inline}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile('13')}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Opera Mini 5.0 et supérieur ont un support partiel.</p>
-
-<h2 id="Voir_également">Voir également</h2>
+<h2 id="See_also">Voir aussi</h2>
<ul>
<li>Elément HTML implementant cette interface : {{HTMLElement("canvas")}}.</li>