diff --git a/index.bs b/index.bs index ba512a05..7b9f25eb 100644 --- a/index.bs +++ b/index.bs @@ -10377,13 +10377,13 @@ for the specific requirements that the use of

[LegacyNullToEmptyString]

-If the [{{LegacyNullToEmptyString}}] [=extended attribute=] appears on the {{DOMString}} type, it creates a new -IDL type such that that when an ECMAScript null is converted to the IDL type, it -will be handled differently from its default handling. Instead of being stringified to +If the [{{LegacyNullToEmptyString}}] [=extended attribute=] appears on the {{DOMString}} or {{USVString}} type, +it creates a new IDL type such that that when an ECMAScript null is converted to the IDL type, +it will be handled differently from its default handling. Instead of being stringified to "null", which is the default, it will be converted to the empty string. The [{{LegacyNullToEmptyString}}] extended attribute must not be -[=extended attribute associated with|associated with=] a type that is not {{DOMString}}. +[=extended attribute associated with|associated with=] a type that is not {{DOMString}} or {{USVString}}. Note: This means that even DOMString? must not use [{{LegacyNullToEmptyString}}], since null is a valid value of that type.