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

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

     1 <!DOCTYPE html>
     2 <html lang="en">
     3 <head>
     4   <meta charset="UTF-8">
     5   <title>Bug 970891</title>
     6   <style type="text/css">
     7     @font-face {
     8       font-family: "test";
     9       src: url(../fonts/markA.ttf);
    10     }
    11     div {
    12       font-family: test, monospace;
    13       font-size: 16px;
    14       line-height: 32px;
    15     }
    16     span {
    17       font-family: monospace;
    18     }
    19   </style>
    20 </head>
    22 <body>
    23   <!-- markA does not have a glyph for the <space> character,
    24        so the spaces should fall back to 'monospace'. -->
    25   <div><b>A</b> <b>A</b> <i>A</i> <i>A</i><span>&nbsp;</span></div>
    26 </body>
    28 </html>

mercurial