Closed Bug 1682092 Opened 4 years ago Closed 4 years ago

Cannot select text across shadow DOM boundary

Categories

(Core :: DOM: Selection, enhancement)

enhancement

Tracking

()

RESOLVED DUPLICATE of bug 1233594

People

(Reporter: xidorn, Unassigned)

Details

Attachments

(1 file)

Attached file testcase

Steps to reproduce:

  1. open the attached testcase
  2. try to select from somewhere in hello to somewhere in world, 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.

duplicate of bug 1455893 or bug 1233594 (they are probably duplicates of each other) and everything is related to bug 1590379

Thanks. I think I didn't see those bugs when I type the summary when creating this bug...

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: