12012-04-04 Yi Shen <yi.4.shen@nokia.com>
2
3 Pressing enter on blank line after bullet deletes entire bulleted line.
4 https://bugs.webkit.org/show_bug.cgi?id=82690
5
6 Reviewed by NOBODY (OOPS!).
7
8 In CompositeEditCommand::breakOutOfEmptyListItem(), it checks the empty list item's renderer's siblings
9 to decide which empty part of the list should be removed. However, if the empty list item's renderer is
10 wrapped by an anonymous block, e.g. <ul><li>hello</li><br>^</ul>, we should use the anonymous renderer
11 instead.
12
13 No new tests : added new test case in the existing test (break-out-of-empty-list-item.html)
14
15 * editing/CompositeEditCommand.cpp:
16 (WebCore::CompositeEditCommand::breakOutOfEmptyListItem):
17