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

Unified Diff: Source/core/html/HTMLMarqueeElement.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/HTMLMarqueeElement.idl
diff --git a/Source/core/html/HTMLMarqueeElement.idl b/Source/core/html/HTMLMarqueeElement.idl
index b5bda0cd84722505444c5ef4109483c787845b2e..827da3e9179c88144730d00c12534ae358eaf0b0 100644
--- a/Source/core/html/HTMLMarqueeElement.idl
+++ b/Source/core/html/HTMLMarqueeElement.idl
@@ -21,17 +21,17 @@ interface HTMLMarqueeElement : HTMLElement {
void start();
void stop();
- [Reflect] attribute DOMString behavior;
- [Reflect] attribute DOMString bgColor;
- [Reflect] attribute DOMString direction;
- [Reflect] attribute DOMString height;
+ [Reflect, TreatNullAs=NullString] attribute DOMString behavior;
+ [Reflect, TreatNullAs=NullString] attribute DOMString bgColor;
+ [Reflect, TreatNullAs=NullString] attribute DOMString direction;
+ [Reflect, TreatNullAs=NullString] attribute DOMString height;
[Reflect] attribute unsigned long hspace;
[SetterRaisesException] attribute long loop;
[SetterRaisesException] attribute long scrollAmount;
[SetterRaisesException] attribute long scrollDelay;
[Reflect] attribute boolean trueSpeed;
[Reflect] attribute unsigned long vspace;
- [Reflect] attribute DOMString width;
+ [Reflect, TreatNullAs=NullString] attribute DOMString width;
// FIXME: Implement the following event handler attributes
// https://bugs.webkit.org/show_bug.cgi?id=49788

Powered by Google App Engine
This is Rietveld 408576698