Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(542)

Side by Side Diff: sky/engine/core/dom/Node.idl

Issue 943013002: Implement Custom Elements (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: attributeChanged***d***Callback Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698