mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 02:05:07 +02:00
This seems to be a spec issue for the `insertText` editing command. Other browsers behave as if the cursor is put just before the void element, so we copy that. For inline void elements, we find the first equivalent point which effectively traverses into the preceding inline node.
54 lines
4.8 KiB
Plaintext
54 lines
4.8 KiB
Plaintext
Harness status: OK
|
|
|
|
Found 48 tests
|
|
|
|
36 Pass
|
|
12 Fail
|
|
Pass Inserting text when selection is collapsed in <br> which is only child
|
|
Pass Inserting text when selection is collapsed in <br> which is only child (explicitly flushes maybe pending layout)
|
|
Pass Inserting text when selection is collapsed in <br> which follows a text node
|
|
Pass Inserting text when selection is collapsed in <br> which is followed by a text node
|
|
Pass Inserting text when selection is collapsed in <br> which follows an empty <span> element
|
|
Fail Inserting text when selection is collapsed in <br> which follows a text node and an empty <span> element
|
|
Pass Inserting text when selection is collapsed in <br> which follows a non-empty <span> element
|
|
Fail Inserting text when selection is collapsed in <br> which follows a text node, an empty <span> element and white-space only text node
|
|
Pass Inserting text when selection is collapsed in <embed> which is only child
|
|
Pass Inserting text when selection is collapsed in <embed> which is only child (explicitly flushes maybe pending layout)
|
|
Pass Inserting text when selection is collapsed in <embed> which follows a text node
|
|
Pass Inserting text when selection is collapsed in <embed> which is followed by a text node
|
|
Fail Inserting text when selection is collapsed in <embed> which follows an empty <span> element
|
|
Fail Inserting text when selection is collapsed in <embed> which follows a text node and an empty <span> element
|
|
Pass Inserting text when selection is collapsed in <embed> which follows a non-empty <span> element
|
|
Fail Inserting text when selection is collapsed in <embed> which follows a text node, an empty <span> element and white-space only text node
|
|
Pass Inserting text when selection is collapsed in <hr> which is only child
|
|
Pass Inserting text when selection is collapsed in <hr> which is only child (explicitly flushes maybe pending layout)
|
|
Pass Inserting text when selection is collapsed in <hr> which follows a text node
|
|
Pass Inserting text when selection is collapsed in <hr> which is followed by a text node
|
|
Pass Inserting text when selection is collapsed in <hr> which follows an empty <span> element
|
|
Pass Inserting text when selection is collapsed in <hr> which follows a text node and an empty <span> element
|
|
Pass Inserting text when selection is collapsed in <hr> which follows a non-empty <span> element
|
|
Fail Inserting text when selection is collapsed in <hr> which follows a text node, an empty <span> element and white-space only text node
|
|
Pass Inserting text when selection is collapsed in <img> which is only child
|
|
Pass Inserting text when selection is collapsed in <img> which is only child (explicitly flushes maybe pending layout)
|
|
Pass Inserting text when selection is collapsed in <img> which follows a text node
|
|
Pass Inserting text when selection is collapsed in <img> which is followed by a text node
|
|
Fail Inserting text when selection is collapsed in <img> which follows an empty <span> element
|
|
Fail Inserting text when selection is collapsed in <img> which follows a text node and an empty <span> element
|
|
Pass Inserting text when selection is collapsed in <img> which follows a non-empty <span> element
|
|
Pass Inserting text when selection is collapsed in <img> which follows a text node, an empty <span> element and white-space only text node
|
|
Pass Inserting text when selection is collapsed in <input> which is only child
|
|
Pass Inserting text when selection is collapsed in <input> which is only child (explicitly flushes maybe pending layout)
|
|
Pass Inserting text when selection is collapsed in <input> which follows a text node
|
|
Pass Inserting text when selection is collapsed in <input> which is followed by a text node
|
|
Pass Inserting text when selection is collapsed in <input> which follows an empty <span> element
|
|
Fail Inserting text when selection is collapsed in <input> which follows a text node and an empty <span> element
|
|
Pass Inserting text when selection is collapsed in <input> which follows a non-empty <span> element
|
|
Pass Inserting text when selection is collapsed in <input> which follows a text node, an empty <span> element and white-space only text node
|
|
Pass Inserting text when selection is collapsed in <wbr> which is only child
|
|
Pass Inserting text when selection is collapsed in <wbr> which is only child (explicitly flushes maybe pending layout)
|
|
Pass Inserting text when selection is collapsed in <wbr> which follows a text node
|
|
Pass Inserting text when selection is collapsed in <wbr> which is followed by a text node
|
|
Fail Inserting text when selection is collapsed in <wbr> which follows an empty <span> element
|
|
Fail Inserting text when selection is collapsed in <wbr> which follows a text node and an empty <span> element
|
|
Pass Inserting text when selection is collapsed in <wbr> which follows a non-empty <span> element
|
|
Fail Inserting text when selection is collapsed in <wbr> which follows a text node, an empty <span> element and white-space only text node |