Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>floating inside display: block MathML (reference)</title>
</head>
<body>
<p>Test passes if you see a blue square on the left and a smaller magenta square on the right.</p>
<div>
<div style="display: block">
<div style="display: inline-block; width: 50px; height: 50px; background: magenta"></div><div style="float: left; display: inline-block; width: 100px; height: 100px; background: blue"></div>
</div>
</div>
</body>
</html>