-
-
Notifications
You must be signed in to change notification settings - Fork 80
Description
As a follow-up to #278. #210 is probably related?
lib/generated/allProperties.js currently contains all properties in CSS specs according to the W3C JSON file.
lib/utils/allExtraProperties.js claims to contain other properties which are not in CSS specs but are implemented in browsers. I am unsure this claim is true. Also, many of the properties listed here also exist in allProperties.js, so they are redundant.
Both of the above files are only useful as input to scripts/generatePropertyDefinitions.mjs, which uses @webref/css. The end result is: @webref/css ∩ (allProperties.js ∪ allExtraProperties.js).
So basically, we are generating fewer properties than are available in @webref/css, using a pretty complicated system.
I think it's best to delete lib/generated/allProperties.js and lib/utils/allExtraProperties.js and just use @webref/css. Is there any downside to this?