From 26a029d407be480d791972afb5975cf62c9360a6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 02:47:55 +0200 Subject: Adding upstream version 124.0.1. Signed-off-by: Daniel Baumann --- .../body-should-not-deleted-even-if-empty.html | 51 + .../editing/other/cefalse-boundaries-deletion.html | 60 + ...-attributes-at-splitting-element.tentative.html | 522 +++++++++ .../other/delete-in-child-of-head.tentative.html | 418 +++++++ .../other/delete-in-child-of-html.tentative.html | 449 ++++++++ ...list-item-when-parent-list-is-editing-host.html | 88 ++ ...list-item-when-parent-list-is-editing-host.html | 87 ++ .../web-platform/tests/editing/other/delete.html | 149 +++ .../editing/other/design-mode-textarea-crash.html | 14 + ...control-immediately-after-hidden.tentative.html | 138 +++ ...e-and-focus-in-assigned-slot-dom.tentative.html | 31 + ...ocus-in-shadow-dom-in-designMode.tentative.html | 252 +++++ .../editing-around-select-element.tentative.html | 310 ++++++ .../editing/other/editing-div-outside-body.html | 163 +++ ...-range-around-void-element-child.tentative.html | 157 +++ .../editing/other/empty-elements-insertion.html | 118 ++ ...c-command-never-throw-exceptions.tentative.html | 89 ++ .../exec-command-with-text-editor.tentative.html | 655 +++++++++++ ...command-without-editable-element.tentative.html | 526 +++++++++ .../tests/editing/other/extra-text-nodes.html | 43 + ...formatblock-preserving-selection.tentative.html | 136 +++ .../indent-preserving-selection.tentative.html | 103 ++ ...ntrol-which-is-also-editing-host.tentative.html | 184 +++ ...insert-list-preserving-selection.tentative.html | 155 +++ ...insert-paragraph-in-void-element.tentative.html | 206 ++++ .../insert-text-in-void-element.tentative.html | 322 ++++++ .../inserthtml-do-not-preserve-inline-styles.html | 176 +++ ...linebreak-with-white-space-style.tentative.html | 426 +++++++ ...insertparagraph-in-child-of-head.tentative.html | 367 ++++++ ...insertparagraph-in-child-of-html.tentative.html | 344 ++++++ ...-in-editing-host-cannot-have-div.tentative.html | 182 +++ ...paragraph-in-inline-editing-host.tentative.html | 502 +++++++++ .../insertparagraph-in-non-splittable-element.html | 142 +++ ...paragraph-with-white-space-style.tentative.html | 475 ++++++++ ...serttext-after-bold-in-font-face-monospace.html | 32 + ...ttext-at-end-of-block-when-br-always-block.html | 36 + ...-space-style-left-line-and-right-paragraph.html | 899 +++++++++++++++ ...-space-style-left-paragraph-and-right-line.html | 493 +++++++++ ...oin-different-white-space-style-paragraphs.html | 499 +++++++++ .../editing/other/join-pre-and-other-block.html | 329 ++++++ .../justify-preserving-selection.tentative.html | 148 +++ ...g-attributes-at-joining-elements.tentative.html | 1167 ++++++++++++++++++++ .../tests/editing/other/legacy-edit-command.html | 117 ++ .../editing/other/link-boundaries-insertion.html | 44 + ...odeInserted-during-exec-command-insertHTML.html | 27 + .../tests/editing/other/non-html-document.html | 24 + .../outdent-preserving-selection.tentative.html | 192 ++++ .../recursive-exec-command-calls.tentative.html | 37 + ...-style-specified-by-parent-block.tentative.html | 125 +++ .../tests/editing/other/restoration.html | 90 ++ ...ete-in-html-element-having-contenteditable.html | 151 +++ .../editing/other/selectall-in-editinghost.html | 125 +++ .../editing/other/selectall-without-focus.html | 73 ++ ...ue-of-textcontrol-immediately-after-hidden.html | 118 ++ ...ound-link-element-after-joining-paragraphs.html | 194 ++++ ...k-element-at-collapsed-selection.tentative.html | 635 +++++++++++ ...ement-at-non-collapsed-selection.tentative.html | 214 ++++ .../typing-space-in-editable-button.tentative.html | 77 ++ ...typing-space-in-editable-summary.tentative.html | 90 ++ ...o-insertparagraph-after-moving-split-nodes.html | 109 ++ ...-spaces-after-execCommand-delete.tentative.html | 342 ++++++ ...-after-execCommand-forwarddelete.tentative.html | 357 ++++++ ...fter-execCommand-insertlinebreak.tentative.html | 150 +++ ...fter-execCommand-insertparagraph.tentative.html | 72 ++ ...ces-after-execCommand-inserttext.tentative.html | 526 +++++++++ 65 files changed, 15532 insertions(+) create mode 100644 testing/web-platform/tests/editing/other/body-should-not-deleted-even-if-empty.html create mode 100644 testing/web-platform/tests/editing/other/cefalse-boundaries-deletion.html create mode 100644 testing/web-platform/tests/editing/other/cloning-attributes-at-splitting-element.tentative.html create mode 100644 testing/web-platform/tests/editing/other/delete-in-child-of-head.tentative.html create mode 100644 testing/web-platform/tests/editing/other/delete-in-child-of-html.tentative.html create mode 100644 testing/web-platform/tests/editing/other/delete-in-last-definition-list-item-when-parent-list-is-editing-host.html create mode 100644 testing/web-platform/tests/editing/other/delete-in-last-list-item-when-parent-list-is-editing-host.html create mode 100644 testing/web-platform/tests/editing/other/delete.html create mode 100644 testing/web-platform/tests/editing/other/design-mode-textarea-crash.html create mode 100644 testing/web-platform/tests/editing/other/edit-in-textcontrol-immediately-after-hidden.tentative.html create mode 100644 testing/web-platform/tests/editing/other/editable-state-and-focus-in-assigned-slot-dom.tentative.html create mode 100644 testing/web-platform/tests/editing/other/editable-state-and-focus-in-shadow-dom-in-designMode.tentative.html create mode 100644 testing/web-platform/tests/editing/other/editing-around-select-element.tentative.html create mode 100644 testing/web-platform/tests/editing/other/editing-div-outside-body.html create mode 100644 testing/web-platform/tests/editing/other/editing-style-of-range-around-void-element-child.tentative.html create mode 100644 testing/web-platform/tests/editing/other/empty-elements-insertion.html create mode 100644 testing/web-platform/tests/editing/other/exec-command-never-throw-exceptions.tentative.html create mode 100644 testing/web-platform/tests/editing/other/exec-command-with-text-editor.tentative.html create mode 100644 testing/web-platform/tests/editing/other/exec-command-without-editable-element.tentative.html create mode 100644 testing/web-platform/tests/editing/other/extra-text-nodes.html create mode 100644 testing/web-platform/tests/editing/other/formatblock-preserving-selection.tentative.html create mode 100644 testing/web-platform/tests/editing/other/indent-preserving-selection.tentative.html create mode 100644 testing/web-platform/tests/editing/other/input-in-text-control-which-is-also-editing-host.tentative.html create mode 100644 testing/web-platform/tests/editing/other/insert-list-preserving-selection.tentative.html create mode 100644 testing/web-platform/tests/editing/other/insert-paragraph-in-void-element.tentative.html create mode 100644 testing/web-platform/tests/editing/other/insert-text-in-void-element.tentative.html create mode 100644 testing/web-platform/tests/editing/other/inserthtml-do-not-preserve-inline-styles.html create mode 100644 testing/web-platform/tests/editing/other/insertlinebreak-with-white-space-style.tentative.html create mode 100644 testing/web-platform/tests/editing/other/insertparagraph-in-child-of-head.tentative.html create mode 100644 testing/web-platform/tests/editing/other/insertparagraph-in-child-of-html.tentative.html create mode 100644 testing/web-platform/tests/editing/other/insertparagraph-in-editing-host-cannot-have-div.tentative.html create mode 100644 testing/web-platform/tests/editing/other/insertparagraph-in-inline-editing-host.tentative.html create mode 100644 testing/web-platform/tests/editing/other/insertparagraph-in-non-splittable-element.html create mode 100644 testing/web-platform/tests/editing/other/insertparagraph-with-white-space-style.tentative.html create mode 100644 testing/web-platform/tests/editing/other/inserttext-after-bold-in-font-face-monospace.html create mode 100644 testing/web-platform/tests/editing/other/inserttext-at-end-of-block-when-br-always-block.html create mode 100644 testing/web-platform/tests/editing/other/join-different-white-space-style-left-line-and-right-paragraph.html create mode 100644 testing/web-platform/tests/editing/other/join-different-white-space-style-left-paragraph-and-right-line.html create mode 100644 testing/web-platform/tests/editing/other/join-different-white-space-style-paragraphs.html create mode 100644 testing/web-platform/tests/editing/other/join-pre-and-other-block.html create mode 100644 testing/web-platform/tests/editing/other/justify-preserving-selection.tentative.html create mode 100644 testing/web-platform/tests/editing/other/keeping-attributes-at-joining-elements.tentative.html create mode 100644 testing/web-platform/tests/editing/other/legacy-edit-command.html create mode 100644 testing/web-platform/tests/editing/other/link-boundaries-insertion.html create mode 100644 testing/web-platform/tests/editing/other/move-inserted-node-from-DOMNodeInserted-during-exec-command-insertHTML.html create mode 100644 testing/web-platform/tests/editing/other/non-html-document.html create mode 100644 testing/web-platform/tests/editing/other/outdent-preserving-selection.tentative.html create mode 100644 testing/web-platform/tests/editing/other/recursive-exec-command-calls.tentative.html create mode 100644 testing/web-platform/tests/editing/other/removing-inline-style-specified-by-parent-block.tentative.html create mode 100644 testing/web-platform/tests/editing/other/restoration.html create mode 100644 testing/web-platform/tests/editing/other/select-all-and-delete-in-html-element-having-contenteditable.html create mode 100644 testing/web-platform/tests/editing/other/selectall-in-editinghost.html create mode 100644 testing/web-platform/tests/editing/other/selectall-without-focus.html create mode 100644 testing/web-platform/tests/editing/other/setting-value-of-textcontrol-immediately-after-hidden.html create mode 100644 testing/web-platform/tests/editing/other/typing-around-link-element-after-joining-paragraphs.html create mode 100644 testing/web-platform/tests/editing/other/typing-around-link-element-at-collapsed-selection.tentative.html create mode 100644 testing/web-platform/tests/editing/other/typing-around-link-element-at-non-collapsed-selection.tentative.html create mode 100644 testing/web-platform/tests/editing/other/typing-space-in-editable-button.tentative.html create mode 100644 testing/web-platform/tests/editing/other/typing-space-in-editable-summary.tentative.html create mode 100644 testing/web-platform/tests/editing/other/undo-insertparagraph-after-moving-split-nodes.html create mode 100644 testing/web-platform/tests/editing/other/white-spaces-after-execCommand-delete.tentative.html create mode 100644 testing/web-platform/tests/editing/other/white-spaces-after-execCommand-forwarddelete.tentative.html create mode 100644 testing/web-platform/tests/editing/other/white-spaces-after-execCommand-insertlinebreak.tentative.html create mode 100644 testing/web-platform/tests/editing/other/white-spaces-after-execCommand-insertparagraph.tentative.html create mode 100644 testing/web-platform/tests/editing/other/white-spaces-after-execCommand-inserttext.tentative.html (limited to 'testing/web-platform/tests/editing/other') diff --git a/testing/web-platform/tests/editing/other/body-should-not-deleted-even-if-empty.html b/testing/web-platform/tests/editing/other/body-should-not-deleted-even-if-empty.html new file mode 100644 index 0000000000..050e780a26 --- /dev/null +++ b/testing/web-platform/tests/editing/other/body-should-not-deleted-even-if-empty.html @@ -0,0 +1,51 @@ + + + + \ No newline at end of file diff --git a/testing/web-platform/tests/editing/other/cefalse-boundaries-deletion.html b/testing/web-platform/tests/editing/other/cefalse-boundaries-deletion.html new file mode 100644 index 0000000000..de793bd6a3 --- /dev/null +++ b/testing/web-platform/tests/editing/other/cefalse-boundaries-deletion.html @@ -0,0 +1,60 @@ + + +Selecting and deleting all from the cE=true element with cE=false element at the beginning + + + + +
+ + diff --git a/testing/web-platform/tests/editing/other/cloning-attributes-at-splitting-element.tentative.html b/testing/web-platform/tests/editing/other/cloning-attributes-at-splitting-element.tentative.html new file mode 100644 index 0000000000..3c0b1c9344 --- /dev/null +++ b/testing/web-platform/tests/editing/other/cloning-attributes-at-splitting-element.tentative.html @@ -0,0 +1,522 @@ + + + +Cloning attributes at splitting an element in contenteditable + + + + + + +
+ diff --git a/testing/web-platform/tests/editing/other/delete-in-child-of-head.tentative.html b/testing/web-platform/tests/editing/other/delete-in-child-of-head.tentative.html new file mode 100644 index 0000000000..978cf83d47 --- /dev/null +++ b/testing/web-platform/tests/editing/other/delete-in-child-of-head.tentative.html @@ -0,0 +1,418 @@ + + + + + + + + + +Join paragraphs in the head element + + + + + + + + + + + + diff --git a/testing/web-platform/tests/editing/other/delete-in-child-of-html.tentative.html b/testing/web-platform/tests/editing/other/delete-in-child-of-html.tentative.html new file mode 100644 index 0000000000..4ae5446d1b --- /dev/null +++ b/testing/web-platform/tests/editing/other/delete-in-child-of-html.tentative.html @@ -0,0 +1,449 @@ + + + + + + + + + +Join paragraphs outside the body + + + + + + + + + + + + diff --git a/testing/web-platform/tests/editing/other/delete-in-last-definition-list-item-when-parent-list-is-editing-host.html b/testing/web-platform/tests/editing/other/delete-in-last-definition-list-item-when-parent-list-is-editing-host.html new file mode 100644 index 0000000000..e068f9bcd2 --- /dev/null +++ b/testing/web-platform/tests/editing/other/delete-in-last-definition-list-item-when-parent-list-is-editing-host.html @@ -0,0 +1,88 @@ + + + + + + + +Delete in last list item should not delete parent list if it's editing host + + + + + + + + + + diff --git a/testing/web-platform/tests/editing/other/delete-in-last-list-item-when-parent-list-is-editing-host.html b/testing/web-platform/tests/editing/other/delete-in-last-list-item-when-parent-list-is-editing-host.html new file mode 100644 index 0000000000..7d15943935 --- /dev/null +++ b/testing/web-platform/tests/editing/other/delete-in-last-list-item-when-parent-list-is-editing-host.html @@ -0,0 +1,87 @@ + + + + + + + + + +Delete in last list item should not delete parent list if it's editing host + + + + + + + + + + diff --git a/testing/web-platform/tests/editing/other/delete.html b/testing/web-platform/tests/editing/other/delete.html new file mode 100644 index 0000000000..b9bd1437e3 --- /dev/null +++ b/testing/web-platform/tests/editing/other/delete.html @@ -0,0 +1,149 @@ + + +Deletion tests + + +
+ diff --git a/testing/web-platform/tests/editing/other/design-mode-textarea-crash.html b/testing/web-platform/tests/editing/other/design-mode-textarea-crash.html new file mode 100644 index 0000000000..d9f01e4165 --- /dev/null +++ b/testing/web-platform/tests/editing/other/design-mode-textarea-crash.html @@ -0,0 +1,14 @@ + + + diff --git a/testing/web-platform/tests/editing/other/edit-in-textcontrol-immediately-after-hidden.tentative.html b/testing/web-platform/tests/editing/other/edit-in-textcontrol-immediately-after-hidden.tentative.html new file mode 100644 index 0000000000..2cdffd6e2c --- /dev/null +++ b/testing/web-platform/tests/editing/other/edit-in-textcontrol-immediately-after-hidden.tentative.html @@ -0,0 +1,138 @@ + + + + + + +Testing edit action in zombie editor + + + + + + + + diff --git a/testing/web-platform/tests/editing/other/editable-state-and-focus-in-assigned-slot-dom.tentative.html b/testing/web-platform/tests/editing/other/editable-state-and-focus-in-assigned-slot-dom.tentative.html new file mode 100644 index 0000000000..ae8b145283 --- /dev/null +++ b/testing/web-platform/tests/editing/other/editable-state-and-focus-in-assigned-slot-dom.tentative.html @@ -0,0 +1,31 @@ + + + + +Testing editable state and focus in slotted editable element + + + + +
+
+
+ + + \ No newline at end of file diff --git a/testing/web-platform/tests/editing/other/editable-state-and-focus-in-shadow-dom-in-designMode.tentative.html b/testing/web-platform/tests/editing/other/editable-state-and-focus-in-shadow-dom-in-designMode.tentative.html new file mode 100644 index 0000000000..88e6d29129 --- /dev/null +++ b/testing/web-platform/tests/editing/other/editable-state-and-focus-in-shadow-dom-in-designMode.tentative.html @@ -0,0 +1,252 @@ + + + + +Testing editable state and focus in shadow DOM in design mode + + + + + + + + +

