haikuwebkit/LayoutTests/editing/inserting/insert-paragraph-separator-...

39 lines
795 B
Plaintext
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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"