Skip to content

Commit 31c2aeb

Browse files
authored
Merge pull request web-platform-tests#8494 from w3c/woff2-fonts-to-install-as-web-fonts
Add @font-face rules to load TrueType and OpenType test fonts.
2 parents 9493331 + c7390b9 commit 31c2aeb

File tree

612 files changed

+1526
-1822
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

612 files changed

+1526
-1822
lines changed

css/WOFF2/available-001.xht

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
<link rel="author" title="Chris Lilley" href="http://www.w3.org/People" />
77
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#General" />
88
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-css3font-available" />
9-
<meta name="flags" content="font" />
109
<meta name="assert" content="Linked fonts are only available to the documents that reference them" />
1110
<style type="text/css"><![CDATA[
1211
body {
@@ -23,7 +22,6 @@
2322
]]></style>
2423
</head>
2524
<body>
26-
<p><a href="support/FontsToInstall">Test fonts</a> must be installed for this test. The WOFF being tested will be loaded over the network so please wait until the download is complete before determing the success of this test.</p>
2725
<p>Test passes if the word PASS appears <em>twice</em> below.</p>
2826
<iframe src="support/available-001a.xht" />
2927
<iframe src="support/available-001b.xht" />

css/WOFF2/blocks-extraneous-data-001-ref.xht

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
<link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
77
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#FileStructure" />
88
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-extraneous-reject" />
9-
<link rel="reviewer" title="Chris Lilley" href="mailto:[email protected]" />
10-
<meta name="flags" content="font" />
9+
<link rel="reviewer" title="Chris Lilley" href="mailto:[email protected]" />
1110
<meta name="assert" content="There are four null bytes between the header and the table directory." />
1211
<style type="text/css"><![CDATA[
12+
@import url("support/test-fonts.css");
1313
body {
1414
font-size: 20px;
1515
}
@@ -24,7 +24,6 @@
2424
]]></style>
2525
</head>
2626
<body>
27-
<p><a href="support/FontsToInstall">Test fonts</a> must be installed for this test. The WOFF being tested will be loaded over the network so please wait until the download is complete before determing the success of this test.</p>
2827
<p>Test passes if the word PASS appears below.</p>
2928
<div class="test">P</div>
3029
</body>

css/WOFF2/blocks-extraneous-data-001.xht

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@
66
<link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
77
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#FileStructure" />
88
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-extraneous-reject" />
9-
<link rel="reviewer" title="Chris Lilley" href="mailto:[email protected]" />
10-
<meta name="flags" content="font" />
9+
<link rel="reviewer" title="Chris Lilley" href="mailto:[email protected]" />
10+
<link rel="match" href="blocks-extraneous-data-001-ref.xht" />
1111
<meta name="assert" content="There are four null bytes between the header and the table directory." />
1212
<style type="text/css"><![CDATA[
13+
@import url("support/test-fonts.css");
1314
@font-face {
1415
font-family: "WOFF Test";
1516
src: url("support/blocks-extraneous-data-001.woff2") format("woff2");
@@ -28,7 +29,6 @@
2829
]]></style>
2930
</head>
3031
<body>
31-
<p><a href="support/FontsToInstall">Test fonts</a> must be installed for this test. The WOFF being tested will be loaded over the network so please wait until the download is complete before determing the success of this test.</p>
3232
<p>Test passes if the word PASS appears below.</p>
3333
<div class="test">F</div>
3434
</body>

css/WOFF2/blocks-extraneous-data-002-ref.xht

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
<link rel="author" title="Tal Leming" href="http://typesupply.com" />
77
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#FileStructure" />
88
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-extraneous-reject" />
9-
<link rel="reviewer" title="Chris Lilley" href="mailto:[email protected]" />
10-
<meta name="flags" content="font" />
9+
<link rel="reviewer" title="Chris Lilley" href="mailto:[email protected]" />
1110
<meta name="assert" content="There are four null bytes between the table directory and the table data." />
1211
<style type="text/css"><![CDATA[
12+
@import url("support/test-fonts.css");
1313
body {
1414
font-size: 20px;
1515
}
@@ -24,7 +24,6 @@
2424
]]></style>
2525
</head>
2626
<body>
27-
<p><a href="support/FontsToInstall">Test fonts</a> must be installed for this test. The WOFF being tested will be loaded over the network so please wait until the download is complete before determing the success of this test.</p>
2827
<p>Test passes if the word PASS appears below.</p>
2928
<div class="test">P</div>
3029
</body>

css/WOFF2/blocks-extraneous-data-002.xht

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@
66
<link rel="author" title="Tal Leming" href="http://typesupply.com" />
77
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#FileStructure" />
88
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-extraneous-reject" />
9-
<link rel="reviewer" title="Chris Lilley" href="mailto:[email protected]" />
10-
<meta name="flags" content="font" />
9+
<link rel="reviewer" title="Chris Lilley" href="mailto:[email protected]" />
10+
<link rel="match" href="blocks-extraneous-data-002-ref.xht" />
1111
<meta name="assert" content="There are four null bytes between the table directory and the table data." />
1212
<style type="text/css"><![CDATA[
13+
@import url("support/test-fonts.css");
1314
@font-face {
1415
font-family: "WOFF Test";
1516
src: url("support/blocks-extraneous-data-002.woff2") format("woff2");
@@ -28,7 +29,6 @@
2829
]]></style>
2930
</head>
3031
<body>
31-
<p><a href="support/FontsToInstall">Test fonts</a> must be installed for this test. The WOFF being tested will be loaded over the network so please wait until the download is complete before determing the success of this test.</p>
3232
<p>Test passes if the word PASS appears below.</p>
3333
<div class="test">F</div>
3434
</body>

css/WOFF2/blocks-extraneous-data-003-ref.xht

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
<link rel="author" title="Tal Leming" href="http://typesupply.com" />
77
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#FileStructure" />
88
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-extraneous-reject" />
9-
<link rel="reviewer" title="Chris Lilley" href="mailto:[email protected]" />
10-
<meta name="flags" content="font" />
9+
<link rel="reviewer" title="Chris Lilley" href="mailto:[email protected]" />
1110
<meta name="assert" content="There are four null bytes after the table data block and there is no metadata or private data." />
1211
<style type="text/css"><![CDATA[
12+
@import url("support/test-fonts.css");
1313
body {
1414
font-size: 20px;
1515
}
@@ -24,7 +24,6 @@
2424
]]></style>
2525
</head>
2626
<body>
27-
<p><a href="support/FontsToInstall">Test fonts</a> must be installed for this test. The WOFF being tested will be loaded over the network so please wait until the download is complete before determing the success of this test.</p>
2827
<p>Test passes if the word PASS appears below.</p>
2928
<div class="test">P</div>
3029
</body>

css/WOFF2/blocks-extraneous-data-003.xht

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@
66
<link rel="author" title="Tal Leming" href="http://typesupply.com" />
77
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#FileStructure" />
88
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-extraneous-reject" />
9-
<link rel="reviewer" title="Chris Lilley" href="mailto:[email protected]" />
10-
<meta name="flags" content="font" />
9+
<link rel="reviewer" title="Chris Lilley" href="mailto:[email protected]" />
10+
<link rel="match" href="blocks-extraneous-data-003-ref.xht" />
1111
<meta name="assert" content="There are four null bytes after the table data block and there is no metadata or private data." />
1212
<style type="text/css"><![CDATA[
13+
@import url("support/test-fonts.css");
1314
@font-face {
1415
font-family: "WOFF Test";
1516
src: url("support/blocks-extraneous-data-003.woff2") format("woff2");
@@ -28,7 +29,6 @@
2829
]]></style>
2930
</head>
3031
<body>
31-
<p><a href="support/FontsToInstall">Test fonts</a> must be installed for this test. The WOFF being tested will be loaded over the network so please wait until the download is complete before determing the success of this test.</p>
3232
<p>Test passes if the word PASS appears below.</p>
3333
<div class="test">F</div>
3434
</body>

css/WOFF2/blocks-extraneous-data-004-ref.xht

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
<link rel="author" title="Tal Leming" href="http://typesupply.com" />
77
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#FileStructure" />
88
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-extraneous-reject" />
9-
<link rel="reviewer" title="Chris Lilley" href="mailto:[email protected]" />
10-
<meta name="flags" content="font" />
9+
<link rel="reviewer" title="Chris Lilley" href="mailto:[email protected]" />
1110
<meta name="assert" content="There are four null bytes between the table data and the metadata." />
1211
<style type="text/css"><![CDATA[
12+
@import url("support/test-fonts.css");
1313
body {
1414
font-size: 20px;
1515
}
@@ -24,7 +24,6 @@
2424
]]></style>
2525
</head>
2626
<body>
27-
<p><a href="support/FontsToInstall">Test fonts</a> must be installed for this test. The WOFF being tested will be loaded over the network so please wait until the download is complete before determing the success of this test.</p>
2827
<p>Test passes if the word PASS appears below.</p>
2928
<div class="test">P</div>
3029
</body>

css/WOFF2/blocks-extraneous-data-004.xht

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@
66
<link rel="author" title="Tal Leming" href="http://typesupply.com" />
77
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#FileStructure" />
88
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-extraneous-reject" />
9-
<link rel="reviewer" title="Chris Lilley" href="mailto:[email protected]" />
10-
<meta name="flags" content="font" />
9+
<link rel="reviewer" title="Chris Lilley" href="mailto:[email protected]" />
10+
<link rel="match" href="blocks-extraneous-data-004-ref.xht" />
1111
<meta name="assert" content="There are four null bytes between the table data and the metadata." />
1212
<style type="text/css"><![CDATA[
13+
@import url("support/test-fonts.css");
1314
@font-face {
1415
font-family: "WOFF Test";
1516
src: url("support/blocks-extraneous-data-004.woff2") format("woff2");
@@ -28,7 +29,6 @@
2829
]]></style>
2930
</head>
3031
<body>
31-
<p><a href="support/FontsToInstall">Test fonts</a> must be installed for this test. The WOFF being tested will be loaded over the network so please wait until the download is complete before determing the success of this test.</p>
3232
<p>Test passes if the word PASS appears below.</p>
3333
<div class="test">F</div>
3434
</body>

css/WOFF2/blocks-extraneous-data-005-ref.xht

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
<link rel="author" title="Tal Leming" href="http://typesupply.com" />
77
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#FileStructure" />
88
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-extraneous-reject" />
9-
<link rel="reviewer" title="Chris Lilley" href="mailto:[email protected]" />
10-
<meta name="flags" content="font" />
9+
<link rel="reviewer" title="Chris Lilley" href="mailto:[email protected]" />
1110
<meta name="assert" content="There are four null bytes between the table data and the private data." />
1211
<style type="text/css"><![CDATA[
12+
@import url("support/test-fonts.css");
1313
body {
1414
font-size: 20px;
1515
}
@@ -24,7 +24,6 @@
2424
]]></style>
2525
</head>
2626
<body>
27-
<p><a href="support/FontsToInstall">Test fonts</a> must be installed for this test. The WOFF being tested will be loaded over the network so please wait until the download is complete before determing the success of this test.</p>
2827
<p>Test passes if the word PASS appears below.</p>
2928
<div class="test">P</div>
3029
</body>

0 commit comments

Comments
 (0)