OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>HTML Templates: HTML elements in template content</title> | 4 <title>HTML Templates: HTML elements in template content</title> |
5 <meta name="author" title="Sergey G. Grekhov" href="mailto:sgrekhov@unipro.ru"> | 5 <meta name="author" title="Sergey G. Grekhov" href="mailto:sgrekhov@unipro.ru"> |
6 <meta name="author" title="Aleksei Yu. Semenov" href="a.semenov@unipro.ru"> | 6 <meta name="author" title="Aleksei Yu. Semenov" href="a.semenov@unipro.ru"> |
7 <meta name="assert" content="Template may contain any element, except the html e
lement, the head element, the body element, or the frameset element"> | 7 <meta name="assert" content="Template may contain any element, except the html e
lement, the head element, the body element, or the frameset element"> |
8 <link rel="help" href="http://www.w3.org/TR/2013/WD-html-templates-20130214/#tem
plate-element"> | 8 <link rel="help" href="http://www.w3.org/TR/2013/WD-html-templates-20130214/#tem
plate-element"> |
9 <script src="../../../../../../../resources/testharness.js"></script> | 9 <script src="../../../../../../../resources/testharness.js"></script> |
10 <script src="../../../../../../../resources/testharnessreport.js"></script> | 10 <script src="../../../../../../../resources/testharnessreport.js"></script> |
11 <script src='../testcommon.js'></script> | 11 <script src='/html/resources/common.js'></script> |
12 <link rel="stylesheet" href="../../../../../../../resources/testharness.css"> | 12 <link rel="stylesheet" href="../../../../../../../resources/testharness.css"> |
13 </head> | 13 </head> |
14 <body> | 14 <body> |
15 <div id="log"></div> | 15 <div id="log"></div> |
16 <script type="text/javascript"> | 16 <script type="text/javascript"> |
17 | 17 |
18 var parameters = []; | 18 var parameters = []; |
19 | 19 |
20 HTML5_ELEMENTS.forEach(function(value) { | 20 HTML5_ELEMENTS.forEach(function(value) { |
21 if (value !== 'body' && value !== 'html' && value !== 'head' && value !== 'f
rameset') { | 21 if (value !== 'body' && value !== 'html' && value !== 'head' && value !== 'f
rameset') { |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 }); | 69 }); |
70 | 70 |
71 generate_tests(assert_not_equals, parameters, | 71 generate_tests(assert_not_equals, parameters, |
72 'Template may contain any element, except the html element, ' | 72 'Template may contain any element, except the html element, ' |
73 + 'the head element, the body element, or the frameset element. ' | 73 + 'the head element, the body element, or the frameset element. ' |
74 +'The template element and contents are added via body.innerHTML'); | 74 +'The template element and contents are added via body.innerHTML'); |
75 | 75 |
76 </script> | 76 </script> |
77 </body> | 77 </body> |
78 </html> | 78 </html> |
OLD | NEW |