Import Web Platform Tests for WOFF2
[WebKit-https.git] / LayoutTests / imported / w3c / web-platform-tests / css / WOFF2 / metadatadisplay-schema-description-001.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: Valid description Element</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://www.w3.org/TR/WOFF/#conform-metadata-noeffect" />
9                 <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" />
10                 <link  rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
11                 <link rel="match" href="metadatadisplay-schema-description-001-ref.xht" />
12                 <meta name="assert" content="The description element matches the schema." />
13                 <style type="text/css"><![CDATA[
14                         @import url("support/test-fonts.css");
15                         @font-face {
16                                 font-family: "WOFF Test";
17                                 src: url("support/metadatadisplay-schema-description-001.woff2") format("woff2");
18                         }
19                         body {
20                                 font-size: 20px;
21                         }
22                         pre {
23                                 font-size: 12px;
24                         }
25                         .test {
26                                 font-family: "WOFF Test", "WOFF Test CFF Fallback";
27                                 font-size: 200px;
28                                 margin-top: 50px;
29                         }
30                 ]]></style>
31         </head>
32         <body>
33                 <p>Test passes if the word PASS appears below.</p>
34                 <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p>
35                 <div class="test">P</div>
36                 <p>The XML contained in the Extended Metadata Block is below.</p>
37                 <pre>
38 &lt;?xml version="1.0" encoding="UTF-8"?&gt;
39 &lt;metadata version="1.0"&gt;
40         &lt;description url="http://w3c.org/Fonts"&gt;
41                 &lt;text&gt;
42                         Description without language.
43                 &lt;/text&gt;
44         &lt;/description&gt;
45 &lt;/metadata&gt;
46                 </pre>
47         </body>
48 </html>