layout/reftests/font-matching/stretchmapping-reverse.html

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

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

mercurial