blob: 1ff5f13fb8e82dfcbb46f7d59d3d545f35967c06 [file] [log] [blame]
This test verifies that inserting paragraph twice at the end of last listitem created with custom tag and display:list-item does not remove entire list.
Expected behavior is list should not be removed and one empty line should get added.
Initial:
| "
"
| <p>
| "Paragraph before list."
| "
"
| <ul>
| "
"
| <item>
| "First Item"
| "
"
| <item>
| id="target"
| "Second Item<#selection-caret>"
| "
"
| "
"
| <p>
| "Paragraph after list."
| "
"
After inserting first paragraph:
| "
"
| <p>
| "Paragraph before list."
| "
"
| <ul>
| "
"
| <item>
| "First Item"
| "
"
| <item>
| id="target"
| "Second Item"
| <item>
| id="target"
| <#selection-caret>
| <br>
| "
"
| "
"
| <p>
| "Paragraph after list."
| "
"
After inserting second paragraph:
| "
"
| <p>
| "Paragraph before list."
| "
"
| <ul>
| "
"
| <item>
| "First Item"
| "
"
| <item>
| id="target"
| "Second Item"
| "
"
| <div>
| <#selection-caret>
| <br>
| "
"
| <p>
| "Paragraph after list."
| "
"