csstools / csstools/sanitize.css
The rule for nested lists is no longer necessary
- Dominant language
- CSS
- Stars
- 5.3k
- Forks
- 299
- PR merge metrics
- No merged PRs in 30d
Description
The rule "Remove the margin on nested lists in Chrome, Edge, and Safari" appears in sanitize.css:
https://github.com/csstools/sanitize.css/blob/09f98b4c1e4f008805fb5947ff9bd1a9d8ab46ad/sanitize.css#L73-L79
Since Chromium and WebKit already have that rule in their UA stylesheets, I think it can be removed.
- Chromium [fixed it 1 year ago](https://chromium-review.googlesource.com/c/chromium/src/+/6629436): https://github.com/chromium/chromium/blob/0fa7607bb96dc68c2d08d9920ce5da6bc4d3287a/third_party/blink/renderer/core/html/resources/html.css#L358-L365
- WebKit [fixed it 3 years ago](https://github.com/WebKit/WebKit/commit/5febb62e57ba1916cc54cc3cfafc7ac5aef9f003): https://github.com/WebKit/WebKit/blob/b524a4ebf3a70a7b6409c55db9eae74800721dc7/Source/WebCore/css/html.css#L308-L315
---
Also mentioned in https://github.com/csstools/normalize.css/issues/27.
Contributor guide
Assessment
This issue has not been assessed yet.