[Webkit-unassigned] [Bug 97763] REGRESSION(r129186): Pressing enter at the end of a line deletes the line
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Sep 27 14:20:16 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=97763
--- Comment #6 from Levi Weintraub <leviw at chromium.org> 2012-09-27 14:20:42 PST ---
Okay... I've got the root cause. It's an optimization in RenderText.
RenderText::setTextWithOffset gets called by editing code to replace the line you were on when you hit enter with a copy of the same text. We dirty the lines in setTextWithOffset, then call RenderText::setText, which should mark us as needing layout. Instead, we check to see if the new text and the current text are equal, and if they are, we return early to avoid layout and pref width recalc.
--
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