Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Add API to make selection visible

Đang mở
#73 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
css, html
Lĩnh vực
api, web-dev

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

NewAPI

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

Ngôn ngữ chính
HTML
Star
49
Fork
30
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của w3c/selection-api

Tất cả issue của w3c/selection-api

Issue tương tự

Thêm issue về Backend & API Design

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.