Update web-platform-tests and CSS tests.

- Update CSS tests to revision e05bfd5e30ed662c2f8a353577003f8eed230180.
- Update web-platform-tests to revision a052787dd5c069a340031011196b73affbd68cd9.
This commit is contained in:
Ms2ger 2017-02-06 11:06:12 +01:00
parent fb4f421c8b
commit 296fa2512b
21852 changed files with 2080936 additions and 892894 deletions

View file

@ -0,0 +1,32 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Font access</title>
<link rel="author" title="Chris Lilley" href="http://www.w3.org/People">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#General">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-css3font-available">
<meta name="flags" content="font">
<meta name="assert" content="Linked fonts are only available to the documents that reference them">
<style type="text/css">
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
iframe {
width: 24em;
height: 300px;
border: thin solid green
}
</style>
</head>
<body>
<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>
<p>Test passes if the word PASS appears <em>twice</em> below.</p>
<iframe src="support/available-001a.xht"></iframe>
<iframe src="support/available-001b.xht"></iframe>
</body>
</html>

View file

@ -0,0 +1,35 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Extraneous Data Between Header and Directory</title>
<link rel="author" title="Khaled Hosny" href="http://khaledhosny.org">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#FileStructure">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-extraneous-reject">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="There are four null bytes between the header and the table directory.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/blocks-extraneous-data-001.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>Test passes if the word PASS appears below.</p>
<div class="test">F</div>
</body>
</html>

View file

@ -0,0 +1,35 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Extraneous Data Between Directory and Table Data</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#FileStructure">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-extraneous-reject">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="There are four null bytes between the table directory and the table data.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/blocks-extraneous-data-002.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>Test passes if the word PASS appears below.</p>
<div class="test">F</div>
</body>
</html>

View file

@ -0,0 +1,35 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Extraneous Data After Table Data</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#FileStructure">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-extraneous-reject">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="There are four null bytes after the table data block and there is no metadata or private data.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/blocks-extraneous-data-003.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>Test passes if the word PASS appears below.</p>
<div class="test">F</div>
</body>
</html>

View file

@ -0,0 +1,35 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Extraneous Data Between Table Data and Metadata</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#FileStructure">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-extraneous-reject">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="There are four null bytes between the table data and the metadata.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/blocks-extraneous-data-004.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>Test passes if the word PASS appears below.</p>
<div class="test">F</div>
</body>
</html>

View file

@ -0,0 +1,35 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Extraneous Data Between Table Data and Private Data</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#FileStructure">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-extraneous-reject">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="There are four null bytes between the table data and the private data.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/blocks-extraneous-data-005.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>Test passes if the word PASS appears below.</p>
<div class="test">F</div>
</body>
</html>

View file

@ -0,0 +1,35 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Extraneous Data Between Metdata and Private Data</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#FileStructure">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-extraneous-reject">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="There are four null bytes between the metadata and the private data.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/blocks-extraneous-data-006.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>Test passes if the word PASS appears below.</p>
<div class="test">F</div>
</body>
</html>

View file

@ -0,0 +1,35 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Extraneous Data After Metadata</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#FileStructure">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-extraneous-reject">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="There are four null bytes after the metadata and there is no private data.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/blocks-extraneous-data-007.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>Test passes if the word PASS appears below.</p>
<div class="test">F</div>
</body>
</html>

View file

@ -0,0 +1,35 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Extraneous Data After Private Data</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#FileStructure">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-extraneous-reject">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="There are four null bytes after the private data.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/blocks-extraneous-data-008.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>Test passes if the word PASS appears below.</p>
<div class="test">F</div>
</body>
</html>

View file

@ -0,0 +1,35 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Metadata Overlaps Table Data</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#FileStructure">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-overlap-reject">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The metadata offset is four bytes before the end of the table data.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/blocks-overlap-001.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>Test passes if the word PASS appears below.</p>
<div class="test">F</div>
</body>
</html>

View file

@ -0,0 +1,35 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Private Data Overlaps Table Data</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#FileStructure">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-overlap-reject">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The private data offset is four bytes before the end of the table data.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/blocks-overlap-002.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>Test passes if the word PASS appears below.</p>
<div class="test">F</div>
</body>
</html>

View file

@ -0,0 +1,35 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Private Data Overlaps Metadata</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#FileStructure">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-overlap-reject">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The private data offset is four bytes before the end of the metadata.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/blocks-overlap-003.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>Test passes if the word PASS appears below.</p>
<div class="test">F</div>
</body>
</html>

View file

@ -0,0 +1,45 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>Introduction - WOFF 2.0 CR Test Suite</title>
<style type="text/css">
@import "http://www.w3.org/StyleSheets/TR/base.css";
@import "../indices.css";
</style>
</head>
<body>
<h1>WOFF 2.0 CR Test Suite</h1>
<h2>Introduction (0 tests)</h2>
<table width="100%">
<col id="test-column">
<col id="refs-column">
<col id="flags-column">
<col id="info-column">
<thead>
<tr>
<th>Test</th>
<th><abbr title="Rendering References">Refs</abbr></th>
<th>Flags</th>
<th>Info</th>
</tr>
</thead>
<tbody id="s1">
<tr><th colspan="4" scope="rowgroup">
<a href="#s1">+</a>
<a href="https://www.w3.org/TR/WOFF2/#Introduction">1 Introduction</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s1.1">
<tr><th colspan="4" scope="rowgroup">
<a href="#s1.1">+</a>
<a href="https://www.w3.org/TR/WOFF2/#Notation">1.1 Notational Conventions</a></th></tr>
<!-- 0 tests -->
</tbody>
</table>
</body>
</html>

View file

@ -0,0 +1,67 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>General Requirements - WOFF 2.0 CR Test Suite</title>
<style type="text/css">
@import "http://www.w3.org/StyleSheets/TR/base.css";
@import "../indices.css";
</style>
</head>
<body>
<h1>WOFF 2.0 CR Test Suite</h1>
<h2>General Requirements (1 tests)</h2>
<table width="100%">
<col id="test-column">
<col id="refs-column">
<col id="flags-column">
<col id="info-column">
<thead>
<tr>
<th>Test</th>
<th><abbr title="Rendering References">Refs</abbr></th>
<th>Flags</th>
<th>Info</th>
</tr>
</thead>
<tbody id="s2">
<tr><th colspan="4" scope="rowgroup">
<a href="#s2">+</a>
<a href="https://www.w3.org/TR/WOFF2/#General">2 General Requirements</a></th></tr>
<!-- 1 tests -->
<tr id="available-001-2" class="font">
<td>
<a href="available-001.htm">available-001</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Font access
<ul class="assert">
<li>Linked fonts are only available to the documents that reference them</li>
</ul>
</td>
</tr>
</tbody>
<tbody id="s2.#conform-css3font-available">
<!-- 1 tests -->
<tr id="available-001-2.#conform-css3font-available" class="font">
<td>
<a href="available-001.htm">available-001</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Font access
<ul class="assert">
<li>Linked fonts are only available to the documents that reference them</li>
</ul>
</td>
</tr>
</tbody>
<tbody id="s2.#conform-css3font-available-0">
<!-- 0 tests -->
</tbody>
</table>
</body>
</html>

View file

