From 43a97878ce14b72f0981164f87f2e35e14151312 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 11:22:09 +0200 Subject: Adding upstream version 110.0.1. Signed-off-by: Daniel Baumann --- .../tests/html/editing/dnd/events/001-1.xhtml | 51 +++ .../tests/html/editing/dnd/events/001.xhtml | 10 + .../tests/html/editing/dnd/events/002-1.xhtml | 51 +++ .../tests/html/editing/dnd/events/002.xhtml | 10 + .../tests/html/editing/dnd/events/003-1.xhtml | 51 +++ .../tests/html/editing/dnd/events/003.xhtml | 10 + .../tests/html/editing/dnd/events/004.xhtml | 55 +++ .../tests/html/editing/dnd/events/005.xhtml | 55 +++ .../tests/html/editing/dnd/events/006.xhtml | 55 +++ .../tests/html/editing/dnd/events/007.xhtml | 56 ++++ .../tests/html/editing/dnd/events/008.xhtml | 56 ++++ .../tests/html/editing/dnd/events/009.xhtml | 56 ++++ .../tests/html/editing/dnd/events/010.xhtml | 55 +++ .../tests/html/editing/dnd/events/011.xhtml | 55 +++ .../tests/html/editing/dnd/events/012.xhtml | 55 +++ .../tests/html/editing/dnd/events/013.xhtml | 56 ++++ .../tests/html/editing/dnd/events/014.xhtml | 56 ++++ .../tests/html/editing/dnd/events/015.xhtml | 56 ++++ .../tests/html/editing/dnd/events/016.xhtml | 29 ++ .../tests/html/editing/dnd/events/017.xhtml | 29 ++ .../tests/html/editing/dnd/events/018.xhtml | 27 ++ .../tests/html/editing/dnd/events/019.xhtml | 21 ++ .../tests/html/editing/dnd/events/020.xhtml | 21 ++ .../tests/html/editing/dnd/events/021.xhtml | 19 ++ .../tests/html/editing/dnd/events/022.xhtml | 36 ++ .../tests/html/editing/dnd/events/023.xhtml | 36 ++ .../tests/html/editing/dnd/events/024.xhtml | 34 ++ .../tests/html/editing/dnd/events/025.html | 69 ++++ .../tests/html/editing/dnd/events/026.html | 61 ++++ .../tests/html/editing/dnd/events/027.xhtml | 24 ++ .../tests/html/editing/dnd/events/028.xhtml | 19 ++ .../tests/html/editing/dnd/events/029.html | 79 +++++ .../tests/html/editing/dnd/events/030.html | 61 ++++ .../tests/html/editing/dnd/events/031-1.html | 25 ++ .../tests/html/editing/dnd/events/031.html | 25 ++ .../tests/html/editing/dnd/events/032.html | 81 +++++ .../tests/html/editing/dnd/events/033.html | 79 +++++ .../tests/html/editing/dnd/events/034.html | 56 ++++ .../tests/html/editing/dnd/events/035.html | 83 +++++ .../tests/html/editing/dnd/events/036.html | 70 ++++ .../html/editing/dnd/events/037-proposed.xhtml | 86 +++++ .../tests/html/editing/dnd/events/037-spec.xhtml | 88 +++++ .../html/editing/dnd/events/038-proposed.html | 84 +++++ .../editing/dnd/events/drag-event-div-manual.html | 62 ++++ .../html/editing/dnd/events/drag-event-manual.html | 62 ++++ .../editing/dnd/events/dragend-event-manual.html | 64 ++++ .../editing/dnd/events/dragenter-event-manual.html | 67 ++++ .../editing/dnd/events/dragleave-event-manual.html | 66 ++++ .../editing/dnd/events/dragover-event-manual.html | 64 ++++ .../editing/dnd/events/dragstart-event-manual.html | 62 ++++ .../html/editing/dnd/events/drop-event-manual.html | 64 ++++ .../events-cross-document-suite-HELPER-1.html | 205 ++++++++++++ .../events-cross-document-suite-HELPER-2.html | 77 +++++ .../events/events-cross-document-suite-manual.html | 12 + .../dnd/events/events-file-suite-manual.html | 176 ++++++++++ .../events/events-non-draggable-001-manual.html | 60 ++++ .../events/events-non-draggable-002-manual.html | 101 ++++++ .../editing/dnd/events/events-suite-manual.html | 371 +++++++++++++++++++++ .../events/helper-drag-me-input-with-circle.xhtml | 51 +++ .../events/helper-drag-me-link-with-circle.xhtml | 51 +++ .../dnd/events/helper-drag-me-p-with-circle.xhtml | 51 +++ .../dnd/events/helper-drop-here-body-circle.xhtml | 51 +++ .../html/editing/dnd/events/historical-manual.html | 45 +++ .../dnd/events/relatedTarget-attribute-manual.html | 65 ++++ 64 files changed, 3918 insertions(+) create mode 100644 testing/web-platform/tests/html/editing/dnd/events/001-1.xhtml create mode 100644 testing/web-platform/tests/html/editing/dnd/events/001.xhtml create mode 100644 testing/web-platform/tests/html/editing/dnd/events/002-1.xhtml create mode 100644 testing/web-platform/tests/html/editing/dnd/events/002.xhtml create mode 100644 testing/web-platform/tests/html/editing/dnd/events/003-1.xhtml create mode 100644 testing/web-platform/tests/html/editing/dnd/events/003.xhtml create mode 100644 testing/web-platform/tests/html/editing/dnd/events/004.xhtml create mode 100644 testing/web-platform/tests/html/editing/dnd/events/005.xhtml create mode 100644 testing/web-platform/tests/html/editing/dnd/events/006.xhtml create mode 100644 testing/web-platform/tests/html/editing/dnd/events/007.xhtml create mode 100644 testing/web-platform/tests/html/editing/dnd/events/008.xhtml create mode 100644 testing/web-platform/tests/html/editing/dnd/events/009.xhtml create mode 100644 testing/web-platform/tests/html/editing/dnd/events/010.xhtml create mode 100644 testing/web-platform/tests/html/editing/dnd/events/011.xhtml create mode 100644 testing/web-platform/tests/html/editing/dnd/events/012.xhtml create mode 100644 testing/web-platform/tests/html/editing/dnd/events/013.xhtml create mode 100644 testing/web-platform/tests/html/editing/dnd/events/014.xhtml create mode 100644 testing/web-platform/tests/html/editing/dnd/events/015.xhtml create mode 100644 testing/web-platform/tests/html/editing/dnd/events/016.xhtml create mode 100644 testing/web-platform/tests/html/editing/dnd/events/017.xhtml create mode 100644 testing/web-platform/tests/html/editing/dnd/events/018.xhtml create mode 100644 testing/web-platform/tests/html/editing/dnd/events/019.xhtml create mode 100644 testing/web-platform/tests/html/editing/dnd/events/020.xhtml create mode 100644 testing/web-platform/tests/html/editing/dnd/events/021.xhtml create mode 100644 testing/web-platform/tests/html/editing/dnd/events/022.xhtml create mode 100644 testing/web-platform/tests/html/editing/dnd/events/023.xhtml create mode 100644 testing/web-platform/tests/html/editing/dnd/events/024.xhtml create mode 100644 testing/web-platform/tests/html/editing/dnd/events/025.html create mode 100644 testing/web-platform/tests/html/editing/dnd/events/026.html create mode 100644 testing/web-platform/tests/html/editing/dnd/events/027.xhtml create mode 100644 testing/web-platform/tests/html/editing/dnd/events/028.xhtml create mode 100644 testing/web-platform/tests/html/editing/dnd/events/029.html create mode 100644 testing/web-platform/tests/html/editing/dnd/events/030.html create mode 100644 testing/web-platform/tests/html/editing/dnd/events/031-1.html create mode 100644 testing/web-platform/tests/html/editing/dnd/events/031.html create mode 100644 testing/web-platform/tests/html/editing/dnd/events/032.html create mode 100644 testing/web-platform/tests/html/editing/dnd/events/033.html create mode 100644 testing/web-platform/tests/html/editing/dnd/events/034.html create mode 100644 testing/web-platform/tests/html/editing/dnd/events/035.html create mode 100644 testing/web-platform/tests/html/editing/dnd/events/036.html create mode 100644 testing/web-platform/tests/html/editing/dnd/events/037-proposed.xhtml create mode 100644 testing/web-platform/tests/html/editing/dnd/events/037-spec.xhtml create mode 100644 testing/web-platform/tests/html/editing/dnd/events/038-proposed.html create mode 100644 testing/web-platform/tests/html/editing/dnd/events/drag-event-div-manual.html create mode 100644 testing/web-platform/tests/html/editing/dnd/events/drag-event-manual.html create mode 100644 testing/web-platform/tests/html/editing/dnd/events/dragend-event-manual.html create mode 100644 testing/web-platform/tests/html/editing/dnd/events/dragenter-event-manual.html create mode 100644 testing/web-platform/tests/html/editing/dnd/events/dragleave-event-manual.html create mode 100644 testing/web-platform/tests/html/editing/dnd/events/dragover-event-manual.html create mode 100644 testing/web-platform/tests/html/editing/dnd/events/dragstart-event-manual.html create mode 100644 testing/web-platform/tests/html/editing/dnd/events/drop-event-manual.html create mode 100644 testing/web-platform/tests/html/editing/dnd/events/events-cross-document-suite-HELPER-1.html create mode 100644 testing/web-platform/tests/html/editing/dnd/events/events-cross-document-suite-HELPER-2.html create mode 100644 testing/web-platform/tests/html/editing/dnd/events/events-cross-document-suite-manual.html create mode 100644 testing/web-platform/tests/html/editing/dnd/events/events-file-suite-manual.html create mode 100644 testing/web-platform/tests/html/editing/dnd/events/events-non-draggable-001-manual.html create mode 100644 testing/web-platform/tests/html/editing/dnd/events/events-non-draggable-002-manual.html create mode 100644 testing/web-platform/tests/html/editing/dnd/events/events-suite-manual.html create mode 100644 testing/web-platform/tests/html/editing/dnd/events/helper-drag-me-input-with-circle.xhtml create mode 100644 testing/web-platform/tests/html/editing/dnd/events/helper-drag-me-link-with-circle.xhtml create mode 100644 testing/web-platform/tests/html/editing/dnd/events/helper-drag-me-p-with-circle.xhtml create mode 100644 testing/web-platform/tests/html/editing/dnd/events/helper-drop-here-body-circle.xhtml create mode 100644 testing/web-platform/tests/html/editing/dnd/events/historical-manual.html create mode 100644 testing/web-platform/tests/html/editing/dnd/events/relatedTarget-attribute-manual.html (limited to 'testing/web-platform/tests/html/editing/dnd/events') diff --git a/testing/web-platform/tests/html/editing/dnd/events/001-1.xhtml b/testing/web-platform/tests/html/editing/dnd/events/001-1.xhtml new file mode 100644 index 0000000000..001d0b5c90 --- /dev/null +++ b/testing/web-platform/tests/html/editing/dnd/events/001-1.xhtml @@ -0,0 +1,51 @@ + + + +Cross frame drag and drop: helper file + + + + +

