gecko-dev/layout/reftests/text/subpixel-lineheight-1b.html
Karl Tomlinson d0bb311d43 test pixel-snapping of glyphs b=605043 a=blocking
--HG--
extra : transplant_source : A%DA%D6%9C%AA%E0%CF%86%E3%13S.%FD%13%06%16%AB%D7i%E1
2010-11-15 08:22:34 +13:00

53 lines
1.1 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css">
body {
text-rendering: optimizeLegibility;
font-size: 14.5px;
}
div, span {
border: none;
padding: 0px;
}
span {
/* Offset the baseline by an integer number of pixels */
display: inline-block;
vertical-align: baseline;
height: 30px;
}
</style>
</head>
<body>
<div style="position:fixed; left:10px; top:10.4px; font-family: sans-serif">
e<span></span><br>
e<br>
e<br>
e<br>
e<br>
e<br>
e<br>
e<br>
e<br>
e<br>
e<br>
e<br>
</div>
<div style="position:fixed; left:100px; top:10.4px; font-family: serif">
e<span></span><br>
e<br>
e<br>
e<br>
e<br>
e<br>
e<br>
e<br>
e<br>
e<br>
e<br>
e<br>
</div>
</body>