summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/WOFF2/tabledata-decompressed-length-001.xht
blob: 08bf25e55a44bf58837f26c475a6440b0c206740 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. -->
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
		<title>WOFF Test: Font Table Data Decompressed Length Less Than Original Length</title>
		<link rel="author" title="Khaled Hosny" href="http://khaledhosny.org" />
		<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#DataTables" />
		<link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustBeInvalidated-FailSize" />
		<link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
		<link rel="match" href="tabledata-decompressed-length-001-ref.xht" />
		<meta name="assert" content="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." />
		<style type="text/css"><![CDATA[
			@import url("support/test-fonts.css");
			@font-face {
				font-family: "WOFF Test";
				src: url("support/tabledata-decompressed-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>Test passes if the word PASS appears below.</p>
		<div class="test">F</div>
	</body>
</html>