Closed Bug 671398 Opened 13 years ago Closed 13 years ago

Right clicking on whitespace inside in a contenteditable div selects all text in that div.

Categories

(Core :: DOM: Editor, defect)

All
Other
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 417418

People

(Reporter: firefox, Unassigned)

Details

(Keywords: testcase)

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.122 Safari/534.30

Steps to reproduce:

Using the following html:

<html xmlns="http://www.w3.org/1999/xhtml">
</head>
<body contenteditable=true>
<div>Right click between these two lines. <br>
<Br>
<br>
Bottom line<br>
</div>
</body>
</html>

I right clicked between the top line of text and the bottom line of text.


Actual results:

All text on page (in div) was selected.
Context menu is shown.


Expected results:

Insertion point should be at the start of a line, between the two lines of text.
Context menu
Bug occurs in Fx 5, 4, 3.6.x and 3.5.x on Linux, so not a recent regression.
See also bug 657822 and bug 417418.
Component: General → Editor
Keywords: testcase
Product: Firefox → Core
QA Contact: general → editor
Version: 7 Branch → unspecified
Regression window:
Not reproduced, BUT NOT EDITTABLE:
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9a6pre) Gecko/20070627 Minefield/3.0a6pre
Reproduced:
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9a6pre) Gecko/20070628 Minefield/3.0a6pre
Pushlog:
http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=all&branch=HEAD&branchtype=match&dir=&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=explicit&mindate=2007-06-27+00%3A00%3A00&maxdate=2007-06-28+03%3A00%3A00&cvsroot=%2Fcvsroot
Triggered by:
Bug 237964 - (contenteditable) Allow editable areas in browser (contentEditable)
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: