data icon indicating copy to clipboard operation
data copied to clipboard

`ray()` syntax is incorrect

Open pyoor opened this issue 2 years ago • 1 comments

The following was added in https://github.com/mdn/data/pull/700. https://github.com/mdn/data/blob/2e681ff548d9bbd5a5ba24e128a25d957fdb1eca/css/syntaxes.json#L624

This syntax is incorrect and also incorrectly nests the ray-size values as opposed to adding a separate type entry for it.

pyoor avatar Mar 29 '24 14:03 pyoor

Thanks for filing the issue and a PR to fix it!

I'm interested in knowing how you found this issue. MDN pages don't use the syntax from mdn/data any more, and you can see that the syntax for ray() is correct on MDN: https://developer.mozilla.org/en-US/docs/Web/CSS/ray#formal_syntax.

Is there another place that's exposing the version that's in mdn/data?

wbamberg avatar Apr 09 '24 20:04 wbamberg