Drag me

+

Drag selected text to the frame below and drop it there. Both circles should turn green once text is dropped into lower frame.

+
+
+
+
diff --git a/testing/web-platform/tests/html/editing/dnd/events/001.xhtml b/testing/web-platform/tests/html/editing/dnd/events/001.xhtml
new file mode 100644
index 0000000000..4c8e7d563e
--- /dev/null
+++ b/testing/web-platform/tests/html/editing/dnd/events/001.xhtml
@@ -0,0 +1,10 @@
+
+
+
+Drag and drop of selection between frames
+
+
+
+
+
+
diff --git a/testing/web-platform/tests/html/editing/dnd/events/002-1.xhtml b/testing/web-platform/tests/html/editing/dnd/events/002-1.xhtml
new file mode 100644
index 0000000000..7e575b2eb6
--- /dev/null
+++ b/testing/web-platform/tests/html/editing/dnd/events/002-1.xhtml
@@ -0,0 +1,51 @@
+
+
+
+Cross frame drag and drop: helper file
+
+
+
+
+

+

Drag selected text to the frame below and drop it there. Both circles should turn green once text is dropped into lower frame.

+
+
+
+
diff --git a/testing/web-platform/tests/html/editing/dnd/events/002.xhtml b/testing/web-platform/tests/html/editing/dnd/events/002.xhtml
new file mode 100644
index 0000000000..9bd76db260
--- /dev/null
+++ b/testing/web-platform/tests/html/editing/dnd/events/002.xhtml
@@ -0,0 +1,10 @@
+
+
+
+Drag and drop of text input selection between frames
+
+
+
+
+
+
diff --git a/testing/web-platform/tests/html/editing/dnd/events/003-1.xhtml b/testing/web-platform/tests/html/editing/dnd/events/003-1.xhtml
new file mode 100644
index 0000000000..2c7d3b9191
--- /dev/null
+++ b/testing/web-platform/tests/html/editing/dnd/events/003-1.xhtml
@@ -0,0 +1,51 @@
+
+
+
+Cross frame drag and drop: helper file
+
+
+
+
+

