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

Unified Diff: Source/core/html/HTMLTextAreaElement.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/HTMLTableSectionElement.idl ('k') | Source/core/html/HTMLTrackElement.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLTextAreaElement.idl
diff --git a/Source/core/html/HTMLTextAreaElement.idl b/Source/core/html/HTMLTextAreaElement.idl
index 51c84199ab19a85b2f65b31cee4b8de63f1eb920..eaf5616b25fac6d92169af4e189bc72c33c29cd5 100644
--- a/Source/core/html/HTMLTextAreaElement.idl
+++ b/Source/core/html/HTMLTextAreaElement.idl
@@ -22,17 +22,17 @@
interface HTMLTextAreaElement : HTMLElement {
[Reflect] attribute boolean autofocus;
attribute long cols;
- [Reflect] attribute DOMString dirName;
+ [Reflect, TreatNullAs=NullString] attribute DOMString dirName;
[Reflect] attribute boolean disabled;
readonly attribute HTMLFormElement form;
[SetterRaisesException] attribute long maxLength;
- [Reflect] attribute DOMString name;
- [Reflect] attribute DOMString placeholder;
+ [Reflect, TreatNullAs=NullString] attribute DOMString name;
+ [Reflect, TreatNullAs=NullString] attribute DOMString placeholder;
[Reflect] attribute boolean readOnly;
[Reflect] attribute boolean required;
attribute long rows;
- [Reflect] attribute DOMString wrap;
- [EnabledAtRuntime=InputModeAttribute, Reflect] attribute DOMString inputMode;
+ [Reflect, TreatNullAs=NullString] attribute DOMString wrap;
+ [EnabledAtRuntime=InputModeAttribute, Reflect, TreatNullAs=NullString] attribute DOMString inputMode;
readonly attribute DOMString type;
[TreatNullAs=NullString] attribute DOMString defaultValue;
« no previous file with comments | « Source/core/html/HTMLTableSectionElement.idl ('k') | Source/core/html/HTMLTrackElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698