open

+ +

closed

+ + + + + diff --git a/testing/web-platform/tests/editing/other/editing-around-select-element.tentative.html b/testing/web-platform/tests/editing/other/editing-around-select-element.tentative.html new file mode 100644 index 0000000000..9182216efd --- /dev/null +++ b/testing/web-platform/tests/editing/other/editing-around-select-element.tentative.html @@ -0,0 +1,310 @@ + + +Test execCommand with selection around select element + + + + + + + + \ No newline at end of file diff --git a/testing/web-platform/tests/editing/other/editing-div-outside-body.html b/testing/web-platform/tests/editing/other/editing-div-outside-body.html new file mode 100644 index 0000000000..03064eb612 --- /dev/null +++ b/testing/web-platform/tests/editing/other/editing-div-outside-body.html @@ -0,0 +1,163 @@ + + + + + + + + +Test editing outside of body element + + + + + + + + + + diff --git a/testing/web-platform/tests/editing/other/editing-style-of-range-around-void-element-child.tentative.html b/testing/web-platform/tests/editing/other/editing-style-of-range-around-void-element-child.tentative.html new file mode 100644 index 0000000000..864074c1a6 --- /dev/null +++ b/testing/web-platform/tests/editing/other/editing-style-of-range-around-void-element-child.tentative.html @@ -0,0 +1,157 @@ + + + +Test toggling style a range which starts from or ends by a child of a void element + + + +
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/editing/other/empty-elements-insertion.html b/testing/web-platform/tests/editing/other/empty-elements-insertion.html new file mode 100644 index 0000000000..c654521354 --- /dev/null +++ b/testing/web-platform/tests/editing/other/empty-elements-insertion.html @@ -0,0 +1,118 @@ + + +Placing selection and typing inside empty elements + + + + + + + +
+ + diff --git a/testing/web-platform/tests/editing/other/exec-command-never-throw-exceptions.tentative.html b/testing/web-platform/tests/editing/other/exec-command-never-throw-exceptions.tentative.html new file mode 100644 index 0000000000..1b77b15ab0 --- /dev/null +++ b/testing/web-platform/tests/editing/other/exec-command-never-throw-exceptions.tentative.html @@ -0,0 +1,89 @@ + + +Test that execCommand and related methods never throw exceptions if HTML or XHTML document + + +
+ diff --git a/testing/web-platform/tests/editing/other/exec-command-with-text-editor.tentative.html b/testing/web-platform/tests/editing/other/exec-command-with-text-editor.tentative.html new file mode 100644 index 0000000000..e3b0931f16 --- /dev/null +++ b/testing/web-platform/tests/editing/other/exec-command-with-text-editor.tentative.html @@ -0,0 +1,655 @@ + + +Test that execCommand with <input> or <textarea> + + + + + +
+ diff --git a/testing/web-platform/tests/editing/other/exec-command-without-editable-element.tentative.html b/testing/web-platform/tests/editing/other/exec-command-without-editable-element.tentative.html new file mode 100644 index 0000000000..0547140306 --- /dev/null +++ b/testing/web-platform/tests/editing/other/exec-command-without-editable-element.tentative.html @@ -0,0 +1,526 @@ + + +Test that execCommand without editable element + + + + + + + +
abc
+ + diff --git a/testing/web-platform/tests/editing/other/extra-text-nodes.html b/testing/web-platform/tests/editing/other/extra-text-nodes.html new file mode 100644 index 0000000000..2cd1232d00 --- /dev/null +++ b/testing/web-platform/tests/editing/other/extra-text-nodes.html @@ -0,0 +1,43 @@ + + +Editor should not create unnecessary text nodes + + +
+ diff --git a/testing/web-platform/tests/editing/other/formatblock-preserving-selection.tentative.html b/testing/web-platform/tests/editing/other/formatblock-preserving-selection.tentative.html new file mode 100644 index 0000000000..d10e80b4ea --- /dev/null +++ b/testing/web-platform/tests/editing/other/formatblock-preserving-selection.tentative.html @@ -0,0 +1,136 @@ + + + + + + + + + + + + + + + + + + + + + + + +Test preserving selection after formatBlock + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/editing/other/indent-preserving-selection.tentative.html b/testing/web-platform/tests/editing/other/indent-preserving-selection.tentative.html new file mode 100644 index 0000000000..b3fae41faf --- /dev/null +++ b/testing/web-platform/tests/editing/other/indent-preserving-selection.tentative.html @@ -0,0 +1,103 @@ + + + + + + + +Test preserving selection after indent + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/editing/other/input-in-text-control-which-is-also-editing-host.tentative.html b/testing/web-platform/tests/editing/other/input-in-text-control-which-is-also-editing-host.tentative.html new file mode 100644 index 0000000000..1ca22b6730 --- /dev/null +++ b/testing/web-platform/tests/editing/other/input-in-text-control-which-is-also-editing-host.tentative.html @@ -0,0 +1,184 @@ + + + + + + + + +Check whether a text control element handles user input when it's an editing host + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/editing/other/insert-list-preserving-selection.tentative.html b/testing/web-platform/tests/editing/other/insert-list-preserving-selection.tentative.html new file mode 100644 index 0000000000..b7faf4f27a --- /dev/null +++ b/testing/web-platform/tests/editing/other/insert-list-preserving-selection.tentative.html @@ -0,0 +1,155 @@ + + + + + + + + + +Test preserving selection after insert*List + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/editing/other/insert-paragraph-in-void-element.tentative.html b/testing/web-platform/tests/editing/other/insert-paragraph-in-void-element.tentative.html new file mode 100644 index 0000000000..c4f788a550 --- /dev/null +++ b/testing/web-platform/tests/editing/other/insert-paragraph-in-void-element.tentative.html @@ -0,0 +1,206 @@ + + +Test insertParagraph when selection collapsed in void element + + + +
+ diff --git a/testing/web-platform/tests/editing/other/insert-text-in-void-element.tentative.html b/testing/web-platform/tests/editing/other/insert-text-in-void-element.tentative.html new file mode 100644 index 0000000000..f84d3fce03 --- /dev/null +++ b/testing/web-platform/tests/editing/other/insert-text-in-void-element.tentative.html @@ -0,0 +1,322 @@ + + +Test insertText when selection collapsed in void element + + + +
+ \ No newline at end of file diff --git a/testing/web-platform/tests/editing/other/inserthtml-do-not-preserve-inline-styles.html b/testing/web-platform/tests/editing/other/inserthtml-do-not-preserve-inline-styles.html new file mode 100644 index 0000000000..3483f8f995 --- /dev/null +++ b/testing/web-platform/tests/editing/other/inserthtml-do-not-preserve-inline-styles.html @@ -0,0 +1,176 @@ + + + + + + + + + + + + + + + + + + + + + + + +insertHTML should not preserve inline styles at insertion point + + + + +
+ + + diff --git a/testing/web-platform/tests/editing/other/insertlinebreak-with-white-space-style.tentative.html b/testing/web-platform/tests/editing/other/insertlinebreak-with-white-space-style.tentative.html new file mode 100644 index 0000000000..7e362c3571 --- /dev/null +++ b/testing/web-platform/tests/editing/other/insertlinebreak-with-white-space-style.tentative.html @@ -0,0 +1,426 @@ + + + + + + + + + + + +insertlinebreak in white-space specified element +
+ diff --git a/testing/web-platform/tests/editing/other/insertparagraph-in-child-of-head.tentative.html b/testing/web-platform/tests/editing/other/insertparagraph-in-child-of-head.tentative.html new file mode 100644 index 0000000000..2ee8a4b33b --- /dev/null +++ b/testing/web-platform/tests/editing/other/insertparagraph-in-child-of-head.tentative.html @@ -0,0 +1,367 @@ + + + + + + + + + + + + + +Insert paragraph in a block element in the head element + + + + + + + + + + + + diff --git a/testing/web-platform/tests/editing/other/insertparagraph-in-child-of-html.tentative.html b/testing/web-platform/tests/editing/other/insertparagraph-in-child-of-html.tentative.html new file mode 100644 index 0000000000..a82da32df1 --- /dev/null +++ b/testing/web-platform/tests/editing/other/insertparagraph-in-child-of-html.tentative.html @@ -0,0 +1,344 @@ + + + + + + + + + + + + +Insert paragraph in a child of the html element + + + + + + + + + + diff --git a/testing/web-platform/tests/editing/other/insertparagraph-in-editing-host-cannot-have-div.tentative.html b/testing/web-platform/tests/editing/other/insertparagraph-in-editing-host-cannot-have-div.tentative.html new file mode 100644 index 0000000000..fe6ea2c183 --- /dev/null +++ b/testing/web-platform/tests/editing/other/insertparagraph-in-editing-host-cannot-have-div.tentative.html @@ -0,0 +1,182 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Tests for inserting paragraph in editing host which cannot have <div> element as child + + diff --git a/testing/web-platform/tests/editing/other/insertparagraph-in-inline-editing-host.tentative.html b/testing/web-platform/tests/editing/other/insertparagraph-in-inline-editing-host.tentative.html new file mode 100644 index 0000000000..9baed3f7fa --- /dev/null +++ b/testing/web-platform/tests/editing/other/insertparagraph-in-inline-editing-host.tentative.html @@ -0,0 +1,502 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Line breaking in inline editing host + + + + + + +
+ diff --git a/testing/web-platform/tests/editing/other/insertparagraph-in-non-splittable-element.html b/testing/web-platform/tests/editing/other/insertparagraph-in-non-splittable-element.html new file mode 100644 index 0000000000..c77862fecb --- /dev/null +++ b/testing/web-platform/tests/editing/other/insertparagraph-in-non-splittable-element.html @@ -0,0 +1,142 @@ + + + +Test for inserting paragraph in non-splittable elements + + + + + + +
+ diff --git a/testing/web-platform/tests/editing/other/insertparagraph-with-white-space-style.tentative.html b/testing/web-platform/tests/editing/other/insertparagraph-with-white-space-style.tentative.html new file mode 100644 index 0000000000..3c9f1848f5 --- /dev/null +++ b/testing/web-platform/tests/editing/other/insertparagraph-with-white-space-style.tentative.html @@ -0,0 +1,475 @@ + + + + + + + + + + + + + + + +insertparagraph in white-space specified element +
+ diff --git a/testing/web-platform/tests/editing/other/inserttext-after-bold-in-font-face-monospace.html b/testing/web-platform/tests/editing/other/inserttext-after-bold-in-font-face-monospace.html new file mode 100644 index 0000000000..cc937f28f8 --- /dev/null +++ b/testing/web-platform/tests/editing/other/inserttext-after-bold-in-font-face-monospace.html @@ -0,0 +1,32 @@ + + + + + + + + +