Drag me

+

Drag link to the frame below and drop it there. Both circles should turn green once link is dropped into lower frame.

+
+
+
+
diff --git a/testing/web-platform/tests/html/editing/dnd/events/003.xhtml b/testing/web-platform/tests/html/editing/dnd/events/003.xhtml
new file mode 100644
index 0000000000..c853e931d5
--- /dev/null
+++ b/testing/web-platform/tests/html/editing/dnd/events/003.xhtml
@@ -0,0 +1,10 @@
+
+
+
+Drag and drop of link between frames
+
+
+
+
+
+
diff --git a/testing/web-platform/tests/html/editing/dnd/events/004.xhtml b/testing/web-platform/tests/html/editing/dnd/events/004.xhtml
new file mode 100644
index 0000000000..85753621bb
--- /dev/null
+++ b/testing/web-platform/tests/html/editing/dnd/events/004.xhtml
@@ -0,0 +1,55 @@
+
+
+
+Drag and drop of selection to iframe
+
+
+
+
+

Drag me

+

Drag selected text to the frame below and drop it there. Both circles should turn green once text is dropped into lower frame.

+
+
+
+
+
diff --git a/testing/web-platform/tests/html/editing/dnd/events/005.xhtml b/testing/web-platform/tests/html/editing/dnd/events/005.xhtml
new file mode 100644
index 0000000000..4ea0a9058d
--- /dev/null
+++ b/testing/web-platform/tests/html/editing/dnd/events/005.xhtml
@@ -0,0 +1,55 @@
+
+
+
+Drag and drop of text input selection to iframe
+
+
+
+
+

+

Drag selected text to the frame below and drop it there. Both circles should turn green once text is dropped into lower frame.

+
+
+
+
+
diff --git a/testing/web-platform/tests/html/editing/dnd/events/006.xhtml b/testing/web-platform/tests/html/editing/dnd/events/006.xhtml
new file mode 100644
index 0000000000..f9d659f31a
--- /dev/null
+++ b/testing/web-platform/tests/html/editing/dnd/events/006.xhtml
@@ -0,0 +1,55 @@
+
+
+
+Drag and drop of link to iframe
+
+
+
+
+

Drag me

+

Drag link to the frame below and drop it there. Both circles should turn green once link is dropped into lower frame.

+
+
+
+
+
diff --git a/testing/web-platform/tests/html/editing/dnd/events/007.xhtml b/testing/web-platform/tests/html/editing/dnd/events/007.xhtml
new file mode 100644
index 0000000000..3c1c217a89
--- /dev/null
+++ b/testing/web-platform/tests/html/editing/dnd/events/007.xhtml
@@ -0,0 +1,56 @@
+
+
+
+Drag and drop of selection to object
+
+
+
+
+

Drag me

+

Drag selected text to the frame below and drop it there. Both circles should turn green once text is dropped into lower frame.

+
+
+XHTML document
+
+
diff --git a/testing/web-platform/tests/html/editing/dnd/events/008.xhtml b/testing/web-platform/tests/html/editing/dnd/events/008.xhtml
new file mode 100644
index 0000000000..e22695a692
--- /dev/null
+++ b/testing/web-platform/tests/html/editing/dnd/events/008.xhtml
@@ -0,0 +1,56 @@
+
+
+
+Drag and drop of text input selection to object
+
+
+
+
+

+

Drag selected text to the frame below and drop it there. Both circles should turn green once text is dropped into lower frame.

+
+
+XHTML document
+
+
diff --git a/testing/web-platform/tests/html/editing/dnd/events/009.xhtml b/testing/web-platform/tests/html/editing/dnd/events/009.xhtml
new file mode 100644
index 0000000000..d2ddd32bdc
--- /dev/null
+++ b/testing/web-platform/tests/html/editing/dnd/events/009.xhtml
@@ -0,0 +1,56 @@
+
+
+
+Drag and drop of link to object
+
+
+
+
+

Drag me

+

Drag link to the frame below and drop it there. Both circles should turn green once link is dropped into lower frame.

