Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Minimal size for a vertical arrow stretched by scaling</title>
<link rel="mismatch" href="scale-stretchy-002-ref.html">
<meta name="assert" content="Verify minimal height of vertical operator stretched by scaling.">
</head>
<body>
<!-- This assumes that the system fonts do not provide a way to draw a
bigger U+290B DOWNWARDS TRIPLE ARROW and that preference
`mathml.scale_stretchy_operators` is enabled, so that we exercise
stretching of largeop using a scale. This test may still pass if
stretching is not performed via a scale though. -->
<table style="position: absolute;">
<tr>
<td><div style="height: 200px; width: 5px; background: black"/></td>
<td>
<mrow>
<mspace height="50px" depth="50px" width="5px"
style="background: yellow" />
<mo style="color: blue;">⤋</mo>
</mrow>
</math>
</td>
</tr>
</table>
<!-- The green rect is slightly shorter than the target size so it should
not completely cover the operator. -->
<table style="position: absolute;">
<tr>
<td><div style="height: 200px; width: 5px; background: black"/></td>
<td>
<mrow>
<mspace height="50px" depth="50px" width="5px"
style="background: yellow" />
<mspace height="44px" depth="44px" width="50px"
style="background: green;"/>
</mrow>
</math>
</td>
</tr>
</table>
</body>
</html>