layout/reftests/font-inflation/css-transform-1.html

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rw-r--r--

Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.

     1 <!DOCTYPE HTML>
     2 <style>
     3 div { font-size: 12px; width: 450px; line-height: 1.0 }
     4 span { -moz-transform-origin: 0 0; -moz-transform: scale(1.2); }
     5 </style>
     6 <!--
     7 In a 450px container, the minimum font size at 15em per line is 30px.
     8 This means we map 0px-45px into 30px-45px, so 12px gets mapped to 34px.
     9 -->
    10 <div><span>Hello world</span></div>

mercurial