Open Bug 1679643 Opened 4 years ago Updated 8 months ago

Triple click to highlight paragraph sometimes doesn't de-highlight previous paragraph

Categories

(Core :: DOM: Selection, defect)

63 Branch
defect

Tracking

()

Tracking Status
firefox-esr78 --- wontfix
firefox83 --- wontfix
firefox84 --- wontfix
firefox85 --- wontfix
firefox86 --- fix-optional

People

(Reporter: jackrpearson, Unassigned)

References

(Depends on 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Steps to reproduce

Actual Behavior

  • Previous header remains highlighted

Expected Behavior

  • Previous header is un-highlighted

Extra info

Firefox version is 84.0b5 (64-bit)
This seems to happen only when the previous element is an <h> tag and its first child is an <svg> tag.

Status: UNCONFIRMED → NEW
Has STR: --- → yes
Component: General → DOM: Selection
Ever confirmed: true
Keywords: regression
Product: Firefox → Core
Regressed by: 1286882
Version: Firefox 84 → 63 Branch
Has Regression Range: --- → yes

I cannot reproduce this on the latest Nightly though...

TYLin: Could you take a look?

Flags: needinfo?(aethanyc)

I can still reproduce this on Nightly85.0a1 20201129212213.
Screen capture: https://youtu.be/uGqAg5Ozr90

STR:
mousedown on <p>tag->mouseup->mousedown->mouseup->mousedown->mouseover to <h1>tag -> mouseover to <p>tag ->mouseup

Thanks Alice0775. The key to reproduce this bug is: don't lift the finger on the third click, and move the mouse immediately up to <h1> and then down to <p>.

There is an investigation in bug 1674763 to remove the code I added in bug 1286882. Remove these lines making svg unselectable can fix this bug, so any proposed solution there may help to solve this bug, too.

See Also: → 1674763
Severity: -- → S3

I can still reproduce this bug using the reduced testcase and the STR in comment 4.

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

Attachment

General

Created:
Updated:
Size: