Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/WOFF2/tabledata-decompressed-length-001.xht - WPT Dashboard Interop Dashboard
<!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. -->
<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="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>