Closed Bug 1097649 Opened 10 years ago Closed 10 years ago

We should not collapse contenteditable div if they have no content

Categories

(Core :: DOM: Editor, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1098151

People

(Reporter: julienw, Unassigned)

Details

From bug 1080832 comment 8:



I tested this page in some version or other of IE, Firefox, and Chrome:

  <!DOCTYPE html>
  abc
  <div contenteditable></div>
  def

and confirmed that IE and Chrome don't collapse the div but we do.  This seems sensible enough, so I'm not opposed to changing it, although it definitely has to wait for Ehsan to return before landing.  I'm not aware of an existing bug.
Duping because the developer started another bug
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.