layout/reftests/font-face/load-badfullname.html

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

     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