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

Unified Diff: third_party/WebKit/Source/core/html/HTMLInputElement.idl

Issue 2043503002: Add [CEReactions] IDL attributes for Custom Elements V1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: yukishiino review Created 4 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/html/HTMLInputElement.idl
diff --git a/third_party/WebKit/Source/core/html/HTMLInputElement.idl b/third_party/WebKit/Source/core/html/HTMLInputElement.idl
index b82f0960df07787dbdeb3676b5a707bfb51cc24c..69e51f8094a3e0c6b1fd883c617cc806d41a4117 100644
--- a/third_party/WebKit/Source/core/html/HTMLInputElement.idl
+++ b/third_party/WebKit/Source/core/html/HTMLInputElement.idl
@@ -24,48 +24,48 @@
enum SelectionMode { "select", "start", "end", "preserve" };
interface HTMLInputElement : HTMLElement {
- [Reflect] attribute DOMString accept;
- [Reflect] attribute DOMString alt;
- [Reflect] attribute DOMString autocomplete;
- [Reflect] attribute boolean autofocus;
- [Reflect=checked] attribute boolean defaultChecked;
+ [CEReactions, Reflect] attribute DOMString accept;
+ [CEReactions, Reflect] attribute DOMString alt;
+ [CEReactions, Reflect] attribute DOMString autocomplete;
+ [CEReactions, Reflect] attribute boolean autofocus;
+ [CEReactions, Reflect=checked] attribute boolean defaultChecked;
attribute boolean checked;
- [Reflect] attribute DOMString dirName;
- [Reflect] attribute boolean disabled;
+ [CEReactions, Reflect] attribute DOMString dirName;
+ [CEReactions, Reflect] attribute boolean disabled;
[ImplementedAs=formOwner] readonly attribute HTMLFormElement? form;
// The 'files' attribute is intentionally not readonly.
// https://www.w3.org/Bugs/Public/show_bug.cgi?id=22682
attribute FileList? files;
- attribute DOMString formAction;
- [CustomElementCallbacks] attribute DOMString formEnctype;
- [CustomElementCallbacks] attribute DOMString formMethod;
- [Reflect] attribute boolean formNoValidate;
- [Reflect] attribute DOMString formTarget;
- [CustomElementCallbacks] attribute unsigned long height;
+ [CEReactions] attribute DOMString formAction;
+ [CEReactions, CustomElementCallbacks] attribute DOMString formEnctype;
+ [CEReactions, CustomElementCallbacks] attribute DOMString formMethod;
+ [CEReactions, Reflect] attribute boolean formNoValidate;
+ [CEReactions, Reflect] attribute DOMString formTarget;
+ [CEReactions, CustomElementCallbacks] attribute unsigned long height;
attribute boolean indeterminate;
- [RuntimeEnabled=InputModeAttribute, Reflect] attribute DOMString inputMode;
+ [RuntimeEnabled=InputModeAttribute, CEReactions, Reflect] attribute DOMString inputMode;
readonly attribute HTMLElement? list;
- [Reflect] attribute DOMString max;
- [RaisesException=Setter, CustomElementCallbacks] attribute long maxLength;
- [Reflect] attribute DOMString min;
- [RaisesException=Setter, CustomElementCallbacks] attribute long minLength;
- [Reflect] attribute boolean multiple;
- [Reflect] attribute DOMString name;
- [Reflect] attribute DOMString pattern;
- [Reflect] attribute DOMString placeholder;
- [Reflect] attribute boolean readOnly;
- [Reflect] attribute boolean required;
- [RaisesException=Setter, CustomElementCallbacks] attribute unsigned long size;
- [Reflect, URL] attribute DOMString src;
- [Reflect] attribute DOMString step;
- [CustomElementCallbacks] attribute DOMString type;
- [Reflect=value, CustomElementCallbacks] attribute DOMString defaultValue;
- [TreatNullAs=EmptyString, RaisesException=Setter, CustomElementCallbacks] attribute DOMString value;
- [RaisesException=Setter, CustomElementCallbacks] attribute Date? valueAsDate;
+ [CEReactions, Reflect] attribute DOMString max;
+ [CEReactions, RaisesException=Setter, CustomElementCallbacks] attribute long maxLength;
+ [CEReactions, Reflect] attribute DOMString min;
+ [CEReactions, RaisesException=Setter, CustomElementCallbacks] attribute long minLength;
+ [CEReactions, Reflect] attribute boolean multiple;
+ [CEReactions, Reflect] attribute DOMString name;
+ [CEReactions, Reflect] attribute DOMString pattern;
+ [CEReactions, Reflect] attribute DOMString placeholder;
+ [CEReactions, Reflect] attribute boolean readOnly;
+ [CEReactions, Reflect] attribute boolean required;
+ [CEReactions, RaisesException=Setter, CustomElementCallbacks] attribute unsigned long size;
+ [CEReactions, Reflect, URL] attribute DOMString src;
+ [CEReactions, Reflect] attribute DOMString step;
+ [CEReactions, CustomElementCallbacks] attribute DOMString type;
+ [CEReactions, Reflect=value, CustomElementCallbacks] attribute DOMString defaultValue;
+ [CEReactions, TreatNullAs=EmptyString, RaisesException=Setter, CustomElementCallbacks] attribute DOMString value;
+ [CEReactions, RaisesException=Setter, CustomElementCallbacks] attribute Date? valueAsDate;
[RaisesException=Setter, CustomElementCallbacks] attribute unrestricted double valueAsNumber;
// Note: The spec has valueLow and valueHigh for two-valued range controls.
// https://www.w3.org/Bugs/Public/show_bug.cgi?id=13154
- [CustomElementCallbacks] attribute unsigned long width;
+ [CEReactions, CustomElementCallbacks] attribute unsigned long width;
[RaisesException, CustomElementCallbacks] void stepUp(optional long n = 1);
[RaisesException, CustomElementCallbacks] void stepDown(optional long n = 1);
@@ -97,8 +97,8 @@ interface HTMLInputElement : HTMLElement {
// obsolete members
// https://html.spec.whatwg.org/#HTMLInputElement-partial
- [Reflect] attribute DOMString align;
- [Reflect] attribute DOMString useMap;
+ [CEReactions, Reflect] attribute DOMString align;
+ [CEReactions, Reflect] attribute DOMString useMap;
// HTML autocapitalize proposal
// https://github.com/mounirlamouri/html-autocapitalize/blob/master/proposal.md
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLImageElement.idl ('k') | third_party/WebKit/Source/core/html/HTMLKeygenElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698