Closed
Bug 1563704
Opened 5 years ago
Closed 2 months ago
When selecting one range in light DOM and one range in Shadow DOM, only one of them is visually highlighted
Categories
(Core :: DOM: Selection, defect, P2)
Core
DOM: Selection
Tracking
()
RESOLVED
DUPLICATE
of bug 1455893
People
(Reporter: mbrodesser-Igalia, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
STR:
Open the attached example, which selects three ranges (two light DOM, one Shadow DOM) .
Expected:
all three ranges are visually highlighted.
Actual:
only the range added last to the selection is visually highlighted.
Changing the order of adding the ranges determines which one is highlighted after all have been added.
I'm aware that the Selection API per spec doesn't support selecting Shadow DOM nodes. However, fixing this issue should pave the way for supporting selection across Shadow DOM boundaries. Not necessarily via the Selection API, but for an end-user visually selecting text.
Reporter | ||
Updated•5 years ago
|
Assignee: nobody → mbrodesser
Updated•5 years ago
|
Priority: -- → P2
Reporter | ||
Comment 1•5 years ago
|
||
Reporter | ||
Comment 2•4 years ago
|
||
Won't have time to work on this soon.
Assignee: mbrodesser → nobody
Updated•2 years ago
|
Severity: normal → S3
Comment 3•2 months ago
|
||
This is now fixed in Nightly Firefox
You need to log in
before you can comment on or make changes to this bug.
Description
•