Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Padding/border/margin on an mi with italic mathvariant</title>
<link rel="match" href="padding-border-margin-004-ref.html"/>
<meta name="assert" content="Verify visual rendering of padding/border/margin on an mi with italic mathvariant.">
<style>
@font-face {
font-family: TestFont;
src: url("/fonts/math/mathvariant-italic.woff");
}
math {
font-family: TestFont;
font-size: 300px;
}
</style>
<body>
<p>This test passes if you see the text <code>1d434</code> in cyan on a blue
background, surrounded by a 10px padding, surrounded by a 10px
yellow dashed border, itself surrounded by a 10px pink margin.</p>
<div style="background: pink; position: absolute; left: 10px; top: 4em;">
<math>
<mi style="background: blue; border: 10px dashed yellow; padding: 10px; margin: 10px; color: cyan;">&#x41;</mi>
</math>
</div>
</body>
</html>