servo/tests/ref/line_height_float_placement_a.html
Patrick Walton fec43b49bb layout: Implement per-glyph font fallback.
This improves numerous pages, for example Wikipedia and Ars Technica.

Closes #177.
2015-05-22 17:16:24 -07:00

32 lines
414 B
HTML

<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="css/ahem.css">
<style>
* {
margin: 0;
padding: 0;
}
body {
font-size: 16px;
font-family: Ahem;
padding-top: 5px;
}
#floaty {
float: left;
height: 20px;
width: 100px;
}
#pre {
line-height: 32px;
white-space: pre;
}
</style>
</head>
<body>
<div id=floaty></div>
<div id=pre>x
x</div>
</body>
</html>