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

Side by Side Diff: Source/core/html/HTMLElement.idl

Issue 109273003: Make arguments to insertAdjacentHTML method non-optional (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Correct base. Should not include https://codereview.chromium.org/110383002/ 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 | « LayoutTests/fast/dynamic/insertAdjacentHTML-expected.txt ('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, 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 20 matching lines...) Expand all
31 [Reflect, TreatNullAs=NullString] attribute DOMString webkitdropzone; 31 [Reflect, TreatNullAs=NullString] attribute DOMString webkitdropzone;
32 [Reflect] attribute boolean hidden; 32 [Reflect] attribute boolean hidden;
33 [Reflect] attribute DOMString accessKey; 33 [Reflect] attribute DOMString accessKey;
34 34
35 // Extensions 35 // Extensions
36 [TreatNullAs=NullString, CustomElementCallbacks, RaisesException=Setter, Mea sureAs=HTMLElementInnerText] attribute DOMString innerText; 36 [TreatNullAs=NullString, CustomElementCallbacks, RaisesException=Setter, Mea sureAs=HTMLElementInnerText] attribute DOMString innerText;
37 [TreatNullAs=NullString, CustomElementCallbacks, RaisesException=Setter, Mea sureAs=HTMLElementOuterText] attribute DOMString outerText; 37 [TreatNullAs=NullString, CustomElementCallbacks, RaisesException=Setter, Mea sureAs=HTMLElementOuterText] attribute DOMString outerText;
38 38
39 [RaisesException, CustomElementCallbacks, MeasureAs=InsertAdjacentElement] E lement insertAdjacentElement([Default=Undefined] optional DOMString where, 39 [RaisesException, CustomElementCallbacks, MeasureAs=InsertAdjacentElement] E lement insertAdjacentElement([Default=Undefined] optional DOMString where,
40 [Default=Undefined] optional Element element); 40 [Default=Undefined] optional Element element);
41 [CustomElementCallbacks, RaisesException] void insertAdjacentHTML([Default=U ndefined] optional DOMString where, 41 [CustomElementCallbacks, RaisesException] void insertAdjacentHTML(DOMString where, DOMString html);
42 [Default=Undefined] optional DOMString html);
43 [RaisesException, MeasureAs=InsertAdjacentText] void insertAdjacentText([Def ault=Undefined] optional DOMString where, 42 [RaisesException, MeasureAs=InsertAdjacentText] void insertAdjacentText([Def ault=Undefined] optional DOMString where,
44 [Default=Undefined] optional DOMString text); 43 [Default=Undefined] optional DOMString text);
45 44
46 [RuntimeEnabled=IMEAPI] readonly attribute InputMethodContext inputMethodCon text; 45 [RuntimeEnabled=IMEAPI] readonly attribute InputMethodContext inputMethodCon text;
47 46
48 [CustomElementCallbacks, RaisesException=Setter] attribute DOMString content Editable; 47 [CustomElementCallbacks, RaisesException=Setter] attribute DOMString content Editable;
49 readonly attribute boolean isContentEditable; 48 readonly attribute boolean isContentEditable;
50 49
51 attribute boolean spellcheck; 50 attribute boolean spellcheck;
52 51
53 void click(); 52 void click();
54 }; 53 };
55 54
56 HTMLElement implements GlobalEventHandlers; 55 HTMLElement implements GlobalEventHandlers;
OLDNEW
« no previous file with comments | « LayoutTests/fast/dynamic/insertAdjacentHTML-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698