Open Bug 1860292 Opened 1 year ago Updated 1 year ago

selected text does not unselect

Categories

(Core :: DOM: Selection, defect)

Firefox 118
defect

Tracking

()

UNCONFIRMED

People

(Reporter: u736856, Unassigned)

References

Details

Attachments

(2 files)

Attached file test.html

Steps to reproduce:

  1. open the bellow html file.
  2. select text from one of the comment boxes while dragging the mouse to the next box
  3. Let go of the mouse and select text from one of the other boxes
  4. observe the previous text selection is still there

Actual results:

the previous text selection is still there

Expected results:

the previous text selection is gone. I've seen this often recently but usually I can't reproduce it. This time I noticed it on github and could reproduce it well.

Attached video selection bug.mp4

video of the bug

Component: Untriaged → DOM: Selection
Product: Firefox → Core

Looks some text frames are not being invalidated. I can take a look.

Severity: -- → S3
Flags: needinfo?(sefeng)

I forgot details element use shadow dom for its content. Okay, so this is related to shadow dom selection.

Depends on: 1455893
Flags: needinfo?(sefeng)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: