Open
Bug 1327019
Opened 7 years ago
Updated 3 years ago
window.getSelection().[...] reports wrong values when I select with mouse once
Categories
(Core :: DOM: Selection, defect, P5)
Core
DOM: Selection
Tracking
()
People
(Reporter: arni2033, Unassigned)
Details
>>> My Info: Win7_64, Nightly 49, 32bit, ID 20160526082509 STR_1: 1. Open https://developer.mozilla.org/en-US/docs/Web/API/Range/cloneContents 2. Move mouse between "Sta" and "tus" in word "Status", hold left mouse button, move mouse between "nece" and "ssary" in word "necessary", release left mouse button. 3. Open web console, execute "window.getSelection().anchorNode" w/o outer quotes AR: console reports element "code.language-js" ER: console should report text node "Status", because I started selection there Note: https://developer.mozilla.org/en-US/docs/Web/API/Selection "Selection.anchorNode - Returns the Node in which the selection begins"
Comment 1•7 years ago
|
||
User Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:53.0) Gecko/20100101 Firefox/53.0 Build ID 20170119030211 The issue is reproducible on the latest Firefox release (50.1.0) and on the latest Nightly (53.0a1).
status-firefox50:
--- → affected
status-firefox51:
--- → affected
status-firefox52:
--- → affected
status-firefox53:
--- → affected
Component: Untriaged → Selection
Comment 2•7 years ago
|
||
Too late for firefox 52, mass-wontfix.
Comment 3•3 years ago
|
||
Bulk-downgrade of unassigned, >=3 years untouched DOM/Storage bug's priority.
If you have reason to believe this is wrong, please write a comment and ni :jstutte.
Severity: normal → S4
Priority: -- → P5
You need to log in
before you can comment on or make changes to this bug.
Description
•