Skip to content
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

[CSS] Add rounding strategy keywords #4049

Merged
merged 1 commit into from
Sep 29, 2024

Conversation

deathaxe
Copy link
Collaborator

This commit adds scopes to highlight round() strategies.

Note:

round() uses common calc-function-arguments-content context, so these keywords are also highlighted in other functions, they don't have special meaning in.

IMHO, chances to run into conflicts are however too low to justify a new dedicated context for round() arguments.

see: https://developer.mozilla.org/en-US/docs/Web/CSS/round#rounding-strategy

This commit adds scopes to highlight round() strategies.

Note:

round() uses common `calc-function-arguments-content` context, so these keywords
are also highlighted in other functions, they don't have special meaning in.

Chances to run into conflicts are however too low to justify a new dedicated
context for round() arguments.

see: https://developer.mozilla.org/en-US/docs/Web/CSS/round#rounding-strategy
@deathaxe deathaxe merged commit 7538d08 into sublimehq:master Sep 29, 2024
1 check passed
@deathaxe deathaxe deleted the pr/css/round-strategy-keywords branch September 29, 2024 17:59
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.

3 participants