+
+
+XHTML document
+
+
diff --git a/testing/web-platform/tests/html/editing/dnd/events/010.xhtml b/testing/web-platform/tests/html/editing/dnd/events/010.xhtml
new file mode 100644
index 0000000000..bbc2254282
--- /dev/null
+++ b/testing/web-platform/tests/html/editing/dnd/events/010.xhtml
@@ -0,0 +1,55 @@
+
+
+
+Drag and drop of selection from iframe
+
+
+
+
+
+
+
+
+
diff --git a/testing/web-platform/tests/html/editing/dnd/events/011.xhtml b/testing/web-platform/tests/html/editing/dnd/events/011.xhtml
new file mode 100644
index 0000000000..3ec4e5c40b
--- /dev/null
+++ b/testing/web-platform/tests/html/editing/dnd/events/011.xhtml
@@ -0,0 +1,55 @@
+
+
+
+Drag and drop of text input selection from iframe
+
+
+
+
+
+
+
+
+
diff --git a/testing/web-platform/tests/html/editing/dnd/events/012.xhtml b/testing/web-platform/tests/html/editing/dnd/events/012.xhtml
new file mode 100644
index 0000000000..0cebe5d895
--- /dev/null
+++ b/testing/web-platform/tests/html/editing/dnd/events/012.xhtml
@@ -0,0 +1,55 @@
+
+
+
+Drag and drop of link from iframe
+
+
+
+
+
+
+
+
+
diff --git a/testing/web-platform/tests/html/editing/dnd/events/013.xhtml b/testing/web-platform/tests/html/editing/dnd/events/013.xhtml
new file mode 100644
index 0000000000..3e6c19c402
--- /dev/null
+++ b/testing/web-platform/tests/html/editing/dnd/events/013.xhtml
@@ -0,0 +1,56 @@
+
+
+
+Drag and drop of selection from object
+
+
+
+
+XHTML document
+
+
+
+
diff --git a/testing/web-platform/tests/html/editing/dnd/events/014.xhtml b/testing/web-platform/tests/html/editing/dnd/events/014.xhtml
new file mode 100644
index 0000000000..09abedd1f1
--- /dev/null
+++ b/testing/web-platform/tests/html/editing/dnd/events/014.xhtml
@@ -0,0 +1,56 @@
+
+
+
+Drag and drop of text input selection from object
+
+
+
+
+XHTML document
+
+
+
+
diff --git a/testing/web-platform/tests/html/editing/dnd/events/015.xhtml b/testing/web-platform/tests/html/editing/dnd/events/015.xhtml
new file mode 100644
index 0000000000..7baf086b77
--- /dev/null
+++ b/testing/web-platform/tests/html/editing/dnd/events/015.xhtml
@@ -0,0 +1,56 @@
+
+
+
+Drag and drop of link from object
+
+
+
+
+XHTML document
+
+
+
+
diff --git a/testing/web-platform/tests/html/editing/dnd/events/016.xhtml b/testing/web-platform/tests/html/editing/dnd/events/016.xhtml
new file mode 100644
index 0000000000..e6f9972a4d
--- /dev/null
+++ b/testing/web-platform/tests/html/editing/dnd/events/016.xhtml
@@ -0,0 +1,29 @@
+
+
+
+Selection drag and drop: events after dragenter is cancelled
+
+
+
+

Try to drag me

+

You should not be able to drag text selection above.

+
+
+
diff --git a/testing/web-platform/tests/html/editing/dnd/events/017.xhtml b/testing/web-platform/tests/html/editing/dnd/events/017.xhtml
new file mode 100644
index 0000000000..0a372b5337
--- /dev/null
+++ b/testing/web-platform/tests/html/editing/dnd/events/017.xhtml
@@ -0,0 +1,29 @@
+
+
+
+Text input selection drag and drop: events after dragenter is cancelled
+
+
+
+

+

You should not be able to drag text selection above.

+
+
+
diff --git a/testing/web-platform/tests/html/editing/dnd/events/018.xhtml b/testing/web-platform/tests/html/editing/dnd/events/018.xhtml
new file mode 100644
index 0000000000..4aa8ba0997
--- /dev/null
+++ b/testing/web-platform/tests/html/editing/dnd/events/018.xhtml
@@ -0,0 +1,27 @@
+
+
+
+Link drag and drop: events after dragenter is cancelled
+
+
+
+

Try to drag me

+

You should not be able to drag link above.

+
+
+
diff --git a/testing/web-platform/tests/html/editing/dnd/events/019.xhtml b/testing/web-platform/tests/html/editing/dnd/events/019.xhtml
new file mode 100644
index 0000000000..4e718dda27
--- /dev/null
+++ b/testing/web-platform/tests/html/editing/dnd/events/019.xhtml
@@ -0,0 +1,21 @@
+
+
+
+Selection drag and drop: events after drag is cancelled
+
+
+
+

Try to drag me

+

You should not be able to drop text selection above.

+
+
+
diff --git a/testing/web-platform/tests/html/editing/dnd/events/020.xhtml b/testing/web-platform/tests/html/editing/dnd/events/020.xhtml
new file mode 100644
index 0000000000..4a1d60a647
--- /dev/null
+++ b/testing/web-platform/tests/html/editing/dnd/events/020.xhtml
@@ -0,0 +1,21 @@
+
+
+
+Text input selection drag and drop: events after drag is cancelled
+
+
+
+

+

You should not be able to drop text selection above.

+
+
+
diff --git a/testing/web-platform/tests/html/editing/dnd/events/021.xhtml b/testing/web-platform/tests/html/editing/dnd/events/021.xhtml
new file mode 100644
index 0000000000..6cca911f1d
--- /dev/null
+++ b/testing/web-platform/tests/html/editing/dnd/events/021.xhtml
@@ -0,0 +1,19 @@
+
+
+
+Link drag and drop: events after drag is cancelled
+
+
+
+

Try to drag me

+

You should not be able to drag link above.

+
+
+
diff --git a/testing/web-platform/tests/html/editing/dnd/events/022.xhtml b/testing/web-platform/tests/html/editing/dnd/events/022.xhtml
new file mode 100644
index 0000000000..98773f2cb6
--- /dev/null
+++ b/testing/web-platform/tests/html/editing/dnd/events/022.xhtml
@@ -0,0 +1,36 @@
+
+
+
+Selection drag and drop: events after drag and drop is cancelled
+
+
+
+
+

Drag me

+

Drag selected text and press Esc before you drop it. Circle below should turn green once drag and drop is cancelled.

+
+
+
+
diff --git a/testing/web-platform/tests/html/editing/dnd/events/023.xhtml b/testing/web-platform/tests/html/editing/dnd/events/023.xhtml
new file mode 100644
index 0000000000..fadf76bf27
--- /dev/null
+++ b/testing/web-platform/tests/html/editing/dnd/events/023.xhtml
@@ -0,0 +1,36 @@
+
+
+
+Text input selection drag and drop: events after drag and drop is cancelled
+
+
+
+
+

+

Drag selected text and press Esc before you drop it. Circle below should turn green once drag and drop is cancelled.

+
+
+
+
diff --git a/testing/web-platform/tests/html/editing/dnd/events/024.xhtml b/testing/web-platform/tests/html/editing/dnd/events/024.xhtml
new file mode 100644
index 0000000000..9afa8f709a
--- /dev/null
+++ b/testing/web-platform/tests/html/editing/dnd/events/024.xhtml
@@ -0,0 +1,34 @@
+
+
+
+Link drag and drop: events after drag and drop is cancelled
+
+
+
+
+

Drag me

+

Drag link and press Esc before you drop it. Circle below should turn green once drag and drop is cancelled.

+
+
+
+
diff --git a/testing/web-platform/tests/html/editing/dnd/events/025.html b/testing/web-platform/tests/html/editing/dnd/events/025.html
new file mode 100644
index 0000000000..b4bbbc547e
--- /dev/null
+++ b/testing/web-platform/tests/html/editing/dnd/events/025.html
@@ -0,0 +1,69 @@
+
+
+  
+    Dragover repeating
+    
+    
+  
+  
+
+    
+
+

Drag the orange square over the blue square, then keep the mouse perfectly still until the result appears.

+ + + + diff --git a/testing/web-platform/tests/html/editing/dnd/events/026.html b/testing/web-platform/tests/html/editing/dnd/events/026.html new file mode 100644 index 0000000000..816155a09d --- /dev/null +++ b/testing/web-platform/tests/html/editing/dnd/events/026.html @@ -0,0 +1,61 @@ + + + + Drag repeating + + + + + +
+

Drag the orange square sideways until the drag placeholder appears, then keep the mouse perfectly still until the result appears.

+ + + + diff --git a/testing/web-platform/tests/html/editing/dnd/events/027.xhtml b/testing/web-platform/tests/html/editing/dnd/events/027.xhtml new file mode 100644 index 0000000000..983bcd298b --- /dev/null +++ b/testing/web-platform/tests/html/editing/dnd/events/027.xhtml @@ -0,0 +1,24 @@ + + + +PNG image drag and drop: 'return false' should not cancel event + + + + +

PNG circle

+

Drag green circle to the silver box below and drop it. It should be copied to the box once you drop it there.

+
+ + diff --git a/testing/web-platform/tests/html/editing/dnd/events/028.xhtml b/testing/web-platform/tests/html/editing/dnd/events/028.xhtml new file mode 100644 index 0000000000..35c69766f6 --- /dev/null +++ b/testing/web-platform/tests/html/editing/dnd/events/028.xhtml @@ -0,0 +1,19 @@ + + + +Link drag and drop: 'return false' should not cancel event + + + +

Drag me

+

Drag link above to the navy box below and drop it. You should see word PASS once you drop it in the box.

+
+ + diff --git a/testing/web-platform/tests/html/editing/dnd/events/029.html b/testing/web-platform/tests/html/editing/dnd/events/029.html new file mode 100644 index 0000000000..70c243d993 --- /dev/null +++ b/testing/web-platform/tests/html/editing/dnd/events/029.html @@ -0,0 +1,79 @@ + + + + Drag and drop without cancelling dragenter + + + + + +
+
 
+

Drag the orange square onto the blue square and release it.

+ + + + diff --git a/testing/web-platform/tests/html/editing/dnd/events/030.html b/testing/web-platform/tests/html/editing/dnd/events/030.html new file mode 100644 index 0000000000..8dc573474d --- /dev/null +++ b/testing/web-platform/tests/html/editing/dnd/events/030.html @@ -0,0 +1,61 @@ + + + + Drag and drop without cancelling dragenter on body + + + + + +
+
 
+

Drag the orange square onto the blue square, then back to the orange square, and release it.

+ + + + diff --git a/testing/web-platform/tests/html/editing/dnd/events/031-1.html b/testing/web-platform/tests/html/editing/dnd/events/031-1.html new file mode 100644 index 0000000000..b70082ba21 --- /dev/null +++ b/testing/web-platform/tests/html/editing/dnd/events/031-1.html @@ -0,0 +1,25 @@ + + + + Non-rendered body should still become current target element + + + + + + + + diff --git a/testing/web-platform/tests/html/editing/dnd/events/031.html b/testing/web-platform/tests/html/editing/dnd/events/031.html new file mode 100644 index 0000000000..92220e30e1 --- /dev/null +++ b/testing/web-platform/tests/html/editing/dnd/events/031.html @@ -0,0 +1,25 @@ + + + + Non-rendered body should still become current target element + + + + + +

Drag the orange square onto the blue square and release it. Fail if text does not appear in the blue square.

+

+ + + + diff --git a/testing/web-platform/tests/html/editing/dnd/events/032.html b/testing/web-platform/tests/html/editing/dnd/events/032.html new file mode 100644 index 0000000000..a928a3c425 --- /dev/null +++ b/testing/web-platform/tests/html/editing/dnd/events/032.html @@ -0,0 +1,81 @@ + + + + Drag and drop passing over body without cancelling dragenter + + + + + +
+
 
+

Drag the orange square onto the blue square and release it.

+ + + + diff --git a/testing/web-platform/tests/html/editing/dnd/events/033.html b/testing/web-platform/tests/html/editing/dnd/events/033.html new file mode 100644 index 0000000000..d06bee3d8d --- /dev/null +++ b/testing/web-platform/tests/html/editing/dnd/events/033.html @@ -0,0 +1,79 @@ + + + + Drag and drop without cancelling dragenter from non-target to non-target + + + + + +
+
 
+

Drag the orange square onto the blue square and release it.

+ + + + diff --git a/testing/web-platform/tests/html/editing/dnd/events/034.html b/testing/web-platform/tests/html/editing/dnd/events/034.html new file mode 100644 index 0000000000..ea8867ba2c --- /dev/null +++ b/testing/web-platform/tests/html/editing/dnd/events/034.html @@ -0,0 +1,56 @@ + + + + Drag and drop with cancelling dragenter on body + + + + + +
+
 
+

Drag the orange square onto the blue square, then back to the orange square, and release it.

+ + + + diff --git a/testing/web-platform/tests/html/editing/dnd/events/035.html b/testing/web-platform/tests/html/editing/dnd/events/035.html new file mode 100644 index 0000000000..8a7cb17491 --- /dev/null +++ b/testing/web-platform/tests/html/editing/dnd/events/035.html @@ -0,0 +1,83 @@ + + + + Drag and drop passing over body with cancelling dragenter + + + + + +
+
 
+

Drag the orange square onto the blue square and release it.

+ + + + diff --git a/testing/web-platform/tests/html/editing/dnd/events/036.html b/testing/web-platform/tests/html/editing/dnd/events/036.html new file mode 100644 index 0000000000..1c66f18483 --- /dev/null +++ b/testing/web-platform/tests/html/editing/dnd/events/036.html @@ -0,0 +1,70 @@ + + + + Drag and drop passing over body with all events handled at body + + + + + +
+
 
+

Drag the orange square onto the blue square and release it. For the entire duration of the drag, if supported by the platform, the mouse cursor should show as a drop-allowed or drop-copy-allowed cursor.

