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

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

Issue 105693009: Move insertAdjacentHTML to Element (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Correct base. Should not include patches it depends on. Created 7 years 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
« 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 // WebKit extensions 85 // WebKit extensions
86 86
87 void scrollIntoViewIfNeeded(optional boolean centerIfNeeded); 87 void scrollIntoViewIfNeeded(optional boolean centerIfNeeded);
88 void scrollByLines([Default=Undefined] optional long lines); 88 void scrollByLines([Default=Undefined] optional long lines);
89 void scrollByPages([Default=Undefined] optional long pages); 89 void scrollByPages([Default=Undefined] optional long pages);
90 90
91 // HTML 5 91 // HTML 5
92 NodeList getElementsByClassName([Default=Undefined] optional DOMString name) ; 92 NodeList getElementsByClassName([Default=Undefined] optional DOMString name) ;
93 [TreatNullAs=NullString, CustomElementCallbacks, PerWorldBindings, ActivityL ogging=SetterForIsolatedWorlds, RaisesException=Setter] attribute DOMString inne rHTML; 93 [TreatNullAs=NullString, CustomElementCallbacks, PerWorldBindings, ActivityL ogging=SetterForIsolatedWorlds, RaisesException=Setter] attribute DOMString inne rHTML;
94 [TreatNullAs=NullString, CustomElementCallbacks, RaisesException=Setter] att ribute DOMString outerHTML; 94 [TreatNullAs=NullString, CustomElementCallbacks, RaisesException=Setter] att ribute DOMString outerHTML;
95 [CustomElementCallbacks, RaisesException] void insertAdjacentHTML(DOMString where, DOMString html);
95 96
96 [Reflect=class, PerWorldBindings] attribute DOMString className; 97 [Reflect=class, PerWorldBindings] attribute DOMString className;
97 [PerWorldBindings] readonly attribute DOMTokenList classList; 98 [PerWorldBindings] readonly attribute DOMTokenList classList;
98 99
99 [PerWorldBindings] readonly attribute DOMStringMap dataset; 100 [PerWorldBindings] readonly attribute DOMStringMap dataset;
100 101
101 // NodeSelector - Selector API 102 // NodeSelector - Selector API
102 [RaisesException] Element querySelector(DOMString selectors); 103 [RaisesException] Element querySelector(DOMString selectors);
103 [RaisesException] NodeList querySelectorAll(DOMString selectors); 104 [RaisesException] NodeList querySelectorAll(DOMString selectors);
104 105
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; 147 [RuntimeEnabled=Touch] attribute EventHandler ontouchend;
147 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; 148 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove;
148 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; 149 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart;
149 attribute EventHandler onwebkitfullscreenchange; 150 attribute EventHandler onwebkitfullscreenchange;
150 attribute EventHandler onwebkitfullscreenerror; 151 attribute EventHandler onwebkitfullscreenerror;
151 [PerWorldBindings, ActivityLogging=SetterForIsolatedWorlds] attribute EventH andler onwheel; 152 [PerWorldBindings, ActivityLogging=SetterForIsolatedWorlds] attribute EventH andler onwheel;
152 }; 153 };
153 154
154 Element implements ParentNode; 155 Element implements ParentNode;
155 Element implements ChildNode; 156 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