layout/reftests/font-face/load-badfullname.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>
     3 <head>
     4 <title>Test of fonts with funky fullnames</title>
     5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     7 <style type="text/css">
     9 @font-face {
    10   font-family: test1;
    11   src: url(../fonts/markA-badfullname.ttf);
    12 }
    14 @font-face {
    15   font-family: test2;
    16   src: url(../fonts/markA-shortfullname.ttf);
    17 }
    19 body {
    20   margin: 50px;
    21   font-size: 12pt;
    22   font-family: Gill Sans, Futura, sans-serif;
    23 }
    25 p.test1 { font-size: 48pt; font-family: test1, Futura, sans-serif; }
    26 p.test2 { font-size: 48pt; font-family: test2, Futura, sans-serif; }
    28 </style>
    30 </head>
    31 <body>
    33 <p>Letter A should <strong>not</strong> appear below:</p>
    35 <p class="test1">A</p>
    37 <p class="test2">A</p>
    39 </body>
    40 </html>

mercurial