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 --- testing/web-platform/tests/old-tests/META.yml | 3 + .../foreigncontent/foreign_content_002.html | 47 +++ .../foreigncontent/foreign_content_007.html | 8 + .../foreigncontent/foreign_content_012.html | 33 ++ .../foreigncontent/foreign_content_014.html | 72 +++++ .../foreigncontent/foreign_content_015.html | 32 ++ .../submission/Microsoft/history/history_000.htm | 340 +++++++++++++++++++++ .../selection/RemoveElementContainingSelection.htm | 29 ++ .../Microsoft/selection/collapseToEnd.htm | 31 ++ .../Microsoft/selection/collapseToStart.htm | 31 ++ .../submission/Microsoft/selection/common.js | 15 + .../Microsoft/selection/deleteFromDocument.htm | 33 ++ .../submission/Microsoft/selection/getRangeAt.htm | 30 ++ .../selection/insertNodeIntoSelection.htm | 31 ++ .../Microsoft/selection/removeAllRanges.htm | 31 ++ .../submission/Microsoft/selection/removeRange.htm | 31 ++ .../submission/Microsoft/selection/select.htm | 32 ++ .../Microsoft/selection/selectAllChildren.htm | 27 ++ .../Microsoft/selection/selectionStartEnd.htm | 54 ++++ .../Microsoft/selection/setSelectionRange.htm | 53 ++++ 20 files changed, 963 insertions(+) create mode 100644 testing/web-platform/tests/old-tests/META.yml create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/foreigncontent/foreign_content_002.html create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/foreigncontent/foreign_content_007.html create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/foreigncontent/foreign_content_012.html create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/foreigncontent/foreign_content_014.html create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/foreigncontent/foreign_content_015.html create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/history/history_000.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/selection/RemoveElementContainingSelection.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/selection/collapseToEnd.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/selection/collapseToStart.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/selection/common.js create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/selection/deleteFromDocument.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/selection/getRangeAt.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/selection/insertNodeIntoSelection.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/selection/removeAllRanges.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/selection/removeRange.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/selection/select.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/selection/selectAllChildren.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/selection/selectionStartEnd.htm create mode 100644 testing/web-platform/tests/old-tests/submission/Microsoft/selection/setSelectionRange.htm (limited to 'testing/web-platform/tests/old-tests') diff --git a/testing/web-platform/tests/old-tests/META.yml b/testing/web-platform/tests/old-tests/META.yml new file mode 100644 index 0000000000..5c83e28865 --- /dev/null +++ b/testing/web-platform/tests/old-tests/META.yml @@ -0,0 +1,3 @@ +suggested_reviewers: + - foolip + - Ms2ger diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/foreigncontent/foreign_content_002.html b/testing/web-platform/tests/old-tests/submission/Microsoft/foreigncontent/foreign_content_002.html new file mode 100644 index 0000000000..fb6e44757d --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/foreigncontent/foreign_content_002.html @@ -0,0 +1,47 @@ + + + + HTML 5 Foreign Content SVG in HTML + + + + + + + +
+

Test passes if 'FillerText' is rendered as italic.

+
+
+ + + + +
+ + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/foreigncontent/foreign_content_007.html b/testing/web-platform/tests/old-tests/submission/Microsoft/foreigncontent/foreign_content_007.html new file mode 100644 index 0000000000..f1ba496bb0 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/foreigncontent/foreign_content_007.html @@ -0,0 +1,8 @@ + + + + + +
+

Test passes if a green rectangle is visible on the page above this line.

+
diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/foreigncontent/foreign_content_012.html b/testing/web-platform/tests/old-tests/submission/Microsoft/foreigncontent/foreign_content_012.html new file mode 100644 index 0000000000..bd8ab70f75 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/foreigncontent/foreign_content_012.html @@ -0,0 +1,33 @@ + + + + HTML 5 Foreign Content SVG in HTML + + + + + + + + + +
+

Test passes if a green square appears above a black square.

+
+ + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/foreigncontent/foreign_content_014.html b/testing/web-platform/tests/old-tests/submission/Microsoft/foreigncontent/foreign_content_014.html new file mode 100644 index 0000000000..0fc5f3fcdf --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/foreigncontent/foreign_content_014.html @@ -0,0 +1,72 @@ + + + + HTML 5 Foreign Content SVG in HTML + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/foreigncontent/foreign_content_015.html b/testing/web-platform/tests/old-tests/submission/Microsoft/foreigncontent/foreign_content_015.html new file mode 100644 index 0000000000..23d810a4f2 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/foreigncontent/foreign_content_015.html @@ -0,0 +1,32 @@ + + + + HTML 5 Foreign Content SVG in HTML + + + + + + + + + +
+ +
+ + + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/history/history_000.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/history/history_000.htm new file mode 100644 index 0000000000..0e335c7deb --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/history/history_000.htm @@ -0,0 +1,340 @@ + + + + + + + HTML5 History Test Cases + + + + +
+ + + + + + + + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/selection/RemoveElementContainingSelection.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/selection/RemoveElementContainingSelection.htm new file mode 100644 index 0000000000..1286493a3e --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/selection/RemoveElementContainingSelection.htm @@ -0,0 +1,29 @@ + + + + HTML5 Selection: Remove the element containing the selection + + + + + +
some text + aaaaaaaa +
+
Remove the element containing the selection
+ + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/selection/collapseToEnd.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/selection/collapseToEnd.htm new file mode 100644 index 0000000000..3a93d52ce0 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/selection/collapseToEnd.htm @@ -0,0 +1,31 @@ + + + + HTML5 Selection: Collapse the selection with collapseToEnd() + + + + + + +

Collapse the selection with collapseToEnd()

+ + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/selection/collapseToStart.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/selection/collapseToStart.htm new file mode 100644 index 0000000000..d24cbae8f5 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/selection/collapseToStart.htm @@ -0,0 +1,31 @@ + + + + HTML5 Selection: Collapse the selection with collapseToStart() + + + + + + +

Collapse the selection with collapseToStart()

+ + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/selection/common.js b/testing/web-platform/tests/old-tests/submission/Microsoft/selection/common.js new file mode 100644 index 0000000000..6da739b5eb --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/selection/common.js @@ -0,0 +1,15 @@ +function checkSelectionAttributes(anchorNode, anchorOffset, focusNode, focusOffset, collapsed, rangeCount) +{ + var selection = window.getSelection(); + assert_equals(selection.anchorNode, anchorNode, "anchorNode"); + assert_equals(selection.anchorOffset, anchorOffset, "anchorOffset"); + assert_equals(selection.focusNode, focusNode, "focusNode"); + assert_equals(selection.focusOffset, focusOffset, "focusOffset"); + assert_equals(selection.isCollapsed, collapsed, "collapsed"); + assert_equals(selection.rangeCount, rangeCount, "rangeCount"); +} + +function checkDefaultSelectionAttributes() +{ + checkSelectionAttributes(null, 0, null, 0, true, 0); +} diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/selection/deleteFromDocument.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/selection/deleteFromDocument.htm new file mode 100644 index 0000000000..b9ae112275 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/selection/deleteFromDocument.htm @@ -0,0 +1,33 @@ + + + + HTML5 Selection: Delete some text from the document while it is part of a selection + + + + + + +

Delete some text from the document while it is part of a selection

+

abcdefghijklmnopqrstuvwxyz

+ + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/selection/getRangeAt.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/selection/getRangeAt.htm new file mode 100644 index 0000000000..d323e7d71c --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/selection/getRangeAt.htm @@ -0,0 +1,30 @@ + + + + HTML5 Selection: Get the range from the selection + + + + + +

Get the range from the selection

+ + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/selection/insertNodeIntoSelection.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/selection/insertNodeIntoSelection.htm new file mode 100644 index 0000000000..4ac8702a0e --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/selection/insertNodeIntoSelection.htm @@ -0,0 +1,31 @@ + + + + HTML5 Selection: Insert a new element and text node into an element that is currently selected + + + + + +

This test inserts a new element with a text node child into the current selection.

+
some text
+ + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/selection/removeAllRanges.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/selection/removeAllRanges.htm new file mode 100644 index 0000000000..85d6211e1c --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/selection/removeAllRanges.htm @@ -0,0 +1,31 @@ + + + + HTML5 Selection: Call removeAllRanges() to clear the selection + + + + + + +

Call removeAllRanges() to clear the selection

+ + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/selection/removeRange.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/selection/removeRange.htm new file mode 100644 index 0000000000..8786e82671 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/selection/removeRange.htm @@ -0,0 +1,31 @@ + + + + HTML5 Selection: Remove the range from the selection + + + + + + +

Remove the range from the selection by calling removeRange()

+ + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/selection/select.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/selection/select.htm new file mode 100644 index 0000000000..98086ef189 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/selection/select.htm @@ -0,0 +1,32 @@ + + + + HTML5 Selection: Call select() on a text field + + + + + + + +

Select the text in the input element by calling select()

+ + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/selection/selectAllChildren.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/selection/selectAllChildren.htm new file mode 100644 index 0000000000..8f0d7c81b9 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/selection/selectAllChildren.htm @@ -0,0 +1,27 @@ + + + + HTML5 Selection: Call selectAllChildren() where the parameter is a text node + + + + + + +
Call selectAllChildren() where the parameter is a text node
+ + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/selection/selectionStartEnd.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/selection/selectionStartEnd.htm new file mode 100644 index 0000000000..35687f4a5a --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/selection/selectionStartEnd.htm @@ -0,0 +1,54 @@ + + + + HTML5 Selection: Set selectionStart and selectionEnd on a text field + + + + + + + +

Select some text in the input element by setting selectionStart and selectionEnd

+ + diff --git a/testing/web-platform/tests/old-tests/submission/Microsoft/selection/setSelectionRange.htm b/testing/web-platform/tests/old-tests/submission/Microsoft/selection/setSelectionRange.htm new file mode 100644 index 0000000000..8de7fe5eb4 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Microsoft/selection/setSelectionRange.htm @@ -0,0 +1,53 @@ + + + + HTML5 Selection: Call setSelectionRange() on a text field + + + + + + + +

Call setSelectionRange() on the input element to select some of the text

+ + -- cgit v1.2.3