MathML:Stretchy: Difference between revisions

Jump to navigation Jump to search
stretching / MathML-only
(More information on stretching bugs)
(stretching / MathML-only)
Line 14: Line 14:
== Stretching in mtable cells ==
== Stretching in mtable cells ==


{{bug|236963}}
When an operator is the sole direct subexpression of an mtd in a row/column of a mtable it should stretch to cover the maximum height/width of the non-stretchy direct sub-expressions in the mrow element. Here is a basic example (the brace should cover the height of the mfrac):
 
<pre>
<mtable><mtr>
  <mtd><mo>{</mo></mtd>
  <mtd><mfrac><mi>a</mi><mi>b</mi></mfrac></mtd>
</mtr></mtable>
</pre>
 
Of course, the general case is more complicated:
* there may be both vertical/horizontal stretching involved at the same time.
* there may be several non-stretchy direct sub-expressions.
* there may be columnspan/rowspan attributes
* and maybe more...
 
See {{bug|236963}}


== MathML-only document ==
== MathML-only document ==


{{bug|442209}}
Stretching does not work on a MathML-only document (i.e. whose document root is a <math/> element).
 
<pre>
<math xmlns="http://www.w3.org/1998/Math/MathML">
  <mo>{</mo>
  <mfrac><mn>1</mn><mn>2</mn></mfrac>
</math>
</pre>
See {{bug|442209}}
Confirmed users
226

edits

Navigation menu