Open Bug 1296261 Opened 4 years ago Updated 4 years ago
Clicking on the content of :before style does not clear selected text content
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.
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.