The implementation of :has() does not support selector lists
维护者通常 1 天内回复
评估
调研方向
首先跟踪库对 :has() 的实现,并查找现有的选择器列表处理逻辑。添加对 :has(a, b) 等相对选择器列表的支持,然后使用项目现有的测试工作流验证两个选择器都能被接受并正确处理。
由索引模型根据 Issue 内容生成。
描述
In CSS, :has() supports a relative selector list. But the implementation in this library supports only a single relative selector, not a list, making :has(a, b) unsupported.
- 主要语言
- Python
- 星标
- 311
- 派生
- 73
- 平均合并
- 17 小时 34 分钟
- 30 天内合并 PR
- 18
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
scrapy/cssselect 的其他 Issue
-
Add comprehensive developer docs可能已有人在做 @AdrianAtZyte 于 70 天前认领。 未关闭documentation enhancement
难度 4/5 3-5 天 新手友好度 48/100
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 42/100
维护者通常 1 天内回复
-
The parsing of :where and :is is not spec compliant可能已有人在做 @AdrianAtZyte 于 84 天前认领。 未关闭CSS Selectors Level 4 enhancement
难度 4/5 3-5 天 新手友好度 35/100
scrapy/cssselect#135 · 1 个 reaction ·
维护者通常 1 天内回复
-
Support :nth-child(An+B of S)可能已有人在做 @annbgn 于 1935 天前认领。 未关闭CSS Selectors Level 4
难度 4/5 3-5 天 新手友好度 35/100
维护者通常 1 天内回复
-
[feature-request] `:not()` to support generic selectors (not only "simple" ones)可能已有人在做 @AdrianAtZyte 于 84 天前认领。 未关闭CSS Selectors Level 4
难度 4/5 3-5 天 新手友好度 25/100
scrapy/cssselect#51 · 3 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
相似的 Issue
-
getchaintips leaves out the active tip once a header is staged on it, where Core always lists it未关闭
难度 2/5 1-3 小时 新手友好度 88/100
btclib-org/btclib-node#2158 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 85/100
dbt-msft/dbt-sqlserver#897 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
Gathin23/cleanyourtv#2770 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
vllm-project/vllm#64845 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 84/100
dekobon/big-code-analysis#1729 ·
维护者通常 1 天内回复