+ + + + diff --git a/testing/web-platform/tests/html/editing/dnd/events/037-proposed.xhtml b/testing/web-platform/tests/html/editing/dnd/events/037-proposed.xhtml new file mode 100644 index 0000000000..3c94177f02 --- /dev/null +++ b/testing/web-platform/tests/html/editing/dnd/events/037-proposed.xhtml @@ -0,0 +1,86 @@ + + + Drag and drop without cancelling dragenter and without body + + + + + +
+
 
+

Drag the orange square onto the blue square, then back to the orange square, and release it.

+ + + + diff --git a/testing/web-platform/tests/html/editing/dnd/events/037-spec.xhtml b/testing/web-platform/tests/html/editing/dnd/events/037-spec.xhtml new file mode 100644 index 0000000000..c4c76fe806 --- /dev/null +++ b/testing/web-platform/tests/html/editing/dnd/events/037-spec.xhtml @@ -0,0 +1,88 @@ + + + Drag and drop without cancelling dragenter and without body (spec compliant) + + + + + +
+
 
+

Drag the orange square onto the blue square, then back to the orange square, and release it.

+ + + + diff --git a/testing/web-platform/tests/html/editing/dnd/events/038-proposed.html b/testing/web-platform/tests/html/editing/dnd/events/038-proposed.html new file mode 100644 index 0000000000..ee1cc8ed0e --- /dev/null +++ b/testing/web-platform/tests/html/editing/dnd/events/038-proposed.html @@ -0,0 +1,84 @@ + + + + Drag and drop without cancelling dragenter and without body or html + + + + + +
+
 
+

Drag the orange square onto the blue square, then back to the orange square, and release it.

+ + + + diff --git a/testing/web-platform/tests/html/editing/dnd/events/drag-event-div-manual.html b/testing/web-platform/tests/html/editing/dnd/events/drag-event-div-manual.html new file mode 100644 index 0000000000..79c0c4332d --- /dev/null +++ b/testing/web-platform/tests/html/editing/dnd/events/drag-event-div-manual.html @@ -0,0 +1,62 @@ + + + + HTML5 Drag and Drop: Fire drag event when dragging a div element + + + + + + + + +
Description: Fire drag event when dragging a div element
+ + + + + + + + + +
Test ResultTest Assertion
ManualTest passes if if the word "PASS" appears to the left after following the steps below. +
+ Steps: +
    +
  1. Click and drag the red box +
+
+
+

+ http://dev.w3.org/html5/spec/dnd.html#drag-and-drop-processing-model +

+

+ If the user agent is still performing the previous iteration of the sequence (if any) when the next iteration becomes due, abort these steps for this iteration (effectively "skipping missed frames" of the drag-and-drop operation). + Fire a DND event named drag event at the source node. If this event is canceled, the user agent must set the current drag operation to "none" (no drag operation). +

+
+ + diff --git a/testing/web-platform/tests/html/editing/dnd/events/drag-event-manual.html b/testing/web-platform/tests/html/editing/dnd/events/drag-event-manual.html new file mode 100644 index 0000000000..d278b864bb --- /dev/null +++ b/testing/web-platform/tests/html/editing/dnd/events/drag-event-manual.html @@ -0,0 +1,62 @@ + + + + HTML5 Drag and Drop: Fire drag event during the drag and drop processing + + + + + + + + +
Description: Fire drag event during the drag and drop processing
+ + + + + + + + + +
Test ResultTest Assertion
ManualTest passes if if the word "PASS" appears to the left after following the steps below. +
+ Steps: +
    +
  1. Click and drag the blue image +
+
+
+

+ http://dev.w3.org/html5/spec/dnd.html#drag-and-drop-processing-model +

+

+ If the user agent is still performing the previous iteration of the sequence (if any) when the next iteration becomes due, abort these steps for this iteration (effectively "skipping missed frames" of the drag-and-drop operation). + Fire a DND event named drag event at the source node. If this event is canceled, the user agent must set the current drag operation to "none" (no drag operation). +

+ + + diff --git a/testing/web-platform/tests/html/editing/dnd/events/dragend-event-manual.html b/testing/web-platform/tests/html/editing/dnd/events/dragend-event-manual.html new file mode 100644 index 0000000000..8bfb1fb7b6 --- /dev/null +++ b/testing/web-platform/tests/html/editing/dnd/events/dragend-event-manual.html @@ -0,0 +1,64 @@ + + + + HTML5 Drag and Drop: Fire dragend event during the drag and drop processing + + + + + + + + +
Description: Fire dragend event during the drag and drop processing
+ + + + + + + + + +
Test ResultTest Assertion
ManualTest passes if if the word "PASS" appears to the left after following the steps below. +
+ Steps: +
    +
  1. Drag the blue image +
  2. Drop it on the green box +
+
+
+

+ http://dev.w3.org/html5/spec/dnd.html#drag-and-drop-processing-model +

+

+ If the drag operation failed or succeeded, fire a DND event named dragend at the source node. +

+ +

+ + + diff --git a/testing/web-platform/tests/html/editing/dnd/events/dragenter-event-manual.html b/testing/web-platform/tests/html/editing/dnd/events/dragenter-event-manual.html new file mode 100644 index 0000000000..e81b32949c --- /dev/null +++ b/testing/web-platform/tests/html/editing/dnd/events/dragenter-event-manual.html @@ -0,0 +1,67 @@ + + + + HTML5 Drag and Drop: Fire dragenter event during the drag and drop processing + + + + + + + + +
Description: Fire dragenter event during the drag and drop processing
+ + + + + + + + + +
Test ResultTest Assertion
ManualTest passes if if the word "PASS" appears to the left after following the steps below. +
+ Steps: +
    +
  1. Select the text inside the red box +
  2. Drag it and enter the green box +
+
+
+

+ http://dev.w3.org/html5/spec/dnd.html#drag-and-drop-processing-model +

+

+ If the user is indicating a different immediate user selection than during the last iteration (or if this is the first iteration), and if this immediate user selection is not the same as the current target element, then update the current target element as follows: + - If the new immediate user selection is null, Set the current target element to null also. + - If the new immediate user selection is in a non-DOM document or application, Set the current target element to the immediate user selection. + - Otherwise, Fire a DND event named dragenter at the immediate user selection. +

+
SampleText
+

+ + + diff --git a/testing/web-platform/tests/html/editing/dnd/events/dragleave-event-manual.html b/testing/web-platform/tests/html/editing/dnd/events/dragleave-event-manual.html new file mode 100644 index 0000000000..f6a405915f --- /dev/null +++ b/testing/web-platform/tests/html/editing/dnd/events/dragleave-event-manual.html @@ -0,0 +1,66 @@ + + + + HTML5 Drag and Drop: Fire dragleave event during the drag and drop processing + + + + + + + + +
Description: Fire dragleave event during the drag and drop processing
+ + + + + + + + + +
Test ResultTest Assertion
ManualTest passes if if the word "PASS" appears to the left after following the steps below. +
+ Steps: +
    +
  1. Select the text inside the red box +
  2. Drag it over the blue box and drop it on the green box +
+
+
+

+ http://dev.w3.org/html5/spec/dnd.html#drag-and-drop-processing-model +

+

+ If there is a change in the current target element, and if the previous target element was not null or a part of a non-DOM document, then fire a DND event named dragleave at the previous target element. +

+
SampleText
+
+
+
+ + + diff --git a/testing/web-platform/tests/html/editing/dnd/events/dragover-event-manual.html b/testing/web-platform/tests/html/editing/dnd/events/dragover-event-manual.html new file mode 100644 index 0000000000..f8d99241d5 --- /dev/null +++ b/testing/web-platform/tests/html/editing/dnd/events/dragover-event-manual.html @@ -0,0 +1,64 @@ + + + + HTML5 Drag and Drop: Fire dragover event during the drag and drop processing + + + + + + + + +
Description: Fire dragover event during the drag and drop processing
+ + + + + + + + + +
Test ResultTest Assertion
ManualTest passes if if the word "PASS" appears to the left after following the steps below. +
+ Steps: +
    +
  1. Select the text inside the red box. +
  2. Drag it, hover over the green box and then release the mouse +
+
+
+

+ http://dev.w3.org/html5/spec/dnd.html#drag-and-drop-processing-model +

+

+ If the current target element is a DOM element, then fire a DND event named dragover at this current target element +

+
SampleText
+

+
+ + diff --git a/testing/web-platform/tests/html/editing/dnd/events/dragstart-event-manual.html b/testing/web-platform/tests/html/editing/dnd/events/dragstart-event-manual.html new file mode 100644 index 0000000000..20786648da --- /dev/null +++ b/testing/web-platform/tests/html/editing/dnd/events/dragstart-event-manual.html @@ -0,0 +1,62 @@ + + + + HTML5 Drag and Drop: Fire dragstart event during the drag and drop processing + + + + + + + + +
Description: Fire dragstart event during the drag and drop processing
+ + + + + + + + + +
Test ResultTest Assertion
ManualTest passes if if the word "PASS" appears to the left after following the steps below. +
+ Steps: +
    +
  1. Click and drag the red box +
+
+
+

+ http://dev.w3.org/html5/spec/dnd.html#drag-and-drop-processing-model +

+

+ If it is an element that is being dragged, then set the drag data store elements list to contain just the source node. + Fire a DND event named dragstart at the source node. +

+
+ + diff --git a/testing/web-platform/tests/html/editing/dnd/events/drop-event-manual.html b/testing/web-platform/tests/html/editing/dnd/events/drop-event-manual.html new file mode 100644 index 0000000000..2897bd5713 --- /dev/null +++ b/testing/web-platform/tests/html/editing/dnd/events/drop-event-manual.html @@ -0,0 +1,64 @@ + + + + HTML5 Drag and Drop: Fire drop event during the drag and drop processing + + + + + + + + +
Description: Fire drop event during the drag and drop processing
+ + + + + + + + + +
Test ResultTest Assertion
ManualTest passes if if the word "PASS" appears to the left after following the steps below. +
+ Steps: +
    +
  1. Select the text inside the red box +
  2. Drag it and drop it on the green box +
+
+
+

+ http://dev.w3.org/html5/spec/dnd.html#drag-and-drop-processing-model +

+

+ If the drag operation was a success, if the current target element is a DOM element, fire a DND event named drop at it. +

+
SampleText
+

+ + + diff --git a/testing/web-platform/tests/html/editing/dnd/events/events-cross-document-suite-HELPER-1.html b/testing/web-platform/tests/html/editing/dnd/events/events-cross-document-suite-HELPER-1.html new file mode 100644 index 0000000000..4019610533 --- /dev/null +++ b/testing/web-platform/tests/html/editing/dnd/events/events-cross-document-suite-HELPER-1.html @@ -0,0 +1,205 @@ + +drag & drop - event sequence for cross-document drag + + + + +
+
+
+
+ +

If you have already clicked on this page, reload it.

+

Use your pointing device to slowly drag the orange square over the pink square, then the grey square, then the yellow square, then the blue square, and release it over the blue square (make sure the mouse remains over each square for at least 1 second, and over the gaps between squares for at least 1 second). Fail if no new text appears below.

diff --git a/testing/web-platform/tests/html/editing/dnd/events/events-cross-document-suite-HELPER-2.html b/testing/web-platform/tests/html/editing/dnd/events/events-cross-document-suite-HELPER-2.html new file mode 100644 index 0000000000..343fc09543 --- /dev/null +++ b/testing/web-platform/tests/html/editing/dnd/events/events-cross-document-suite-HELPER-2.html @@ -0,0 +1,77 @@ + +drag & drop - event sequence for cross-document drag + + + + +
+
+
+
diff --git a/testing/web-platform/tests/html/editing/dnd/events/events-cross-document-suite-manual.html b/testing/web-platform/tests/html/editing/dnd/events/events-cross-document-suite-manual.html new file mode 100644 index 0000000000..9428a87760 --- /dev/null +++ b/testing/web-platform/tests/html/editing/dnd/events/events-cross-document-suite-manual.html @@ -0,0 +1,12 @@ + +drag & drop - event sequence for cross-document drag + + + + + + + + diff --git a/testing/web-platform/tests/html/editing/dnd/events/events-file-suite-manual.html b/testing/web-platform/tests/html/editing/dnd/events/events-file-suite-manual.html new file mode 100644 index 0000000000..22a66f5e9a --- /dev/null +++ b/testing/web-platform/tests/html/editing/dnd/events/events-file-suite-manual.html @@ -0,0 +1,176 @@ + +drag & drop - event sequence for file drops + + + + + + +
+
+
+
+
+ +

