Created attachment 95698 [details] demo The attachment demonstrates the bug. When two paragraphs have same style, deleting a line break between them results in the second paragraph losing its font style.
Created attachment 95699 [details] fixes the bug
Comment on attachment 95699 [details] fixes the bug OK. Do we need to add a comment to document the ordering? Or is it obvious from the code?
(In reply to comment #2) > (From update of attachment 95699 [details]) > OK. Do we need to add a comment to document the ordering? Or is it obvious from the code? It must be obvious from the code (at least to me). Also changing the order will make the added test to fail :)
Committed r87937: <http://trac.webkit.org/changeset/87937>
Thanks for the review!
<rdar://problem/9543996>
Revision r87937 cherry-picked into qtwebkit-2.2 with commit dbda3e9 <http://gitorious.org/webkit/qtwebkit/commit/dbda3e9>