diff options
| author | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:40:17 -0500 |
|---|---|---|
| committer | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:40:17 -0500 |
| commit | 33058f2b292b3a581333bdfb21b8f671898c5060 (patch) | |
| tree | 51c3e392513ec574331b2d3f85c394445ea803c6 /files/fr/web/mathml/element/merror | |
| parent | 8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff) | |
| download | translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2 translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip | |
initial commit
Diffstat (limited to 'files/fr/web/mathml/element/merror')
| -rw-r--r-- | files/fr/web/mathml/element/merror/index.html | 166 |
1 files changed, 166 insertions, 0 deletions
diff --git a/files/fr/web/mathml/element/merror/index.html b/files/fr/web/mathml/element/merror/index.html new file mode 100644 index 0000000000..823387f930 --- /dev/null +++ b/files/fr/web/mathml/element/merror/index.html @@ -0,0 +1,166 @@ +--- +title: merror +slug: Web/MathML/Element/merror +tags: + - MathML + - 'MathML:Element' + - 'MathML:Référence' +translation_of: Web/MathML/Element/merror +--- +<p>L'élément MathML <code><merror></code> est utilisé afin d'afficher des contenus en tant que messages d'erreur. Sous Firefox, ce message d'erreur est affiché de la même façon qu'un message d'erreur XML. Attention : cette erreur <strong>n'est pas déclenchée</strong> lorsque le contenu MahtML est incorrect ou mal formé. Ces deux cas de figure déclencheront une erreur d'analyse du XML (dans le cas de la notation XHTML de MathML), cette erreur n'ayant aucun lien avec <code><merror></code>.</p> +<h2 id="Attributs">Attributs</h2> +<dl> + <dt id="attr-class-id-style"> + class, id, style</dt> + <dd> + Afin d'être utilisés avec les <a href="/fr/docs/CSS">feuilles de styles</a>.</dd> + <dt id="attr-href"> + href</dt> + <dd> + Un hyperlien pointant vers un URI donné.</dd> + <dt id="attr-mathbackground"> + mathbackground</dt> + <dd> + La couleur de fond. Il est possible d'utiliser les codes au format <code>#rgb</code>, <code>#rrggbb</code> et les <a href="/fr/docs/CSS/valeur_de_couleur#Mots-cl.C3.A9s">noms de couleurs HTML</a>.</dd> + <dt id="attr-mathcolor"> + mathcolor</dt> + <dd> + La couleur du texte. Il est possible d'utiliser les codes au format <code>#rgb</code>, <code>#rrggbb</code> et les <a href="/fr/docs/CSS/valeur_de_couleur#Mots-cl.C3.A9s">noms de couleurs HTML</a>.</dd> +</dl> +<h2 id="Exemple">Exemple</h2> +<pre class="brush: html"><math> + +<merror> + <mrow> + <mtext> Division par zéro : </mtext> + <mfrac> + <mn> 1 </mn> + <mn> 0 </mn> + </mfrac> + </mrow> +</merror> + +</math> +</pre> +<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>Firefox (Gecko)</th> + <th>Internet Explorer</th> + <th>Opera</th> + <th>Safari</th> + </tr> + <tr> + <td>Support simple</td> + <td>{{ CompatNo() }} (24 seulement)</td> + <td>{{ CompatGeckoDesktop("1.0") }}</td> + <td>{{ CompatNo() }}</td> + <td>9.5</td> + <td>5.1</td> + </tr> + <tr> + <td><code>href</code></td> + <td>{{ CompatNo() }} {{webkitbug(85733)}}</td> + <td>{{ CompatGeckoDesktop("7.0") }}</td> + <td>{{ CompatNo() }}</td> + <td>{{ CompatNo() }}</td> + <td>{{ CompatNo() }} {{webkitbug(85733)}}</td> + </tr> + <tr> + <td><code>mathbackground</code></td> + <td>{{ CompatNo() }} (24 seulement )</td> + <td>{{ CompatGeckoDesktop("2.0") }}</td> + <td>{{ CompatNo() }}</td> + <td>{{ CompatNo() }}</td> + <td>5.1</td> + </tr> + <tr> + <td><code>mathcolor</code></td> + <td>{{ CompatNo() }} (24 seulement)</td> + <td>{{ CompatGeckoDesktop("2.0") }}</td> + <td>{{ CompatNo() }}</td> + <td>{{ CompatNo() }}</td> + <td>5.1</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>Support simple</td> + <td>{{ CompatNo() }}</td> + <td>{{ CompatNo() }}</td> + <td>{{ CompatGeckoMobile("1.0") }}</td> + <td>{{ CompatNo() }}</td> + <td>{{ CompatNo() }}</td> + <td>{{ CompatNo() }}</td> + </tr> + <tr> + <td><code>href</code></td> + <td>{{ CompatNo() }}</td> + <td>{{ CompatNo() }}</td> + <td>{{ CompatGeckoMobile("7.0") }}</td> + <td>{{ CompatNo() }}</td> + <td>{{ CompatNo() }}</td> + <td>{{ CompatNo() }}</td> + </tr> + <tr> + <td><code>mathbackground</code></td> + <td>{{ CompatNo() }}</td> + <td>{{ CompatNo() }}</td> + <td>{{ CompatGeckoMobile("2.0") }}</td> + <td>{{ CompatNo() }}</td> + <td>{{ CompatNo() }}</td> + <td>{{ CompatNo() }}</td> + </tr> + <tr> + <td><code>mathcolor</code></td> + <td>{{ CompatNo() }}</td> + <td>{{ CompatNo() }}</td> + <td>{{ CompatGeckoMobile("2.0") }}</td> + <td>{{ CompatNo() }}</td> + <td>{{ CompatNo() }}</td> + <td>{{ CompatNo() }}</td> + </tr> + </tbody> + </table> +</div> +<h2 id="Specifications" name="Specifications">Spécifications</h2> +<table class="standard-table"> + <thead> + <tr> + <th scope="col">Spécification</th> + <th scope="col">Statut</th> + <th scope="col">Commentaires</th> + </tr> + </thead> + <tbody> + <tr> + <td>{{ SpecName('MathML3', 'chapter3.html#presm.merror', 'merror') }}</td> + <td>{{ Spec2('MathML3') }}</td> + <td>Spécification actuelle</td> + </tr> + <tr> + <td>{{ SpecName('MathML2', 'chapter3.html#presm.merror', 'merror') }}</td> + <td>{{ Spec2('MathML2') }}</td> + <td>Spécification initiale</td> + </tr> + </tbody> +</table> +<p> </p> |
