metadatadisplay-schema-description-021-ref.xht (1814B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 <!-- THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. --> 3 <html xmlns="http://www.w3.org/1999/xhtml"> 4 <head> 5 <meta http-equiv="content-type" content="text/html;charset=UTF-8"/> 6 <title>WOFF Test: Valid description Element With Nested div Elements in text Element</title> 7 <link rel="author" title="Tal Leming" href="http://typesupply.com" /> 8 <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" /> 9 <link rel="help" href="http://www.w3.org/TR/WOFF/#conform-metadata-noeffect" /> 10 <link rel="help" href="http://dev.w3.org/webfonts/WOFF2/spec/#Metadata" /> 11 <link rel="reviewer" title="Chris Lilley" href="mailto:chris@w3.org" /> 12 <meta name="assert" content="The description element contains a text element that contains nested div elements." /> 13 <style type="text/css"><![CDATA[ 14 @import url("support/test-fonts.css"); 15 body { 16 font-size: 20px; 17 } 18 pre { 19 font-size: 12px; 20 } 21 .test { 22 font-family: "WOFF Test CFF Reference"; 23 font-size: 200px; 24 margin-top: 50px; 25 } 26 ]]></style> 27 </head> 28 <body> 29 <p>Test passes if the word PASS appears below.</p> 30 <p>The Extended Metadata Block is valid and may be displayed to the user upon request.</p> 31 <div class="test">P</div> 32 <p>The XML contained in the Extended Metadata Block is below.</p> 33 <pre> 34 <?xml version="1.0" encoding="UTF-8"?> 35 <metadata version="1.0"> 36 <description url="http://w3c.org/Fonts"> 37 <text> 38 <div> 39 div 1 start 40 <div> 41 div 2 start 42 <div> 43 div 3 44 </div> 45 div 2 end 46 </div> 47 div 1 end 48 </div> 49 </text> 50 </description> 51 </metadata> 52 </pre> 53 </body> 54 </html>