+ + + diff --git a/testing/web-platform/tests/editing/other/inserttext-at-end-of-block-when-br-always-block.html b/testing/web-platform/tests/editing/other/inserttext-at-end-of-block-when-br-always-block.html new file mode 100644 index 0000000000..922b8bd1c8 --- /dev/null +++ b/testing/web-platform/tests/editing/other/inserttext-at-end-of-block-when-br-always-block.html @@ -0,0 +1,36 @@ + + + + +Typing white-space and another character at end of a block should preserve the white-space when br element is always block + + + + + +
abc
+ diff --git a/testing/web-platform/tests/editing/other/join-different-white-space-style-left-line-and-right-paragraph.html b/testing/web-platform/tests/editing/other/join-different-white-space-style-left-line-and-right-paragraph.html new file mode 100644 index 0000000000..48fa581115 --- /dev/null +++ b/testing/web-platform/tests/editing/other/join-different-white-space-style-left-line-and-right-paragraph.html @@ -0,0 +1,899 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Tests for joining first line of right paragraph with its preceding line + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/editing/other/join-different-white-space-style-left-paragraph-and-right-line.html b/testing/web-platform/tests/editing/other/join-different-white-space-style-left-paragraph-and-right-line.html new file mode 100644 index 0000000000..b55cacc44b --- /dev/null +++ b/testing/web-platform/tests/editing/other/join-different-white-space-style-left-paragraph-and-right-line.html @@ -0,0 +1,493 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Tests for joining left paragraph and its following line + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/editing/other/join-different-white-space-style-paragraphs.html b/testing/web-platform/tests/editing/other/join-different-white-space-style-paragraphs.html new file mode 100644 index 0000000000..605f2a4483 --- /dev/null +++ b/testing/web-platform/tests/editing/other/join-different-white-space-style-paragraphs.html @@ -0,0 +1,499 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Tests for joining paragraphs which have different white-space styles + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/editing/other/join-pre-and-other-block.html b/testing/web-platform/tests/editing/other/join-pre-and-other-block.html new file mode 100644 index 0000000000..39e455a848 --- /dev/null +++ b/testing/web-platform/tests/editing/other/join-pre-and-other-block.html @@ -0,0 +1,329 @@ + + + + + + + + + + + + + +Tests for joining pre and other block element + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/editing/other/justify-preserving-selection.tentative.html b/testing/web-platform/tests/editing/other/justify-preserving-selection.tentative.html new file mode 100644 index 0000000000..94a63e8505 --- /dev/null +++ b/testing/web-platform/tests/editing/other/justify-preserving-selection.tentative.html @@ -0,0 +1,148 @@ + + + + + + + + + + + + + +Test preserving selection after justifying selected content + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/editing/other/keeping-attributes-at-joining-elements.tentative.html b/testing/web-platform/tests/editing/other/keeping-attributes-at-joining-elements.tentative.html new file mode 100644 index 0000000000..99a0dab56a --- /dev/null +++ b/testing/web-platform/tests/editing/other/keeping-attributes-at-joining-elements.tentative.html @@ -0,0 +1,1167 @@ + + + + + +Not merging attributes at joining elements in contenteditable + + + + + + + +
+ diff --git a/testing/web-platform/tests/editing/other/legacy-edit-command.html b/testing/web-platform/tests/editing/other/legacy-edit-command.html new file mode 100644 index 0000000000..81ff89d81b --- /dev/null +++ b/testing/web-platform/tests/editing/other/legacy-edit-command.html @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + +Test legacy commands won't work + + + + + + diff --git a/testing/web-platform/tests/editing/other/link-boundaries-insertion.html b/testing/web-platform/tests/editing/other/link-boundaries-insertion.html new file mode 100644 index 0000000000..567cc33ad9 --- /dev/null +++ b/testing/web-platform/tests/editing/other/link-boundaries-insertion.html @@ -0,0 +1,44 @@ + + +Placing selection and typing inside empty elements + + + + +
+ + diff --git a/testing/web-platform/tests/editing/other/move-inserted-node-from-DOMNodeInserted-during-exec-command-insertHTML.html b/testing/web-platform/tests/editing/other/move-inserted-node-from-DOMNodeInserted-during-exec-command-insertHTML.html new file mode 100644 index 0000000000..41e012a62e --- /dev/null +++ b/testing/web-platform/tests/editing/other/move-inserted-node-from-DOMNodeInserted-during-exec-command-insertHTML.html @@ -0,0 +1,27 @@ + + + +
+


