browser/devtools/fontinspector/test/browser_fontinspector.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 <!DOCTYPE html>
     3 <style>
     4   @font-face {
     5     font-family: bar;
     6     src: url(bad/font/name.ttf), url(browser_font.woff) format("woff");
     7   }
     8   body{
     9     font-family:Arial;
    10   }
    11   div {
    12     font-family:Arial;
    13     font-family:bar;
    14   }
    15 </style>
    17 <body>
    18   BODY
    19   <div>DIV</div>
    20 </body>

mercurial