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

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

Issue 1085843002: Implement DOM: prepend, append, before, after & replaceWith (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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 unified diff | Download patch
OLDNEW
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. 4 * Copyright (C) 2013 Samsung Electronics. All rights reserved.
5 * 5 *
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * 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.
11 * 11 *
12 * 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,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Library General Public License for more details. 15 * Library General Public License for more details.
16 * 16 *
17 * 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
18 * 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
19 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 19 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20 * Boston, MA 02110-1301, USA. 20 * Boston, MA 02110-1301, USA.
21 */ 21 */
22 22
23 // https://dom.spec.whatwg.org/#interface-childnode 23 // https://dom.spec.whatwg.org/#interface-childnode
24 24
25 [ 25 [
26 LegacyTreatAsPartialInterface, 26 LegacyTreatAsPartialInterface,
27 NoInterfaceObject, // Always used on target of 'implements' 27 NoInterfaceObject, // Always used on target of 'implements'
28 ] interface ChildNode { 28 ] interface ChildNode {
29 // [Unscopeable] void before((Node or DOMString)... nodes); 29 [Unscopeable, RaisesException, CustomElementCallbacks, RuntimeEnabled=DOMCon venienceAPI] void before((Node or DOMString) ... Nodes);
philipj_slow 2015/06/09 12:48:32 Nodes should not be capitalized here.
Paritosh Kumar 2015/06/12 15:55:37 Done.
30 // [Unscopeable] void after((Node or DOMString)... nodes); 30 [Unscopeable, RaisesException, CustomElementCallbacks, RuntimeEnabled=DOMCon venienceAPI] void after((Node or DOMString)... nodes);
31 // [Unscopeable] void replaceWith((Node or DOMString)... nodes); 31 [Unscopeable, RaisesException, CustomElementCallbacks, RuntimeEnabled=DOMCon venienceAPI] void replaceWith((Node or DOMString)... nodes);
32 // TODO(philipj): remove() should be [Unscopeable]. crbug.com/462916 32 [Unscopeable, RaisesException, CustomElementCallbacks] void remove();
33 [RaisesException, CustomElementCallbacks] void remove();
34 }; 33 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698