aboutsummaryrefslogtreecommitdiff
path: root/files/pt-pt/web/mathml/element/mphantom/index.html
blob: bfbbd09dfd4b3fd8d5efb5c2223f66795bd409b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
---
title: <mphantom>
slug: Web/MathML/Element/mphantom
tags:
  - MathML
  - 'MathML:Element'
  - 'MathML:General Layout Schemata'
  - Referência de MathML
translation_of: Web/MathML/Element/mphantom
---
<div>{{MathMLRef}}</div>

<p class="summary"><span class="seoSummary">O elemento de MathML <code>&lt;mphantom&gt;</code> é feito invisível, mas as suas dimensões (como a altura, largura e posição base) são mantidas.</span></p>

<h2 id="Atributos">Atributos</h2>

<dl>
 <dt id="attr-class-id-style">class, id, style</dt>
 <dd>Para uso com <em><a href="/en-US/docs/CSS">stylesheets</a></em>.</dd>
 <dt id="attr-mathbackground">mathbackground</dt>
 <dd>A cor de fundo. Pode usar <code>#rgb</code>, <code>#rrggbb</code> e <a class="external external-icon" href="https://wiki.developer.mozilla.org/en-US/docs/CSS/color_value#Color_Keywords" rel="noopener">nomes de cores de HTML</a>.</dd>
</dl>

<h2 id="Exemplos">Exemplos</h2>

<p>Exemplo: <img alt="x+  z" src="/files/3199/mphantom.png" style="margin-left: 10px; vertical-align: middle;"></p>

<p>Exemplo renderizado no seu navegador: <math> <mrow> <mi> x </mi> <mo> + </mo> <mphantom> <mi> y </mi> <mo> + </mo> </mphantom> <mi> z </mi> </mrow> </math></p>

<pre class="brush: html notranslate">&lt;math&gt;

&lt;mrow&gt;
  &lt;mi&gt; x &lt;/mi&gt;
  &lt;mo&gt; + &lt;/mo&gt;
  &lt;mphantom&gt;
    &lt;mi&gt; y &lt;/mi&gt;
    &lt;mo&gt; + &lt;/mo&gt;
  &lt;/mphantom&gt;
  &lt;mi&gt; z &lt;/mi&gt;
&lt;/mrow&gt;

&lt;/math&gt;
</pre>

<h2 id="Especificações">Especificações</h2>

<table class="standard-table">
 <thead>
  <tr>
   <th scope="col">Especificação</th>
   <th scope="col">Estado</th>
   <th scope="col">Comentário</th>
  </tr>
 </thead>
 <tbody>
  <tr>
   <td>{{ SpecName('MathML3', 'chapter3.html#presm.mphantom', 'mphantom') }}</td>
   <td>{{ Spec2('MathML3') }}</td>
   <td>Especificação atual</td>
  </tr>
  <tr>
   <td>{{ SpecName('MathML2', 'chapter3.html#presm.mphantom', 'mphantom') }}</td>
   <td>{{ Spec2('MathML2') }}</td>
   <td>Especificação inicial</td>
  </tr>
 </tbody>
</table>

<h2 id="Compatibilidade">Compatibilidade</h2>



<p>{{Compat("mathml.elements.mphantom")}}</p>

<h2 id="Ver_também">Ver também</h2>

<ul>
 <li>{{ MathMLElement("mspace") }}</li>
 <li>{{ MathMLElement("mpadded") }}</li>
</ul>