[csswg-drafts] `scroll()` grammar isn't written right to allow optionality (#4349)

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

== `scroll()` grammar isn't written right to allow optionality ==
Currently, the grammar for `scroll()` is:

```
scroll([element(<id-selector>)[, <scroll-direction>[, <scroll-offset>[, <scroll-offset>[, <time>[, <single-animation-fill-mode>]]]]]])
```

I presume this *wants* to make any amount of suffix optional. To achieve that, it needs a bunch of `?`s after each of the `]` at the end.

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

Received on Thursday, 19 September 2019 05:42:34 UTC