summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-fonts/font-weight-bolder-001-ref.xht
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-fonts/font-weight-bolder-001-ref.xht')
-rw-r--r--testing/web-platform/tests/css/css-fonts/font-weight-bolder-001-ref.xht60
1 files changed, 60 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-fonts/font-weight-bolder-001-ref.xht b/testing/web-platform/tests/css/css-fonts/font-weight-bolder-001-ref.xht
new file mode 100644
index 0000000000..c90b7dfc23
--- /dev/null
+++ b/testing/web-platform/tests/css/css-fonts/font-weight-bolder-001-ref.xht
@@ -0,0 +1,60 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: font weight mapping with various families with bolder use (ref)</title>
+ <link rel="author" title="Mozilla" href="http://www.mozilla.com/" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/fonts.html#propdef-font-weight" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/fonts.html#font-boldness" />
+ <meta name="assert" content="Font weights should map to corresponding font faces in a family with all weights" />
+ <style type="text/css">
+ span#verify { font-family: CSSTest Verify; font-weight: normal; }
+ div { margin-bottom: 1em; }
+ body { margin: 50px; }
+ table {
+ border-collapse: collapse;
+ }
+ th {
+ font-weight: normal;
+ text-align: left;
+ padding-right: 1em;
+ }
+ span { }
+ thead th { text-align: center; padding-bottom: 1em; }
+ td { width: 5em; text-align: center; }
+ td.f1 { font-family: CSSTest Weights; }
+ td.f2 { font-family: CSSTest Weights; }
+ td.f3 { font-family: CSSTest Weights; }
+ td.f4 { font-family: CSSTest Weights; }
+ td.f5 { font-family: CSSTest Weights; }
+ td.f6 { font-family: CSSTest Weights; }
+ td.f7 { font-family: CSSTest Weights; }
+ td.f8 { font-family: CSSTest Weights; }
+ th.f1 { display: table-cell; }
+ th.f2 { display: table-cell; }
+ th.f3 { display: table-cell; }
+ th.f4 { display: table-cell; }
+ th.f5 { display: table-cell; }
+ th.f6 { display: table-cell; }
+ th.f7 { display: table-cell; }
+ th.f8 { display: table-cell; }
+ .b { font-weight: bold; }
+ </style>
+ </head>
+ <body>
+ <div><a href="http://www.w3.org/Style/CSS/Test/Fonts/">Test fonts</a> must be installed for this test: <span id="verify">FAIL</span></div>
+ <table>
+ <thead><th class="f1"></th><th class="f1">Full</th><th class="f2">W1479</th><th class="f3">W15</th><th class="f4">W24</th><th class="f5">W2569</th><th class="f6">W258</th><th class="f7">W3589</th><th class="f8">W47</th></thead>
+ <tr class="w1"><th>100</th><td class="f1"><span>4</span></td><td class="f2"><span>4</span></td><td class="f3"><span>5</span></td><td class="f4"><span>4</span></td><td class="f5"><span>5</span></td><td class="f6"><span>5</span></td><td class="f7"><span>5</span></td><td class="f8"><span>4</span></td></tr>
+ <tr class="w2"><th>200</th><td class="f1"><span>4</span></td><td class="f2"><span>4</span></td><td class="f3"><span>5</span></td><td class="f4"><span>4</span></td><td class="f5"><span>5</span></td><td class="f6"><span>5</span></td><td class="f7"><span>5</span></td><td class="f8"><span>4</span></td></tr>
+ <tr class="w3"><th>300</th><td class="f1"><span>4</span></td><td class="f2"><span>4</span></td><td class="f3"><span>5</span></td><td class="f4"><span>4</span></td><td class="f5"><span>5</span></td><td class="f6"><span>5</span></td><td class="f7"><span>5</span></td><td class="f8"><span>4</span></td></tr>
+ <tr class="w4"><th>400</th><td class="f1"><span>7</span></td><td class="f2"><span>7</span></td><td class="f3 b"><span>5</span></td><td class="f4 b"><span>4</span></td><td class="f5"><span>9</span></td><td class="f6"><span>8</span></td><td class="f7"><span>8</span></td><td class="f8"><span>7</span></td></tr>
+ <tr class="w5"><th>500</th><td class="f1"><span>7</span></td><td class="f2"><span>7</span></td><td class="f3 b"><span>5</span></td><td class="f4 b"><span>4</span></td><td class="f5"><span>9</span></td><td class="f6"><span>8</span></td><td class="f7"><span>8</span></td><td class="f8"><span>7</span></td></tr>
+ <tr class="w6"><th>600</th><td class="f1"><span>9</span></td><td class="f2"><span>9</span></td><td class="f3 b"><span>5</span></td><td class="f4 b"><span>4</span></td><td class="f5"><span>9</span></td><td class="f6"><span>8</span></td><td class="f7"><span>9</span></td><td class="f8"><span>7</span></td></tr>
+ <tr class="w7"><th>700</th><td class="f1"><span>9</span></td><td class="f2"><span>9</span></td><td class="f3 b"><span>5</span></td><td class="f4 b"><span>4</span></td><td class="f5"><span>9</span></td><td class="f6"><span>8</span></td><td class="f7"><span>9</span></td><td class="f8"><span>7</span></td></tr>
+ <tr class="w8"><th>800</th><td class="f1"><span>9</span></td><td class="f2"><span>9</span></td><td class="f3 b"><span>5</span></td><td class="f4 b"><span>4</span></td><td class="f5"><span>9</span></td><td class="f6"><span>8</span></td><td class="f7"><span>9</span></td><td class="f8"><span>7</span></td></tr>
+ <tr class="w9"><th>900</th><td class="f1"><span>9</span></td><td class="f2"><span>9</span></td><td class="f3 b"><span>5</span></td><td class="f4 b"><span>4</span></td><td class="f5"><span>9</span></td><td class="f6"><span>8</span></td><td class="f7"><span>9</span></td><td class="f8"><span>7</span></td></tr>
+ </table>
+ <p>The table above should match the image below. The numbers and bolding (if present) must match to pass.</p>
+ <img src="support/font-weight-bolder-001-ref.png" />
+ </body>
+</html>