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

Unified Diff: Source/core/html/HTMLButtonElement.idl

Issue 26694003: Add support for [TreatNullAs] extended attribute for reflected attributes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 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: Source/core/html/HTMLButtonElement.idl
diff --git a/Source/core/html/HTMLButtonElement.idl b/Source/core/html/HTMLButtonElement.idl
index eb3832fea2ecf8c786d52a01e3316ff4da92092c..e1a6b026d74d2eee4917977bfd05b9ba450979c2 100644
--- a/Source/core/html/HTMLButtonElement.idl
+++ b/Source/core/html/HTMLButtonElement.idl
@@ -22,14 +22,14 @@ interface HTMLButtonElement : HTMLElement {
[Reflect] attribute boolean autofocus;
[Reflect] attribute boolean disabled;
readonly attribute HTMLFormElement form;
- [Reflect, URL] attribute DOMString formAction;
+ [Reflect, TreatNullAs=NullString, URL] attribute DOMString formAction;
[TreatNullAs=NullString] attribute DOMString formEnctype;
[TreatNullAs=NullString] attribute DOMString formMethod;
[Reflect] attribute boolean formNoValidate;
- [Reflect] attribute DOMString formTarget;
- [Reflect] attribute DOMString name;
+ [Reflect, TreatNullAs=NullString] attribute DOMString formTarget;
+ [Reflect, TreatNullAs=NullString] attribute DOMString name;
[TreatNullAs=NullString] attribute DOMString type;
- [Reflect] attribute DOMString value;
+ [Reflect, TreatNullAs=NullString] attribute DOMString value;
readonly attribute boolean willValidate;
readonly attribute ValidityState validity;

Powered by Google App Engine
This is Rietveld 408576698