layout/reftests/font-inflation/disable-fontinfl-on-mobile-3.html

Wed, 31 Dec 2014 13:27:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 13:27:57 +0100
branch
TOR_BUG_3246
changeset 6
8bccb770b82d
permissions
-rw-r--r--

Ignore runtime configuration files generated during quality assurance.

     1 <!--
     2 Without the patch for bug 706198, this website should not show up as inflated. That means
     3 that with a 450px container, the minimum font size with 15em per line should be 30px.
     4 So, we map 0px-45px into 30px-45px, and thus 12px gets mapped to 34px.
     6 With the patch, the text should be uninflated, which means that 12px should still be
     7 12px.
     8 -->
     9 <!DOCTYPE html>
    10 <html>
    11   <head>
    12     <meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0' name='viewport' />
    13     <style>
    14       p { font-size: 12px; line-height: 1.0;}
    15     </style>
    16     <body>
    17       <p>Some uninflated text.</p>
    18     </body>
    19   </head>
    20 </html>

mercurial