StaticRange.getBoundingClientRect()
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
Hướng nghiên cứu
Start with the linked getComposedRange project and compare its interface with Range, focusing on the missing getBoundingClientRect behavior. Determine whether a selection inside a shadow root needs a defined rectangle API and what observable result would count as complete; the issue names no repository files or tests.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
I just found out about getComposedRange and how it solves an issue around retrieving text selected across shadow DOM elements.
However it seems that getBoundingClientRect is not present on this new class, while it existed on Range
Is there any way to get the rect of a selection inside a shadow root?
- 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 · 2 bình luận ·
-
Remove single range restriction for selection interface apisCó thể làm lại được @sambandaru đã nhận 139 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ự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
web-infra-dev/rsbuild#8608 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
google_chat: format_message leaks GCn placeholders when inline code is inside bold/header/link textĐang mởcomp/plugins P3 sweeper:risk-message-delivery type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
NousResearch/hermes-agent#128985 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
SlackAdapter and TelegramAdapter are not assignable to Adapter under exactOptionalPropertyTypesĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
vector-store
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
mem0ai/mem0#7503 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày