| 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." |
| | " |
| " |