layout/reftests/font-features/alternates-order-ref.html

Tue, 06 Jan 2015 21:39:09 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 06 Jan 2015 21:39:09 +0100
branch
TOR_BUG_9701
changeset 8
97036ab72558
permissions
-rw-r--r--

Conditionally force memory storage according to privacy.thirdparty.isolate;
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 }
     9 body {
    10   font-family: libertine, sans-serif;
    11   font-size: 800%;
    12   line-height: 1.2em;
    13 }
    15 div { margin: 0 20px; }
    16 span {
    17   -moz-font-feature-settings: "ss05"; /* crossed W */
    18 }
    20 </style>
    21 </head>
    22 <body lang="en">
    23 <div><span id="test1">W</span> <span id="test2">W</span> <span id="test3">W</span></div>
    24 <div><span id="test4">W</span> <span id="test5">W</span> <span id="test6">W</span></div>
    25 <div><span id="test7">W</span> <span id="test8">W</span> <span id="test9">W</span></div>
    26 </body>
    27 </html>

mercurial