You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In #8997 we resolved to add a 'counter' shorthand to let you set the counter-* styles together, since the grammar of counter-* properties makes them impossible to extend.
The integers set the reset and the increment, in that order. If omitted they default to 0 and 1, same as the defaults in the longhands.
Questions:
do we want to bake counter-set into this at all? It, fundamentally, has nothing to do with creating a counter, it's only useful on a different element from what's creating the counter. I have a slightly different grammar proposal if we want to make that possible. I propose, tho, that we don't do so, and have this shorthand only reset -reset, -increment, and -style.
Explicitly pinging @nt1m since they pushed the resolution.
The text was updated successfully, but these errors were encountered:
In #8997 we resolved to add a 'counter' shorthand to let you set the counter-* styles together, since the grammar of counter-* properties makes them impossible to extend.
Here's my proposed syntax:
The integers set the reset and the increment, in that order. If omitted they default to 0 and 1, same as the defaults in the longhands.
Questions:
counter-set
into this at all? It, fundamentally, has nothing to do with creating a counter, it's only useful on a different element from what's creating the counter. I have a slightly different grammar proposal if we want to make that possible. I propose, tho, that we don't do so, and have this shorthand only reset -reset, -increment, and -style.Explicitly pinging @nt1m since they pushed the resolution.
The text was updated successfully, but these errors were encountered: