Open Bug 1259891 Opened 8 years ago Updated 3 years ago

Text selection is canceled when I try to select/drag text between lines

Categories

(Core :: DOM: Selection, defect, P5)

defect

Tracking

()

Tracking Status
firefox48 --- affected

People

(Reporter: arni2033, Unassigned)

Details

>>>   My Info:   Win7_64, Nightly 48, 32bit, ID 20160324030447
There're 2 scenarios: A and B

STR:
1. Open the following "data:" URL:
 A) data:text/html,<p>first line<br>second line<style>*{line-height:2em; white-space:pre}
 B) data:text/html,<p>first line%0Asecond line<style>*{line-height:2em; white-space:pre}
 C) data:text/html,<p>first line%0Asecon<a>d</a> line<style>*{line-height:2em; white-space:pre}
2. Select text "irst line\nsecond lin" on the page
3. Move mouse to the white area between "s" in string "first" and "c" in string "second"
4. Hold left mouse button ('mousedown')
5. Move mouse to the bottom-right corner of the page
6. Release left mouse button ('mouseup')

AR:
         |            (A),(C)               |              (B)
---------|----------------------------------|-----------------------------------------
 Step 4  |  Nothing                         |  All text selection is canceled
 Step 5  |  Nothing                         |  Text 'st line\nsecond line" is selected
 Step 6  |  All text selection is canceled  |  Nothing

ER:  Either X or Y or Z
 X) Behavior (A),(C) should be the same as (B) - Text 'st line\nsecond line" should be selected
 Y) In all 3 scenarios drag-n-drop of selected text should start
 Z) Another common behavior for (A),(С) and (B)

Note:
 I encountered this bug on many sites including
 https://ru.wikipedia.org/wiki/Phoenix_Wright:_Ace_Attorney
Correction:
"There're 3 scenarios: A,C and B"

Bulk-downgrade of unassigned, 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.