+

+
+ \ No newline at end of file diff --git a/testing/web-platform/tests/editing/other/non-html-document.html b/testing/web-platform/tests/editing/other/non-html-document.html new file mode 100644 index 0000000000..ffd2e6f594 --- /dev/null +++ b/testing/web-platform/tests/editing/other/non-html-document.html @@ -0,0 +1,24 @@ + + +Non-HTML document tests + + + diff --git a/testing/web-platform/tests/editing/other/outdent-preserving-selection.tentative.html b/testing/web-platform/tests/editing/other/outdent-preserving-selection.tentative.html new file mode 100644 index 0000000000..9f299bda49 --- /dev/null +++ b/testing/web-platform/tests/editing/other/outdent-preserving-selection.tentative.html @@ -0,0 +1,192 @@ + + + + + + + +Test preserving selection after outdent + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/editing/other/recursive-exec-command-calls.tentative.html b/testing/web-platform/tests/editing/other/recursive-exec-command-calls.tentative.html new file mode 100644 index 0000000000..60a3b03099 --- /dev/null +++ b/testing/web-platform/tests/editing/other/recursive-exec-command-calls.tentative.html @@ -0,0 +1,37 @@ + + +Test recursive `Document.execCommand()` calls + + +

+ diff --git a/testing/web-platform/tests/editing/other/removing-inline-style-specified-by-parent-block.tentative.html b/testing/web-platform/tests/editing/other/removing-inline-style-specified-by-parent-block.tentative.html new file mode 100644 index 0000000000..c799819a38 --- /dev/null +++ b/testing/web-platform/tests/editing/other/removing-inline-style-specified-by-parent-block.tentative.html @@ -0,0 +1,125 @@ + + + + + + +Test removing inline style which is specified by parent block + + + +
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/editing/other/restoration.html b/testing/web-platform/tests/editing/other/restoration.html new file mode 100644 index 0000000000..4c53008b41 --- /dev/null +++ b/testing/web-platform/tests/editing/other/restoration.html @@ -0,0 +1,90 @@ + + +Restoration of style tests + + + +
+ diff --git a/testing/web-platform/tests/editing/other/select-all-and-delete-in-html-element-having-contenteditable.html b/testing/web-platform/tests/editing/other/select-all-and-delete-in-html-element-having-contenteditable.html new file mode 100644 index 0000000000..ab324c6d03 --- /dev/null +++ b/testing/web-platform/tests/editing/other/select-all-and-delete-in-html-element-having-contenteditable.html @@ -0,0 +1,151 @@ + + + + +Test "Select all" and deletion work with <html contenteditable> + + + + + + + + + + \ No newline at end of file diff --git a/testing/web-platform/tests/editing/other/selectall-in-editinghost.html b/testing/web-platform/tests/editing/other/selectall-in-editinghost.html new file mode 100644 index 0000000000..680817a771 --- /dev/null +++ b/testing/web-platform/tests/editing/other/selectall-in-editinghost.html @@ -0,0 +1,125 @@ + + + + +Select All in focused editor + + + + + +

