Skip to content

[css-counter-styles-3] Invalid initial of negative, prefix, suffix #7417

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
cdoublev opened this issue Jun 27, 2022 · 1 comment
Closed

[css-counter-styles-3] Invalid initial of negative, prefix, suffix #7417

cdoublev opened this issue Jun 27, 2022 · 1 comment
Labels
Closed Accepted as Editorial Commenter Satisfied Commenter has indicated satisfaction with the resolution / edits. css-counter-styles-3 Current Work

Comments

@cdoublev
Copy link
Collaborator

cdoublev commented Jun 27, 2022

In the context of automatic parsing of a CSS value against a value definition, the initial field of the negative descriptor should be defined with a value that can be parsed against the value field. But the initial field is defined with "\2D" ("-" hyphen-minus).

I suggest using "\2D" or just "-" (I believe tokenization will replace \\2d by -) and to define in prose that it corresponds to ("-" hyphen-minus), or to use some kind of markup (containing ("-" hyphen-minus)) that provides additional details that w3c/reffy can read to separate it from the initial value.

FYI, @tidoust.

EDIT: the same issue applies to prefix, defined with "" (the empty string), and suffix, defined with "\2E\20" ("." full stop followed by a space).

@cdoublev cdoublev changed the title [css-counter-styles-3] Invalid initial of negative [css-counter-styles-3] Invalid initial of negative, prefix, suffix Jun 27, 2022
@hober hober added the css-counter-styles-3 Current Work label Aug 11, 2022
tabatkins added a commit that referenced this issue May 25, 2023
…itial lines in a few propdefs, so they're parseable like other blocks. #7417
@tabatkins
Copy link
Member

tabatkins commented May 25, 2023

Done. This is editorial so no WG confirmation needed. I also just switched to writing them with the actual characters rather than the escapes, they're all ASCII so I'm not sure why I was being weird about it.

Assuming commenter satisfied, since I did exactly what was asked. ^_^

@tabatkins tabatkins added Closed Accepted as Editorial Commenter Satisfied Commenter has indicated satisfaction with the resolution / edits. labels May 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Closed Accepted as Editorial Commenter Satisfied Commenter has indicated satisfaction with the resolution / edits. css-counter-styles-3 Current Work
Projects
None yet
Development

No branches or pull requests

3 participants