@ -0,0 +1,611 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>Overall file structure and basic data types - WOFF 2.0 CR Test Suite</title>
<style type="text/css">
@import "http://www.w3.org/StyleSheets/TR/base.css";
@import "../indices.css";
</style>
</head>
<body>
<h1>WOFF 2.0 CR Test Suite</h1>
<h2>Overall file structure and basic data types (31 tests)</h2>
<table width="100%">
<col id="test-column">
<col id="refs-column">
<col id="flags-column">
<col id="info-column">
<thead>
<tr>
<th>Test</th>
<th><abbr title="Rendering References">Refs</abbr></th>
<th>Flags</th>
<th>Info</th>
</tr>
</thead>
<tbody id="s3">
<tr><th colspan="4" scope="rowgroup">
<a href="#s3">+</a>
<a href="https://www.w3.org/TR/WOFF2/#FileStructure">3 Overall file structure and basic data types</a></th></tr>
<!-- 20 tests -->
<tr id="blocks-extraneous-data-001-3" class="font">
<td>
<a href="blocks-extraneous-data-001.htm">blocks-extraneous-data-001</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Extraneous Data Between Header and Directory
<ul class="assert">
<li>There are four null bytes between the header and the table directory.</li>
</ul>
</td>
</tr>
<tr id="blocks-extraneous-data-002-3" class="font">
<td>
<a href="blocks-extraneous-data-002.htm">blocks-extraneous-data-002</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Extraneous Data Between Directory and Table Data
<ul class="assert">
<li>There are four null bytes between the table directory and the table data.</li>
</ul>
</td>
</tr>
<tr id="blocks-extraneous-data-003-3" class="font">
<td>
<a href="blocks-extraneous-data-003.htm">blocks-extraneous-data-003</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Extraneous Data After Table Data
<ul class="assert">
<li>There are four null bytes after the table data block and there is no metadata or private data.</li>
</ul>
</td>
</tr>
<tr id="blocks-extraneous-data-004-3" class="font">
<td>
<a href="blocks-extraneous-data-004.htm">blocks-extraneous-data-004</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Extraneous Data Between Table Data and Metadata
<ul class="assert">
<li>There are four null bytes between the table data and the metadata.</li>
</ul>
</td>
</tr>
<tr id="blocks-extraneous-data-005-3" class="font">
<td>
<a href="blocks-extraneous-data-005.htm">blocks-extraneous-data-005</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Extraneous Data Between Table Data and Private Data
<ul class="assert">
<li>There are four null bytes between the table data and the private data.</li>
</ul>
</td>
</tr>
<tr id="blocks-extraneous-data-006-3" class="font">
<td>
<a href="blocks-extraneous-data-006.htm">blocks-extraneous-data-006</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Extraneous Data Between Metdata and Private Data
<ul class="assert">
<li>There are four null bytes between the metadata and the private data.</li>
</ul>
</td>
</tr>
<tr id="blocks-extraneous-data-007-3" class="font">
<td>
<a href="blocks-extraneous-data-007.htm">blocks-extraneous-data-007</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Extraneous Data After Metadata
<ul class="assert">
<li>There are four null bytes after the metadata and there is no private data.</li>
</ul>
</td>
</tr>
<tr id="blocks-extraneous-data-008-3" class="font">
<td>
<a href="blocks-extraneous-data-008.htm">blocks-extraneous-data-008</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Extraneous Data After Private Data
<ul class="assert">
<li>There are four null bytes after the private data.</li>
</ul>
</td>
</tr>
<tr id="blocks-overlap-001-3" class="font">
<td>
<a href="blocks-overlap-001.htm">blocks-overlap-001</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Metadata Overlaps Table Data
<ul class="assert">
<li>The metadata offset is four bytes before the end of the table data.</li>
</ul>
</td>
</tr>
<tr id="blocks-overlap-002-3" class="font">
<td>
<a href="blocks-overlap-002.htm">blocks-overlap-002</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Private Data Overlaps Table Data
<ul class="assert">
<li>The private data offset is four bytes before the end of the table data.</li>
</ul>
</td>
</tr>
<tr id="blocks-overlap-003-3" class="font">
<td>
<a href="blocks-overlap-003.htm">blocks-overlap-003</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Private Data Overlaps Metadata
<ul class="assert">
<li>The private data offset is four bytes before the end of the metadata.</li>
</ul>
</td>
</tr>
<tr id="valid-001-3" class="font">
<td>
<a href="valid-001.htm">valid-001</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Valid WOFF 1
<ul class="assert">
<li>Valid CFF flavored WOFF with no metadata and no private data</li>
</ul>
</td>
</tr>
<tr id="valid-002-3" class="font">
<td>
<a href="valid-002.htm">valid-002</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Valid WOFF 2
<ul class="assert">
<li>Valid CFF flavored WOFF with metadata</li>
</ul>
</td>
</tr>
<tr id="valid-003-3" class="font">
<td>
<a href="valid-003.htm">valid-003</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Valid WOFF 3
<ul class="assert">
<li>Valid CFF flavored WOFF with private data</li>
</ul>
</td>
</tr>
<tr id="valid-004-3" class="font">
<td>
<a href="valid-004.htm">valid-004</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Valid WOFF 4
<ul class="assert">
<li>Valid CFF flavored WOFF with metadata and private data</li>
</ul>
</td>
</tr>
<tr id="valid-005-3" class="font">
<td>
<a href="valid-005.htm">valid-005</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Valid WOFF 5
<ul class="assert">
<li>Valid TTF flavored WOFF with no metadata and no private data</li>
</ul>
</td>
</tr>
<tr id="valid-006-3" class="font">
<td>
<a href="valid-006.htm">valid-006</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Valid WOFF 6
<ul class="assert">
<li>Valid TTF flavored WOFF with metadata</li>
</ul>
</td>
</tr>
<tr id="valid-007-3" class="font">
<td>
<a href="valid-007.htm">valid-007</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Valid WOFF 7
<ul class="assert">
<li>Valid TTF flavored WOFF with private data</li>
</ul>
</td>
</tr>
<tr id="valid-008-3" class="font">
<td>
<a href="valid-008.htm">valid-008</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Valid WOFF 8
<ul class="assert">
<li>Valid TTF flavored WOFF with metadata and private data</li>
</ul>
</td>
</tr>
<tr id="valid-009-3" class="font">
<td>
<a href="valid-009.htm">valid-009</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Valid WOFF 9
<ul class="assert">
<li>Valid TTF flavored WOFF with simple and composite glyphs</li>
</ul>
</td>
</tr>
</tbody>
<tbody id="s3.#conform-extraneous-reject">
<!-- 8 tests -->
<tr id="blocks-extraneous-data-001-3.#conform-extraneous-reject" class="font">
<td>
<a href="blocks-extraneous-data-001.htm">blocks-extraneous-data-001</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Extraneous Data Between Header and Directory
<ul class="assert">
<li>There are four null bytes between the header and the table directory.</li>
</ul>
</td>
</tr>
<tr id="blocks-extraneous-data-002-3.#conform-extraneous-reject" class="font">
<td>
<a href="blocks-extraneous-data-002.htm">blocks-extraneous-data-002</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Extraneous Data Between Directory and Table Data
<ul class="assert">
<li>There are four null bytes between the table directory and the table data.</li>
</ul>
</td>
</tr>
<tr id="blocks-extraneous-data-003-3.#conform-extraneous-reject" class="font">
<td>
<a href="blocks-extraneous-data-003.htm">blocks-extraneous-data-003</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Extraneous Data After Table Data
<ul class="assert">
<li>There are four null bytes after the table data block and there is no metadata or private data.</li>
</ul>
</td>
</tr>
<tr id="blocks-extraneous-data-004-3.#conform-extraneous-reject" class="font">
<td>
<a href="blocks-extraneous-data-004.htm">blocks-extraneous-data-004</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Extraneous Data Between Table Data and Metadata
<ul class="assert">
<li>There are four null bytes between the table data and the metadata.</li>
</ul>
</td>
</tr>
<tr id="blocks-extraneous-data-005-3.#conform-extraneous-reject" class="font">
<td>
<a href="blocks-extraneous-data-005.htm">blocks-extraneous-data-005</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Extraneous Data Between Table Data and Private Data
<ul class="assert">
<li>There are four null bytes between the table data and the private data.</li>
</ul>
</td>
</tr>
<tr id="blocks-extraneous-data-006-3.#conform-extraneous-reject" class="font">
<td>
<a href="blocks-extraneous-data-006.htm">blocks-extraneous-data-006</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Extraneous Data Between Metdata and Private Data
<ul class="assert">
<li>There are four null bytes between the metadata and the private data.</li>
</ul>
</td>
</tr>
<tr id="blocks-extraneous-data-007-3.#conform-extraneous-reject" class="font">
<td>
<a href="blocks-extraneous-data-007.htm">blocks-extraneous-data-007</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Extraneous Data After Metadata
<ul class="assert">
<li>There are four null bytes after the metadata and there is no private data.</li>
</ul>
</td>
</tr>
<tr id="blocks-extraneous-data-008-3.#conform-extraneous-reject" class="font">
<td>
<a href="blocks-extraneous-data-008.htm">blocks-extraneous-data-008</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Extraneous Data After Private Data
<ul class="assert">
<li>There are four null bytes after the private data.</li>
</ul>
</td>
</tr>
</tbody>
<tbody id="s3.#conform-extraneous-reject-0">
<!-- 0 tests -->
</tbody>
<tbody id="s3.#conform-noextraneous">
<!-- 0 tests -->
</tbody>
<tbody id="s3.#conform-noextraneous-0">
<!-- 0 tests -->
</tbody>
<tbody id="s3.#conform-overlap-reject">
<!-- 3 tests -->
<tr id="blocks-overlap-001-3.#conform-overlap-reject" class="font">
<td>
<a href="blocks-overlap-001.htm">blocks-overlap-001</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Metadata Overlaps Table Data
<ul class="assert">
<li>The metadata offset is four bytes before the end of the table data.</li>
</ul>
</td>
</tr>
<tr id="blocks-overlap-002-3.#conform-overlap-reject" class="font">
<td>
<a href="blocks-overlap-002.htm">blocks-overlap-002</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Private Data Overlaps Table Data
<ul class="assert">
<li>The private data offset is four bytes before the end of the table data.</li>
</ul>
</td>
</tr>
<tr id="blocks-overlap-003-3.#conform-overlap-reject" class="font">
<td>
<a href="blocks-overlap-003.htm">blocks-overlap-003</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Private Data Overlaps Metadata
<ul class="assert">
<li>The private data offset is four bytes before the end of the metadata.</li>
</ul>
</td>
</tr>
</tbody>
<tbody id="s3.#conform-overlap-reject-0">
<!-- 0 tests -->
</tbody>
<tbody id="s3.1">
<tr><th colspan="4" scope="rowgroup">
<a href="#s3.1">+</a>
<a href="https://www.w3.org/TR/WOFF2/#DataTypes">3.1 Data types</a></th></tr>
<!-- 4 tests -->
<tr id="datatypes-alt-255uint16-001-3.1" class="font">
<td>
<a href="datatypes-alt-255uint16-001.htm">datatypes-alt-255uint16-001</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Different Representations of 255UInt16
<ul class="assert">
<li>Valid TTF flavored WOFF with different valid representation of the same 255UInt16 encoded number</li>
</ul>
</td>
</tr>
<tr id="datatypes-invalid-base128-001-3.1" class="font">
<td>
<a href="datatypes-invalid-base128-001.htm">datatypes-invalid-base128-001</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Invalid UIntBase128 With Leading Zeros
<ul class="assert">
<li>Invalid TTF flavored WOFF that has UIntBase128 numbers with leading zeros</li>
</ul>
</td>
</tr>
<tr id="datatypes-invalid-base128-002-3.1" class="font">
<td>
<a href="datatypes-invalid-base128-002.htm">datatypes-invalid-base128-002</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Invalid UIntBase128 That Exceeds 2^{32}-1
<ul class="assert">
<li>Invalid TTF flavored WOFF that has UIntBase128 numbers which exceed 2^{32}-1</li>
</ul>
</td>
</tr>
<tr id="datatypes-invalid-base128-003-3.1" class="font">
<td>
<a href="datatypes-invalid-base128-003.htm">datatypes-invalid-base128-003</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Invalid UIntBase128 Longer Than 5 Bytes
<ul class="assert">
<li>Invalid TTF flavored WOFF that has UIntBase128 numbers longer than 5 bytes</li>
</ul>
</td>
</tr>
</tbody>
<tbody id="s3.1.#255UInt16">
<!-- 0 tests -->
</tbody>
<tbody id="s3.1.#UIntBase128">
<!-- 0 tests -->
</tbody>
<tbody id="s3.2">
<tr><th colspan="4" scope="rowgroup">
<a href="#s3.2">+</a>
<a href="https://www.w3.org/TR/WOFF2/#woff20Header">3.2 WOFF2 Header</a></th></tr>
<!-- 7 tests -->
<tr id="header-length-001-3.2" class="font">
<td>
<a href="header-length-001.htm">header-length-001</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Header Length Too Short
<ul class="assert">
<li>The length field contains a value that is four bytes shorter than the actual data.</li>
</ul>
</td>
</tr>
<tr id="header-length-002-3.2" class="font">
<td>
<a href="header-length-002.htm">header-length-002</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Header Length Too Long
<ul class="assert">
<li>The length field contains a value that is four bytes longer than the actual data.</li>
</ul>
</td>
</tr>
<tr id="header-numtables-001-3.2" class="font">
<td>
<a href="header-numTables-001.htm">header-numtables-001</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Header Number of Tables Set to Zero
<ul class="assert">
<li>The header contains 0 in the numTables field. A table directory and table data are present.</li>
</ul>
</td>
</tr>
<tr id="header-reserved-001-3.2" class="font">
<td>
<a href="header-reserved-001.htm">header-reserved-001</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Header Reserved Invalid Value
<ul class="assert">
<li>The reserved field contains 1.</li>
</ul>
</td>
</tr>
<tr id="header-signature-001-3.2" class="font">
<td>
<a href="header-signature-001.htm">header-signature-001</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Header Signature Invalid Value
<ul class="assert">
<li>The signature field contains XXXX instead of wOFF.</li>
</ul>
</td>
</tr>
<tr id="header-totalsfntsize-001-3.2" class="font">
<td>
<a href="header-totalsfntsize-001.htm">header-totalsfntsize-001</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Header TotalSfntSize Too Small
<ul class="assert">
<li>The totalSfntSize field contains a too small incorrect value.</li>
</ul>
</td>
</tr>
<tr id="header-totalsfntsize-002-3.2" class="font">
<td>
<a href="header-totalsfntsize-002.htm">header-totalsfntsize-002</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Header TotalSfntSize Too Big
<ul class="assert">
<li>The totalSfntSize field contains a too big incorrect value.</li>
</ul>
</td>
</tr>
</tbody>
<tbody id="s3.2.#conform-magicNumber">
<!-- 0 tests -->
</tbody>
<tbody id="s3.2.#conform-magicNumber-0">
<!-- 0 tests -->
</tbody>
<tbody id="s3.2.#conform-mustNotRejectIncorrectTotalSize">
<!-- 2 tests -->
<tr id="header-totalsfntsize-001-3.2.#conform-mustNotRejectIncorrectTotalSize" class="font">
<td>
<a href="header-totalsfntsize-001.htm">header-totalsfntsize-001</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Header TotalSfntSize Too Small
<ul class="assert">
<li>The totalSfntSize field contains a too small incorrect value.</li>
</ul>
</td>
</tr>
<tr id="header-totalsfntsize-002-3.2.#conform-mustNotRejectIncorrectTotalSize" class="font">
<td>
<a href="header-totalsfntsize-002.htm">header-totalsfntsize-002</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Header TotalSfntSize Too Big
<ul class="assert">
<li>The totalSfntSize field contains a too big incorrect value.</li>
</ul>
</td>
</tr>
</tbody>
<tbody id="s3.2.#conform-mustNotRejectIncorrectTotalSize-0">
<!-- 0 tests -->
</tbody>
<tbody id="s3.2.#conform-mustNotUseReservedValue">
<!-- 1 tests -->
<tr id="header-reserved-001-3.2.#conform-mustNotUseReservedValue" class="font">
<td>
<a href="header-reserved-001.htm">header-reserved-001</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Header Reserved Invalid Value
<ul class="assert">
<li>The reserved field contains 1.</li>
</ul>
</td>
</tr>
</tbody>
<tbody id="s3.2.#conform-mustNotUseReservedValue-0">
<!-- 0 tests -->
</tbody>
<tbody id="s3.2.#conform-mustSetReserved2Zero">
<!-- 0 tests -->
</tbody>
<tbody id="s3.2.#conform-mustSetReserved2Zero-0">
<!-- 0 tests -->
</tbody>
<tbody id="s3.2.#conform-noMagicNumber-reject">
<!-- 1 tests -->
<tr id="header-signature-001-3.2.#conform-noMagicNumber-reject" class="font">
<td>
<a href="header-signature-001.htm">header-signature-001</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Header Signature Invalid Value
<ul class="assert">
<li>The signature field contains XXXX instead of wOFF.</li>
</ul>
</td>
</tr>
</tbody>
<tbody id="s3.2.#conform-noMagicNumber-reject-0">
<!-- 0 tests -->
</tbody>
</table>
</body>
</html>

View file