preceding text

+
editable text
+

following text

+ + diff --git a/testing/web-platform/tests/editing/other/selectall-without-focus.html b/testing/web-platform/tests/editing/other/selectall-without-focus.html new file mode 100644 index 0000000000..508fdc47a2 --- /dev/null +++ b/testing/web-platform/tests/editing/other/selectall-without-focus.html @@ -0,0 +1,73 @@ + + + +Select All without focus should select not select only in the editing host + + + + +

preceding text

+
editable text diff --git a/testing/web-platform/tests/editing/other/setting-value-of-textcontrol-immediately-after-hidden.html b/testing/web-platform/tests/editing/other/setting-value-of-textcontrol-immediately-after-hidden.html new file mode 100644 index 0000000000..f8a867f078 --- /dev/null +++ b/testing/web-platform/tests/editing/other/setting-value-of-textcontrol-immediately-after-hidden.html @@ -0,0 +1,118 @@ + + + + + + +Testing edit action in zombie editor + + + + + + + + diff --git a/testing/web-platform/tests/editing/other/typing-around-link-element-after-joining-paragraphs.html b/testing/web-platform/tests/editing/other/typing-around-link-element-after-joining-paragraphs.html new file mode 100644 index 0000000000..4934530c9b --- /dev/null +++ b/testing/web-platform/tests/editing/other/typing-around-link-element-after-joining-paragraphs.html @@ -0,0 +1,194 @@ + + + + + + + +Typing after joining paragraph shouldn't be inserted into the link + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/editing/other/typing-around-link-element-at-collapsed-selection.tentative.html b/testing/web-platform/tests/editing/other/typing-around-link-element-at-collapsed-selection.tentative.html new file mode 100644 index 0000000000..2b2e304aba --- /dev/null +++ b/testing/web-platform/tests/editing/other/typing-around-link-element-at-collapsed-selection.tentative.html @@ -0,0 +1,635 @@ + + + + + + + + + + + + + +Testing inserting content around link element + + + + + + + + + +
+ + + + diff --git a/testing/web-platform/tests/editing/other/typing-around-link-element-at-non-collapsed-selection.tentative.html b/testing/web-platform/tests/editing/other/typing-around-link-element-at-non-collapsed-selection.tentative.html new file mode 100644 index 0000000000..a9e5790c35 --- /dev/null +++ b/testing/web-platform/tests/editing/other/typing-around-link-element-at-non-collapsed-selection.tentative.html @@ -0,0 +1,214 @@ + + + + + + + + + + + + + +Testing inserting content at non-collapsed selection around link element + + + + + + + + +
+ + + + diff --git a/testing/web-platform/tests/editing/other/typing-space-in-editable-button.tentative.html b/testing/web-platform/tests/editing/other/typing-space-in-editable-button.tentative.html new file mode 100644 index 0000000000..0f399378ab --- /dev/null +++ b/testing/web-platform/tests/editing/other/typing-space-in-editable-button.tentative.html @@ -0,0 +1,77 @@ + + + +Tests for pressing space in editable button element + + + + + + + + +
+ + + + diff --git a/testing/web-platform/tests/editing/other/typing-space-in-editable-summary.tentative.html b/testing/web-platform/tests/editing/other/typing-space-in-editable-summary.tentative.html new file mode 100644 index 0000000000..30a751d523 --- /dev/null +++ b/testing/web-platform/tests/editing/other/typing-space-in-editable-summary.tentative.html @@ -0,0 +1,90 @@ + + + +Tests for pressing space in editable summary element + + + + + + + +
HelloWorldDetails
+
HelloWorldDetails
+
HelloWorld
Details
+ + + diff --git a/testing/web-platform/tests/editing/other/undo-insertparagraph-after-moving-split-nodes.html b/testing/web-platform/tests/editing/other/undo-insertparagraph-after-moving-split-nodes.html new file mode 100644 index 0000000000..c61bcff9e9 --- /dev/null +++ b/testing/web-platform/tests/editing/other/undo-insertparagraph-after-moving-split-nodes.html @@ -0,0 +1,109 @@ + + + + + +Undo after splitting nodes are moved + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/editing/other/white-spaces-after-execCommand-delete.tentative.html b/testing/web-platform/tests/editing/other/white-spaces-after-execCommand-delete.tentative.html new file mode 100644 index 0000000000..1490bf06f5 --- /dev/null +++ b/testing/web-platform/tests/editing/other/white-spaces-after-execCommand-delete.tentative.html @@ -0,0 +1,342 @@ + + + + + +Testing normalizing white-space sequence after execCommand("delete", false, "") + + + + + + + + + + diff --git a/testing/web-platform/tests/editing/other/white-spaces-after-execCommand-forwarddelete.tentative.html b/testing/web-platform/tests/editing/other/white-spaces-after-execCommand-forwarddelete.tentative.html new file mode 100644 index 0000000000..af5c052c56 --- /dev/null +++ b/testing/web-platform/tests/editing/other/white-spaces-after-execCommand-forwarddelete.tentative.html @@ -0,0 +1,357 @@ + + + + +Testing normalizing white space sequence after execCommand("forward", false, "") + + + + + + + + + + diff --git a/testing/web-platform/tests/editing/other/white-spaces-after-execCommand-insertlinebreak.tentative.html b/testing/web-platform/tests/editing/other/white-spaces-after-execCommand-insertlinebreak.tentative.html new file mode 100644 index 0000000000..a961ee77bc --- /dev/null +++ b/testing/web-platform/tests/editing/other/white-spaces-after-execCommand-insertlinebreak.tentative.html @@ -0,0 +1,150 @@ + + + + +Testing normalizing white-space sequence after execCommand("insertlinebreak", false, "foo") + + + + + + + diff --git a/testing/web-platform/tests/editing/other/white-spaces-after-execCommand-insertparagraph.tentative.html b/testing/web-platform/tests/editing/other/white-spaces-after-execCommand-insertparagraph.tentative.html new file mode 100644 index 0000000000..854e6b3dae --- /dev/null +++ b/testing/web-platform/tests/editing/other/white-spaces-after-execCommand-insertparagraph.tentative.html @@ -0,0 +1,72 @@ + + + + +Testing normalizing white-space sequence after execCommand("insertparagraph", false, "foo") + + + + + + + diff --git a/testing/web-platform/tests/editing/other/white-spaces-after-execCommand-inserttext.tentative.html b/testing/web-platform/tests/editing/other/white-spaces-after-execCommand-inserttext.tentative.html new file mode 100644 index 0000000000..4b4146b509 --- /dev/null +++ b/testing/web-platform/tests/editing/other/white-spaces-after-execCommand-inserttext.tentative.html @@ -0,0 +1,526 @@ + + + + +Testing normalizing white-space sequence after execCommand("inserttext", false, "foo") + + + + + + + -- cgit v1.2.3