[fxtf-drafts] [css-filters] Update grammars for CSS filter functions to include value ranges (#576)

weinig has just created a new issue for https://github.com/w3c/fxtf-drafts:

== [css-filters] Update grammars for CSS filter functions to include value ranges ==
The CSS filter functions currently specify their value ranges using prose and should be updated to use the [CSS bracketed range notation](https://drafts.csswg.org/css-values-4/#css-bracketed-range-notation).

For example, [`blur()`](https://drafts.fxtf.org/filter-effects/#funcdef-filter-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>`).

Please view or discuss this issue at https://github.com/w3c/fxtf-drafts/issues/576 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 13 November 2024 17:56:38 UTC