layout/reftests/font-matching/normalmedium-ref.html

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

     1 <!DOCTYPE HTML>
     2 <html>
     3 <head>
     4 <title>Mapping 400 to medium</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 @font-face {
    14   font-family: mplus1p;
    15   src: url(../fonts/mplus/mplus-1p-light.ttf);
    16   font-weight: 200;
    17 }
    19 @font-face {
    20   font-family: mplus1p;
    21   src: url(../fonts/mplus/mplus-1p-medium.ttf);
    22   font-weight: 500;
    23 }
    25 p { font-size: 24pt; font-family: mplus1p; font-weight: normal; }
    27 </style>
    29 <script type="text/javascript">
    31 </script>
    33 </head>
    34 <body>
    36 <h4>The two lines below should match</h4>
    38 <p id="test1">Fiddling fiddlesticks!</p>
    39 <p id="test2">Fiddling fiddlesticks!</p>
    41 </body>
    42 </html>

mercurial