OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>HTML Templates: innerHTML of template element replaces all referenced by
the content attribute</title> | 4 <title>HTML Templates: innerHTML of template element replaces all referenced by
the content attribute</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="innerHTML of template element replaces all referenc
ed by the content attribute"> | 7 <meta name="assert" content="innerHTML of template element replaces all referenc
ed by the content attribute"> |
8 <link rel="help" href="http://www.w3.org/TR/2013/WD-html-templates-20130214/#inn
erhtml-on-templates"> | 8 <link rel="help" href="http://www.w3.org/TR/2013/WD-html-templates-20130214/#inn
erhtml-on-templates"> |
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 test(function () { | 18 test(function () { |
19 var doc = newHTMLDocument(); | 19 var doc = newHTMLDocument(); |
20 var template = doc.createElement('template'); | 20 var template = doc.createElement('template'); |
21 | 21 |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 'span element should present in template content'); | 78 'span element should present in template content'); |
79 | 79 |
80 | 80 |
81 }, 'innerHTML of template element replaces all referenced by the content attribu
te. ' | 81 }, 'innerHTML of template element replaces all referenced by the content attribu
te. ' |
82 + 'Test loading of HTML document from a file'); | 82 + 'Test loading of HTML document from a file'); |
83 | 83 |
84 | 84 |
85 </script> | 85 </script> |
86 </body> | 86 </body> |
87 </html> | 87 </html> |
OLD | NEW |