Cannot select text across shadow DOM boundary
Categories
(Core :: DOM: Selection, enhancement)
Tracking
()
People
(Reporter: xidorn, Unassigned)
Details
Attachments
(1 file)
157 bytes,
text/html
|
Details |
Steps to reproduce:
- open the attached testcase
- try to select from somewhere in
hello
to somewhere inworld
, or just try to select all
Expected result:
It should behave as if it's a normal text, i.e. you can select arbitrary slice in the whole piece of text.
Actual result:
You can only select either some slice in hello
, or in world
, but not across the word boundary. Also if you try to select all, you always select hello
.
Chromium seems to work as expected.
I can see that this has some implication on what selection API returns, and Chromium doesn't handle this in API perfectly, but at least it allows user to select across the boundary and copy the content.
Comment 1•4 years ago
|
||
duplicate of bug 1455893 or bug 1233594 (they are probably duplicates of each other) and everything is related to bug 1590379
Reporter | ||
Comment 2•4 years ago
|
||
Thanks. I think I didn't see those bugs when I type the summary when creating this bug...
Description
•