Skip to content

Conversation

@puckowski
Copy link
Contributor

What:

Fix issue #4354 unknown at-rule expressions should not have commas in keyword list.

This is a fresh PR after the mega test refactor (#4378) and closes #4387

Why:

Current behavior (4.4.0+):

.box {
  @apply h-64, w-64;
}

Expected behavior:

.box {
  @apply h-64 w-64;
}

There have been downstream issues, see: web-infra-dev/rsbuild#5688

Checklist:

  • Documentation
  • Added/updated unit tests
  • Code complete

Should be a less hacky solution than #4366
Seems some logic was not needed as tests passed without some problematic code.
I added some additional layer at-rule tests since the regression was caused by code introduced to support layer at-rules.

@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Dec 13, 2025
@puckowski
Copy link
Contributor Author

@matthew-dean @iChenLei Would either of you be able to peer review this PR?

* Fix issue less#4354 unknown at-rule expressions should not have commas in
  a keyword list.
* Add some additional layer at-rule tests.
@puckowski puckowski force-pushed the master_refix_issue4354 branch from 3b8a819 to 2375ef5 Compare December 15, 2025 21:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant