layout/reftests/text/space-font-1.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/text/space-font-1.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,28 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html lang="en">
     1.6 +<head>
     1.7 +  <meta charset="UTF-8">
     1.8 +  <title>Bug 970891</title>
     1.9 +  <style type="text/css">
    1.10 +    @font-face {
    1.11 +      font-family: "test";
    1.12 +      src: url(../fonts/markA.ttf);
    1.13 +    }
    1.14 +    div {
    1.15 +      font-family: test, monospace;
    1.16 +      font-size: 16px;
    1.17 +      line-height: 32px;
    1.18 +    }
    1.19 +    span {
    1.20 +      font-family: monospace;
    1.21 +    }
    1.22 +  </style>
    1.23 +</head>
    1.24 +
    1.25 +<body>
    1.26 +  <!-- markA does not have a glyph for the <space> character,
    1.27 +       so the spaces should fall back to 'monospace'. -->
    1.28 +  <div><b>A</b> <b>A</b> <i>A</i> <i>A</i><span>&nbsp;</span></div>
    1.29 +</body>
    1.30 +
    1.31 +</html>

mercurial