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

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/font-matching/stretchmapping-reverse.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,102 @@
     1.4 +<!DOCTYPE HTML>
     1.5 +<html>
     1.6 +<head>
     1.7 +<title>Assure OS/2 usWidthClass isn't referenced</title>
     1.8 +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     1.9 +  
    1.10 +<style type="text/css">
    1.11 +
    1.12 +@font-face {
    1.13 +  font-family: fstest-full;
    1.14 +  src: url(../fonts/csstest-widths-wd9.ttf);
    1.15 +  font-stretch: ultra-condensed;
    1.16 +}
    1.17 +
    1.18 +@font-face {
    1.19 +  font-family: fstest-full;
    1.20 +  src: url(../fonts/csstest-widths-wd8.ttf);
    1.21 +  font-stretch: extra-condensed;
    1.22 +}
    1.23 +
    1.24 +@font-face {
    1.25 +  font-family: fstest-full;
    1.26 +  src: url(../fonts/csstest-widths-wd7.ttf);
    1.27 +  font-stretch: condensed;
    1.28 +}
    1.29 +
    1.30 +@font-face {
    1.31 +  font-family: fstest-full;
    1.32 +  src: url(../fonts/csstest-widths-wd6.ttf);
    1.33 +  font-stretch: semi-condensed;
    1.34 +}
    1.35 +
    1.36 +@font-face {
    1.37 +  font-family: fstest-full;
    1.38 +  src: url(../fonts/csstest-widths-wd5.ttf);
    1.39 +  font-stretch: normal;
    1.40 +}
    1.41 +
    1.42 +@font-face {
    1.43 +  font-family: fstest-full;
    1.44 +  src: url(../fonts/csstest-widths-wd4.ttf);
    1.45 +  font-stretch: semi-expanded;
    1.46 +}
    1.47 +
    1.48 +@font-face {
    1.49 +  font-family: fstest-full;
    1.50 +  src: url(../fonts/csstest-widths-wd3.ttf);
    1.51 +  font-stretch: expanded;
    1.52 +}
    1.53 +
    1.54 +@font-face {
    1.55 +  font-family: fstest-full;
    1.56 +  src: url(../fonts/csstest-widths-wd2.ttf);
    1.57 +  font-stretch: extra-expanded;
    1.58 +}
    1.59 +
    1.60 +@font-face {
    1.61 +  font-family: fstest-full;
    1.62 +  src: url(../fonts/csstest-widths-wd1.ttf);
    1.63 +  font-stretch: ultra-expanded;
    1.64 +}
    1.65 +
    1.66 +body {
    1.67 +  margin: 50px;
    1.68 +}
    1.69 +
    1.70 +p.test {
    1.71 +  font-family: fstest-full;
    1.72 +  font-size: 24px;
    1.73 +}
    1.74 +
    1.75 +.fs9 { font-stretch: ultra-condensed; }
    1.76 +.fs8 { font-stretch: extra-condensed; }
    1.77 +.fs7 { font-stretch: condensed; }
    1.78 +.fs6 { font-stretch: semi-condensed; }
    1.79 +.fs5 { font-stretch: normal; }
    1.80 +.fs4 { font-stretch: semi-expanded; }
    1.81 +.fs3 { font-stretch: expanded; }
    1.82 +.fs2 { font-stretch: extra-expanded; }
    1.83 +.fs1 { font-stretch: ultra-expanded; }
    1.84 +
    1.85 +</style>
    1.86 +  
    1.87 +</head>
    1.88 +<body>
    1.89 +
    1.90 +<p>The numbers below should appear in ascending sequence:</p>
    1.91 +
    1.92 +<p class="test">
    1.93 +<span class="fs1">F</span>
    1.94 +<span class="fs2">F</span>
    1.95 +<span class="fs3">F</span>
    1.96 +<span class="fs4">F</span>
    1.97 +<span class="fs5">F</span>
    1.98 +<span class="fs6">F</span>
    1.99 +<span class="fs7">F</span>
   1.100 +<span class="fs8">F</span>
   1.101 +<span class="fs9">F</span>
   1.102 +</p>
   1.103 +
   1.104 +</body>
   1.105 +</html>
   1.106 \ No newline at end of file

mercurial