Skip to content

Add CSS calc constants and operators support#56234

Open
paradowstack wants to merge 1 commit intofacebook:mainfrom
paradowstack:feat/calc-tokens
Open

Add CSS calc constants and operators support#56234
paradowstack wants to merge 1 commit intofacebook:mainfrom
paradowstack:feat/calc-tokens

Conversation

@paradowstack
Copy link
Copy Markdown
Contributor

Summary:

This PR brings in support for CSS calc/math operators and constants.

This was extracted from the larger calc() work in PR #56162.

Changelog:

[GENERAL] [ADDED] - Add CSS calc constants and operators support

Added CSSTokenizer awareness of calc tokens and operators.

Test Plan:

  • Unit tests provided

cc @NickGerleman

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Mar 26, 2026
@facebook-github-tools facebook-github-tools bot added the Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. label Mar 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Callstack Partner: Callstack Partner Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant