HTML :enable and :disabled are not quite conformant
维护者通常 1 天内回复
评估
调研方向
首先定位 :enabled 和 :disabled 选择器的实现和测试;该 issue 提供了相关的 HTML 规范作为预期行为。验证菜单子命令以及涉及第一个 legend 的 fieldset 禁用规则,并在两个选择器都符合这些情况时视为工作完成。
由索引模型根据 Issue 内容生成。
描述
These should match :enabled, but currently do not:
li elements that are children of menu elements, and that have a child element that defines a command, if the first such element's Disabled State facet is false (not disabled)
(Similarly for :disabled with Disabled State facet is true (disabled))
Form elements should be considered disabled
... if its disabled attribute is set, or if it is a descendant of a fieldset element whose disabled attribute is set and is not a descendant of that fieldset element's first legend element child, if any.
The last part was skipped, so the current implementation is:
... if its disabled attribute is set, or if it is a descendant of a fieldset element whose disabled attribute is set
- 主要语言
- Python
- 星标
- 311
- 派生
- 73
- 平均合并
- 2 天 24 分钟
- 30 天内合并 PR
- 11
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
scrapy/cssselect 的其他 Issue
-
Add comprehensive developer docs可能已有人在做 @AdrianAtZyte 于 63 天前认领。 未关闭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 于 76 天前认领。 未关闭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 于 1927 天前认领。 未关闭CSS Selectors Level 4
难度 4/5 3-5 天 新手友好度 35/100
维护者通常 1 天内回复
-
[feature-request] `:not()` to support generic selectors (not only "simple" ones)可能已有人在做 @AdrianAtZyte 于 76 天前认领。 未关闭CSS Selectors Level 4
难度 4/5 3-5 天 新手友好度 25/100
scrapy/cssselect#51 · 3 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 67/100
MISP/misp-workbench#496 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 66/100
维护者通常 1 天内回复
-
难度 1/5 1-3 小时 新手友好度 88/100
fossasia/visdom-dev#69 ·
维护者通常 3 天内回复
-
[Bug] Parameters named like a property break to_xcal()可能已有人在做 @atharvasalunke1267 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 65/100
collective/icalendar#2018 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 1 天内回复