Import Web Platform Tests for WOFF2
[WebKit-https.git] / LayoutTests / imported / w3c / web-platform-tests / css / WOFF2 / metadatadisplay-metaOrigLength-001-expected.xht
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
3         <head>
4                 <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
5                 <title>WOFF Test: Decompressed Metadata Length Less Than metaOrigLength</title>
6                 <link rel="author" title="Tal Leming" href="http://typesupply.com" />
7                 <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
8                 <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#conform-metaOrigLength" />
9                 <link  rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
10                 <meta name="assert" content="The metadata decompresses to a length that is 1 byte smaller than the length defined in metaOrigLength" />
11                 <style type="text/css"><![CDATA[
12                         @import url("support/test-fonts.css");
13                         body {
14                                 font-size: 20px;
15                         }
16                         pre {
17                                 font-size: 12px;
18                         }
19                         .test {
20                                 font-family: "WOFF Test CFF Reference";
21                                 font-size: 200px;
22                                 margin-top: 50px;
23                         }
24                 ]]></style>
25         </head>
26         <body>
27                 <p>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
28                 <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
29                 <div class="test">P</div>
30         </body>
31 </html>