OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 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 * Copyright (C) 2013 Samsung Electronics. All rights reserved. |
| 5 * |
4 * | 6 * |
5 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
9 * | 11 * |
10 * This library is distributed in the hope that it will be useful, | 12 * This library is distributed in the hope that it will be useful, |
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 * Library General Public License for more details. | 15 * Library General Public License for more details. |
14 * | 16 * |
15 * You should have received a copy of the GNU Library General Public License | 17 * You should have received a copy of the GNU Library General Public License |
16 * along with this library; see the file COPYING.LIB. If not, write to | 18 * along with this library; see the file COPYING.LIB. If not, write to |
17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 19 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
18 * Boston, MA 02110-1301, USA. | 20 * Boston, MA 02110-1301, USA. |
19 */ | 21 */ |
20 | 22 |
21 // Introduced in DOM Level 2: | 23 [NoInterfaceObject] |
22 [ | 24 interface ChildNode { |
23 GenerateIsReachable=document, | 25 [PerWorldBindings] readonly attribute Element previousElementSibling; |
24 ] interface StyleSheetList { | 26 [PerWorldBindings] readonly attribute Element nextElementSibling; |
25 readonly attribute unsigned long length; | 27 [RaisesException] void remove(); |
26 getter StyleSheet item([Default=Undefined] optional unsigned long in
dex); | |
27 [ImplementedAs=anonymousNamedGetter, NotEnumerable] getter CSSStyleSheet (DO
MString name); | |
28 }; | 28 }; |
29 | 29 |
| 30 DocumentType implements ChildNode; |
| 31 Element implements ChildNode; |
| 32 CharacterData implements ChildNode; |
OLD | NEW |