Import Web Platform Tests for WOFF2
[WebKit-https.git] / LayoutTests / imported / w3c / web-platform-tests / css / WOFF2 / metadatadisplay-schema-credits-005.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: Unknown Child Element in credits 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://www.w3.org/TR/WOFF/#conform-invalid-mustignore" />
10                 <link  rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" />
11                 <link rel="match" href="metadatadisplay-schema-credits-005-ref.xht" />
12                 <meta name="assert" content="The credits element contains an unknown child element." />
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-credits-005.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>If the UA does not display WOFF metadata, the test passes if the word PASS appears below.</p>
34                 <p>The Extended Metadata Block is not valid and must not be displayed. If the UA does display it, the test fails.</p>
35                 <div class="test">P</div>
36         </body>
37 </html>