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

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

Issue 26694003: Add support for [TreatNullAs] extended attribute for reflected attributes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Move code to a subroutine 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
« no previous file with comments | « Source/core/html/HTMLLegendElement.idl ('k') | Source/core/html/HTMLMapElement.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLLinkElement.idl
diff --git a/Source/core/html/HTMLLinkElement.idl b/Source/core/html/HTMLLinkElement.idl
index 25e900a7d231f26720d255fdcbc6835053234f91..c520c0bc59a5bbd8616bd4634a1bb7910ed41557 100644
--- a/Source/core/html/HTMLLinkElement.idl
+++ b/Source/core/html/HTMLLinkElement.idl
@@ -21,15 +21,15 @@
interface HTMLLinkElement : HTMLElement {
[Reflect] attribute boolean disabled;
- [Reflect] attribute DOMString charset;
- [Reflect, URL] attribute DOMString href;
- [Reflect] attribute DOMString hreflang;
- [Reflect] attribute DOMString media;
- [Reflect] attribute DOMString rel;
- [Reflect] attribute DOMString rev;
+ [Reflect, TreatNullAs=NullString] attribute DOMString charset;
+ [Reflect, TreatNullAs=NullString, URL] attribute DOMString href;
+ [Reflect, TreatNullAs=NullString] attribute DOMString hreflang;
+ [Reflect, TreatNullAs=NullString] attribute DOMString media;
+ [Reflect, TreatNullAs=NullString] attribute DOMString rel;
+ [Reflect, TreatNullAs=NullString] attribute DOMString rev;
[CustomSetter] attribute DOMSettableTokenList sizes;
- [Reflect] attribute DOMString target;
- [Reflect] attribute DOMString type;
+ [Reflect, TreatNullAs=NullString] attribute DOMString target;
+ [Reflect, TreatNullAs=NullString] attribute DOMString type;
// DOM Level 2 Style
readonly attribute StyleSheet sheet;
« no previous file with comments | « Source/core/html/HTMLLegendElement.idl ('k') | Source/core/html/HTMLMapElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698