-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Incorrect auto-complete values for the font-variant CSS property #4580
Comments
Reviewed. Low priority starter bug. See src/extensions/default/CSSCodeHints/CSSProperties.json. |
Would it be this simple? (line 102) Before: "font-variant": {"values": ["normal", "none"]}, After: "font-variant": {"values": ["small-caps", "normal", "inherit"]}, |
@tshaddix |
@RaymondLim |
I noticed some properties have "structure" helpers for more complex values, such as e.g.
|
@tshaddix |
@RaymondLim |
Had a lot of work come up lately, another "starter" should grab this bug. Simply look at css property specs and make sure json lines up. |
I would like to fix this bug and also look at other CSS properties. I am planning to use data from https://developer.mozilla.org/en-US/docs/Web/CSS/Reference. Anyone has a better data source? |
So a little later I found out src/extensions/default/WebPlatformDocs/css.json which I think is the db right now. |
That file is currently manually updated. Submit a pull request for any changes.
That is the data for Navigate > Quick Docs. That was a recently added feature, so we have not yet made the generator public. |
@redmunds |
@skant Quick Docs (WebPlatformDocs/css.json) is parsed from http://docs.webplaform.org. It's a community wiki where anyone can contribute and edit the documentation. I'm not convinced it's structured enough to form the basis of code hinting. |
@adrocknaphobia In that case we need a better source to feed CSSProperties.json. Digging into source of Firebug, etc might help. Anyone knows a good source from the top of their head? |
I'd be interested to see where this goes. I think any of the browser dev tools are probably best to look at. I'll have a quick look around and see what I find. @jheytompkins |
Fixed #4580 - Incorrect auto-complete values for the font-variant CSS property
The auto-complete for the font-variant CSS property is incorrect. We offer "none" and "normal", while the valid values for this property are "small-caps", "normal" and "inherit".
The text was updated successfully, but these errors were encountered: