layout/reftests/font-inflation/consecutive-inline.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/font-inflation/consecutive-inline.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,31 @@
     1.4 +<!DOCTYPE HTML>
     1.5 +<style>
     1.6 +  div {
     1.7 +    width: 450px;
     1.8 +    font-size: 12px;
     1.9 +  }
    1.10 +
    1.11 +  a {
    1.12 +    font-weight: bold;
    1.13 +    line-height: 1.1em;
    1.14 +    color: blue;
    1.15 +  }
    1.16 +
    1.17 +  a#first {
    1.18 +    font-size: 12px;
    1.19 +    font-style: italic;
    1.20 +  }
    1.21 +
    1.22 +  a#second {
    1.23 +    font-size: 30px;
    1.24 +  }
    1.25 +
    1.26 +</style>
    1.27 +<!--
    1.28 +In a 450 px container, the minimum font size at 15em per line is 30px. This
    1.29 +means we map 0px-45px into 30px-45px, so 12px gets mapped to 34px and 30px
    1.30 +gets mapped to 40px.
    1.31 +-->
    1.32 +<div>
    1.33 +  <a id="first" href="">Hello</a><a id="second" href="">Worldz</a>
    1.34 +</div>

mercurial