Skip to content

[css-regions-1] Tidy up values & fix build errors. #12445

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

Merged
merged 4 commits into from
Jul 3, 2025

Conversation

keithamus
Copy link
Member

I noticed this is one of the only grammars using <ident>, and when I looked up <ident> it said:

Note: The <ident> production is not meant for property value definitions—​<custom-ident> should be used instead. It is provided as a convenience for defining other syntactic constructs.

So I went to try and change them to <custom-ident> but unfortunately trying to run bikeshed, I was confronted with some minor build errors - so I've tidied those up too.

While I was at it, I figured I'd also add some definition data for the keywords of the style values, which makes it a little more convenient to link to.

@keithamus keithamus requested review from astearns and atanassov July 3, 2025 20:44
@keithamus keithamus merged commit fc557ad into w3c:main Jul 3, 2025
1 check passed
@keithamus keithamus deleted the clean-up-regions-1 branch July 3, 2025 20:58
keithamus added a commit to csskit/csskit that referenced this pull request Jul 3, 2025
I noticed that `flow-from` and `flow-into` were using `<ident>` which is
wrong, so I fixed upstream in
w3c/csswg-drafts#12445.

That merged, so running `mise run generate-values regions` updated the
`mod.rs` to this, which means we can uncomment `flow-from` at least!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants