blob: 02430afbde5d1ab2fc11cf60aced8d55a3f83c9d [file] [log] [blame]
<!doctype html>
<html>
<head>
<title>mpadded unsupported values</title>
<meta charset="utf-8"/>
</head>
<body>
<!-- This verifies that the values that we do not support do not cause any problem. -->
<!-- If width/height/depth/lspace are negative, we set them to zero. -->
<math>
<mpadded width="-20px" mathbackground="red">
<mspace width="50px" height="25px" depth="25px"/>
</mpadded>
<mpadded height="-20px" mathbackground="green">
<mspace width="50px" height="25px" depth="25px"/>
</mpadded>
<mpadded depth="-20px" mathbackground="blue">
<mspace width="50px" height="25px" depth="25px"/>
</mpadded>
<mpadded lspace="-20px" mathbackground="magenta">
<mspace width="50px" height="25px" depth="25px"/>
</mpadded>
</math>
<hr/>
<!-- We ignore pseudo-units values. -->
<math>
<mpadded width="3width" mathbackground="red">
<mspace width="50px" height="25px" depth="25px"/>
</mpadded>
<mpadded height="3depth" mathbackground="green">
<mspace width="50px" height="25px" depth="25px"/>
</mpadded>
<mpadded depth="3height" mathbackground="blue">
<mspace width="50px" height="25px" depth="25px"/>
</mpadded>
</math>
</body>
</html>