Add API to make selection visible
还没有人认领这个 Issue。
评估
调研方向
Start by reviewing the Selection API specification and the linked editing issue comment for the proposed Selection#makeVisible() behavior. Determine how caret visibility should work inside overflow-scrolling elements and TEXTAREA controls, then document the API semantics and required interoperability criteria before implementation.
由索引模型根据 Issue 内容生成。
描述
Moving issue from editing issue tracker as this is selection related.
Originally, was opened by yosinch
I would like to propose new selection API, Selection#makeVisible() which makes caret(extentNode, extenOffset) visible in viewport.
Background:
It is hard to make caret visible, if it is in a element with "overflow: scroll" CSS property. Or, there is no way for TEXTAREA.
Inspired by http://crbug.com/612729
- 主要语言
- 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 ·
-
难度 5/5 一周以上 新手友好度 10/100
w3c/selection-api#362 ·
-
Agenda+
难度 3/5 1-2 天 新手友好度 48/100
w3c/selection-api#361 · 3 条评论 ·
-
Remove single range restriction for selection interface apis可能重新可做 @sambandaru 于 166 天前认领,目前没有进行中的 PR。 未关闭
w3c/selection-api#358 · 2 条评论 · 已指派 1 人 ·
-
难度 5/5 一周以上 新手友好度 25/100
w3c/selection-api#355 ·
查看 w3c/selection-api 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
Fei2411/DeepSeek-Bot#634 ·
-
:Search Relevance/Vectors >test-failure needs:risk Team:Search Relevance
难度 2/5 1-3 小时 新手友好度 61/100
elastic/elasticsearch#163668 · 3 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
Handler accepts zero/negative NNCP_MAX_RETRIES and NNCP backoff values, stalling policies or hot-looping可能已有人在做 @NopeCharon 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
nmstate/kubernetes-nmstate#1604 ·
-
bug
难度 2/5 1-3 小时 新手友好度 70/100
-
chore(worker): five module header comments describe the code from before later issues changed it未关闭area:dev U2-later
难度 2/5 1-3 小时 新手友好度 78/100
bentleypark/aiwatch#1824 ·
维护者通常 1 天内回复