Skip to content

Commit d528c7c

Browse files
committed
[css-values-5] Change attr(foo string) to attr(foo raw-string). #11645
1 parent 7460e21 commit d528c7c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

css-values-5/Overview.bs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1566,7 +1566,7 @@ Ian's proposal:
15661566
attr() = attr( <<attr-name>> <<attr-type>>? , <<declaration-value>>?)
15671567
15681568
<dfn>&lt;attr-name></dfn> = [ <<ident-token>>? '|' ]? <<ident-token>>
1569-
<dfn>&lt;attr-type></dfn> = <dfn function lt="type()" for="attr()">type( <<syntax>> )</dfn> | string | <<attr-unit>>
1569+
<dfn>&lt;attr-type></dfn> = <dfn function lt="type()" for="attr()">type( <<syntax>> )</dfn> | raw-string | <<attr-unit>>
15701570
</pre>
15711571

15721572
The <dfn>&lt;attr-unit></dfn> production matches any [=identifier=]
@@ -1623,7 +1623,7 @@ Ian's proposal:
16231623
Values that fail to parse as a <css>&lt;number></css>
16241624
trigger fallback.
16251625

1626-
If given as the <css>string</css> keyword,
1626+
If given as the <css>raw-string</css> keyword,
16271627
or omitted entirely,
16281628
it causes the attribute's literal value
16291629
to be treated as the value of a CSS string,

0 commit comments

Comments
 (0)