Define to remove selection range automatically if a selection range is modified into different selection root
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/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ệ
- html
- Lĩnh vực
- frontend
Hướng nghiên cứu
Start with the Selection API definition of Selection.addRange() and the referenced Web Platform Test, selection/move-selection-range-into-different-root.tentative.html. Compare the test behavior with the issue's proposed invariant for ranges moved to another root, and review the related DOM issue. Done when the specification defines the behavior and the relevant test reflects it.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Related to https://github.com/whatwg/dom/issues/772
Currently, Chrome and Firefox returns mutable reference of Range object from Selection.getRangeAt(). Then, the Range can be updated outside the DOM tree, e.g., into a different document, into a disconnected tree. I wrote a test, then, both Chrome and Firefox get same result.
I believe that Selection should not keep storing a range whose boundary points' root is not the document associated with the Selection because this kind of checks are done at Selection.addRange() at least.
Cc: @sefeng211, @smaug----, @zcorpan
- 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
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của w3c/selection-api
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
w3c/selection-api#354 ·
-
Agenda+
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
w3c/selection-api#361 · 3 bình luận ·
-
Remove single range restriction for selection interface apisCó thể làm lại được @sambandaru đã nhận 151 ngày trước và không có pull request nào đang mở. Đang mở
w3c/selection-api#358 · 2 bình luận · 1 người được giao ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
w3c/selection-api#355 ·
-
the steps of Selection.extend() does not check whether the given offset is valid in the containerĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 55/100
w3c/selection-api#353 · 1 bình luận ·
Tất cả issue của w3c/selection-api
Issue tương tự
-
The copyright still shows 2023Đang mởBug 🐛
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
canonical/design.ubuntu.com#352 ·
-
feature request good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
TabularisDB/tabularis#1044 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
time sensitive
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 76/100
matrix-org/matrix-conf-website#280 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
good first issue
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 88/100
anoopcodehack/DevBoard#616 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Light variant: color-mix() is missing a comma, so GTK 4 drops six border-color rulesCó thể đã có người làm @uofm-matt đã nhận hôm nay. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100