diff options
Diffstat (limited to 'files/fr/web/api/textmetrics')
-rw-r--r-- | files/fr/web/api/textmetrics/index.html | 112 | ||||
-rw-r--r-- | files/fr/web/api/textmetrics/width/index.html | 52 |
2 files changed, 2 insertions, 162 deletions
diff --git a/files/fr/web/api/textmetrics/index.html b/files/fr/web/api/textmetrics/index.html index f73fc61343..1343de3979 100644 --- a/files/fr/web/api/textmetrics/index.html +++ b/files/fr/web/api/textmetrics/index.html @@ -62,117 +62,7 @@ translation_of: Web/API/TextMetrics <h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2> -<div>{{CompatibilityTable}}</div> - -<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>4.0</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatGeckoDesktop("1.8")}}</td> - <td>9.0</td> - <td>9.0</td> - <td>3.1</td> - </tr> - <tr> - <td><code>width</code></td> - <td>4.0</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatGeckoDesktop("1.8")}}</td> - <td>9.0</td> - <td>9.0</td> - <td>3.1</td> - </tr> - <tr> - <td><code>actualBoundingBoxLeft</code>,<br> - <code>actualBoundingBoxRight</code>,<br> - <code>fontBoundingBoxAscent</code>,<br> - <code>fontBoundingBoxDescent</code>,<br> - <code>actualBoundingBoxAscent</code>,<br> - <code>actualBoundingBoxDescent</code>,<br> - <code>emHeightAscent</code>,<br> - <code>emHeightDescent</code>,<br> - <code>hangingBaseline</code>,<br> - <code>alphabeticBaseline</code>,<br> - <code>ideographicBaseline</code></td> - <td>{{CompatVersionUnknown}}<sup>[1]</sup></td> - <td>{{CompatUnknown}}</td> - <td>{{CompatNo}}<sup>[2]</sup></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>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>2.1</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatGeckoMobile("1.8")}}</td> - <td>{{CompatUnknown}}</td> - <td>10.0</td> - <td>3.2</td> - </tr> - <tr> - <td><code>width</code></td> - <td>2.1</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatGeckoMobile("1.8")}}</td> - <td>{{CompatUnknown}}</td> - <td>10.0</td> - <td>3.2</td> - </tr> - <tr> - <td><code>actualBoundingBoxLeft</code>,<br> - <code>actualBoundingBoxRight</code>,<br> - <code>fontBoundingBoxAscent</code>,<br> - <code>fontBoundingBoxDescent</code>,<br> - <code>actualBoundingBoxAscent</code>,<br> - <code>actualBoundingBoxDescent</code>,<br> - <code>emHeightAscent</code>,<br> - <code>emHeightDescent</code>,<br> - <code>hangingBaseline</code>,<br> - <code>alphabeticBaseline</code>,<br> - <code>ideographicBaseline</code></td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatNo}}<sup>[2]</sup></td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - </tr> - </tbody> -</table> -</div> - -<p>[1] Pour activer les métriques de texte avancées, positionner l'indiquateur <code>ExperimentalCanvasFeatures</code> à <code>true</code>.</p> - -<p>[2] Gecko n'implémente pas encore cette fonctionnalité. Voir le {{bug(1102584)}} apparenté.</p> +<p>{{Compat("api.TextMetrics")}}</p> <h2 id="Voir_aussi">Voir aussi</h2> diff --git a/files/fr/web/api/textmetrics/width/index.html b/files/fr/web/api/textmetrics/width/index.html index b8eca27364..d59603163c 100644 --- a/files/fr/web/api/textmetrics/width/index.html +++ b/files/fr/web/api/textmetrics/width/index.html @@ -52,57 +52,7 @@ texte.width; // 16; <h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2> -<div>{{CompatibilityTable}}</div> - -<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>4.0</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatGeckoDesktop("1.8")}}</td> - <td>9.0</td> - <td>9.0</td> - <td>3.1</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>2.1</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatGeckoMobile("1.8")}}</td> - <td>{{CompatUnknown}}</td> - <td>10.0</td> - <td>3.2</td> - </tr> - </tbody> -</table> -</div> +<p>{{Compat("api.TextMetrics.width")}}</p> <h2 id="Voir_aussi">Voir aussi</h2> |