| OLD | NEW |
| 1 <!doctype html> | 1 <!doctype html> |
| 2 <meta charset=utf-8> | 2 <meta charset=utf-8> |
| 3 <title>DOM IDL tests</title> | 3 <title>DOM IDL tests</title> |
| 4 <script src=/resources/testharness.js></script> | 4 <script src=/resources/testharness.js></script> |
| 5 <script src=/resources/testharnessreport.js></script> | 5 <script src=/resources/testharnessreport.js></script> |
| 6 <script src=/resources/WebIDLParser.js></script> | 6 <script src=/resources/WebIDLParser.js></script> |
| 7 <script src=/resources/idlharness.js></script> | 7 <script src=/resources/idlharness.js></script> |
| 8 | 8 |
| 9 <h1>DOM IDL tests</h1> | 9 <h1>DOM IDL tests</h1> |
| 10 <div id=log></div> | 10 <div id=log></div> |
| (...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 205 const unsigned short DOCUMENT_TYPE_NODE = 10; | 205 const unsigned short DOCUMENT_TYPE_NODE = 10; |
| 206 const unsigned short DOCUMENT_FRAGMENT_NODE = 11; | 206 const unsigned short DOCUMENT_FRAGMENT_NODE = 11; |
| 207 const unsigned short NOTATION_NODE = 12; // historical | 207 const unsigned short NOTATION_NODE = 12; // historical |
| 208 readonly attribute unsigned short nodeType; | 208 readonly attribute unsigned short nodeType; |
| 209 readonly attribute DOMString nodeName; | 209 readonly attribute DOMString nodeName; |
| 210 | 210 |
| 211 readonly attribute DOMString baseURI; | 211 readonly attribute DOMString baseURI; |
| 212 | 212 |
| 213 readonly attribute boolean isConnected; | 213 readonly attribute boolean isConnected; |
| 214 readonly attribute Document? ownerDocument; | 214 readonly attribute Document? ownerDocument; |
| 215 readonly attribute Node rootNode; | |
| 216 readonly attribute Node? parentNode; | 215 readonly attribute Node? parentNode; |
| 217 readonly attribute Element? parentElement; | 216 readonly attribute Element? parentElement; |
| 218 boolean hasChildNodes(); | 217 boolean hasChildNodes(); |
| 219 [SameObject] readonly attribute NodeList childNodes; | 218 [SameObject] readonly attribute NodeList childNodes; |
| 220 readonly attribute Node? firstChild; | 219 readonly attribute Node? firstChild; |
| 221 readonly attribute Node? lastChild; | 220 readonly attribute Node? lastChild; |
| 222 readonly attribute Node? previousSibling; | 221 readonly attribute Node? previousSibling; |
| 223 readonly attribute Node? nextSibling; | 222 readonly attribute Node? nextSibling; |
| 224 | 223 |
| 225 attribute DOMString? nodeValue; | 224 attribute DOMString? nodeValue; |
| (...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 585 Range: ['document.createRange()', 'detachedRange'], | 584 Range: ['document.createRange()', 'detachedRange'], |
| 586 NodeIterator: ['document.createNodeIterator(document.body, NodeFilter.SHOW_A
LL, null, false)'], | 585 NodeIterator: ['document.createNodeIterator(document.body, NodeFilter.SHOW_A
LL, null, false)'], |
| 587 TreeWalker: ['document.createTreeWalker(document.body, NodeFilter.SHOW_ALL,
null, false)'], | 586 TreeWalker: ['document.createTreeWalker(document.body, NodeFilter.SHOW_ALL,
null, false)'], |
| 588 NodeList: ['document.querySelectorAll("script")'], | 587 NodeList: ['document.querySelectorAll("script")'], |
| 589 HTMLCollection: ['document.body.children'], | 588 HTMLCollection: ['document.body.children'], |
| 590 DOMTokenList: ['document.body.classList'], | 589 DOMTokenList: ['document.body.classList'], |
| 591 }); | 590 }); |
| 592 }); | 591 }); |
| 593 idlArray.test(); | 592 idlArray.test(); |
| 594 </script> | 593 </script> |
| OLD | NEW |