OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 interface Node : EventTarget { | 5 interface Node : EventTarget { |
6 Node cloneNode([Named] optional boolean deep = true); | 6 Node cloneNode([Named] optional boolean deep = true); |
7 | 7 |
8 readonly attribute ParentNode owner; | 8 readonly attribute ParentNode owner; |
9 readonly attribute ParentNode parentNode; | 9 readonly attribute ParentNode parentNode; |
10 readonly attribute Element parentElement; | 10 readonly attribute Element parentElement; |
11 | 11 |
12 readonly attribute Node nextSibling; | 12 readonly attribute Node nextSibling; |
13 readonly attribute Node previousSibling; | 13 readonly attribute Node previousSibling; |
14 readonly attribute Element nextElementSibling; | 14 readonly attribute Element nextElementSibling; |
15 readonly attribute Element previousElementSibling; | 15 readonly attribute Element previousElementSibling; |
16 | 16 |
17 [RaisesException, ImplementedAs=newInsertBefore] void insertBefore(sequence<No
de> nodes); | 17 [CustomElementCallbacks, RaisesException, ImplementedAs=newInsertBefore] void
insertBefore(sequence<Node> nodes); |
18 [RaisesException, ImplementedAs=newInsertAfter] void insertAfter(sequence<Node
> nodes); | 18 [CustomElementCallbacks, RaisesException, ImplementedAs=newInsertAfter] void i
nsertAfter(sequence<Node> nodes); |
19 [RaisesException] void replaceWith(sequence<Node> nodes); | 19 [CustomElementCallbacks, RaisesException] void replaceWith(sequence<Node> node
s); |
20 | 20 |
21 [RaisesException] void remove(); | 21 [CustomElementCallbacks, RaisesException] void remove(); |
22 | 22 |
23 [TreatReturnedNullStringAs=Null, TreatNullAs=NullString] attribute DOMString t
extContent; | 23 [TreatReturnedNullStringAs=Null, TreatNullAs=NullString] attribute DOMString t
extContent; |
24 }; | 24 }; |
OLD | NEW |