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

Fri, 16 Jan 2015 04:50:19 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 04:50:19 +0100
branch
TOR_BUG_9701
changeset 13
44a2da4a2ab2
permissions
-rw-r--r--

Replace accessor implementation with direct member state manipulation, by
request https://trac.torproject.org/projects/tor/ticket/9701#comment:32

     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='True' name='HandheldFriendly' />
    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