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

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

Issue 147993006: Move insertAdjacentElement/insertAdjacentText to Element. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: olc chunk mismatch Created 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/dom/Element.cpp ('k') | Source/core/html/HTMLElement.h » ('j') | 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, 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 * 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 // WebKit extensions 87 // WebKit extensions
88 88
89 void scrollIntoViewIfNeeded(optional boolean centerIfNeeded); 89 void scrollIntoViewIfNeeded(optional boolean centerIfNeeded);
90 void scrollByLines([Default=Undefined] optional long lines); 90 void scrollByLines([Default=Undefined] optional long lines);
91 void scrollByPages([Default=Undefined] optional long pages); 91 void scrollByPages([Default=Undefined] optional long pages);
92 92
93 // HTML 5 93 // HTML 5
94 HTMLCollection getElementsByClassName(DOMString classNames); 94 HTMLCollection getElementsByClassName(DOMString classNames);
95 [TreatNullAs=NullString, CustomElementCallbacks, PerWorldBindings, ActivityL ogging=SetterForIsolatedWorlds, RaisesException=Setter] attribute DOMString inne rHTML; 95 [TreatNullAs=NullString, CustomElementCallbacks, PerWorldBindings, ActivityL ogging=SetterForIsolatedWorlds, RaisesException=Setter] attribute DOMString inne rHTML;
96 [TreatNullAs=NullString, CustomElementCallbacks, RaisesException=Setter] att ribute DOMString outerHTML; 96 [TreatNullAs=NullString, CustomElementCallbacks, RaisesException=Setter] att ribute DOMString outerHTML;
97
98 [RaisesException, CustomElementCallbacks, MeasureAs=InsertAdjacentElement] E lement insertAdjacentElement([Default=Undefined] optional DOMString where,
99 [Default=Undefined] optional Element element);
100 [RaisesException, MeasureAs=InsertAdjacentText] void insertAdjacentText([Def ault=Undefined] optional DOMString where,
101 [Default=Undefined] optional DOMString text);
97 [CustomElementCallbacks, RaisesException] void insertAdjacentHTML(DOMString where, DOMString html); 102 [CustomElementCallbacks, RaisesException] void insertAdjacentHTML(DOMString where, DOMString html);
98 103
99 [Reflect=class, PerWorldBindings] attribute DOMString className; 104 [Reflect=class, PerWorldBindings] attribute DOMString className;
100 [PerWorldBindings] readonly attribute DOMTokenList classList; 105 [PerWorldBindings] readonly attribute DOMTokenList classList;
101 106
102 [PerWorldBindings] readonly attribute DOMStringMap dataset; 107 [PerWorldBindings] readonly attribute DOMStringMap dataset;
103 108
104 // NodeSelector - Selector API 109 // NodeSelector - Selector API
105 [RaisesException] Element querySelector(DOMString selectors); 110 [RaisesException] Element querySelector(DOMString selectors);
106 [RaisesException] NodeList querySelectorAll(DOMString selectors); 111 [RaisesException] NodeList querySelectorAll(DOMString selectors);
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; 152 [RuntimeEnabled=Touch] attribute EventHandler ontouchend;
148 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; 153 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove;
149 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; 154 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart;
150 attribute EventHandler onwebkitfullscreenchange; 155 attribute EventHandler onwebkitfullscreenchange;
151 attribute EventHandler onwebkitfullscreenerror; 156 attribute EventHandler onwebkitfullscreenerror;
152 [PerWorldBindings, ActivityLogging=SetterForIsolatedWorlds] attribute EventH andler onwheel; 157 [PerWorldBindings, ActivityLogging=SetterForIsolatedWorlds] attribute EventH andler onwheel;
153 }; 158 };
154 159
155 Element implements ParentNode; 160 Element implements ParentNode;
156 Element implements ChildNode; 161 Element implements ChildNode;
OLDNEW
« no previous file with comments | « Source/core/dom/Element.cpp ('k') | Source/core/html/HTMLElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698