Closed Bug 347173 Opened 14 years ago Closed 14 years ago

Caret browsing: Caret skips first word in paragraph when using ctrl+right on last word in previous paragraph, if no whitespace between paragraphs

Categories

(Core :: DOM: Selection, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: uriber, Assigned: uriber)

References

Details

(Keywords: testcase)

Attachments

(1 file)

In caret browsing mode, when two paragraphs have no whitespace between them (e.g. <p>one</p><p>two</p>), placing the caret on the last word of the first paragraph, and hitting ctrl+right, moves the caret to the beginning of the second word in the second paragraph (if such a word exists), skipping the first word of the paragraph.

This happens when layout.word_select.eat_space_to_next_word is set to TRUE, i.e., by default only on Windows.

Testcase coming up.
Attached file testcase
testcase
Blocks: caretnav
Fixed by the "phase 1" patch on bug 300131.
Status: NEW → RESOLVED
Closed: 14 years ago
Depends on: 300131
Resolution: --- → FIXED
QA Contact: selection
You need to log in before you can comment on or make changes to this bug.