layout/reftests/font-inflation/threshold-select-listbox-contents-under-2.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/font-inflation/threshold-select-listbox-contents-under-2.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</title>
     1.6 +<style>
     1.7 +body { width: 600px; }
     1.8 +body, select, option { font-size: 12px }
     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 +<select size="3">
    1.21 +  <option>123456789</option>
    1.22 +  <option>23456789</option>
    1.23 +  <option>3</option>
    1.24 +</select>
    1.25 +123456789
    1.26 +1234567890</p>

mercurial