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

Side by Side Diff: Source/core/dom/Node.idl

Issue 21123005: Node.contains should return true for nodes in Shadow DOM. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Make contains-something condition clearer. Created 7 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/dom/Node.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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=bindingsContains] boolean contains([Default=Undefined] option al Node other);
95 95
96 // IE extensions 96 // IE extensions
97 [PerWorldBindings] readonly attribute Element parentElement; 97 [PerWorldBindings] readonly attribute Element parentElement;
98 }; 98 };
OLDNEW
« no previous file with comments | « Source/core/dom/Node.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698