Skip to content

Commit eddcfb3

Browse files
authored
(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))]).
1 parent 33eb3d9 commit eddcfb3

File tree

2 files changed

+113
-16
lines changed

2 files changed

+113
-16
lines changed

CHANGES.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ CAVEATS / POTENTIALLY BREAKING CHANGES
88
Core Grammars:
99

1010
- fix(makefile) - allow strings inside `$()` expressions [aneesh98][]
11+
- enh(css) add all properties listed on MDN (96 additions including `anchor-name`, `aspect-ratio`, `backdrop-filter`, `container`, `margin-trim`, `place-content`, `scroll-timeline`, ...) [BaliBalo][]
1112

1213
New Grammars:
1314

@@ -25,6 +26,7 @@ CONTRIBUTORS
2526

2627
[Josh Goebel]: https://github.com/joshgoebel
2728
[aneesh98]: https://github.com/aneesh98
29+
[BaliBalo]: https://github.com/BaliBalo
2830

2931

3032
## Version 11.10.0

0 commit comments

Comments
 (0)