setBaseAndExtent should clear selection when baseNode or extentNode is null
还没有人认领这个 Issue。
评估
调研方向
Start by reading the Selection API definition and the setBaseAndExtent behavior described in this issue. Compare how WebKit and Blink handle null baseNode or extentNode. Done means null input clears the selection instead of throwing, while existing behavior remains unchanged for non-null nodes.
由索引模型根据 Issue 内容生成。
描述
When setBaseAndExtent is called with baseNode or extentNode set to null, we should clear selection instead of throwing. This behavior matches that of WebKit and Blink.
- 主要语言
- HTML
- 星标
- 49
- 派生
- 30
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
w3c/selection-api 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 62/100
w3c/selection-api#354 ·
-
Agenda+
难度 3/5 1-2 天 新手友好度 48/100
w3c/selection-api#361 · 2 条评论 ·
-
Remove single range restriction for selection interface apis可能重新可做 @sambandaru 于 138 天前认领,目前没有进行中的 PR。 未关闭
w3c/selection-api#358 · 2 条评论 · 已指派 1 人 ·
-
难度 5/5 一周以上 新手友好度 25/100
w3c/selection-api#355 ·
-
the steps of Selection.extend() does not check whether the given offset is valid in the container未关闭
难度 1/5 1 小时以内 新手友好度 55/100
w3c/selection-api#353 · 1 条评论 ·
查看 w3c/selection-api 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 84/100
PedestrianDynamics/pyFDS-Evac#343 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
-
难度 2/5 1-3 小时 新手友好度 82/100
containers/podman-py#662 ·
-
难度 1/5 1-3 小时 新手友好度 88/100
supabase/agent-skills#613 ·