layout/reftests/font-inflation/disable-fontinfl-on-mobile.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 <?xml version="1.0" encoding="UTF-8"?>
     2 <!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
     4 <!--
     5 Without the patch for bug 706198, this website should not show up as inflated. That means
     6 that with a 450px container, the minimum font size with 15em per line should be 30px.
     7 So, we map 0px-45px into 30px-45px, and thus 12px gets mapped to 34px.
     9 With the patch, the text should be uninflated, which means that 12px should still be
    10 12px.
    11 -->
    12 <html>
    13   <head>
    14     <style>
    15       p { font-size: 12px; line-height: 1.0;}
    16     </style>
    17     <body>
    18       <p>Some uninflated text.</p>
    19     </body>
    20   </head>
    21 </html>

mercurial