Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> | 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> |
| 4 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 84 const unsigned short DOCUMENT_POSITION_DISCONNECTED = 0x01; | 84 const unsigned short DOCUMENT_POSITION_DISCONNECTED = 0x01; |
| 85 const unsigned short DOCUMENT_POSITION_PRECEDING = 0x02; | 85 const unsigned short DOCUMENT_POSITION_PRECEDING = 0x02; |
| 86 const unsigned short DOCUMENT_POSITION_FOLLOWING = 0x04; | 86 const unsigned short DOCUMENT_POSITION_FOLLOWING = 0x04; |
| 87 const unsigned short DOCUMENT_POSITION_CONTAINS = 0x08; | 87 const unsigned short DOCUMENT_POSITION_CONTAINS = 0x08; |
| 88 const unsigned short DOCUMENT_POSITION_CONTAINED_BY = 0x10; | 88 const unsigned short DOCUMENT_POSITION_CONTAINED_BY = 0x10; |
| 89 const unsigned short DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20; | 89 const unsigned short DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20; |
| 90 | 90 |
| 91 unsigned short compareDocumentPosition([Default=Undefined] optional Node other); | 91 unsigned short compareDocumentPosition([Default=Undefined] optional Node other); |
| 92 | 92 |
| 93 // Introduced in DOM4 | 93 // Introduced in DOM4 |
| 94 boolean contains([Default=Undefined] optional Node other); | 94 [ImplementedAs=containsIncludingShadowDOM] boolean contains([Default=Undefin ed] optional Node other); |
|
esprehn
2013/07/30 00:29:13
This is not right, containsIncludingShadowDOM walk
| |
| 95 | 95 |
| 96 // IE extensions | 96 // IE extensions |
| 97 [PerWorldBindings] readonly attribute Element parentElement; | 97 [PerWorldBindings] readonly attribute Element parentElement; |
| 98 }; | 98 }; |
| OLD | NEW |