layout/reftests/font-inflation/threshold-input-text-contents-at-2-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-input-text-contents-at-2-ref.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,19 @@
     1.4 +<!DOCTYPE HTML>
     1.5 +<title>font.size.inflation.lineThreshold test</title>
     1.6 +<style>
     1.7 +body { width: 600px; }
     1.8 +body, input { font-size: 44px }
     1.9 +p { margin: 0 }
    1.10 +</style>
    1.11 +<!--
    1.12 +In a 600px container, the minimum font size at 15em per line is 40px.
    1.13 +This means we map 0px-60px into 40px-60px, so 12px gets mapped to 44px.
    1.14 +
    1.15 +Further, with a lineThreshold of 100, we need 50 characters of 12px
    1.16 +text to meet the line threshold.
    1.17 +-->
    1.18 +<p>123456789
    1.19 +123456789
    1.20 +<input size="10" value="this is a lot of text but it doesn't have an effect">
    1.21 +123456789
    1.22 +1234567890</p>

mercurial