layout/reftests/text-svgglyphs/svg-glyph-invalid.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/text-svgglyphs/svg-glyph-invalid.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,23 @@
     1.4 +<html>
     1.5 +  <head>
     1.6 +    <title>Test that invalid XML in the 'SVG ' table is rejected</title>
     1.7 +    <style>
     1.8 +      @font-face {
     1.9 +        font-family : 'Liberation';
    1.10 +        src : url(resources/rubbish.woff);
    1.11 +      }
    1.12 +      body {
    1.13 +        font-family : 'Liberation';
    1.14 +        font-size : 200px;
    1.15 +      }
    1.16 +    </style>
    1.17 +  </head>
    1.18 +  <!--
    1.19 +        The font file resources/rubbish.woff contains an SVG table which
    1.20 +      does not contain valid XML. This test makes sure it falls back
    1.21 +      on rendering the text using the truetype outlines.
    1.22 +  -->
    1.23 +  <body>
    1.24 +    LML&#xfe01;
    1.25 +  </body>
    1.26 +</html>

mercurial