Closed Bug 803923 Opened 13 years ago Closed 9 years ago

cannot place cursor in empty contenteditable div (thus it cannot be edited)

Categories

(Core :: General, defect)

16 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: erik2, Unassigned)

Details

Attachments

(1 file)

Attached file not-editable.html
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20100101 Firefox/16.0 Build ID: 20121010144125 Steps to reproduce: Try to edit any of the boxes on the page. Actual results: I cannot place the cursor into an empty contenteditable div, and a few others also. Expected results: Editing should be allowed in all of these. NOTE: they are all editable with Google Chrome.
Attachment #673645 - Attachment mime type: text/plain → text/html
I assume you're trying to click in the empty divs, but you are failing at that because they have zero height. Thus the actual problem is "I can't click on something that has zero area", which I doubt the firefox devs are going to have a big problem with. Try putting the borders on the divs, not on their surrounding TD tags, and you'll see what I mean, and also you'll be able to click on them (clicking on the border works) to get the cursor in there. Without giving the divs some area, (ie just as your attachment is now) you can edit them by using the TAB key to get the cursor in them. I'm going to mark this as invalid, but if you disagree with me, just change it. I'm not attached.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: