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