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

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

Issue 26694003: Add support for [TreatNullAs] extended attribute for reflected attributes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Move code to a subroutine 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
« no previous file with comments | « Source/core/html/HTMLFontElement.idl ('k') | Source/core/html/HTMLFrameElement.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLFormElement.idl
diff --git a/Source/core/html/HTMLFormElement.idl b/Source/core/html/HTMLFormElement.idl
index b82e224ace0895cdb3a7b397f89173457a471db7..2ad426cbf584c6d16d9250fcf7334937f9244cb1 100644
--- a/Source/core/html/HTMLFormElement.idl
+++ b/Source/core/html/HTMLFormElement.idl
@@ -19,15 +19,15 @@
*/
interface HTMLFormElement : HTMLElement {
- [Reflect=accept_charset] attribute DOMString acceptCharset;
- [Reflect, URL] attribute DOMString action;
- [Reflect] attribute DOMString autocomplete;
+ [Reflect=accept_charset, TreatNullAs=NullString] attribute DOMString acceptCharset;
+ [Reflect, TreatNullAs=NullString, URL] attribute DOMString action;
+ [Reflect, TreatNullAs=NullString] attribute DOMString autocomplete;
[TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString enctype;
[TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString encoding;
[TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString method;
- [Reflect] attribute DOMString name;
+ [Reflect, TreatNullAs=NullString] attribute DOMString name;
[Reflect] attribute boolean noValidate;
- [Reflect] attribute DOMString target;
+ [Reflect, TreatNullAs=NullString] attribute DOMString target;
readonly attribute HTMLCollection elements;
readonly attribute long length;
« no previous file with comments | « Source/core/html/HTMLFontElement.idl ('k') | Source/core/html/HTMLFrameElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698