OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>HTML Templates: When node's document changes its owner document should be
changed</title> | 4 <title>HTML Templates: When node's document changes its owner document should be
changed</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="mailto:a.semenov@unipro.ru
"> | 6 <meta name="author" title="Aleksei Yu. Semenov" href="mailto:a.semenov@unipro.ru
"> |
7 <meta name="assert" content="When a template element's node document changes, th
e template element's content DocumentFragment must be adopted into the new node
document's template contents owner document"> | 7 <meta name="assert" content="When a template element's node document changes, th
e template element's content DocumentFragment must be adopted into the new node
document's template contents owner document"> |
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 | 18 |
19 test(function() { | 19 test(function() { |
20 var doc1 = newHTMLDocument(); | 20 var doc1 = newHTMLDocument(); |
21 var template = doc1.createElement('template'); | 21 var template = doc1.createElement('template'); |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 'Template content descendants owner document should be ' + | 191 'Template content descendants owner document should be ' + |
192 'template content document owner'); | 192 'template content document owner'); |
193 | 193 |
194 }, 'Changing of template element\'s node document. ' + | 194 }, 'Changing of template element\'s node document. ' + |
195 'Test the case when both old and new owner documents of template element ' + | 195 'Test the case when both old and new owner documents of template element ' + |
196 'have browsing context'); | 196 'have browsing context'); |
197 | 197 |
198 </script> | 198 </script> |
199 </body> | 199 </body> |
200 </html> | 200 </html> |
OLD | NEW |