Clicking on the content of :before style does not clear selected text content

NEW
Unassigned

Status

()

Core
Selection
a year ago
a year ago

People

(Reporter: joachim.seminck, Unassigned)

Tracking

48 Branch
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

900.05 KB, video/quicktime
Details
(Reporter)

Description

a year ago
Created attachment 8782411 [details]
FF_Issue.mov

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36

Steps to reproduce:

https://jsfiddle.net/6grvh2xh/

1/ First select the text "Select me first" by dragging the cursor. 
2/ Click on the "Click me, text stays selected" 
3/ Click on the "Click me, text is cleared"



Actual results:

In step 2, clicking on the "Click me, text stays selected" does not clear the selected text.


Expected results:

In step 2, clicking on the "Click me, text stays selected" I would expect the selected text to be cleared. So that the behaviour is the same as with other browsers.

See also attached video.
likely a part of bug 12460.
See Also: → bug 12460
Status: UNCONFIRMED → NEW
Component: Untriaged → Selection
Ever confirmed: true
Product: Firefox → Core
Not really part of bug 12460. On Blink, you cannot select text on generated content either, but clicking them could still clear the existing selection.
You need to log in before you can comment on or make changes to this bug.