layout/reftests/text/subpixel-lineheight-1b.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/text/subpixel-lineheight-1b.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,52 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html lang="en">
     1.6 +<head>
     1.7 +        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
     1.8 +        <meta http-equiv="Content-Style-Type" content="text/css">
     1.9 +        <style type="text/css">
    1.10 +          body {
    1.11 +             text-rendering: optimizeLegibility;
    1.12 +             font-size: 14.5px;
    1.13 +          }
    1.14 +          div, span {
    1.15 +             border: none;
    1.16 +             padding: 0px;
    1.17 +          }
    1.18 +          span {
    1.19 +             /* Offset the baseline by an integer number of pixels */
    1.20 +             display: inline-block;
    1.21 +             vertical-align: baseline;
    1.22 +             height: 30px;
    1.23 +          }
    1.24 +        </style>
    1.25 +</head>
    1.26 +<body>
    1.27 +  <div style="position:fixed; left:10px; top:10.4px; font-family: sans-serif">
    1.28 +    e<span></span><br>
    1.29 +    e<br>
    1.30 +    e<br>
    1.31 +    e<br>
    1.32 +    e<br>
    1.33 +    e<br>
    1.34 +    e<br>
    1.35 +    e<br>
    1.36 +    e<br>
    1.37 +    e<br>
    1.38 +    e<br>
    1.39 +    e<br>
    1.40 +  </div>
    1.41 +  <div style="position:fixed; left:100px; top:10.4px; font-family: serif">
    1.42 +    e<span></span><br>
    1.43 +    e<br>
    1.44 +    e<br>
    1.45 +    e<br>
    1.46 +    e<br>
    1.47 +    e<br>
    1.48 +    e<br>
    1.49 +    e<br>
    1.50 +    e<br>
    1.51 +    e<br>
    1.52 +    e<br>
    1.53 +    e<br>
    1.54 +  </div>
    1.55 +</body>

mercurial