+\r
+ // preventBodyReset: true\r
+ new Ext.Panel({\r
+ title: 'A Panel with W3C-suggested body-html styling',\r
+ preventBodyReset: true,\r
+ renderTo: 'panel-reset-true',\r
+ width: 400,\r
+ html: html.join('')\r
+ });\r
+\r
+ // preventBodyReset: false\r
+ new Ext.Panel({\r
+ title: 'Same panel as above with preventBodyReset: false',\r
+ normal: false,\r
+ renderTo: 'panel-reset-false',\r
+ width: 400,\r
+ html: html.join('')\r
+ });\r
+});\r
+\r
+// Some sample html\r
+var html = [\r
+ '<h1>Heading One</h1>',\r
+ '<h2>Heading Two</h2>',\r
+ '<p>This is a paragraph with <strong>STRONG</strong>, <em>EMPHASIS</em> and a <a href="#">Link</a></p>',\r
+ '<table>',\r
+ '<tr>',\r
+ '<td>Table Column One</td>',\r
+ '<td>Table Column Two</td>',\r
+ '</tr>',\r
+ '</table>',\r
+ '<ul>',\r
+ '<li>Un-ordered List-item One</li>',\r
+ '<li>Un-ordered List-item One</li>',\r
+ '</ul>',\r
+ '<ol>',\r
+ '<li>Ordered List-item One</li>',\r
+ '<li>Ordered List-item Two</li>',\r
+ '</ol>',\r
+ '<blockquote>This is a blockquote</blockquote>'\r
+];
\ No newline at end of file