mdn / data

This repository contains general data for Web technologies
https://developer.mozilla.org
Creative Commons Zero v1.0 Universal
724 stars 189 forks source link

`ray()` syntax is incorrect #722

Closed pyoor closed 3 months ago

pyoor commented 5 months ago

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.

wbamberg commented 5 months ago

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?