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/HTMLAreaElement.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/HTMLAreaElement.idl
diff --git a/Source/core/html/HTMLAreaElement.idl b/Source/core/html/HTMLAreaElement.idl
index a9c1fa7dea6a75b8f1362ab72f1439a7bb3d5cf9..4171f43742e3f1b7c96bead8ce9464017c9ae5bd 100644
--- a/Source/core/html/HTMLAreaElement.idl
+++ b/Source/core/html/HTMLAreaElement.idl
@@ -19,13 +19,13 @@
*/
interface HTMLAreaElement : HTMLElement {
- [Reflect] attribute DOMString alt;
- [Reflect] attribute DOMString coords;
- [Reflect, URL] attribute DOMString href;
+ [Reflect, TreatNullAs=NullString] attribute DOMString alt;
+ [Reflect, TreatNullAs=NullString] attribute DOMString coords;
+ [Reflect, TreatNullAs=NullString, URL] attribute DOMString href;
[Reflect] attribute boolean noHref;
- [Reflect] attribute DOMString ping;
- [Reflect] attribute DOMString shape;
- [Reflect] attribute DOMString target;
+ [Reflect, TreatNullAs=NullString] attribute DOMString ping;
+ [Reflect, TreatNullAs=NullString] attribute DOMString shape;
+ [Reflect, TreatNullAs=NullString] attribute DOMString target;
// IE Extensions
readonly attribute DOMString hash;

Powered by Google App Engine
This is Rietveld 408576698