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/dropzone/001.xhtml | 19 ++++++++ .../tests/html/editing/dnd/dropzone/002.xhtml | 19 ++++++++ .../tests/html/editing/dnd/dropzone/003.xhtml | 19 ++++++++ .../tests/html/editing/dnd/dropzone/004.xhtml | 31 ++++++++++++ .../tests/html/editing/dnd/dropzone/005.xhtml | 31 ++++++++++++ .../tests/html/editing/dnd/dropzone/006.xhtml | 31 ++++++++++++ .../tests/html/editing/dnd/dropzone/007.html | 54 +++++++++++++++++++++ .../tests/html/editing/dnd/dropzone/008.html | 56 ++++++++++++++++++++++ .../tests/html/editing/dnd/dropzone/009.html | 16 +++++++ .../tests/html/editing/dnd/dropzone/010.html | 16 +++++++ 10 files changed, 292 insertions(+) create mode 100644 testing/web-platform/tests/html/editing/dnd/dropzone/001.xhtml create mode 100644 testing/web-platform/tests/html/editing/dnd/dropzone/002.xhtml create mode 100644 testing/web-platform/tests/html/editing/dnd/dropzone/003.xhtml create mode 100644 testing/web-platform/tests/html/editing/dnd/dropzone/004.xhtml create mode 100644 testing/web-platform/tests/html/editing/dnd/dropzone/005.xhtml create mode 100644 testing/web-platform/tests/html/editing/dnd/dropzone/006.xhtml create mode 100644 testing/web-platform/tests/html/editing/dnd/dropzone/007.html create mode 100644 testing/web-platform/tests/html/editing/dnd/dropzone/008.html create mode 100644 testing/web-platform/tests/html/editing/dnd/dropzone/009.html create mode 100644 testing/web-platform/tests/html/editing/dnd/dropzone/010.html (limited to 'testing/web-platform/tests/html/editing/dnd/dropzone') diff --git a/testing/web-platform/tests/html/editing/dnd/dropzone/001.xhtml b/testing/web-platform/tests/html/editing/dnd/dropzone/001.xhtml new file mode 100644 index 0000000000..aa929f5724 --- /dev/null +++ b/testing/web-platform/tests/html/editing/dnd/dropzone/001.xhtml @@ -0,0 +1,19 @@ + + + +Dropzone attribute: copy + + + +

Drag me

+
+

You should be able to drag selection to navy box below. You should see word PASS once you drop it.

+ + diff --git a/testing/web-platform/tests/html/editing/dnd/dropzone/002.xhtml b/testing/web-platform/tests/html/editing/dnd/dropzone/002.xhtml new file mode 100644 index 0000000000..1c4f483716 --- /dev/null +++ b/testing/web-platform/tests/html/editing/dnd/dropzone/002.xhtml @@ -0,0 +1,19 @@ + + + +Dropzone attribute: move + + + +

+
+

You should be able to drag selection to navy box below. You should see word PASS once you drop it.

+ + diff --git a/testing/web-platform/tests/html/editing/dnd/dropzone/003.xhtml b/testing/web-platform/tests/html/editing/dnd/dropzone/003.xhtml new file mode 100644 index 0000000000..baf359bc52 --- /dev/null +++ b/testing/web-platform/tests/html/editing/dnd/dropzone/003.xhtml @@ -0,0 +1,19 @@ + + + +Dropzone attribute: link + + + +

Drag me

+
+

You should be able to drag link to navy box below. You should see word PASS once you drop it.

+ + diff --git a/testing/web-platform/tests/html/editing/dnd/dropzone/004.xhtml b/testing/web-platform/tests/html/editing/dnd/dropzone/004.xhtml new file mode 100644 index 0000000000..b367435e1c --- /dev/null +++ b/testing/web-platform/tests/html/editing/dnd/dropzone/004.xhtml @@ -0,0 +1,31 @@ + + + +Dropzone and link drag and drop: allowed effects 'link','copyLink','linkMove' and 'all' + + + + +

Drag links one by one and drop them into gray box below, link text should be updated as you drop them.

+

+ Link + Link + Link + Link +

+
+ + diff --git a/testing/web-platform/tests/html/editing/dnd/dropzone/005.xhtml b/testing/web-platform/tests/html/editing/dnd/dropzone/005.xhtml new file mode 100644 index 0000000000..bdc61fde7c --- /dev/null +++ b/testing/web-platform/tests/html/editing/dnd/dropzone/005.xhtml @@ -0,0 +1,31 @@ + + + +Dropzone and link drag and drop: allowed effects 'copy','copyMove','copyLink' and 'all' + + + + +

Drag links one by one and drop them into gray box below, link text should be updated as you drop them.

+

+ Link + Link + Link + Link +

+
+ + diff --git a/testing/web-platform/tests/html/editing/dnd/dropzone/006.xhtml b/testing/web-platform/tests/html/editing/dnd/dropzone/006.xhtml new file mode 100644 index 0000000000..a0bca3312d --- /dev/null +++ b/testing/web-platform/tests/html/editing/dnd/dropzone/006.xhtml @@ -0,0 +1,31 @@ + + + +Dropzone and link drag and drop: allowed effects 'move','copyMove','linkMove' and 'all' + + + + +

Drag links one by one and drop them into gray box below, link text should be updated as you drop them.

+

+ Link + Link + Link + Link +

+
+ + diff --git a/testing/web-platform/tests/html/editing/dnd/dropzone/007.html b/testing/web-platform/tests/html/editing/dnd/dropzone/007.html new file mode 100644 index 0000000000..ef0627a1e4 --- /dev/null +++ b/testing/web-platform/tests/html/editing/dnd/dropzone/007.html @@ -0,0 +1,54 @@ + + + + Dropzone should not affect the dropEffect seen by dragenter and dragover + + + + + +
+
+
 
+

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

+ + + + diff --git a/testing/web-platform/tests/html/editing/dnd/dropzone/008.html b/testing/web-platform/tests/html/editing/dnd/dropzone/008.html new file mode 100644 index 0000000000..4213e9f557 --- /dev/null +++ b/testing/web-platform/tests/html/editing/dnd/dropzone/008.html @@ -0,0 +1,56 @@ + + + + Dropzone should not affect the dropEffect if dragover is cancelled + + + + + +
+
+
 
+

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

+ + + + diff --git a/testing/web-platform/tests/html/editing/dnd/dropzone/009.html b/testing/web-platform/tests/html/editing/dnd/dropzone/009.html new file mode 100644 index 0000000000..c5ae10739a --- /dev/null +++ b/testing/web-platform/tests/html/editing/dnd/dropzone/009.html @@ -0,0 +1,16 @@ + + + + Dropping selection onto dropzone with JS disabled + + + +
    +
  1. Disable JavaScript
  2. +
  3. Select some text in this sentence.
  4. +
  5. Drag the selection over this text.
  6. +
  7. If supported by the platform, the mouse cursor should show the drop-allowed cursor.
  8. +
+ + + diff --git a/testing/web-platform/tests/html/editing/dnd/dropzone/010.html b/testing/web-platform/tests/html/editing/dnd/dropzone/010.html new file mode 100644 index 0000000000..44e112b2ba --- /dev/null +++ b/testing/web-platform/tests/html/editing/dnd/dropzone/010.html @@ -0,0 +1,16 @@ + + + + Dropping selection onto dropzone with no padding + + + + +
    +
  1. Select some text in this sentence.
  2. +
  3. Drag the selection over this text and release it.
  4. +
  5. This text should change.
  6. +
+ + + -- cgit v1.2.3