Skip to content

Commit

Permalink
[css-values-5] Allow explicit null-namespace in attr-name (#11359)
Browse files Browse the repository at this point in the history
Otherwise we're making a non-backwards-compatible change against
content:attr() from css-content [1].

[1] https://drafts.csswg.org/css-content/#strings
  • Loading branch information
andruud authored Dec 12, 2024
1 parent 1a57b83 commit 8c18591
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion css-values-5/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1556,7 +1556,7 @@ Ian's proposal:
<pre class=prod>
attr() = attr( <<attr-name>> <<attr-type>>? , <<declaration-value>>?)
<dfn>&lt;attr-name></dfn> = [ <<ident-token>> '|' ]? <<ident-token>>
<dfn>&lt;attr-name></dfn> = [ <<ident-token>>? '|' ]? <<ident-token>>
<dfn>&lt;attr-type></dfn> = type( <<syntax>> ) | string | <<attr-unit>>
</pre>

Expand Down

0 comments on commit 8c18591

Please sign in to comment.