Skip to content

Commit 885ae1e

Browse files
committed
Mentioned that {{StringContext}} may apply only to regular operation and regular argument types explicitly.
1 parent 238a0ad commit 885ae1e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

index.bs

+5-4
Original file line numberDiff line numberDiff line change
@@ -10277,10 +10277,11 @@ adhere to the context the string is used in.
1027710277
The [{{StringContext}}] extended attribute must [=takes an identifier|take an identifier=]. The [=identifier=]
1027810278
must be one of "<code>html</code>", "<code>script-url</code>" and "<code>script</code>".
1027910279

10280-
A type annotated with the [{{StringContext}}] extended attribute must not appear in a construct
10281-
that is not a [=regular attribute=] or a [=regular operation=]. A type annotated with the [{{StringContext}}]
10282-
extended attribute must not appear in a [=read only=] attribute. The construct that the type annotated with
10283-
the [{{StringContext}}] extended attribute appears in is its <dfn>related construct</dfn>.
10280+
[{{StringContext}}] extended attribute may only annotate a type of a [=regular attribute=] or
10281+
a [=regular operation=] argument. A type annotated with the [{{StringContext}}]
10282+
extended attribute must not appear in a [=read only=] attribute. The [=regular attribute=] or
10283+
a [=regular operation=] argument that the type annotated with the [{{StringContext}}] extended
10284+
attribute appears in is its <dfn>related construct</dfn>.
1028410285

1028510286
A type that is not {{DOMString}} or {{USVString}} must not be [=extended attributes associated with|associated with=]
1028610287
the [{{StringContext}}] extended attribute.

0 commit comments

Comments
 (0)