[Webkit-unassigned] [Bug 33950] contentEditable with "position:relative" paragraphs is buggy

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 22 07:09:39 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=33950


Aaron Boushley <boushley at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |boushley at gmail.com




--- Comment #2 from Aaron Boushley <boushley at gmail.com>  2012-10-22 07:10:41 PST ---
I'm still seeing this bug in Chrome 23 beta. In my case it is content editable divs that are position relative. If I remove the position relative deletion of lines is no longer buggy. With position relative when the user deletes the last character in the div (before I would expect the div to be deleted) the div is removed, and the content of the next div is appended with a br to the following div.

So if I have:
// CSS
div { position: relative; }
// HTML
<div>first</div>
<div>second</div>
<div>t</div>
<div>fourth</div>
<div>fifth</div>
<div>sixth</div>

If my cursor is following the t on the third line, and I hit backspace once, the resulting DOM looks like this:
<div>first</div>
<div>second</div>
<div><br>fifth fourth</div>
<div>sixth</div>

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list