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

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

Issue 371833004: Use [TreatNullAs=EmptyString] for DOMString attributes with [Reflect] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: the fix Created 6 years, 5 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/HTMLBodyElement.idl
diff --git a/Source/core/html/HTMLBodyElement.idl b/Source/core/html/HTMLBodyElement.idl
index 6f454c6aeefe38634227b9b80f2686ec92c5930f..9a06a3c55d9078a0d4da00302ce17922385ce5b4 100644
--- a/Source/core/html/HTMLBodyElement.idl
+++ b/Source/core/html/HTMLBodyElement.idl
@@ -19,12 +19,12 @@
*/
interface HTMLBodyElement : HTMLElement {
- [Reflect, TreatNullAs=NullString] attribute DOMString aLink;
+ [Reflect, TreatNullAs=EmptyString] attribute DOMString aLink;
[Reflect] attribute DOMString background;
- [Reflect, TreatNullAs=NullString] attribute DOMString bgColor;
- [Reflect, TreatNullAs=NullString] attribute DOMString link;
- [Reflect, TreatNullAs=NullString] attribute DOMString text;
- [Reflect, TreatNullAs=NullString] attribute DOMString vLink;
+ [Reflect, TreatNullAs=EmptyString] attribute DOMString bgColor;
+ [Reflect, TreatNullAs=EmptyString] attribute DOMString link;
+ [Reflect, TreatNullAs=EmptyString] attribute DOMString text;
+ [Reflect, TreatNullAs=EmptyString] attribute DOMString vLink;
[RuntimeEnabled=OrientationEvent] attribute EventHandler onorientationchange;
« no previous file with comments | « LayoutTests/fast/dom/domstring-attribute-reflection-expected.txt ('k') | Source/core/html/HTMLFontElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698