DescriptionHandle special case of merging lists in mergeParagraphs()
Consider a html content with two consecutive lists. When cursor is placed
at the end of first list and forward delete is executed, we should
merge the second list with the first one.
Currently, the content of the first <li> of second list is appended to
the content of last <li> of first list and two lists are still retained.
This is incorrect. Uploaded patch fixes this erroneous behavior.
Patch introduces the behavior that aligns with that of both FF and IE.
BUG=327624
TEST=LayoutTests/editing/deleting/merge-lists.html
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=165218
Patch Set 1 #
Total comments: 3
Patch Set 2 : Nits fixed #Patch Set 3 : Got rid of redundant check #
Total comments: 1
Patch Set 4 : Attempt to address the review comment #
Messages
Total messages: 17 (0 generated)
|