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

Unified Diff: Source/core/dom/ChildNode.idl

Issue 17379016: Introduce ChildNode IDL interface (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix typo Created 7 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/dom/CharacterData.idl ('k') | Source/core/dom/DocumentType.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/ChildNode.idl
diff --git a/Source/core/css/StyleSheetList.idl b/Source/core/dom/ChildNode.idl
similarity index 69%
copy from Source/core/css/StyleSheetList.idl
copy to Source/core/dom/ChildNode.idl
index 390e2c9717019f07e0b3226476a87372b795826b..d08786b750c01334078810b77ab522188562c928 100644
--- a/Source/core/css/StyleSheetList.idl
+++ b/Source/core/dom/ChildNode.idl
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2006, 2007, 2009 Apple Inc. All rights reserved.
* Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
+ * Copyright (C) 2013 Samsung Electronics. All rights reserved.
+ *
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
@@ -18,12 +20,13 @@
* Boston, MA 02110-1301, USA.
*/
-// Introduced in DOM Level 2:
-[
- GenerateIsReachable=document,
-] interface StyleSheetList {
- readonly attribute unsigned long length;
- getter StyleSheet item([Default=Undefined] optional unsigned long index);
- [ImplementedAs=anonymousNamedGetter, NotEnumerable] getter CSSStyleSheet (DOMString name);
+[NoInterfaceObject]
+interface ChildNode {
+ [PerWorldBindings] readonly attribute Element previousElementSibling;
+ [PerWorldBindings] readonly attribute Element nextElementSibling;
+ [RaisesException] void remove();
};
+DocumentType implements ChildNode;
+Element implements ChildNode;
+CharacterData implements ChildNode;
« no previous file with comments | « Source/core/dom/CharacterData.idl ('k') | Source/core/dom/DocumentType.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698