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-filters] Update grammars for CSS filter functions to include value ranges #576

Open
weinig opened this issue Nov 13, 2024 · 0 comments

Comments

@weinig
Copy link

weinig commented Nov 13, 2024

The CSS filter functions currently specify their value ranges using prose and should be updated to use the CSS bracketed range notation.

For example, blur(), has the grammar:

blur() = blur( <length>? )

with prose following it stating:

"Negative values are not allowed."

Instead, the prose can be removed, and the grammar updated to:

blur() = blur( <length [0,∞]>? )

(the sentence, "The parameter is specified a CSS length, but does not accept percentage values" can also be removed, as percentages are not valid for <length>).

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

No branches or pull requests

1 participant