Source code

Revision control

Copy as Markdown

Other Tools

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Test Reference: BR with small explicit line-height does not shrink below the strut</title>
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<style>
body {
margin: 0;
}
div {
font: 20px/1 Ahem;
}
</style>
</head>
<body>
<p>Test passes if X appears at approximately 20px from the top.</p>
<div style="padding-top: 20px">X</div>
</body>
</html>