lang-css autocomplete is outdated #1696
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
We've noticed that the https://code.haverbeke.berlin/codemirror/lang-css/src/branch/main/src/complete.ts hard-coded list of autocomplete values for CSS is getting outdated. One example of this is
container-typewhich doesn't listinline-sizenorsize.We've had some ideas around how we could fix this downstream using data from webref here: https://github.com/mdn/fred/issues/1482
But could this be fixed upstream instead?
A possible complication is that I'm not interested in including stuff that's not widely implemented, and at this point the CSS spec feels like a spawling mess, part of which isn't, as far as I'm aware, likely to be implemented soon. I don't want to weigh down this file with every possible property found in some draft. So I've been resisting just throwing all of webref in there.
Ideally we'd have some metrics about actual use. I guess caniuse.com might provide browser support information, at least. If you find some way to filter the properties (and value names, etc) down to something that provides practical modern completion without adding too much noise or making this file gigantic, I'd be interested in a PR.