If you have already clicked on this page, reload it.

+

Use your pointing device to slowly drag a file from your system's file manager, over the orange square (ensure that this is the first part of the page that you drag the file over, not an otherwise blank part of the page), then the pink square, then the yellow square, then the blue square, and release it over the blue square (make sure the mouse remains over each square for at least 1 second, and over the gaps between squares for at least 1 second). If a prompt appears, accept it. Fail if no new text appears below.

+ +
diff --git a/testing/web-platform/tests/html/editing/dnd/events/events-non-draggable-001-manual.html b/testing/web-platform/tests/html/editing/dnd/events/events-non-draggable-001-manual.html new file mode 100644 index 0000000000..0315ccdc86 --- /dev/null +++ b/testing/web-platform/tests/html/editing/dnd/events/events-non-draggable-001-manual.html @@ -0,0 +1,60 @@ + + +drag & drop – events should not fire with non-draggable elements – 001 + + + + +
+ +

Click once on the orange box above, without moving the mouse while +clicking. The word "PASS" should appear.

diff --git a/testing/web-platform/tests/html/editing/dnd/events/events-non-draggable-002-manual.html b/testing/web-platform/tests/html/editing/dnd/events/events-non-draggable-002-manual.html new file mode 100644 index 0000000000..c890cb482e --- /dev/null +++ b/testing/web-platform/tests/html/editing/dnd/events/events-non-draggable-002-manual.html @@ -0,0 +1,101 @@ + + +drag & drop – events should not fire with non-draggable elements – 002 + + + + +
+
+ +

Use your pointing device to drag from the orange box to the blue box. The +word "PASS" should appear. diff --git a/testing/web-platform/tests/html/editing/dnd/events/events-suite-manual.html b/testing/web-platform/tests/html/editing/dnd/events/events-suite-manual.html new file mode 100644 index 0000000000..16c6583dc8 --- /dev/null +++ b/testing/web-platform/tests/html/editing/dnd/events/events-suite-manual.html @@ -0,0 +1,371 @@ + +drag & drop - event sequence for draggable elements + + + + + + +

+
+
+
+
+
+ +

If you have already clicked on this page, reload it.

+

Use your pointing device to slowly drag the orange square over the pink square then the yellow square, then the blue square, and release it over the blue square (make sure the mouse remains over each square for at least 1 second, and over the gaps between squares for at least 1 second). Fail if no new text appears below.

+ +
diff --git a/testing/web-platform/tests/html/editing/dnd/events/helper-drag-me-input-with-circle.xhtml b/testing/web-platform/tests/html/editing/dnd/events/helper-drag-me-input-with-circle.xhtml new file mode 100644 index 0000000000..966afe4400 --- /dev/null +++ b/testing/web-platform/tests/html/editing/dnd/events/helper-drag-me-input-with-circle.xhtml @@ -0,0 +1,51 @@ + + + +Cross frame drag and drop: helper file + + + + +

+

Drag selected text out of frame and drop it somewhere on the page. Both circles should turn green once text is dropped.

+
+
+
+
diff --git a/testing/web-platform/tests/html/editing/dnd/events/helper-drag-me-link-with-circle.xhtml b/testing/web-platform/tests/html/editing/dnd/events/helper-drag-me-link-with-circle.xhtml
new file mode 100644
index 0000000000..c85f228619
--- /dev/null
+++ b/testing/web-platform/tests/html/editing/dnd/events/helper-drag-me-link-with-circle.xhtml
@@ -0,0 +1,51 @@
+
+
+
+Cross frame drag and drop: helper file
+
+
+
+
+

Drag me

+

Drag link out of frame and drop it somewhere on the page. Both circles should turn green once link is dropped.

+
+
+
+
diff --git a/testing/web-platform/tests/html/editing/dnd/events/helper-drag-me-p-with-circle.xhtml b/testing/web-platform/tests/html/editing/dnd/events/helper-drag-me-p-with-circle.xhtml
new file mode 100644
index 0000000000..efbd4b7614
--- /dev/null
+++ b/testing/web-platform/tests/html/editing/dnd/events/helper-drag-me-p-with-circle.xhtml
@@ -0,0 +1,51 @@
+
+
+
+Cross frame drag and drop: helper file
+
+
+
+
+

Drag me

+

Drag selected text out of frame and drop it somewhere on the page. Both circles should turn green once text is dropped.

+
+
+
+
diff --git a/testing/web-platform/tests/html/editing/dnd/events/helper-drop-here-body-circle.xhtml b/testing/web-platform/tests/html/editing/dnd/events/helper-drop-here-body-circle.xhtml
new file mode 100644
index 0000000000..bb8c0e36f0
--- /dev/null
+++ b/testing/web-platform/tests/html/editing/dnd/events/helper-drop-here-body-circle.xhtml
@@ -0,0 +1,51 @@
+
+
+
+Cross frame drag and drop: helper file
+
+
+
+
+
+
+
+
diff --git a/testing/web-platform/tests/html/editing/dnd/events/historical-manual.html b/testing/web-platform/tests/html/editing/dnd/events/historical-manual.html
new file mode 100644
index 0000000000..0e2147222d
--- /dev/null
+++ b/testing/web-platform/tests/html/editing/dnd/events/historical-manual.html
@@ -0,0 +1,45 @@
+
+Historical drag-and-drop features
+
+
+
+
+
+
+

Drag the orange square onto the blue square and release it.

+ +
+
+ + diff --git a/testing/web-platform/tests/html/editing/dnd/events/relatedTarget-attribute-manual.html b/testing/web-platform/tests/html/editing/dnd/events/relatedTarget-attribute-manual.html new file mode 100644 index 0000000000..c5a897d68e --- /dev/null +++ b/testing/web-platform/tests/html/editing/dnd/events/relatedTarget-attribute-manual.html @@ -0,0 +1,65 @@ + + + + relatedTarget attribute for dragenter and dragleave events + + + + + + + +

Drag & Drop: relatedTarget attribute for dragenter and dragleave events

+

+

Test Description: +
    +
  1. Drag the text into the green box.
  2. +
  3. Without releasing the drag, drag the text out of the green box.
  4. +
+

+
+
Drag this text
over the green box
+
+
+
+ + -- cgit v1.2.3