layout/reftests/font-inflation/container-with-clamping-innerFrame.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/font-inflation/container-with-clamping-innerFrame.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,15 @@
     1.4 +<!DOCTYPE HTML>
     1.5 +<style>
     1.6 +	div { background: yellow }
     1.7 +	div { font-size: 12px; line-height: 1.0; width: 450px }
     1.8 +</style>
     1.9 +<!--
    1.10 +Without the patch for bug 707855, we have a 450px container, and the minimum font size
    1.11 +at 15em per line is 30px. This means we map 0px-45px into 30px-45px, so 12px gets mapped
    1.12 +to 34px.
    1.13 +
    1.14 +With the patch, then we have a 240px container, so the minimum font size
    1.15 +at 15 em per line is 16px. So, we map 0px-24px into 16px-24px, so 12px gets
    1.16 +mapped to 20px.
    1.17 +-->
    1.18 +<div>Test to see if too large of a container causes a giant escalation of the font size when font inflation is enabled.</div>

mercurial