@ -0,0 +1,220 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>Font directory - WOFF 2.0 CR Test Suite</title>
<style type="text/css">
@import "http://www.w3.org/StyleSheets/TR/base.css";
@import "../indices.css";
</style>
</head>
<body>
<h1>WOFF 2.0 CR Test Suite</h1>
<h2>Font directory (4 tests)</h2>
<table width="100%">
<col id="test-column">
<col id="refs-column">
<col id="flags-column">
<col id="info-column">
<thead>
<tr>
<th>Test</th>
<th><abbr title="Rendering References">Refs</abbr></th>
<th>Flags</th>
<th>Info</th>
</tr>
</thead>
<tbody id="s4">
<tr><th colspan="4" scope="rowgroup">
<a href="#s4">+</a>
<a href="https://www.w3.org/TR/WOFF2/#font_directory">4 Font directory</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s4.1">
<tr><th colspan="4" scope="rowgroup">
<a href="#s4.1">+</a>
<a href="https://www.w3.org/TR/WOFF2/#table_dir_format">4.1 Table directory format</a></th></tr>
<!-- 1 tests -->
<tr id="directory-mismatched-tables-001-4.1" class="font">
<td>
<a href="directory-mismatched-tables-001.htm">directory-mismatched-tables-001</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Font Collection With Mismatched Glyf/Loca Tables
<ul class="assert">
<li>Invalid TTF flavored WOFF font collection with two pairs of mismatched glyf/loca tables</li>
</ul>
</td>
</tr>
</tbody>
<tbody id="s4.1.#conform-mayAcceptKnownTagsAsCustom">
<!-- 0 tests -->
</tbody>
<tbody id="s4.1.#conform-mayAcceptKnownTagsAsCustom-0">
<!-- 0 tests -->
</tbody>
<tbody id="s4.1.#conform-mustAcceptAllTransforms">
<!-- 1 tests -->
<tr id="tabledata-transform-hmtx-001-4.1.#conform-mustAcceptAllTransforms" class="font">
<td>
<a href="tabledata-transform-hmtx-001.htm">tabledata-transform-hmtx-001</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Transformed Hmtx Table
<ul class="assert">
<li>Valid TTF flavored WOFF with transformed hmtx table.</li>
</ul>
</td>
</tr>
</tbody>
<tbody id="s4.1.#conform-mustAcceptAllTransforms-0">
<!-- 0 tests -->
</tbody>
<tbody id="s4.1.#conform-mustBeRejected-FailTransform">
<!-- 2 tests -->
<tr id="tabledata-transform-bad-flag-001-4.1.#conform-mustBeRejected-FailTransform" class="font">
<td>
<a href="tabledata-transform-bad-flag-001.htm">tabledata-transform-bad-flag-001</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Head Table With Tramsform Number 1
<ul class="assert">
<li>Invalid CFF flavored WOFF with head table having transform version 1.</li>
</ul>
</td>
</tr>
<tr id="tabledata-transform-bad-flag-002-4.1.#conform-mustBeRejected-FailTransform" class="font">
<td>
<a href="tabledata-transform-bad-flag-002.htm">tabledata-transform-bad-flag-002</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Glyf Table With Tramsform Number 3
<ul class="assert">
<li>Invalid TTF flavored WOFF with glyf table having transform version 3.</li>
</ul>
</td>
</tr>
</tbody>
<tbody id="s4.1.#conform-mustBeRejected-FailTransform-0">
<!-- 0 tests -->
</tbody>
<tbody id="s4.1.#conform-mustIncludeTransformLength">
<!-- 0 tests -->
</tbody>
<tbody id="s4.1.#conform-mustIncludeTransformLength-0">
<!-- 0 tests -->
</tbody>
<tbody id="s4.1.#conform-mustReorderGlyfLoca">
<!-- 0 tests -->
</tbody>
<tbody id="s4.1.#conform-mustReorderGlyfLoca-0">
<!-- 0 tests -->
</tbody>
<tbody id="s4.1.#conform-mustUseKnownTags">
<!-- 0 tests -->
</tbody>
<tbody id="s4.1.#conform-mustUseKnownTags-0">
<!-- 0 tests -->
</tbody>
<tbody id="s4.2">
<tr><th colspan="4" scope="rowgroup">
<a href="#s4.2">+</a>
<a href="https://www.w3.org/TR/WOFF2/#collection_dir_format">4.2 Collection directory format</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s4.2.#collection_head_note">
<!-- 0 tests -->
</tbody>
<tbody id="s4.2.#collection_head_note-0">
<!-- 0 tests -->
</tbody>
<tbody id="s4.2.#conform-mustCheckRejectMismatchedTables">
<!-- 1 tests -->
<tr id="directory-mismatched-tables-001-4.2.#conform-mustCheckRejectMismatchedTables" class="font">
<td>
<a href="directory-mismatched-tables-001.htm">directory-mismatched-tables-001</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Font Collection With Mismatched Glyf/Loca Tables
<ul class="assert">
<li>Invalid TTF flavored WOFF font collection with two pairs of mismatched glyf/loca tables</li>
</ul>
</td>
</tr>
</tbody>
<tbody id="s4.2.#conform-mustCheckRejectMismatchedTables-0">
<!-- 0 tests -->
</tbody>
<tbody id="s4.2.#conform-mustEmitSingleEntryDirectory">
<!-- 0 tests -->
</tbody>
<tbody id="s4.2.#conform-mustEmitSingleEntryDirectory-0">
<!-- 0 tests -->
</tbody>
<tbody id="s4.2.#conform-mustFixCollection">
<!-- 0 tests -->
</tbody>
<tbody id="s4.2.#conform-mustFixCollection-0">
<!-- 0 tests -->
</tbody>
<tbody id="s4.2.#conform-mustLoadFontCollection">
<!-- 0 tests -->
</tbody>
<tbody id="s4.2.#conform-mustLoadFontCollection-0">
<!-- 0 tests -->
</tbody>
<tbody id="s4.2.#conform-mustNotDuplicateTables">
<!-- 0 tests -->
</tbody>
<tbody id="s4.2.#conform-mustNotDuplicateTables-0">
<!-- 0 tests -->
</tbody>
<tbody id="s4.2.#conform-mustPreserveFontOrder">
<!-- 0 tests -->
</tbody>
<tbody id="s4.2.#conform-mustPreserveFontOrder-0">
<!-- 0 tests -->
</tbody>
<tbody id="s4.2.#conform-mustRecordCollectionEntryIndex">
<!-- 0 tests -->
</tbody>
<tbody id="s4.2.#conform-mustRecordCollectionEntryIndex-0">
<!-- 0 tests -->
</tbody>
<tbody id="s4.2.#conform-mustRejectSingleGlyfLocaShared">
<!-- 0 tests -->
</tbody>
<tbody id="s4.2.#conform-mustRejectSingleGlyfLocaShared-0">
<!-- 0 tests -->
</tbody>
<tbody id="s4.2.#conform-mustRestoreCollectionOffsetTables">
<!-- 0 tests -->
</tbody>
<tbody id="s4.2.#conform-mustRestoreCollectionOffsetTables-0">
<!-- 0 tests -->
</tbody>
<tbody id="s4.2.#conform-mustRestoreFontOrder">
<!-- 0 tests -->
</tbody>
<tbody id="s4.2.#conform-mustRestoreFontOrder-0">
<!-- 0 tests -->
</tbody>
<tbody id="s4.2.#conform-mustTransformMultipleGlyfLoca">
<!-- 0 tests -->
</tbody>
<tbody id="s4.2.#conform-mustTransformMultipleGlyfLoca-0">
<!-- 0 tests -->
</tbody>
<tbody id="s4.2.#conform-mustVerifyGlyfLocaShared">
<!-- 0 tests -->
</tbody>
<tbody id="s4.2.#conform-mustVerifyGlyfLocaShared-0">
<!-- 0 tests -->
</tbody>
</table>
</body>
</html>

View file

@ -0,0 +1,483 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>Compressed data format - WOFF 2.0 CR Test Suite</title>
<style type="text/css">
@import "http://www.w3.org/StyleSheets/TR/base.css";
@import "../indices.css";
</style>
</head>
<body>
<h1>WOFF 2.0 CR Test Suite</h1>
<h2>Compressed data format (18 tests)</h2>
<table width="100%">
<col id="test-column">
<col id="refs-column">
<col id="flags-column">
<col id="info-column">
<thead>
<tr>
<th>Test</th>
<th><abbr title="Rendering References">Refs</abbr></th>
<th>Flags</th>
<th>Info</th>
</tr>
</thead>
<tbody id="s5">
<tr><th colspan="4" scope="rowgroup">
<a href="#s5">+</a>
<a href="https://www.w3.org/TR/WOFF2/#table_format">5 Compressed data format</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s5.#CFF-de-subroutinization">
<!-- 0 tests -->
</tbody>
<tbody id="s5.#CFF-de-subroutinization-0">
<!-- 0 tests -->
</tbody>
<tbody id="s5.#conform-mustBeInvalidated-FailDecompress">
<!-- 1 tests -->
<tr id="tabledata-brotli-001-5.#conform-mustBeInvalidated-FailDecompress" class="font">
<td>
<a href="tabledata-brotli-001.htm">tabledata-brotli-001</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Font Table Data Invalid Compressed Data
<ul class="assert">
<li>Font table data is compressed with zlib instead of Brotli.</li>
</ul>
</td>
</tr>
</tbody>
<tbody id="s5.#conform-mustBeInvalidated-FailDecompress-0">
<!-- 0 tests -->
</tbody>
<tbody id="s5.#conform-mustBeInvalidated-FailSize">
<!-- 4 tests -->
<tr id="tabledata-decompressed-length-001-5.#conform-mustBeInvalidated-FailSize" class="font">
<td>
<a href="tabledata-decompressed-length-001.htm">tabledata-decompressed-length-001</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Font Table Data Decompressed Length Less Than Original Length
<ul class="assert">
<li>The original length of the first table in the directory is increased by 1, making the decompressed length of the table data less than the sum of original table lengths.</li>
</ul>
</td>
</tr>
<tr id="tabledata-decompressed-length-002-5.#conform-mustBeInvalidated-FailSize" class="font">
<td>
<a href="tabledata-decompressed-length-002.htm">tabledata-decompressed-length-002</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Font Table Data Decompressed Length Greater Than Original Length
<ul class="assert">
<li>The original length of the first table in the directory is decreased by 1, making the decompressed length of the table data greater than the sum of original table lengths.</li>
</ul>
</td>
</tr>
<tr id="tabledata-decompressed-length-003-5.#conform-mustBeInvalidated-FailSize" class="font">
<td>
<a href="tabledata-decompressed-length-003.htm">tabledata-decompressed-length-003</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Font Table Data Decompressed Length Less Than Transformed Length
<ul class="assert">
<li>The transformed length of the glyf table in the directory is increased by 1, making the decompressed length of the table data less than the sum of transformed table lengths.</li>
</ul>
</td>
</tr>
<tr id="tabledata-decompressed-length-004-5.#conform-mustBeInvalidated-FailSize" class="font">
<td>
<a href="tabledata-decompressed-length-004.htm">tabledata-decompressed-length-004</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Font Table Data Decompressed Length Greater Than Transformed Length
<ul class="assert">
<li>The transformed length of the glyf table in the directory is decreased by 1, making the decompressed length of the table data greater than the sum of transformed table lengths.</li>
</ul>
</td>
</tr>
</tbody>
<tbody id="s5.#conform-mustBeInvalidated-FailSize-0">
<!-- 0 tests -->
</tbody>
<tbody id="s5.#conform-mustCalculateCheckSum">
<!-- 0 tests -->
</tbody>
<tbody id="s5.#conform-mustCalculateCheckSum-0">
<!-- 0 tests -->
</tbody>
<tbody id="s5.#conform-mustMatchUncompressedSize">
<!-- 0 tests -->
</tbody>
<tbody id="s5.#conform-mustMatchUncompressedSize-0">
<!-- 0 tests -->
</tbody>
<tbody id="s5.#conform-mustProduceOFF">
<!-- 1 tests -->
<tr id="valid-009-5.#conform-mustProduceOFF" class="font">
<td>
<a href="valid-009.htm">valid-009</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Valid WOFF 9
<ul class="assert">
<li>Valid TTF flavored WOFF with simple and composite glyphs</li>
</ul>
</td>
</tr>
</tbody>
<tbody id="s5.#conform-mustProduceOFF-0">
<!-- 0 tests -->
</tbody>
<tbody id="s5.#conform-mustRecalculateHeadCheckSum">
<!-- 0 tests -->
</tbody>
<tbody id="s5.#conform-mustRecalculateHeadCheckSum-0">
<!-- 0 tests -->
</tbody>
<tbody id="s5.#conform-mustRejectExtraData">
<!-- 1 tests -->
<tr id="tabledata-extraneous-data-001-5.#conform-mustRejectExtraData" class="font">
<td>
<a href="tabledata-extraneous-data-001.htm">tabledata-extraneous-data-001</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Extraneous Data Betwen Table Data
<ul class="assert">
<li>There is extraneous data before the last table.</li>
</ul>
</td>
</tr>
</tbody>
<tbody id="s5.#conform-mustRejectExtraData-0">
<!-- 0 tests -->
</tbody>
<tbody id="s5.#conform-mustRemoveDSIG">
<!-- 0 tests -->
</tbody>
<tbody id="s5.#conform-mustRemoveDSIG-0">
<!-- 0 tests -->
</tbody>
<tbody id="s5.#conform-mustSetBit11">
<!-- 0 tests -->
</tbody>
<tbody id="s5.#conform-mustSetBit11-0">
<!-- 0 tests -->
</tbody>
<tbody id="s5.#conform-mustUseBrotli-FontData">
<!-- 0 tests -->
</tbody>
<tbody id="s5.#conform-mustUseBrotli-FontData-0">
<!-- 0 tests -->
</tbody>
<tbody id="s5.#conform-noExtraData">
<!-- 0 tests -->
</tbody>
<tbody id="s5.#conform-noExtraData-0">
<!-- 0 tests -->
</tbody>
<tbody id="s5.1">
<tr><th colspan="4" scope="rowgroup">
<a href="#s5.1">+</a>
<a href="https://www.w3.org/TR/WOFF2/#glyf_table_format">5.1 Transformed glyf table format</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s5.1.#CompositeGlyph">
<!-- 0 tests -->
</tbody>
<tbody id="s5.1.#EmptyGlyph">
<!-- 0 tests -->
</tbody>
<tbody id="s5.1.#ReconstructingGlyhs">
<!-- 0 tests -->
</tbody>
<tbody id="s5.1.#SimpleGlyph">
<!-- 0 tests -->
</tbody>
<tbody id="s5.1.#conform-mustCalculateBBox">
<!-- 1 tests -->
<tr id="tabledata-glyf-bbox-001-5.1.#conform-mustCalculateBBox" class="font">
<td>
<a href="tabledata-glyf-bbox-001.htm">tabledata-glyf-bbox-001</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Glyph Without Explicit Bounding Box
<ul class="assert">
<li>Valid TTF flavored WOFF with a glyph with no explicit bounding box</li>
</ul>
</td>
</tr>
</tbody>
<tbody id="s5.1.#conform-mustCalculateBBox-0">
<!-- 0 tests -->
</tbody>
<tbody id="s5.1.#conform-mustCalculateOmitBBoxValues">
<!-- 0 tests -->
</tbody>
<tbody id="s5.1.#conform-mustCalculateOmitBBoxValues-0">
<!-- 0 tests -->
</tbody>
<tbody id="s5.1.#conform-mustCalculateSetBBoxValues">
<!-- 0 tests -->
</tbody>
<tbody id="s5.1.#conform-mustCalculateSetBBoxValues-0">
<!-- 0 tests -->
</tbody>
<tbody id="s5.1.#conform-mustClearEmptyBBox">
<!-- 0 tests -->
</tbody>
<tbody id="s5.1.#conform-mustClearEmptyBBox-0">
<!-- 0 tests -->
</tbody>
<tbody id="s5.1.#conform-mustNotRejectGlyfSizeMismatch">
<!-- 2 tests -->
<tr id="tabledata-glyf-origlength-001-5.1.#conform-mustNotRejectGlyfSizeMismatch" class="font">
<td>
<a href="tabledata-glyf-origlength-001.htm">tabledata-glyf-origlength-001</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Glyf OrigLength Too Small
<ul class="assert">
<li>The origLength field of glyf table contains a too small incorrect value.</li>
</ul>
</td>
</tr>
<tr id="tabledata-glyf-origlength-002-5.1.#conform-mustNotRejectGlyfSizeMismatch" class="font">
<td>
<a href="tabledata-glyf-origlength-002.htm">tabledata-glyf-origlength-002</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Glyf OrigLength Too Big
<ul class="assert">
<li>The origLength field of glyf table contains a too big incorrect value.</li>
</ul>
</td>
</tr>
</tbody>
<tbody id="s5.1.#conform-mustNotRejectGlyfSizeMismatch-0">
<!-- 0 tests -->
</tbody>
<tbody id="s5.1.#conform-mustRejectNonEmptyBBox">
<!-- 1 tests -->
<tr id="tabledata-glyf-bbox-003-5.1.#conform-mustRejectNonEmptyBBox" class="font">
<td>
<a href="tabledata-glyf-bbox-003.htm">tabledata-glyf-bbox-003</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Empty Glyph With Bounding Box
<ul class="assert">
<li>Invalid TTF flavored WOFF due to empty glyph with bounding box</li>
</ul>
</td>
</tr>
</tbody>
<tbody id="s5.1.#conform-mustRejectNonEmptyBBox-0">
<!-- 0 tests -->
</tbody>
<tbody id="s5.1.#conform-mustSetCompositeBBoxValues">
<!-- 0 tests -->
</tbody>
<tbody id="s5.1.#conform-mustSetCompositeBBoxValues-0">
<!-- 0 tests -->
</tbody>
<tbody id="s5.2">
<tr><th colspan="4" scope="rowgroup">
<a href="#s5.2">+</a>
<a href="https://www.w3.org/TR/WOFF2/#triplet_decoding">5.2 Decoding of variable-length X and Y coordinates</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s5.3">
<tr><th colspan="4" scope="rowgroup">
<a href="#s5.3">+</a>
<a href="https://www.w3.org/TR/WOFF2/#loca_table_format">5.3 Transformed loca table format</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s5.3.#conform-OriginalLocaSize">
<!-- 0 tests -->
</tbody>
<tbody id="s5.3.#conform-OriginalLocaSize-0">
<!-- 0 tests -->
</tbody>
<tbody id="s5.3.#conform-mustReconstructLoca">
<!-- 1 tests -->
<tr id="tabledata-recontruct-loca-001-5.3.#conform-mustReconstructLoca" class="font">
<td>
<a href="tabledata-recontruct-loca-001.htm">tabledata-recontruct-loca-001</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Font With Short Loca and Composite Glyphs
<ul class="assert">
<li>Valid TTF flavored WOFF with simple composite glyphs where the loca table uses the short format, to check loca reconstruction</li>
</ul>
</td>
</tr>
</tbody>
<tbody id="s5.3.#conform-mustReconstructLoca-0">
<!-- 0 tests -->
</tbody>
<tbody id="s5.3.#conform-mustRecordLocaOffsets">
<!-- 0 tests -->
</tbody>
<tbody id="s5.3.#conform-mustRecordLocaOffsets-0">
<!-- 0 tests -->
</tbody>
<tbody id="s5.3.#conform-mustRejectLoca">
<!-- 3 tests -->
<tr id="tabledata-bad-origlength-loca-001-5.3.#conform-mustRejectLoca" class="font">
<td>
<a href="tabledata-bad-origlength-loca-001.htm">tabledata-bad-origlength-loca-001</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Font Table Data Small Loca Original Length
<ul class="assert">
<li>The origLength of the loca table is 4 bytes less than the calculated size</li>
</ul>
</td>
</tr>
<tr id="tabledata-bad-origlength-loca-002-5.3.#conform-mustRejectLoca" class="font">
<td>
<a href="tabledata-bad-origlength-loca-002.htm">tabledata-bad-origlength-loca-002</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Font Table Data Large Loca Original Length
<ul class="assert">
<li>The origLength of the loca table is 4 bytes more than the calculated size</li>
</ul>
</td>
</tr>
<tr id="tabledata-non-zero-loca-001-5.3.#conform-mustRejectLoca" class="font">
<td>
<a href="tabledata-non-zero-loca-001.htm">tabledata-non-zero-loca-001</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Font Table Data Loca Is Not Zero
<ul class="assert">
<li>The transformed loca table contains 4 zero bytes and its transformLength is 4.</li>
</ul>
</td>
</tr>
</tbody>
<tbody id="s5.3.#conform-mustRejectLoca-0">
<!-- 0 tests -->
</tbody>
<tbody id="s5.3.#conform-transformedLocaMustAccompanyGlyf">
<!-- 0 tests -->
</tbody>
<tbody id="s5.3.#conform-transformedLocaMustAccompanyGlyf-0">
<!-- 0 tests -->
</tbody>
<tbody id="s5.3.#conform-transformedLocaMustBeZero">
<!-- 0 tests -->
</tbody>
<tbody id="s5.3.#conform-transformedLocaMustBeZero-0">
<!-- 0 tests -->
</tbody>
<tbody id="s5.4">
<tr><th colspan="4" scope="rowgroup">
<a href="#s5.4">+</a>
<a href="https://www.w3.org/TR/WOFF2/#hmtx_table_format">5.4 Transformed hmtx table format</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s5.4.#conform-mustCheckLSBAllGlyfTables">
<!-- 0 tests -->
</tbody>
<tbody id="s5.4.#conform-mustCheckLSBAllGlyfTables-0">
<!-- 0 tests -->
</tbody>
<tbody id="s5.4.#conform-mustCheckLSBFlags">
<!-- 3 tests -->
<tr id="tabledata-transform-hmtx-002-5.4.#conform-mustCheckLSBFlags" class="font">
<td>
<a href="tabledata-transform-hmtx-002.htm">tabledata-transform-hmtx-002</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Transformed Hmtx Table With Correct Flags
<ul class="assert">
<li>Valid TTF flavored WOFF with transformed hmtx table and correct flags field.</li>
</ul>
</td>
</tr>
<tr id="tabledata-transform-hmtx-003-5.4.#conform-mustCheckLSBFlags" class="font">
<td>
<a href="tabledata-transform-hmtx-003.htm">tabledata-transform-hmtx-003</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Transformed Hmtx Table With Bad Flags 1
<ul class="assert">
<li>Invalid TTF flavored WOFF with transformed hmtx table with non-zero reserved bits of the flags field.</li>
</ul>
</td>
</tr>
<tr id="tabledata-transform-hmtx-004-5.4.#conform-mustCheckLSBFlags" class="font">
<td>
<a href="tabledata-transform-hmtx-004.htm">tabledata-transform-hmtx-004</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Transformed Hmtx Table With Bad Flags 2
<ul class="assert">
<li>Invalid TTF flavored WOFF with transformed hmtx table with all flags bits set to 0</li>
</ul>
</td>
</tr>
</tbody>
<tbody id="s5.4.#conform-mustCheckLSBFlags-0">
<!-- 0 tests -->
</tbody>
<tbody id="s5.4.#conform-mustCheckLeftSideBearings">
<!-- 0 tests -->
</tbody>
<tbody id="s5.4.#conform-mustCheckLeftSideBearings-0">
<!-- 0 tests -->
</tbody>
<tbody id="s5.4.#conform-mustEliminateLSBs">
<!-- 0 tests -->
</tbody>
<tbody id="s5.4.#conform-mustEliminateLSBs-0">
<!-- 0 tests -->
</tbody>
<tbody id="s5.4.#conform-mustNotApplyLSBTransformForOTC">
<!-- 0 tests -->
</tbody>
<tbody id="s5.4.#conform-mustNotApplyLSBTransformForOTC-0">
<!-- 0 tests -->
</tbody>
<tbody id="s5.4.#conform-mustReconstructLSBs">
<!-- 0 tests -->
</tbody>
<tbody id="s5.4.#conform-mustReconstructLSBs-0">
<!-- 0 tests -->
</tbody>
<tbody id="s5.4.#conform-reservedFlagsMustBeZero">
<!-- 0 tests -->
</tbody>
<tbody id="s5.4.#conform-reservedFlagsMustBeZero-0">
<!-- 0 tests -->
</tbody>
<tbody id="s5.4.#conform-tableOrdering">
<!-- 0 tests -->
</tbody>
<tbody id="s5.4.#conform-transformFlagsMustBeSet">
<!-- 0 tests -->
</tbody>
<tbody id="s5.4.#conform-transformFlagsMustBeSet-0">
<!-- 0 tests -->
</tbody>
<tbody id="s5.5">
<tr><th colspan="4" scope="rowgroup">
<a href="#s5.5">+</a>
<a href="https://www.w3.org/TR/WOFF2/#table_order">5.5 Table order constraints</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s5.5.#conform-tableOrdering">
<!-- 0 tests -->
</tbody>
</table>
</body>
</html>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,239 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>Private Data Block - WOFF 2.0 CR Test Suite</title>
<style type="text/css">
@import "http://www.w3.org/StyleSheets/TR/base.css";
@import "../indices.css";
</style>
</head>
<body>
<h1>WOFF 2.0 CR Test Suite</h1>
<h2>Private Data Block (11 tests)</h2>
<table width="100%">
<col id="test-column">
<col id="refs-column">
<col id="flags-column">
<col id="info-column">
<thead>
<tr>
<th>Test</th>
<th><abbr title="Rendering References">Refs</abbr></th>
<th>Flags</th>
<th>Info</th>
</tr>
</thead>
<tbody id="s7">
<tr><th colspan="4" scope="rowgroup">
<a href="#s7">+</a>
<a href="https://www.w3.org/TR/WOFF2/#Private">7 Private Data Block</a></th></tr>
<!-- 2 tests -->
<tr id="privatedata-noeffect-001-7" class="font">
<td>
<a href="privatedata-noeffect-001.htm">privatedata-noeffect-001</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>No Private Data Present
<ul class="assert">
<li>The file has no private data.</li>
</ul>
</td>
</tr>
<tr id="privatedata-noeffect-002-7" class="font">
<td>
<a href="privatedata-noeffect-002.htm">privatedata-noeffect-002</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Private Data Present
<ul class="assert">
<li>The file has private data.</li>
</ul>
</td>
</tr>
</tbody>
<tbody id="s7.#conform-private">
<!-- 0 tests -->
</tbody>
<tbody id="s7.#conform-private-0">
<!-- 0 tests -->
</tbody>
<tbody id="s7.#conform-private-end">
<!-- 0 tests -->
</tbody>
<tbody id="s7.#conform-private-end-0">
<!-- 0 tests -->
</tbody>
<tbody id="s7.#conform-private-last">
<!-- 0 tests -->
</tbody>
<tbody id="s7.#conform-private-last-0">
<!-- 0 tests -->
</tbody>
<tbody id="s7.#conform-private-noeffect">
<!-- 10 tests -->
<tr id="privatedata-noeffect-001-7.#conform-private-noeffect" class="font">
<td>
<a href="privatedata-noeffect-001.htm">privatedata-noeffect-001</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>No Private Data Present
<ul class="assert">
<li>The file has no private data.</li>
</ul>
</td>
</tr>
<tr id="privatedata-noeffect-002-7.#conform-private-noeffect" class="font">
<td>
<a href="privatedata-noeffect-002.htm">privatedata-noeffect-002</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Private Data Present
<ul class="assert">
<li>The file has private data.</li>
</ul>
</td>
</tr>
<tr id="valid-001-7.#conform-private-noeffect" class="font">
<td>
<a href="valid-001.htm">valid-001</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Valid WOFF 1
<ul class="assert">
<li>Valid CFF flavored WOFF with no metadata and no private data</li>
</ul>
</td>
</tr>
<tr id="valid-002-7.#conform-private-noeffect" class="font">
<td>
<a href="valid-002.htm">valid-002</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Valid WOFF 2
<ul class="assert">
<li>Valid CFF flavored WOFF with metadata</li>
</ul>
</td>
</tr>
<tr id="valid-003-7.#conform-private-noeffect" class="font">
<td>
<a href="valid-003.htm">valid-003</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Valid WOFF 3
<ul class="assert">
<li>Valid CFF flavored WOFF with private data</li>
</ul>
</td>
</tr>
<tr id="valid-004-7.#conform-private-noeffect" class="font">
<td>
<a href="valid-004.htm">valid-004</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Valid WOFF 4
<ul class="assert">
<li>Valid CFF flavored WOFF with metadata and private data</li>
</ul>
</td>
</tr>
<tr id="valid-005-7.#conform-private-noeffect" class="font">
<td>
<a href="valid-005.htm">valid-005</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Valid WOFF 5
<ul class="assert">
<li>Valid TTF flavored WOFF with no metadata and no private data</li>
</ul>
</td>
</tr>
<tr id="valid-006-7.#conform-private-noeffect" class="font">
<td>
<a href="valid-006.htm">valid-006</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Valid WOFF 6
<ul class="assert">
<li>Valid TTF flavored WOFF with metadata</li>
</ul>
</td>
</tr>
<tr id="valid-007-7.#conform-private-noeffect" class="font">
<td>
<a href="valid-007.htm">valid-007</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Valid WOFF 7
<ul class="assert">
<li>Valid TTF flavored WOFF with private data</li>
</ul>
</td>
</tr>
<tr id="valid-008-7.#conform-private-noeffect" class="font">
<td>
<a href="valid-008.htm">valid-008</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Valid WOFF 8
<ul class="assert">
<li>Valid TTF flavored WOFF with metadata and private data</li>
</ul>
</td>
</tr>
</tbody>
<tbody id="s7.#conform-private-noeffect-0">
<!-- 0 tests -->
</tbody>
<tbody id="s7.#conform-private-padalign">
<!-- 0 tests -->
</tbody>
<tbody id="s7.#conform-private-padalign-0">
<!-- 0 tests -->
</tbody>
<tbody id="s.#References">
<!-- 0 tests -->
</tbody>
<tbody id="s.#W3C-doctype">
<!-- 0 tests -->
</tbody>
<tbody id="s.#abstract">
<!-- 0 tests -->
</tbody>
<tbody id="s.#status">
<!-- 0 tests -->
</tbody>
<tbody id="s.#title">
<!-- 0 tests -->
</tbody>
<tbody id="s.#title-0">
<!-- 0 tests -->
</tbody>
<tbody id="s.#toc-head">
<!-- 0 tests -->
</tbody>
<tbody id="s255UInt16.#conform-mustAccept255UInt16">
<!-- 1 tests -->
<tr id="datatypes-alt-255uint16-001-255UInt16.#conform-mustAccept255UInt16" class="font">
<td>
<a href="datatypes-alt-255uint16-001.htm">datatypes-alt-255uint16-001</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Different Representations of 255UInt16
<ul class="assert">
<li>Valid TTF flavored WOFF with different valid representation of the same 255UInt16 encoded number</li>
</ul>
</td>
</tr>
</tbody>
<tbody id="s255UInt16.#conform-mustAccept255UInt16-0">
<!-- 0 tests -->
</tbody>
</table>
</body>
</html>

View file

@ -0,0 +1,39 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>Internet Media Type Registration - WOFF 2.0 CR Test Suite</title>
<style type="text/css">
@import "http://www.w3.org/StyleSheets/TR/base.css";
@import "../indices.css";
</style>
</head>
<body>
<h1>WOFF 2.0 CR Test Suite</h1>
<h2>Internet Media Type Registration (0 tests)</h2>
<table width="100%">
<col id="test-column">
<col id="refs-column">
<col id="flags-column">
<col id="info-column">
<thead>
<tr>
<th>Test</th>
<th><abbr title="Rendering References">Refs</abbr></th>
<th>Flags</th>
<th>Info</th>
</tr>
</thead>
<tbody id="sA">
<tr><th colspan="4" scope="rowgroup">
<a href="#sA">+</a>
<a href="https://www.w3.org/TR/WOFF2/#IMT">A Internet Media Type Registration</a></th></tr>
<!-- 0 tests -->
</tbody>
</table>
</body>
</html>

View file

@ -0,0 +1,42 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>Changes - WOFF 2.0 CR Test Suite</title>
<style type="text/css">
@import "http://www.w3.org/StyleSheets/TR/base.css";
@import "../indices.css";
</style>
</head>
<body>
<h1>WOFF 2.0 CR Test Suite</h1>
<h2>Changes (0 tests)</h2>
<table width="100%">
<col id="test-column">
<col id="refs-column">
<col id="flags-column">
<col id="info-column">
<thead>
<tr>
<th>Test</th>
<th><abbr title="Rendering References">Refs</abbr></th>
<th>Flags</th>
<th>Info</th>
</tr>
</thead>
<tbody id="sB">
<tr><th colspan="4" scope="rowgroup">
<a href="#sB">+</a>
<a href="https://www.w3.org/TR/WOFF2/#changes">B Changes</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="sB.#changes2">
<!-- 0 tests -->
</tbody>
</table>
</body>
</html>

View file

@ -0,0 +1,185 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>Considerations for Security and Privacy - WOFF 2.0 CR Test Suite</title>
<style type="text/css">
@import "http://www.w3.org/StyleSheets/TR/base.css";
@import "../indices.css";
</style>
</head>
<body>
<h1>WOFF 2.0 CR Test Suite</h1>
<h2>Considerations for Security and Privacy (4 tests)</h2>
<table width="100%">
<col id="test-column">
<col id="refs-column">
<col id="flags-column">
<col id="info-column">
<thead>
<tr>
<th>Test</th>
<th><abbr title="Rendering References">Refs</abbr></th>
<th>Flags</th>
<th>Info</th>
</tr>
</thead>
<tbody id="sC">
<tr><th colspan="4" scope="rowgroup">
<a href="#sC">+</a>
<a href="https://www.w3.org/TR/WOFF2/#security-privacy-considerations">C Considerations for Security and Privacy</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="sCompositeGlyph.#conform-mustHaveCompositeBBox">
<!-- 0 tests -->
</tbody>
<tbody id="sCompositeGlyph.#conform-mustHaveCompositeBBox-0">
<!-- 0 tests -->
</tbody>
<tbody id="sCompositeGlyph.#conform-mustRejectNoCompositeBBox">
<!-- 1 tests -->
<tr id="tabledata-glyf-bbox-002-CompositeGlyph.#conform-mustRejectNoCompositeBBox" class="font">
<td>
<a href="tabledata-glyf-bbox-002.htm">tabledata-glyf-bbox-002</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Composite Glyph Without Bounding Box
<ul class="assert">
<li>Invalid TTF flavored WOFF due to composite glyphs without bounding box</li>
</ul>
</td>
</tr>
</tbody>
<tbody id="sCompositeGlyph.#conform-mustRejectNoCompositeBBox-0">
<!-- 0 tests -->
</tbody>
<tbody id="sEmptyGlyph.#conform-mustRejectNonEmptyBBox2">
<!-- 0 tests -->
</tbody>
<tbody id="sEmptyGlyph.#conform-mustRejectNonEmptyBBox2-0">
<!-- 0 tests -->
</tbody>
<tbody id="sReferences.#informative">
<!-- 0 tests -->
</tbody>
<tbody id="sReferences.#normative">
<!-- 0 tests -->
</tbody>
<tbody id="sUIntBase128.#conform-mustRejectInvalidBase128">
<!-- 3 tests -->
<tr id="datatypes-invalid-base128-001-UIntBase128.#conform-mustRejectInvalidBase128" class="font">
<td>
<a href="datatypes-invalid-base128-001.htm">datatypes-invalid-base128-001</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Invalid UIntBase128 With Leading Zeros
<ul class="assert">
<li>Invalid TTF flavored WOFF that has UIntBase128 numbers with leading zeros</li>
</ul>
</td>
</tr>
<tr id="datatypes-invalid-base128-002-UIntBase128.#conform-mustRejectInvalidBase128" class="font">
<td>
<a href="datatypes-invalid-base128-002.htm">datatypes-invalid-base128-002</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Invalid UIntBase128 That Exceeds 2^{32}-1
<ul class="assert">
<li>Invalid TTF flavored WOFF that has UIntBase128 numbers which exceed 2^{32}-1</li>
</ul>
</td>
</tr>
<tr id="datatypes-invalid-base128-003-UIntBase128.#conform-mustRejectInvalidBase128" class="font">
<td>
<a href="datatypes-invalid-base128-003.htm">datatypes-invalid-base128-003</a></td>
<td></td>
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
<td>Invalid UIntBase128 Longer Than 5 Bytes
<ul class="assert">
<li>Invalid TTF flavored WOFF that has UIntBase128 numbers longer than 5 bytes</li>
</ul>
</td>
</tr>
</tbody>
<tbody id="sUIntBase128.#conform-mustRejectInvalidBase128-0">
<!-- 0 tests -->
</tbody>
<tbody id="sinformative.#ref-CSS3-Fonts">
<!-- 0 tests -->
</tbody>
<tbody id="sinformative.#ref-CSS3-Fonts-0">
<!-- 0 tests -->
</tbody>
<tbody id="sinformative.#ref-OTF">
<!-- 0 tests -->
</tbody>
<tbody id="sinformative.#ref-OTF-0">
<!-- 0 tests -->
</tbody>
<tbody id="sinformative.#ref-TTF">
<!-- 0 tests -->
</tbody>
<tbody id="sinformative.#ref-TTF-0">
<!-- 0 tests -->
</tbody>
<tbody id="sinformative.#ref-mtx">
<!-- 0 tests -->
</tbody>
<tbody id="sinformative.#ref-mtx-0">
<!-- 0 tests -->
</tbody>
<tbody id="sinformative.#ref-woff20er">
<!-- 0 tests -->
</tbody>
<tbody id="sinformative.#ref-woff20er-0">
<!-- 0 tests -->
</tbody>
<tbody id="snormative.#ref-Brotli">
<!-- 0 tests -->
</tbody>
<tbody id="snormative.#ref-Brotli-0">
<!-- 0 tests -->
</tbody>
<tbody id="snormative.#ref-OFF">
<!-- 0 tests -->
</tbody>
<tbody id="snormative.#ref-OFF-0">
<!-- 0 tests -->
</tbody>
<tbody id="snormative.#ref-RFC-2119">
<!-- 0 tests -->
</tbody>
<tbody id="snormative.#ref-RFC-2119-0">
<!-- 0 tests -->
</tbody>
<tbody id="snormative.#ref-justfont">
<!-- 0 tests -->
</tbody>
<tbody id="snormative.#ref-justfont-0">
<!-- 0 tests -->
</tbody>
<tbody id="snormative.#ref-woff10">
<!-- 0 tests -->
</tbody>
<tbody id="snormative.#ref-woff10-0">
<!-- 0 tests -->
</tbody>
<tbody id="sstatus.#toc">
<!-- 0 tests -->
</tbody>
<tbody id="sstatus.#toc-0">
<!-- 0 tests -->
</tbody>
<tbody id="sstatus.#w3c_process_revision">
<!-- 0 tests -->
</tbody>
<tbody id="sstatus.#w3c_process_revision-0">
<!-- 0 tests -->
</tbody>
</table>
</body>
</html>

View file

@ -0,0 +1,35 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Different Representations of 255UInt16</title>
<link rel="author" title="Khaled Hosny" href="http://khaledhosny.org">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#DataTypes">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustAccept255UInt16">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="Valid TTF flavored WOFF with different valid representation of the same 255UInt16 encoded number">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/datatypes-alt-255uint16-001.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test TTF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>Test passes if the word PASS appears below.</p>
<div class="test">P</div>
</body>
</html>

View file

@ -0,0 +1,35 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Invalid UIntBase128 With Leading Zeros</title>
<link rel="author" title="Khaled Hosny" href="http://khaledhosny.org">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#DataTypes">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustRejectInvalidBase128">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="Invalid TTF flavored WOFF that has UIntBase128 numbers with leading zeros">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/datatypes-invalid-base128-001.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test TTF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>Test passes if the word PASS appears below.</p>
<div class="test">F</div>
</body>
</html>

View file

@ -0,0 +1,35 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Invalid UIntBase128 That Exceeds 2^{32}-1</title>
<link rel="author" title="Khaled Hosny" href="http://khaledhosny.org">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#DataTypes">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustRejectInvalidBase128">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="Invalid TTF flavored WOFF that has UIntBase128 numbers which exceed 2^{32}-1">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/datatypes-invalid-base128-002.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test TTF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>Test passes if the word PASS appears below.</p>
<div class="test">F</div>
</body>
</html>

View file

@ -0,0 +1,35 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Invalid UIntBase128 Longer Than 5 Bytes</title>
<link rel="author" title="Khaled Hosny" href="http://khaledhosny.org">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#DataTypes">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustRejectInvalidBase128">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="Invalid TTF flavored WOFF that has UIntBase128 numbers longer than 5 bytes">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/datatypes-invalid-base128-003.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test TTF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>Test passes if the word PASS appears below.</p>
<div class="test">F</div>
</body>
</html>

View file

@ -0,0 +1,35 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Font Collection With Mismatched Glyf/Loca Tables</title>
<link rel="author" title="Khaled Hosny" href="http://khaledhosny.org">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#table_dir_format">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustCheckRejectMismatchedTables">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="Invalid TTF flavored WOFF font collection with two pairs of mismatched glyf/loca tables">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/directory-mismatched-tables-001.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test TTF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>Test passes if the word PASS appears below.</p>
<div class="test">F</div>
</body>
</html>

View file

@ -0,0 +1,35 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Header Length Too Short</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#woff20Header">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#woff20Header">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The length field contains a value that is four bytes shorter than the actual data.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/header-length-001.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>Test passes if the word PASS appears below.</p>
<div class="test">F</div>
</body>
</html>

View file

@ -0,0 +1,35 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Header Length Too Long</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#woff20Header">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#woff20Header">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The length field contains a value that is four bytes longer than the actual data.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/header-length-002.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>Test passes if the word PASS appears below.</p>
<div class="test">F</div>
</body>
</html>

View file

@ -0,0 +1,35 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Header Number of Tables Set to Zero</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#woff20Header">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#woff20Header">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The header contains 0 in the numTables field. A table directory and table data are present.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/header-numTables-001.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>Test passes if the word PASS appears below.</p>
<div class="test">F</div>
</body>
</html>

View file

@ -0,0 +1,35 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Header Reserved Invalid Value</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#woff20Header">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustNotUseReservedValue">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The reserved field contains 1.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/header-reserved-001.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>Test passes if the word PASS appears below.</p>
<div class="test">P</div>
</body>
</html>

View file

@ -0,0 +1,35 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Header Signature Invalid Value</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#woff20Header">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-noMagicNumber-reject">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The signature field contains XXXX instead of wOFF.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/header-signature-001.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>Test passes if the word PASS appears below.</p>
<div class="test">F</div>
</body>
</html>

View file

@ -0,0 +1,35 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Header TotalSfntSize Too Small</title>
<link rel="author" title="Khaled Hosny" href="http://khaledhosny.org">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#woff20Header">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustNotRejectIncorrectTotalSize">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The totalSfntSize field contains a too small incorrect value.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/header-totalsfntsize-001.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>Test passes if the word PASS appears below.</p>
<div class="test">P</div>
</body>
</html>

View file

@ -0,0 +1,35 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Header TotalSfntSize Too Big</title>
<link rel="author" title="Khaled Hosny" href="http://khaledhosny.org">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#woff20Header">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustNotRejectIncorrectTotalSize">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The totalSfntSize field contains a too big incorrect value.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/header-totalsfntsize-002.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>Test passes if the word PASS appears below.</p>
<div class="test">P</div>
</body>
</html>

View file

@ -0,0 +1,35 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: No Metadata Present</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-metadata-noeffect">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The file has no metadata.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadata-noeffect-001.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>Test passes if the word PASS appears below.</p>
<div class="test">P</div>
</body>
</html>

View file

@ -0,0 +1,37 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Metadata Present</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-metadata-noeffect">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-metadata-maydisplay">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The file has metadata.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadata-noeffect-002.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>Test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
<div class="test">P</div>
</body>
</html>

View file

@ -0,0 +1,69 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Metadata Out of Sync With name Table</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-metadata-authoritative">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The name table and metadata fields are out of sync. The name table contains FAIL and the metadata contains PASS for unique id, vendor name, vendor url, credit name, credit url, description, license, license url, copyright and trademark.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadatadisplay-authoritative-001.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>Test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
<p>The Extended Metadata Block test fails if the word FAIL appears in the metadata display.</p>
<div class="test">P</div>
<p>The XML contained in the Extended Metadata Block is below.</p>
<pre>
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;metadata version="1.0"&gt;
&lt;uniqueid id="PASS" /&gt;
&lt;description&gt;
&lt;text&gt;
PASS
&lt;/text&gt;
&lt;/description&gt;
&lt;copyright&gt;
&lt;text&gt;
PASS
&lt;/text&gt;
&lt;/copyright&gt;
&lt;trademark&gt;
&lt;text&gt;
PASS
&lt;/text&gt;
&lt;/trademark&gt;
&lt;vendor name="PASS" url="PASS" /&gt;
&lt;credits&gt;
&lt;credit name="PASS" url="PASS" /&gt;
&lt;/credits&gt;
&lt;license url="PASS"&gt;
&lt;text&gt;
PASS
&lt;/text&gt;
&lt;/license&gt;
&lt;/metadata&gt;
</pre>
</body>
</html>

View file

@ -0,0 +1,37 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Metadata No Compression</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-metadata-alwayscompress">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The metadata is stored in an uncompressed state and therefore does not have the proper compression format.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadatadisplay-compression-001.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
<div class="test">P</div>
</body>
</html>

View file

@ -0,0 +1,44 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: UTF-8 Encoding</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The xml encoding is set to UTF-8.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadatadisplay-encoding-001.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>Test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
<div class="test">P</div>
<p>The XML contained in the Extended Metadata Block is below.</p>
<pre>
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;metadata version="1.0"&gt;
&lt;uniqueid id="org.w3.webfonts.wofftest" /&gt;
&lt;/metadata&gt;
</pre>
</body>
</html>

View file

@ -0,0 +1,37 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Invalid Encoding: UTF-16</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The xml encoding is set to UTF-16.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadatadisplay-encoding-002.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
<div class="test">P</div>
</body>
</html>

View file

@ -0,0 +1,37 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Invalid Encoding: ISO-8859-1</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-invalid-mustignore">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The xml encoding is set to ISO-8859-1.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadatadisplay-encoding-003.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
<div class="test">P</div>
</body>
</html>

View file

@ -0,0 +1,44 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Implied UTF-8</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The xml encoding is not declared and there is no BOM.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadatadisplay-encoding-004.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>Test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
<div class="test">P</div>
<p>The XML contained in the Extended Metadata Block is below.</p>
<pre>
&lt;?xml version="1.0"?&gt;
&lt;metadata version="1.0"&gt;
&lt;uniqueid id="org.w3.webfonts.wofftest" /&gt;
&lt;/metadata&gt;
</pre>
</body>
</html>

View file

@ -0,0 +1,44 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: UTF-8 BOM</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The xml encoding is not declared and there is a UTF-8 BOM.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadatadisplay-encoding-005.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>Test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
<div class="test">P</div>
<p>The XML contained in the Extended Metadata Block is below.</p>
<pre>
&lt;?xml version="1.0"?&gt;
&lt;metadata version="1.0"&gt;
&lt;uniqueid id="org.w3.webfonts.wofftest" /&gt;
&lt;/metadata&gt;
</pre>
</body>
</html>

View file

@ -0,0 +1,37 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Invalid Encoding: UTF-8 BOM</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-invalid-mustignore">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The xml encoding is not declared and there is a UTF-16 BOM.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadatadisplay-encoding-006.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
<div class="test">P</div>
</body>
</html>

View file

@ -0,0 +1,36 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Decompressed Metadata Length Less Than metaOrigLength</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-metaOrigLength">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The metadata decompresses to a length that is 1 byte smaller than the length defined in metaOrigLength">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadatadisplay-metaOrigLength-001.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
<div class="test">P</div>
</body>
</html>

View file

@ -0,0 +1,36 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Decompressed Metadata Length Greater Than metaOrigLength</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-metaOrigLength">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The metadata decompresses to a length that is 1 byte greater than the length defined in metaOrigLength">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadatadisplay-metaOrigLength-002.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
<div class="test">P</div>
</body>
</html>

View file

@ -0,0 +1,48 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Valid copyright Element With One No Language Tagged text Element</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The copyright element matches the schema. It contains one text element that does not have a language tag.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadatadisplay-schema-copyright-001.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>Test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
<div class="test">P</div>
<p>The XML contained in the Extended Metadata Block is below.</p>
<pre>
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;metadata version="1.0"&gt;
&lt;copyright&gt;
&lt;text&gt;
Copyright without language.
&lt;/text&gt;
&lt;/copyright&gt;
&lt;/metadata&gt;
</pre>
</body>
</html>

View file

