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

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

     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: test;
    11   src: url(../fonts/markA.ttf);
    12 }
    14 body {
    15   margin: 50px;
    16   font-size: 12pt;
    17   font-family: Gill Sans, Futura, sans-serif;
    18 }
    20 p.test1 { font-size: 48pt; font-family: test, Futura, sans-serif; }
    21 p.test2 { font-size: 48pt; font-family: test, Futura, sans-serif; }
    23 </style>
    25 </head>
    26 <body>
    28 <p>Letter A should <strong>not</strong> appear below:</p>
    30 <p class="test1">A</p>
    32 <p class="test2">A</p>
    34 </body>
    35 </html>

mercurial