| This test ensures WebKit avoids cloning Apple tab span when inserting a paragraph separator. |
| Only tab should be inside a Apple tab span in the following tests. |
| |
| last visible position: |
| | <span> |
| | class="Apple-tab-span" |
| | style="white-space:pre" |
| | " " |
| | <div> |
| | "hello world WebKit <#selection-caret>" |
| |
| first visible position: |
| | <div> |
| | <br> |
| | "hello world WebKit <#selection-caret>" |
| | <span> |
| | class="Apple-tab-span" |
| | style="white-space:pre" |
| | " " |
| |
| before tab span: |
| | "hi, " |
| | <div> |
| | "hello world WebKit <#selection-caret>" |
| | <span> |
| | class="Apple-tab-span" |
| | style="white-space:pre" |
| | " " |
| | " rocks" |
| |
| after tab span: |
| | "hi, " |
| | <span> |
| | class="Apple-tab-span" |
| | style="white-space:pre" |
| | " " |
| | <div> |
| | "hello world WebKit <#selection-caret>rocks" |