@ -0,0 +1,48 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Valid copyright Element With One Language Tagged text Element</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The copyright element matches the schema. It contains one text element that has a language tag.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadatadisplay-schema-copyright-002.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>Test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
<div class="test">P</div>
<p>The XML contained in the Extended Metadata Block is below.</p>
<pre>
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;metadata version="1.0"&gt;
&lt;copyright&gt;
&lt;text xml:lang="en"&gt;
Copyright with "en" language.
&lt;/text&gt;
&lt;/copyright&gt;
&lt;/metadata&gt;
</pre>
</body>
</html>

View file

@ -0,0 +1,48 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Valid copyright Element With One Language Tagged (using lang) text Element</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The copyright element matches the schema. It contains one text element that has a language tag using the lang tag instead of xml:lang.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadatadisplay-schema-copyright-003.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>Test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
<div class="test">P</div>
<p>The XML contained in the Extended Metadata Block is below.</p>
<pre>
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;metadata version="1.0"&gt;
&lt;copyright&gt;
&lt;text lang="en"&gt;
Copyright with "en" language.
&lt;/text&gt;
&lt;/copyright&gt;
&lt;/metadata&gt;
</pre>
</body>
</html>

View file

@ -0,0 +1,51 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Valid copyright Element With Mixed text Element Language Tags 1</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The copyright element matches the schema. One text element does not have a language tag. One text element has a language tag.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadatadisplay-schema-copyright-004.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>Test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
<div class="test">P</div>
<p>The XML contained in the Extended Metadata Block is below.</p>
<pre>
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;metadata version="1.0"&gt;
&lt;copyright&gt;
&lt;text&gt;
Copyright without language.
&lt;/text&gt;
&lt;text xml:lang="en"&gt;
Copyright with "en" language.
&lt;/text&gt;
&lt;/copyright&gt;
&lt;/metadata&gt;
</pre>
</body>
</html>

View file

@ -0,0 +1,51 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Valid copyright Element With Mixed text Element Language Tags 2</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The copyright element matches the schema. Two text elements have a language tags.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadatadisplay-schema-copyright-005.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>Test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
<div class="test">P</div>
<p>The XML contained in the Extended Metadata Block is below.</p>
<pre>
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;metadata version="1.0"&gt;
&lt;copyright&gt;
&lt;text xml:lang="en"&gt;
Copyright with "en" language.
&lt;/text&gt;
&lt;text xml:lang="fr"&gt;
Copyright with "fr" language.
&lt;/text&gt;
&lt;/copyright&gt;
&lt;/metadata&gt;
</pre>
</body>
</html>

View file

@ -0,0 +1,37 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: More Than One copyright Element</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The copyright element occurs more than once.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadatadisplay-schema-copyright-006.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
<div class="test">P</div>
</body>
</html>

View file

@ -0,0 +1,37 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: No text Element in copyright Element</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The copyright element does not contain a text child element.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadatadisplay-schema-copyright-007.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
<div class="test">P</div>
</body>
</html>

View file

@ -0,0 +1,37 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Unknown Attribute in copyright Element</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The copyright element contains an unknown attribute.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadatadisplay-schema-copyright-008.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
<div class="test">P</div>
</body>
</html>

View file

@ -0,0 +1,37 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Unknown Child Element in copyright Element</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The copyright element contains an unknown child element.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadatadisplay-schema-copyright-009.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
<div class="test">P</div>
</body>
</html>

View file

@ -0,0 +1,37 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Content in copyright Element</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The copyright element contains content.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadatadisplay-schema-copyright-010.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
<div class="test">P</div>
</body>
</html>

View file

@ -0,0 +1,48 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Valid copyright Element With dir Attribute in text Element 1</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The copyright element contains a text element with ltr as the value for the dir attribute.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadatadisplay-schema-copyright-011.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>Test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
<div class="test">P</div>
<p>The XML contained in the Extended Metadata Block is below.</p>
<pre>
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;metadata version="1.0"&gt;
&lt;copyright&gt;
&lt;text dir="ltr"&gt;
Copyright without language.
&lt;/text&gt;
&lt;/copyright&gt;
&lt;/metadata&gt;
</pre>
</body>
</html>

View file

@ -0,0 +1,48 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Valid copyright Element With dir Attribute in text Element 2</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The copyright element contains a text element with rtl as the value for the dir attribute.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadatadisplay-schema-copyright-012.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>Test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
<div class="test">P</div>
<p>The XML contained in the Extended Metadata Block is below.</p>
<pre>
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;metadata version="1.0"&gt;
&lt;copyright&gt;
&lt;text dir="rtl"&gt;
Copyright without language.
&lt;/text&gt;
&lt;/copyright&gt;
&lt;/metadata&gt;
</pre>
</body>
</html>

View file

@ -0,0 +1,37 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Invalid copyright Element With dir Attribute in text Element</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The copyright element contains a text element with INVALID as the value for the dir attribute.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadatadisplay-schema-copyright-013.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
<div class="test">P</div>
</body>
</html>

View file

@ -0,0 +1,48 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Valid copyright Element With class Attribute in text Element</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content='The copyright element contains a text element with "class1 class2 class3" as the value for the class attribute.'>
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadatadisplay-schema-copyright-014.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>Test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
<div class="test">P</div>
<p>The XML contained in the Extended Metadata Block is below.</p>
<pre>
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;metadata version="1.0"&gt;
&lt;copyright&gt;
&lt;text class="class 1 class2 class3"&gt;
Copyright without language.
&lt;/text&gt;
&lt;/copyright&gt;
&lt;/metadata&gt;
</pre>
</body>
</html>

View file

@ -0,0 +1,37 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Unknown Attribute in copyright Element text Element</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The copyright element contains a text element with an unknown attribute.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadatadisplay-schema-copyright-015.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
<div class="test">P</div>
</body>
</html>

View file

@ -0,0 +1,37 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Unknown Child Element in copyright Element text Element</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The copyright element contains a text element with an unknown child element.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadatadisplay-schema-copyright-016.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
<div class="test">P</div>
</body>
</html>

View file

@ -0,0 +1,48 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Valid copyright Element With One div Element in text Element</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The copyright element contains a text element that contains a div element.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadatadisplay-schema-copyright-017.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>Test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
<div class="test">P</div>
<p>The XML contained in the Extended Metadata Block is below.</p>
<pre>
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;metadata version="1.0"&gt;
&lt;copyright&gt;
&lt;text&gt;
&lt;div&gt;Paragraph 1&lt;/div&gt;
&lt;/text&gt;
&lt;/copyright&gt;
&lt;/metadata&gt;
</pre>
</body>
</html>

View file

@ -0,0 +1,49 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Valid copyright Element With Nested div Elements in text Element</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The copyright element contains a text element that contains nested div elements.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadatadisplay-schema-copyright-018.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>Test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
<div class="test">P</div>
<p>The XML contained in the Extended Metadata Block is below.</p>
<pre>
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;metadata version="1.0"&gt;
&lt;copyright&gt;
&lt;text&gt;
&lt;div&gt;Paragraph 1&lt;/div&gt;
&lt;div&gt;Paragraph 2&lt;/div&gt;
&lt;/text&gt;
&lt;/copyright&gt;
&lt;/metadata&gt;
</pre>
</body>
</html>

View file

@ -0,0 +1,58 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Valid copyright Element With Two div Elements in text Element</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The copyright element contains a text element that contains two div elements.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadatadisplay-schema-copyright-019.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>Test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
<div class="test">P</div>
<p>The XML contained in the Extended Metadata Block is below.</p>
<pre>
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;metadata version="1.0"&gt;
&lt;copyright&gt;
&lt;text&gt;
&lt;div&gt;
div 1 start
&lt;div&gt;
div 2 start
&lt;div&gt;
div 3
&lt;/div&gt;
div 2 end
&lt;/div&gt;
div 1 end
&lt;/div&gt;
&lt;/text&gt;
&lt;/copyright&gt;
&lt;/metadata&gt;
</pre>
</body>
</html>

View file

@ -0,0 +1,48 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Valid copyright Element With dir Attribute in div Element in text Element 1</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The copyright element contains a text element that contains a div element with ltr as the value for the dir attribute.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadatadisplay-schema-copyright-020.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>Test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
<div class="test">P</div>
<p>The XML contained in the Extended Metadata Block is below.</p>
<pre>
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;metadata version="1.0"&gt;
&lt;copyright&gt;
&lt;text&gt;
&lt;div dir="ltr"&gt;Paragraph 1&lt;/div&gt;
&lt;/text&gt;
&lt;/copyright&gt;
&lt;/metadata&gt;
</pre>
</body>
</html>

View file

@ -0,0 +1,48 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Valid copyright Element With dir Attribute in div Element in text Element 2</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The copyright element contains a text element that contains a div element with rtl as the value for the dir attribute.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadatadisplay-schema-copyright-021.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>Test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
<div class="test">P</div>
<p>The XML contained in the Extended Metadata Block is below.</p>
<pre>
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;metadata version="1.0"&gt;
&lt;copyright&gt;
&lt;text&gt;
&lt;div dir="rtl"&gt;Paragraph 1&lt;/div&gt;
&lt;/text&gt;
&lt;/copyright&gt;
&lt;/metadata&gt;
</pre>
</body>
</html>

View file

@ -0,0 +1,37 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Invalid copyright Element With dir Attribute in div Element in text Element</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The copyright element contains a text element that contains a div element with INVALID as the value for the dir attribute.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadatadisplay-schema-copyright-022.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
<div class="test">P</div>
</body>
</html>

View file

@ -0,0 +1,48 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Valid copyright Element With class Attribute in div Element in text Element</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content='The copyright element contains a text element that contains a div element with "class1 class2 class3" as the value for the class attribute.'>
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadatadisplay-schema-copyright-023.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>Test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
<div class="test">P</div>
<p>The XML contained in the Extended Metadata Block is below.</p>
<pre>
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;metadata version="1.0"&gt;
&lt;copyright&gt;
&lt;text&gt;
&lt;div class="class1 class2 class3"&gt;Paragraph 1&lt;/div&gt;
&lt;/text&gt;
&lt;/copyright&gt;
&lt;/metadata&gt;
</pre>
</body>
</html>

View file

@ -0,0 +1,48 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Valid copyright Element With One span Element in text Element</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The copyright element contains a text element that contains a span element.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadatadisplay-schema-copyright-024.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>Test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
<div class="test">P</div>
<p>The XML contained in the Extended Metadata Block is below.</p>
<pre>
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;metadata version="1.0"&gt;
&lt;copyright&gt;
&lt;text&gt;
Text with &lt;span&gt;span&lt;/span&gt;.
&lt;/text&gt;
&lt;/copyright&gt;
&lt;/metadata&gt;
</pre>
</body>
</html>

View file

@ -0,0 +1,48 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Valid copyright Element With Two span Elements in text Element</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The copyright element contains a text element that contains two span elements.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadatadisplay-schema-copyright-025.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>Test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
<div class="test">P</div>
<p>The XML contained in the Extended Metadata Block is below.</p>
<pre>
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;metadata version="1.0"&gt;
&lt;copyright&gt;
&lt;text&gt;
Text with &lt;span&gt;span 1&lt;/span&gt; and &lt;span&gt;span 2&lt;/span&gt;.
&lt;/text&gt;
&lt;/copyright&gt;
&lt;/metadata&gt;
</pre>
</body>
</html>

View file

@ -0,0 +1,58 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Valid copyright Element With Nested span Elements in text Element</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The copyright element contains a text element that contains nested span elements.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadatadisplay-schema-copyright-026.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>Test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
<div class="test">P</div>
<p>The XML contained in the Extended Metadata Block is below.</p>
<pre>
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;metadata version="1.0"&gt;
&lt;copyright&gt;
&lt;text&gt;
&lt;span&gt;
span 1 start
&lt;span&gt;
span 2 start
&lt;span&gt;
span 3
&lt;/span&gt;
span 2 end
&lt;/span&gt;
span 1 end
&lt;/span&gt;
&lt;/text&gt;
&lt;/copyright&gt;
&lt;/metadata&gt;
</pre>
</body>
</html>

View file

@ -0,0 +1,48 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Valid copyright Element With dir Attribute in span Element in text Element 1</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The copyright element contains a text element that contains a span element with ltr as the value for the dir attribute.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadatadisplay-schema-copyright-027.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>Test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
<div class="test">P</div>
<p>The XML contained in the Extended Metadata Block is below.</p>
<pre>
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;metadata version="1.0"&gt;
&lt;copyright&gt;
&lt;text&gt;
Text with &lt;span dir="ltr"&gt;span&lt;/span&gt;.
&lt;/text&gt;
&lt;/copyright&gt;
&lt;/metadata&gt;
</pre>
</body>
</html>

