aboutsummaryrefslogtreecommitdiff
path: root/files/ru/web/mathml/element/merror
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 14:42:52 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 14:42:52 -0500
commit074785cea106179cb3305637055ab0a009ca74f2 (patch)
treee6ae371cccd642aa2b67f39752a2cdf1fd4eb040 /files/ru/web/mathml/element/merror
parentda78a9e329e272dedb2400b79a3bdeebff387d47 (diff)
downloadtranslated-content-074785cea106179cb3305637055ab0a009ca74f2.tar.gz
translated-content-074785cea106179cb3305637055ab0a009ca74f2.tar.bz2
translated-content-074785cea106179cb3305637055ab0a009ca74f2.zip
initial commit
Diffstat (limited to 'files/ru/web/mathml/element/merror')
-rw-r--r--files/ru/web/mathml/element/merror/index.html77
1 files changed, 77 insertions, 0 deletions
diff --git a/files/ru/web/mathml/element/merror/index.html b/files/ru/web/mathml/element/merror/index.html
new file mode 100644
index 0000000000..78db2d09bd
--- /dev/null
+++ b/files/ru/web/mathml/element/merror/index.html
@@ -0,0 +1,77 @@
+---
+title: <merror>
+slug: Web/MathML/Element/merror
+tags:
+ - MathML
+ - MathML Reference
+ - 'MathML:Element'
+ - 'MathML:General Layout Schemata'
+translation_of: Web/MathML/Element/merror
+---
+<div>{{MathMLRef}}</div>
+
+<p class="summary">Элемент MathML <code>&lt;merror&gt;</code> используется для отображения содержимого в виде сообщений об ошибках. В Firefox это сообщение об ошибке отображается аналогично типичному сообщению об ошибке XML. Обратите внимание, что эта ошибка <strong>не</strong> выдается, если ваша разметка MathML неверна или неправильно сформирован XML. Вы все равно получите ошибку разбора XML (в случае XHTML-нотации MathML), которая не имеет ничего общего с <code>&lt;merror&gt;</code>.</p>
+
+<h2 id="Атрибуты">Атрибуты</h2>
+
+<dl>
+ <dt id="attr-class-id-style">class, id, style</dt>
+ <dd>Предполагается использование с <a href="/ru/docs/CSS">таблицами стилей</a>.</dd>
+ <dt id="attr-href">href</dt>
+ <dd>Используется для установки гиперссылки на указанный URI.</dd>
+ <dt id="attr-mathbackground">mathbackground</dt>
+ <dd>Цвет фона. Ты можешь использовать <code>#rgb</code>, <code>#rrggbb</code> и <a href="/ru/docs/CSS/color_value#Color_Keywords">имена цветов HTML</a>.</dd>
+ <dt id="attr-mathcolor">mathcolor</dt>
+ <dd>Цвет текста, а также цвет линии дроби. Вы можете использовать <code>#rgb</code>, <code>#rrggbb</code> и <a href="/ru/docs/CSS/color_value#Color_Keywords">имена цветов HTML</a>.</dd>
+</dl>
+
+<h2 id="Примеры">Примеры</h2>
+
+<pre class="brush: html">&lt;math&gt;
+
+&lt;merror&gt;
+ &lt;mrow&gt;
+ &lt;mtext&gt; Деление на ноль: &lt;/mtext&gt;
+ &lt;mfrac&gt;
+ &lt;mn&gt; 1 &lt;/mn&gt;
+ &lt;mn&gt; 0 &lt;/mn&gt;
+ &lt;/mfrac&gt;
+ &lt;/mrow&gt;
+&lt;/merror&gt;
+
+&lt;/math&gt;
+</pre>
+
+<h2 id="Спецификации">Спецификации</h2>
+
+<table class="standard-table">
+ <thead>
+ <tr>
+ <th scope="col">Спецификация</th>
+ <th scope="col">Статус</th>
+ <th scope="col">Комментарий</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>{{ SpecName('MathML3', 'chapter3.html#presm.merror', 'merror') }}</td>
+ <td>{{ Spec2('MathML3') }}</td>
+ <td>Текущая спецификация</td>
+ </tr>
+ <tr>
+ <td>{{ SpecName('MathML2', 'chapter3.html#presm.merror', 'merror') }}</td>
+ <td>{{ Spec2('MathML2') }}</td>
+ <td>Начальная спецификация</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="Совместимость_с_браузерами">Совместимость с браузерами</h2>
+
+<p> </p>
+
+
+
+<p>{{Compat("mathml.elements.merror")}}</p>
+
+<p> </p>