@@ -2274,7 +2274,8 @@ it is interpreted in the same way as for a [=constant=].
2274
2274
<div id="string-literal" algorithm="value of string literal tokens">
2275
2275
Optional argument default values can also be specified using a
2276
2276
<emu-t class="regex"><a href="#prod-string">string</a></emu-t>
2277
- token, whose value is a [=string type=] determined as follows:
2277
+ token, whose <dfn lt="value of string literal tokens">value</dfn> is a
2278
+ [=string type=] determined as follows:
2278
2279
2279
2280
1. Let |S| be the sequence of [=Unicode scalar values=] matched by
2280
2281
the <emu-t class="regex"><a href="#prod-string">string</a></emu-t> token
@@ -5786,9 +5787,10 @@ of specifications using Web IDL might want to obtain a sequence of
5786
5787
</div>
5787
5788
5788
5789
There is no way to represent a constant {{DOMString}}
5789
- value in IDL, although {{DOMString}} [=dictionary member=]
5790
- and [=optional argument|operation optional argument=] default values
5791
- can be specified using a <emu-t class="regex"><a href="#prod-string">string</a></emu-t> literal.
5790
+ value in IDL, although {{DOMString}} [=dictionary member=] [=dictionary member/default values=]
5791
+ and [=optional argument|operation optional argument=] [=optional argument/default values=]
5792
+ can be set to [=value of string literal tokens|the value=] of a
5793
+ <emu-t class="regex"><a href="#prod-string">string</a></emu-t> literal.
5792
5794
5793
5795
The [=type name=] of the
5794
5796
{{DOMString}} type is "<code>String</code>".
@@ -5802,9 +5804,10 @@ Such sequences might be interpreted as UTF-8 encoded strings [[!RFC3629]]
5802
5804
or strings in some other 8-bit-per-code-unit encoding, although this is not required.
5803
5805
5804
5806
There is no way to represent a constant {{ByteString}}
5805
- value in IDL, although {{ByteString}} [=dictionary member=]
5806
- and [=optional argument|operation optional argument=] default values
5807
- can be specified using a <emu-t class="regex"><a href="#prod-string">string</a></emu-t> literal.
5807
+ value in IDL, although {{ByteString}} [=dictionary member=] [=dictionary member/default values=]
5808
+ and [=optional argument|operation optional argument=] [=optional argument/default values=]
5809
+ can be set to [=value of string literal tokens|the value=] of a
5810
+ <emu-t class="regex"><a href="#prod-string">string</a></emu-t> literal.
5808
5811
5809
5812
The [=type name=] of the
5810
5813
{{ByteString}} type is "<code>ByteString</code>".
@@ -5832,9 +5835,10 @@ which are all of the Unicode code points apart from the
5832
5835
surrogate code points.
5833
5836
5834
5837
There is no way to represent a constant {{USVString}}
5835
- value in IDL, although {{USVString}} [=dictionary member=]
5836
- and [=optional argument|operation optional argument=] default values
5837
- can be specified using a <emu-t class="regex"><a href="#prod-string">string</a></emu-t> literal.
5838
+ value in IDL, although {{USVString}} [=dictionary member=] [=dictionary member/default values=]
5839
+ and [=optional argument|operation optional argument=] [=optional argument/default values=]
5840
+ can be set to [=value of string literal tokens|the value=] of a
5841
+ <emu-t class="regex"><a href="#prod-string">string</a></emu-t> literal.
5838
5842
5839
5843
The [=type name=] of the
5840
5844
{{USVString}} type is "<code>USVString</code>".
@@ -5929,8 +5933,9 @@ refer to a type whose values are the set of strings (sequences of
5929
5933
[=enumeration values|enumeration’s values=].
5930
5934
5931
5935
Like {{DOMString}}, there is no way to represent a constant [=enumeration=]
5932
- value in IDL, although enumeration-typed [=dictionary member=]
5933
- [=dictionary member/default values=] can be specified using a
5936
+ value in IDL, although enumeration-typed [=dictionary member=] [=dictionary member/default values=]
5937
+ and [=optional argument|operation optional argument=] [=optional argument/default values=]
5938
+ can be set to [=value of string literal tokens|the value=] of a
5934
5939
<emu-t class="regex"><a href="#prod-string">string</a></emu-t> literal.
5935
5940
5936
5941
The [=type name=] of an enumeration type
0 commit comments