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

Unified Diff: Source/core/html/HTMLModElement.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/HTMLModElement.idl
diff --git a/Source/core/html/HTMLModElement.idl b/Source/core/html/HTMLModElement.idl
index ccb8da4664703359ef3d4bc207f265ff9efc3491..df151a0c295df8ba51ace9e167a14ac93aef06f6 100644
--- a/Source/core/html/HTMLModElement.idl
+++ b/Source/core/html/HTMLModElement.idl
@@ -18,7 +18,7 @@
*/
interface HTMLModElement : HTMLElement {
- [Reflect, URL] attribute DOMString cite;
- [Reflect] attribute DOMString dateTime;
+ [Reflect, TreatNullAs=NullString, URL] attribute DOMString cite;
+ [Reflect, TreatNullAs=NullString] attribute DOMString dateTime;
};

Powered by Google App Engine
This is Rietveld 408576698