Re: [csswg-drafts] [css-counter-styles-3] Setting `CSSCounterStyleRule.name` should exclude invalid `<custom-ident>` (#9363)

Ok, I understand, thank you. `CSSCounterStyleRule.name` should accept an identifier starting with a number. It should not accept CSS wide keywords and `default`. And (guessing from the current output in Chrome and FF) it should serialize as is instead of escaping the number.

Note that `CSSCounterStyleRule.name = '1st'` currently does not work in Chrome and FF (and `CSSFontFeatureValues.fontFamily = '1st'` but it does not seem to be supported in FF). `CSSKeyframesRule.name = '1st'` also works (cf. #9364).

-- 
GitHub Notification of comment by cdoublev
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9363#issuecomment-1722185542 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Saturday, 16 September 2023 09:16:04 UTC