layout/reftests/font-inflation/threshold-scope-cell-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-cell-1-ref.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,31 @@
     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 +table { border-spacing: 0 } /* FIXME: why is this needed?  Something to do with ComputeDescendantWidth in nsFontInflationData? */
    1.10 +td { padding: 0 }
    1.11 +</style>
    1.12 +<!--
    1.13 +In a 600px container, the minimum font size at 15em per line is 40px.
    1.14 +This means we map 0px-60px into 40px-60px, so 12px gets mapped to 44px.
    1.15 +
    1.16 +Further, with a lineThreshold of 100, we need 50 characters of 12px
    1.17 +text to meet the line threshold.
    1.18 +-->
    1.19 +<table><tr><td style="width: 600px; font-size: 44px">123456789
    1.20 +123456789
    1.21 +123456789
    1.22 +123456789
    1.23 +1234567890</td></tr>
    1.24 +<tr><td>123456789
    1.25 +123456789
    1.26 +123456789
    1.27 +123456789
    1.28 +123456789</td></tr>
    1.29 +</table>
    1.30 +<p>123456789
    1.31 +123456789
    1.32 +123456789
    1.33 +123456789
    1.34 +123456789</p>

mercurial