layout/reftests/text-svgglyphs/svg-glyph-invalid.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 <html>
     2   <head>
     3     <title>Test that invalid XML in the 'SVG ' table is rejected</title>
     4     <style>
     5       @font-face {
     6         font-family : 'Liberation';
     7         src : url(resources/rubbish.woff);
     8       }
     9       body {
    10         font-family : 'Liberation';
    11         font-size : 200px;
    12       }
    13     </style>
    14   </head>
    15   <!--
    16         The font file resources/rubbish.woff contains an SVG table which
    17       does not contain valid XML. This test makes sure it falls back
    18       on rendering the text using the truetype outlines.
    19   -->
    20   <body>
    21     LML&#xfe01;
    22   </body>
    23 </html>

mercurial