blob: 95c8f63634d8effa262b0298fc6095bff108582e [file] [log] [blame]
This test verifies that inserting paragraph twice at the end of last listitem styled with display:block/float does not remove entire list.
Expected behavior is list should not be removed and one empty line should get added.
Initial:
| "\n "
| <p>
| "Paragraph before list."
| "\n "
| <ul>
| "\n "
| <li>
| "List item one"
| "\n "
| <li>
| id="target"
| "List item two.<#selection-caret>"
| "\n "
| "\n "
| <p>
| "Paragraph after list."
| "\n "
After inserting first paragraph:
| "\n "
| <p>
| "Paragraph before list."
| "\n "
| <ul>
| "\n "
| <li>
| "List item one"
| "\n "
| <li>
| id="target"
| "List item two."
| <li>
| id="target"
| <#selection-caret>
| <br>
| "\n "
| "\n "
| <p>
| "Paragraph after list."
| "\n "
After inserting second paragraph:
| "\n "
| <p>
| "Paragraph before list."
| "\n "
| <ul>
| "\n "
| <li>
| "List item one"
| "\n "
| <li>
| id="target"
| "List item two."
| "\n "
| <div>
| <#selection-caret>
| <br>
| "\n "
| <p>
| "Paragraph after list."
| "\n "