Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(css) add all properties listed on MDN (#4073)
* Add CSS properties Add all missing properties listed in the navigation sidebar of MDN at https://developer.mozilla.org/en-US/docs/Web/CSS/Reference * Sort CSS properties --- For future reference, an easy way to get the list directly from MDN is using the following snippet in devtools on any CSS page (e.g. the reference page): ``` $$('a', $x('//*[@id="sidebar-quicklinks"]//summary[text() = "Properties"]/..')[0]).map(link => link.textContent).filter(prop => !prop.startsWith('-')) ``` This extracts the links from the "Properties" section of the sidebar, while excluding the -moz- and -webkit- prefixed properties. These do not however list SVG presentation attributes, so it is important to not replace the existing list, but rather to get their union (for example with [...new Set(currentArray.concat(valuesFromMDN))]).
- Loading branch information