layout/reftests/font-matching/arial-variations-5-ref.html

Wed, 31 Dec 2014 06:55:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:50 +0100
changeset 2
7e26c7da4463
permissions
-rw-r--r--

Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2

     1 <!DOCTYPE HTML>
     2 <html>
     3 <head>
     4 <title>Arial Variations</title>
     5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     7 <style type="text/css">
     9 body {
    10   margin: 50px;
    11 }
    13 p#test1d { font-family: Arial, sans-serif; }
    14 p#test2d { font-family: Georgia, serif; }
    15 p#test3d { font-family: Georgia, serif; }
    16 p#test4d { font-family: Georgia, serif; }
    18 p#test1d { color: black; }
    19 p#test2d { color: red; }
    20 p#test3d { color: red; }
    21 p#test4d { color: red; }
    23 #tests {
    24   font-size: 18pt;
    25   margin-left: 0.5em;
    26 }
    28 </style>
    30 </head>
    31 <body>
    33 <p>Text in black should appear in Arial and text in red in Georgia or the default serif font:</p>
    35 <div id="tests">
    36 <p id="test1d">{ font-family: "Arial", sans-serif; }</p>
    37 <p id="test2d">{ font-family: "Arial Bold", Georgia, serif; }</p>
    38 <p id="test3d">{ font-family: "Arial Italic", Georgia, serif; }</p>
    39 <p id="test4d">{ font-family: "Arial Bold Italic", Georgia, serif; }</p>
    40 </div>
    42 </body>
    43 </html>

mercurial