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

Unified Diff: Source/core/html/HTMLHRElement.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/HTMLHRElement.idl
diff --git a/Source/core/html/HTMLHRElement.idl b/Source/core/html/HTMLHRElement.idl
index babe467cd04c069184e65815d1dd26eca4d9896c..302f7e9bb5ba6472f1bacb8807bb1670290deb6c 100644
--- a/Source/core/html/HTMLHRElement.idl
+++ b/Source/core/html/HTMLHRElement.idl
@@ -18,9 +18,9 @@
*/
interface HTMLHRElement : HTMLElement {
- [Reflect] attribute DOMString align;
+ [Reflect, TreatNullAs=NullString] attribute DOMString align;
[Reflect] attribute boolean noShade;
- [Reflect] attribute DOMString size;
- [Reflect] attribute DOMString width;
+ [Reflect, TreatNullAs=NullString] attribute DOMString size;
+ [Reflect, TreatNullAs=NullString] attribute DOMString width;
};

Powered by Google App Engine
This is Rietveld 408576698