servo/tests/ref/line_height_float_placement_a.html
Patrick Walton 00a2685cbe layout: During inline layout, make place_between_floats use the same
line height computation logic as final block size assignment.

Improves Wikipedia.
2015-04-09 14:23:08 -07:00

32 lines
425 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, monospace;
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>