Open Bug 673785 Opened 12 years ago Updated 2 years ago

Extending a Selection in a Textarea by Ctrl-Shift-doubleclick Contains Excess Characters but Does not Show Them

Categories

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

defect

Tracking

()

People

(Reporter: kdevel, Unassigned)

References

Details

(Keywords: regression, testcase)

Attachments

(2 files, 1 obsolete file)

1.22 KB, text/html
Details
1.41 KB, text/html
Details
Attached file selerr.html (obsolete) —
User Agent:  

Steps to reproduce:

Open Testcase, follow the STR.


Actual results:

The selection prepared according to the STR contains excess characters.


Expected results:

Selection should not contain excess characters.
Summary: Extending a Selection in Textarea by Ctrl-Shift-doubleclick is Broken → Extending a Selection in a Textarea by Ctrl-Shift-doubleclick is Broken
Summary: Extending a Selection in a Textarea by Ctrl-Shift-doubleclick is Broken → Extending a Selection in a Textarea by Ctrl-Shift-doubleclick Contains Excess Characters but Does not Show Them
Attachment #548013 - Attachment mime type: text/plain → text/html
OS: Other → Linux
Attached file Testcase
Attachment #548013 - Attachment is obsolete: true
selectionStart/selectionEnd do not represent the visible selection. (Testcase extended).
Attached file html
Confirmed on
http://hg.mozilla.org/mozilla-central/rev/ad1655c2e5b1
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0a1) Gecko/20110724 Firefox/8.0a1 ID:20110724030752

There are 3 regression.

Regression window #1:
*(Highlighted "five ", Pasted "five " and "five ", correctry pasted as visible)
http://hg.mozilla.org/mozilla-central/rev/8d0e5b53857f
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1b2pre) Gecko/20081017 Shiretoko/3.1b2pre ID:20081017033517
*(Highlighted "sentence contains five ", Pasted "sentence contains fivfive " and "sentence contains fiv")
http://hg.mozilla.org/mozilla-central/rev/fa62ea8a60ca
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1b2pre) Gecko/20081018 Shiretoko/3.1b2pre ID:20081018033524
*Pushlog:
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=8d0e5b53857f&tochange=fa62ea8a60ca
*Triggered by:
3632fa9aad9b	Uri Bernstein — Bug 415707 - multiple text selection improvement doesn't work with double-click "word-by-word" or triple-click "paragraph" modes. r+sr=roc.


Regression window #2:
*(Highlighted "sentence contains five ", Pasted "sentence contains fivfive " and "sentence contains fiv")
http://hg.mozilla.org/mozilla-central/rev/baf06abf0af4
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2a1pre) Gecko/20090509 Minefield/3.6a1pre ID:20090509042009
*(Highlighted "sentence contains fiv" , Pasted "sentence contains fiv" and "")
http://hg.mozilla.org/mozilla-central/rev/ff250122fa99
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2a1pre) Gecko/20090511 Minefield/3.6a1pre ID:20090511042228
*Pushlog:
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=baf06abf0af4&tochange=ff250122fa99
*Triggered by:
3386a5757206	Graeme McCutcheon — Bug 348681 - Don't allow overlapping ranges in the selection. r+sr=roc


Regression window #3:
*(Highlighted "sentence contains fiv" , Pasted "sentence contains fiv" and "")
http://hg.mozilla.org/mozilla-central/rev/f6df32312266
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.3a1pre) Gecko/20090922 Minefield/3.7a1pre ID:20090922042828
*(Highlighted "sentence contains five ", Pasted "sentence contains five fiv" and "sentence contains ")
http://hg.mozilla.org/mozilla-central/rev/a99faa2257da
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.3a1pre) Gecko/20090923 Minefield/3.7a1pre ID:20090923052916
Pushlog:
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=f6df32312266&tochange=a99faa2257da
*Triggered by:
8cfc5c84bddf	Graeme McCutcheon — Bug 493111 - ASSERTION: Range index not returned. r=roc
Component: General → Selection
OS: Linux → All
Product: Firefox → Core
QA Contact: general → selection
Status: UNCONFIRMED → NEW
Ever confirmed: true
Blocks: 415707, 348681, 493111
Attachment #548016 - Attachment mime type: text/plain → text/html

Bulk-downgrade of unassigned, >=5 years untouched DOM/Storage bugs' priority.

If you have reason to believe this is wrong (especially for the severity), 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.