View file

@ -0,0 +1,48 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Valid copyright Element With dir Attribute in span Element in text Element 2</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The copyright element contains a text element that contains a span element with rtl as the value for the dir attribute.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadatadisplay-schema-copyright-028.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>Test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
<div class="test">P</div>
<p>The XML contained in the Extended Metadata Block is below.</p>
<pre>
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;metadata version="1.0"&gt;
&lt;copyright&gt;
&lt;text&gt;
Text with &lt;span dir="rtl"&gt;span&lt;/span&gt;.
&lt;/text&gt;
&lt;/copyright&gt;
&lt;/metadata&gt;
</pre>
</body>
</html>

View file

@ -0,0 +1,37 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Invalid copyright Element With dir Attribute in span Element in text Element</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The copyright element contains a text element that contains a span element with INVALID as the value for the dir attribute.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadatadisplay-schema-copyright-029.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
<div class="test">P</div>
</body>
</html>

View file

@ -0,0 +1,48 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Valid copyright Element With class Attribute in span Element in text Element</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content='The copyright element contains a text element that contains a span element with "class1 class2 class3" as the value for the class attribute.'>
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadatadisplay-schema-copyright-030.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>Test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
<div class="test">P</div>
<p>The XML contained in the Extended Metadata Block is below.</p>
<pre>
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;metadata version="1.0"&gt;
&lt;copyright&gt;
&lt;text&gt;
Text with &lt;span class="class1 class2 class3"&gt;span&lt;/span&gt;.
&lt;/text&gt;
&lt;/copyright&gt;
&lt;/metadata&gt;
</pre>
</body>
</html>

View file

@ -0,0 +1,46 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Valid credit Element</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The credit element matches the schema.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadatadisplay-schema-credit-001.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>Test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
<div class="test">P</div>
<p>The XML contained in the Extended Metadata Block is below.</p>
<pre>
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;metadata version="1.0"&gt;
&lt;credits&gt;
&lt;credit name="Credit 1" role="Role 1" url="http://w3c.org/Fonts" /&gt;
&lt;/credits&gt;
&lt;/metadata&gt;
</pre>
</body>
</html>

View file

@ -0,0 +1,46 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Valid credit Element Without url Attribute</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The credit element does not contain a url attribute but it still matches the schema.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadatadisplay-schema-credit-002.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>Test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
<div class="test">P</div>
<p>The XML contained in the Extended Metadata Block is below.</p>
<pre>
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;metadata version="1.0"&gt;
&lt;credits&gt;
&lt;credit name="Credit 1" role="Role 1" /&gt;
&lt;/credits&gt;
&lt;/metadata&gt;
</pre>
</body>
</html>

View file

@ -0,0 +1,46 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Valid credit Element Without role Attribute</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The credit element does not contain a role attribute but it still matches the schema.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadatadisplay-schema-credit-003.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>Test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
<div class="test">P</div>
<p>The XML contained in the Extended Metadata Block is below.</p>
<pre>
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;metadata version="1.0"&gt;
&lt;credits&gt;
&lt;credit name="Credit 1" url="http://w3c.org/Fonts" /&gt;
&lt;/credits&gt;
&lt;/metadata&gt;
</pre>
</body>
</html>

View file

@ -0,0 +1,37 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: No name attribute in credit Element</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The credit element does not contain a name attribute.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadatadisplay-schema-credit-004.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
<div class="test">P</div>
</body>
</html>

View file

@ -0,0 +1,46 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Valid dir Attribute in credit Element 1</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The credit element contains ltr as the value for the dir attribute.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadatadisplay-schema-credit-005.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>Test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
<div class="test">P</div>
<p>The XML contained in the Extended Metadata Block is below.</p>
<pre>
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;metadata version="1.0"&gt;
&lt;credits&gt;
&lt;credit name="Credit 1" role="Role 1" url="http://w3c.org/Fonts" dir="ltr" /&gt;
&lt;/credits&gt;
&lt;/metadata&gt;
</pre>
</body>
</html>

View file

@ -0,0 +1,46 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Valid dir Attribute in credit Element 2</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The credit element contains rtl as the value for the dir attribute.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadatadisplay-schema-credit-006.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>Test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
<div class="test">P</div>
<p>The XML contained in the Extended Metadata Block is below.</p>
<pre>
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;metadata version="1.0"&gt;
&lt;credits&gt;
&lt;credit name="Credit 1" role="Role 1" url="http://w3c.org/Fonts" dir="rtl" /&gt;
&lt;/credits&gt;
&lt;/metadata&gt;
</pre>
</body>
</html>

View file

@ -0,0 +1,37 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Invalid dir Attribute in credit Element</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The credit element contains INVALID as the value for the dir attribute.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadatadisplay-schema-credit-007.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
<div class="test">P</div>
</body>
</html>

View file

@ -0,0 +1,46 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Valid class Attribute in credit Element</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content='The credit element contains "class1 class2 class3" as the value for the class attribute.'>
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadatadisplay-schema-credit-008.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>Test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
<div class="test">P</div>
<p>The XML contained in the Extended Metadata Block is below.</p>
<pre>
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;metadata version="1.0"&gt;
&lt;credits&gt;
&lt;credit name="Credit 1" role="Role 1" url="http://w3c.org/Fonts" class="class1 class2 class3" /&gt;
&lt;/credits&gt;
&lt;/metadata&gt;
</pre>
</body>
</html>

View file

@ -0,0 +1,37 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Unknown attribute in credit Element</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The credit element contains an unknown attribute.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadatadisplay-schema-credit-009.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
<div class="test">P</div>
</body>
</html>

View file

@ -0,0 +1,37 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Child Element in credit Element</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The credit element contains a child element.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadatadisplay-schema-credit-010.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
<div class="test">P</div>
</body>
</html>

View file

@ -0,0 +1,37 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Content in credit Element</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The credit element contains content.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadatadisplay-schema-credit-011.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
<div class="test">P</div>
</body>
</html>

View file

@ -0,0 +1,46 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Valid credits Element With No Language Attribute And A Single credit Element</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The credits element matches the schema and it contains one credit child element.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadatadisplay-schema-credits-001.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>Test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
<div class="test">P</div>
<p>The XML contained in the Extended Metadata Block is below.</p>
<pre>
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;metadata version="1.0"&gt;
&lt;credits&gt;
&lt;credit name="Credit 1" role="Role 1" url="http://w3c.org/Fonts" /&gt;
&lt;/credits&gt;
&lt;/metadata&gt;
</pre>
</body>
</html>

View file

@ -0,0 +1,47 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Valid credits Element With Two credit Elements</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The credits element matches the schema and it contains two credit child elements.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadatadisplay-schema-credits-002.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>Test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
<div class="test">P</div>
<p>The XML contained in the Extended Metadata Block is below.</p>
<pre>
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;metadata version="1.0"&gt;
&lt;credits&gt;
&lt;credit name="Credit 1" role="Role 1" url="http://w3c.org/Fonts" /&gt;
&lt;credit name="Credit 2" role="Role 2" url="http://w3c.org/Fonts" /&gt;
&lt;/credits&gt;
&lt;/metadata&gt;
</pre>
</body>
</html>

View file

@ -0,0 +1,37 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: No credit Element in credits Element</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The credits element does not contain a credit child element.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadatadisplay-schema-credits-003.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
<div class="test">P</div>
</body>
</html>

View file

@ -0,0 +1,37 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Unknown Attribute in credits Element</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The credits element contains an unknown attribute.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadatadisplay-schema-credits-004.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
<div class="test">P</div>
</body>
</html>

View file

@ -0,0 +1,37 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Unknown Child Element in credits Element</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The credits element contains an unknown child element.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadatadisplay-schema-credits-005.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
<div class="test">P</div>
</body>
</html>

View file

@ -0,0 +1,37 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Content in credits Element</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The credits element contains an content.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadatadisplay-schema-credits-006.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
<div class="test">P</div>
</body>
</html>

View file

@ -0,0 +1,37 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Multiple credits Elements</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-invalid-mustignore">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The credits element occurs more than once.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadatadisplay-schema-credits-007.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
<div class="test">P</div>
</body>
</html>

View file

@ -0,0 +1,48 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Valid description Element</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The description element matches the schema.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadatadisplay-schema-description-001.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>Test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
<div class="test">P</div>
<p>The XML contained in the Extended Metadata Block is below.</p>
<pre>
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;metadata version="1.0"&gt;
&lt;description url="http://w3c.org/Fonts"&gt;
&lt;text&gt;
Description without language.
&lt;/text&gt;
&lt;/description&gt;
&lt;/metadata&gt;
</pre>
</body>
</html>

View file

@ -0,0 +1,48 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Valid description Element Without url Attribute</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The description element does not contain a url attribute but it still matches the schema.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadatadisplay-schema-description-002.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>Test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
<div class="test">P</div>
<p>The XML contained in the Extended Metadata Block is below.</p>
<pre>
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;metadata version="1.0"&gt;
&lt;description&gt;
&lt;text&gt;
Description without language.
&lt;/text&gt;
&lt;/description&gt;
&lt;/metadata&gt;
</pre>
</body>
</html>

View file

@ -0,0 +1,48 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Valid description Element With One No Language Tagged text Element</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The description element matches the schema. It contains one text element that does not have a language tag.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadatadisplay-schema-description-003.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>Test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
<div class="test">P</div>
<p>The XML contained in the Extended Metadata Block is below.</p>
<pre>
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;metadata version="1.0"&gt;
&lt;description url="http://w3c.org/Fonts"&gt;
&lt;text&gt;
Description without language.
&lt;/text&gt;
&lt;/description&gt;
&lt;/metadata&gt;
</pre>
</body>
</html>

View file

@ -0,0 +1,48 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Valid description Element With One Language Tagged text Element</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The description element matches the schema. It contains one text element that has a language tag.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadatadisplay-schema-description-004.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>Test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
<div class="test">P</div>
<p>The XML contained in the Extended Metadata Block is below.</p>
<pre>
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;metadata version="1.0"&gt;
&lt;description url="http://w3c.org/Fonts"&gt;
&lt;text xml:lang="en"&gt;
Description with "en" language.
&lt;/text&gt;
&lt;/description&gt;
&lt;/metadata&gt;
</pre>
</body>
</html>

View file

@ -0,0 +1,48 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Valid description Element With One Language Tagged (using lang) text Element</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The description element matches the schema. It contains one text element that has a language tag using the lang tag instead of xml:lang.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadatadisplay-schema-description-005.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>Test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
<div class="test">P</div>
<p>The XML contained in the Extended Metadata Block is below.</p>
<pre>
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;metadata version="1.0"&gt;
&lt;description url="http://w3c.org/Fonts"&gt;
&lt;text lang="en"&gt;
Description with "en" language.
&lt;/text&gt;
&lt;/description&gt;
&lt;/metadata&gt;
</pre>
</body>
</html>

View file

@ -0,0 +1,51 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<title>WOFF Test: Valid description Element With Mixed text Element Language Tags 1</title>
<link rel="author" title="Tal Leming" href="http://typesupply.com">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect">
<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata">
<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org">
<meta name="flags" content="font">
<meta name="assert" content="The description element matches the schema. One text element does not have a language tag. One text element has a language tag.">
<style type="text/css">
@font-face {
font-family: "WOFF Test";
src: url("support/metadatadisplay-schema-description-006.woff2") format("woff2");
}
body {
font-size: 20px;
}
pre {
font-size: 12px;
}
.test {
font-family: "WOFF Test", "WOFF Test CFF Fallback";
font-size: 200px;
margin-top: 50px;
}
</style>
</head>
<body>
<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>
<p>Test passes if the word PASS appears below.</p>
<p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
<div class="test">P</div>
<p>The XML contained in the Extended Metadata Block is below.</p>
<pre>
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;metadata version="1.0"&gt;
&lt;description url="http://w3c.org/Fonts"&gt;
&lt;text&gt;
Description without language.
&lt;/text&gt;
&lt;text xml:lang="en"&gt;
Description with "en" language.
&lt;/text&gt;
&lt;/description&gt;
&lt;/metadata&gt;
</pre>
</body>
</html>

Some files were not shown because too many files have changed in this diff Show more