insert-paragraph-separator-tab-span-expected.txt 795 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
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"