csstools / csstools/normalize.css

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

未关闭
#28 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
HTML
星标
656
派生
66
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

打开贡献指南

调研方向

首先阅读 normalize.css 中链接行附近的选择器,并将其行为与 issue 中单层嵌套的

示例进行比较。确定所报告的行为是有意为之,还是选择器缺陷;当规则的用途和预期行为明确,并且在需要时已更新样式表时,即视为完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
css
领域
frontend
Issue 类型
缺陷
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。