Closed
Bug 164448
Opened 22 years ago
Closed 11 years ago
<selection>.toString doesn't always agree with its single <range>.toString
Categories
(Core :: DOM: Selection, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: neil, Unassigned)
Details
(Keywords: qawanted)
Attachments
(1 file)
(deleted),
text/html
|
Details |
I have a case of a selection of a single range where the results of toString()
differ, the range returning the correct value but the selection being incorrect.
One way to demonstrate this problem is to use Composer, because it's easier to
select text in composer.
1. Type "R. I. P." into Composer.
2. Select the "I." and make it italic.
3. Press End, then select back 3 characters " P."
4. Debug / Test Selection
Notice that although the range start and are 0 and 3 the selection is just "P."
Reporter | ||
Comment 1•22 years ago
|
||
Sorry about the bad JS to select the text node, I couldn't figure out an easier
way of doing it.
Updated•15 years ago
|
Assignee: mjudge → nobody
QA Contact: pmac → selection
Comment 3•11 years ago
|
||
Marking WFM per comment 2. Please only reopen this issue if you can reproduce it on current OS and Firefox versions.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•