csstools / csstools/normalize.css

Why we have nesting of where in dl ol ul ? ( :where(dl, ol, ul))

Open
#28 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
656
Forks
66
PR merge metrics
No merged PRs in 30d

Description

Why do we have a double nesting of where for dl,ol,ul ?

:where(dl, ol, ul) :where(dl, ol, ul) {
margin-block-end: 0;
margin-block-start: 0;
}

Actualy that's not working for only 1 nesting like :


Coffee

Black hot drink

https://github.com/csstools/normalize.css/blame/a4a0c202e8b34426e0cd8e0411005906cd94e407/normalize.css#L36

Contributor guide

Open the contributing guide

Research direction

Start by reading the selector in normalize.css around the linked line and compare its behavior with the single-nesting

example in the issue. Determine whether the reported behavior is intentional or a selector defect; done means the rule's purpose and the expected behavior are clear, with the stylesheet updated if needed.

Written by the indexing model from the issue text.

Assessment

Tech stack
css
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.