-
Notifications
You must be signed in to change notification settings - Fork 66
Open
Description
The rule "Remove the margin on nested lists in Chrome, Edge, and Safari" appears in both normalize.css and opinionated.css:
Lines 32 to 39 in 0774d10
| /** | |
| * Remove the margin on nested lists in Chrome, Edge, and Safari. | |
| */ | |
| :where(dl, ol, ul) :where(dl, ol, ul) { | |
| margin-block-end: 0; | |
| margin-block-start: 0; | |
| } |
Lines 40 to 47 in 0774d10
| /** | |
| * Remove the margin on nested lists in Chrome, Edge, and Safari. | |
| */ | |
| :where(dl, ol, ul) :where(dl, ol, ul) { | |
| margin-block-end: 0; | |
| margin-block-start: 0; | |
| } |
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://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/blob/b524a4ebf3a70a7b6409c55db9eae74800721dc7/Source/WebCore/css/html.css#L308-L315
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels