OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>HTML Templates: Parsing XHTML: Node's node document</title> | 4 <title>HTML Templates: Parsing XHTML: Node's node document</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="Parsing XHTML: Node's node document must be set to
that of the element to which it will be appended"> | 7 <meta name="assert" content="Parsing XHTML: Node's node document must be set to
that of the element to which it will be appended"> |
8 <link rel="help" href="http://www.w3.org/TR/2013/WD-html-templates-20130214/#par
sing-xhtml-documents"> | 8 <link rel="help" href="http://www.w3.org/TR/2013/WD-html-templates-20130214/#par
sing-xhtml-documents"> |
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 | 19 |
20 test(function() { | 20 test(function() { |
21 var doc = newXHTMLDocument(); | 21 var doc = newXHTMLDocument(); |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 assert_equals(nestedTemplate.content.ownerDocument, div.ownerDocument, | 139 assert_equals(nestedTemplate.content.ownerDocument, div.ownerDocument, |
140 'Wrong DIV node owner document'); | 140 'Wrong DIV node owner document'); |
141 | 141 |
142 }, 'Parsing XHTML: Node\'s node document must be set to that of the element ' | 142 }, 'Parsing XHTML: Node\'s node document must be set to that of the element ' |
143 + 'to which it will be appended. Test loading of XHTML document ' | 143 + 'to which it will be appended. Test loading of XHTML document ' |
144 + 'with nested templates from a file'); | 144 + 'with nested templates from a file'); |
145 | 145 |
146 </script> | 146 </script> |
147 </body> | 147 </body> |
148 </html> | 148 </html> |
OLD | NEW |