layout/reftests/font-features/font-features-order-5.html

Thu, 15 Jan 2015 15:59:08 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:59:08 +0100
branch
TOR_BUG_9701
changeset 10
ac0c01689b40
permissions
-rw-r--r--

Implement a real Private Browsing Mode condition by changing the API/ABI;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

     1 <!DOCTYPE html>
     2 <html>
     3 <head>
     4 <style type="text/css">
     5 @font-face {
     6   font-family: libertine;
     7   src: url(../fonts/LinLibertine_Re-4.7.5.woff) format("woff");
     8   font-feature-settings: "liga" on, "hlig" on;
     9 }
    10 body {
    11   font-family: libertine, sans-serif;
    12   font-size: 400%;
    13   line-height: 2em;
    14   /* font variant property should override font setting but font feature
    15      settings property should override that */
    16   font-variant-ligatures: no-common-ligatures no-historical-ligatures;
    17   font-feature-settings: "liga" on, "hlig" on;
    18 }
    19 </style>
    20 </head>
    21 <body lang="en">
    22 fastest firefox
    23 </body>
    24 </html>

mercurial