layout/reftests/font-inflation/threshold-scope-float-1-ref.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/font-inflation/threshold-scope-float-1-ref.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,23 @@
     1.4 +<!DOCTYPE HTML>
     1.5 +<title>font.size.inflation.lineThreshold test: scope of accumulation</title>
     1.6 +<style>
     1.7 +body { font-size: 12px; width: 600px; }
     1.8 +p { margin: 0 }
     1.9 +</style>
    1.10 +<!--
    1.11 +In a 600px container, the minimum font size at 15em per line is 40px.
    1.12 +This means we map 0px-60px into 40px-60px, so 12px gets mapped to 44px.
    1.13 +
    1.14 +Further, with a lineThreshold of 100, we need 50 characters of 12px
    1.15 +text to meet the line threshold.
    1.16 +-->
    1.17 +<p style="float:right; width: 600px; font-size: 44px">123456789
    1.18 +123456789
    1.19 +123456789
    1.20 +123456789
    1.21 +1234567890</p>
    1.22 +<p>123456789
    1.23 +123456789
    1.24 +123456789
    1.25 +123456789
    1.26 +123456789</p>

mercurial