layout/reftests/font-matching/stretchmapping-reverse.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>Assure OS/2 usWidthClass isn't referenced</title>
     5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     7 <style type="text/css">
     9 @font-face {
    10   font-family: fstest-full;
    11   src: url(../fonts/csstest-widths-wd9.ttf);
    12   font-stretch: ultra-condensed;
    13 }
    15 @font-face {
    16   font-family: fstest-full;
    17   src: url(../fonts/csstest-widths-wd8.ttf);
    18   font-stretch: extra-condensed;
    19 }
    21 @font-face {
    22   font-family: fstest-full;
    23   src: url(../fonts/csstest-widths-wd7.ttf);
    24   font-stretch: condensed;
    25 }
    27 @font-face {
    28   font-family: fstest-full;
    29   src: url(../fonts/csstest-widths-wd6.ttf);
    30   font-stretch: semi-condensed;
    31 }
    33 @font-face {
    34   font-family: fstest-full;
    35   src: url(../fonts/csstest-widths-wd5.ttf);
    36   font-stretch: normal;
    37 }
    39 @font-face {
    40   font-family: fstest-full;
    41   src: url(../fonts/csstest-widths-wd4.ttf);
    42   font-stretch: semi-expanded;
    43 }
    45 @font-face {
    46   font-family: fstest-full;
    47   src: url(../fonts/csstest-widths-wd3.ttf);
    48   font-stretch: expanded;
    49 }
    51 @font-face {
    52   font-family: fstest-full;
    53   src: url(../fonts/csstest-widths-wd2.ttf);
    54   font-stretch: extra-expanded;
    55 }
    57 @font-face {
    58   font-family: fstest-full;
    59   src: url(../fonts/csstest-widths-wd1.ttf);
    60   font-stretch: ultra-expanded;
    61 }
    63 body {
    64   margin: 50px;
    65 }
    67 p.test {
    68   font-family: fstest-full;
    69   font-size: 24px;
    70 }
    72 .fs9 { font-stretch: ultra-condensed; }
    73 .fs8 { font-stretch: extra-condensed; }
    74 .fs7 { font-stretch: condensed; }
    75 .fs6 { font-stretch: semi-condensed; }
    76 .fs5 { font-stretch: normal; }
    77 .fs4 { font-stretch: semi-expanded; }
    78 .fs3 { font-stretch: expanded; }
    79 .fs2 { font-stretch: extra-expanded; }
    80 .fs1 { font-stretch: ultra-expanded; }
    82 </style>
    84 </head>
    85 <body>
    87 <p>The numbers below should appear in ascending sequence:</p>
    89 <p class="test">
    90 <span class="fs1">F</span>
    91 <span class="fs2">F</span>
    92 <span class="fs3">F</span>
    93 <span class="fs4">F</span>
    94 <span class="fs5">F</span>
    95 <span class="fs6">F</span>
    96 <span class="fs7">F</span>
    97 <span class="fs8">F</span>
    98 <span class="fs9">F</span>
    99 </p>
   101 </body>
   102 </html>

mercurial