Skip to content

Commit b549db8

Browse files
committed
Mentioned that {{StringContext}} may apply only to regular operation and regular argument types explicitly.
1 parent adfb1a3 commit b549db8

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
@@ -10513,10 +10513,11 @@ adhere to the context the string is used in.
1051310513
The [{{StringContext}}] extended attribute must [=takes an identifier|take an identifier=]. The [=identifier=]
1051410514
must be one of "<code>html</code>", "<code>script-url</code>" and "<code>script</code>".
1051510515

10516-
A type annotated with the [{{StringContext}}] extended attribute must not appear in a construct
10517-
that is not a [=regular attribute=] or a [=regular operation=]. A type annotated with the [{{StringContext}}]
10518-
extended attribute must not appear in a [=read only=] attribute. The construct that the type annotated with
10519-
the [{{StringContext}}] extended attribute appears in is its <dfn>related construct</dfn>.
10516+
[{{StringContext}}] extended attribute may only annotate a type of a [=regular attribute=] or
10517+
a [=regular operation=] argument. A type annotated with the [{{StringContext}}]
10518+
extended attribute must not appear in a [=read only=] attribute. The [=regular attribute=] or
10519+
a [=regular operation=] argument that the type annotated with the [{{StringContext}}] extended
10520+
attribute appears in is its <dfn>related construct</dfn>.
1052010521

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

0 commit comments

Comments
 (0)