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

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

Issue 98833002: Remove TreatNullAs=NullString for HTMLImageElement (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years 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 | « LayoutTests/fast/dom/element-attribute-js-null-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLImageElement.idl
diff --git a/Source/core/html/HTMLImageElement.idl b/Source/core/html/HTMLImageElement.idl
index 04947696cb6f50a072a475e5aae66b73b1530d97..a5480236fd612539ad050f6381cf299ac51c0224 100644
--- a/Source/core/html/HTMLImageElement.idl
+++ b/Source/core/html/HTMLImageElement.idl
@@ -23,26 +23,26 @@
[
NamedConstructor=Image([Default=Undefined] optional long width, [Default=Undefined] optional long height)
] interface HTMLImageElement : HTMLElement {
- [Reflect, TreatNullAs=NullString] attribute DOMString name;
- [Reflect, TreatNullAs=NullString] attribute DOMString align;
- [Reflect, TreatNullAs=NullString] attribute DOMString alt;
+ [Reflect] attribute DOMString align;
+ [Reflect] attribute DOMString alt;
[Reflect, TreatNullAs=NullString] attribute DOMString border;
- [Reflect, TreatNullAs=NullString] attribute DOMString crossOrigin;
+ readonly attribute boolean complete;
+ [Reflect] attribute DOMString crossOrigin;
attribute long height;
[Reflect] attribute long hspace;
[Reflect] attribute boolean isMap;
- [Reflect, TreatNullAs=NullString, URL, PerWorldBindings, ActivityLogging=SetterForIsolatedWorlds] attribute DOMString longDesc;
- [Reflect, TreatNullAs=NullString, URL, PerWorldBindings, ActivityLogging=SetterForIsolatedWorlds] attribute DOMString src;
- [Reflect, TreatNullAs=NullString, RuntimeEnabled=Srcset] attribute DOMString srcset;
- [Reflect, TreatNullAs=NullString] attribute DOMString useMap;
+ [Reflect, URL, PerWorldBindings, ActivityLogging=SetterForIsolatedWorlds] attribute DOMString longDesc;
+ [Reflect, URL, PerWorldBindings, ActivityLogging=SetterForIsolatedWorlds] attribute DOMString lowsrc;
+ [Reflect] attribute DOMString name;
+ readonly attribute long naturalHeight;
+ readonly attribute long naturalWidth;
+ [Reflect, URL, PerWorldBindings, ActivityLogging=SetterForIsolatedWorlds] attribute DOMString src;
+ [Reflect, RuntimeEnabled=Srcset] attribute DOMString srcset;
+ [Reflect] attribute DOMString useMap;
[Reflect] attribute long vspace;
attribute long width;
// Extensions
- readonly attribute boolean complete;
- [Reflect, TreatNullAs=NullString, URL, PerWorldBindings, ActivityLogging=SetterForIsolatedWorlds] attribute DOMString lowsrc;
- readonly attribute long naturalHeight;
- readonly attribute long naturalWidth;
readonly attribute long x;
readonly attribute long y;
};
« no previous file with comments | « LayoutTests/fast/dom/element-attribute-js-null-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698