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 --- .../DataTransfer-types-manual.html | 30 +++++ .../dndTransferCases-manual.html | 66 ++++++++++ .../effectAllowed-manual.html | 76 +++++++++++ .../the-datatransfer-interface/files-manual.html | 81 ++++++++++++ .../protectedDragDataTransfer-manual.html | 142 +++++++++++++++++++++ .../protectedPasteDataTransfer-manual.html | 106 +++++++++++++++ .../the-datatransfer-interface/setData-manual.html | 78 +++++++++++ .../the-datatransfer-interface/types-manual.html | 72 +++++++++++ 8 files changed, 651 insertions(+) create mode 100644 testing/web-platform/tests/html/editing/dnd/the-datatransfer-interface/DataTransfer-types-manual.html create mode 100644 testing/web-platform/tests/html/editing/dnd/the-datatransfer-interface/dndTransferCases-manual.html create mode 100644 testing/web-platform/tests/html/editing/dnd/the-datatransfer-interface/effectAllowed-manual.html create mode 100644 testing/web-platform/tests/html/editing/dnd/the-datatransfer-interface/files-manual.html create mode 100644 testing/web-platform/tests/html/editing/dnd/the-datatransfer-interface/protectedDragDataTransfer-manual.html create mode 100644 testing/web-platform/tests/html/editing/dnd/the-datatransfer-interface/protectedPasteDataTransfer-manual.html create mode 100644 testing/web-platform/tests/html/editing/dnd/the-datatransfer-interface/setData-manual.html create mode 100644 testing/web-platform/tests/html/editing/dnd/the-datatransfer-interface/types-manual.html (limited to 'testing/web-platform/tests/html/editing/dnd/the-datatransfer-interface') diff --git a/testing/web-platform/tests/html/editing/dnd/the-datatransfer-interface/DataTransfer-types-manual.html b/testing/web-platform/tests/html/editing/dnd/the-datatransfer-interface/DataTransfer-types-manual.html new file mode 100644 index 0000000000..0a62997f69 --- /dev/null +++ b/testing/web-platform/tests/html/editing/dnd/the-datatransfer-interface/DataTransfer-types-manual.html @@ -0,0 +1,30 @@ + + +DataTransferItem Test: types - files + + + + + + +

+ +

Test steps:

+

Drag a file enter the green box, then drop file out

+ + diff --git a/testing/web-platform/tests/html/editing/dnd/the-datatransfer-interface/dndTransferCases-manual.html b/testing/web-platform/tests/html/editing/dnd/the-datatransfer-interface/dndTransferCases-manual.html new file mode 100644 index 0000000000..6081b5d42c --- /dev/null +++ b/testing/web-platform/tests/html/editing/dnd/the-datatransfer-interface/dndTransferCases-manual.html @@ -0,0 +1,66 @@ + + + + + HTML Test: dropzone_attribute_data_item_kind_string + + + + + + + + + +
Select and drag the blue text to rectangular box.
+
blue text
+
+
+ + + + diff --git a/testing/web-platform/tests/html/editing/dnd/the-datatransfer-interface/effectAllowed-manual.html b/testing/web-platform/tests/html/editing/dnd/the-datatransfer-interface/effectAllowed-manual.html new file mode 100644 index 0000000000..08540b906a --- /dev/null +++ b/testing/web-platform/tests/html/editing/dnd/the-datatransfer-interface/effectAllowed-manual.html @@ -0,0 +1,76 @@ + + + + HTML5 Drag and Drop: Set a value to effectAllowed attribute + + + + + + + + +
Description: Set a value to effectAllowed attribute
+ + + + + + + + + +
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 and enter the green box +
+
+
+

+ http://dev.w3.org/html5/spec/dnd.html#datatransfer +

+

+ On setting, if the new value is one of "none", "copy", "copyLink", "copyMove", "link", "linkMove", "move", "all", or "uninitialized", then the attribute's current value must be set to the new value. +

+ +

+ + + diff --git a/testing/web-platform/tests/html/editing/dnd/the-datatransfer-interface/files-manual.html b/testing/web-platform/tests/html/editing/dnd/the-datatransfer-interface/files-manual.html new file mode 100644 index 0000000000..7de0b4bbce --- /dev/null +++ b/testing/web-platform/tests/html/editing/dnd/the-datatransfer-interface/files-manual.html @@ -0,0 +1,81 @@ + + + + HTML5 Drag and Drop: files attribute returns a FileList + + + + + + + + +
Description: files attribute returns a FileList
+ + + + + + + + + +
Test ResultTest Assertion
ManualTest passes if if the word "PASS" appears to the left after following the steps below. +
+ Steps: +
    +
  1. Drag a file and drop it in the green box +
+
+
+

+ http://dev.w3.org/html5/spec/dnd.html#datatransfer +

+

+ The files attribute must return a live FileList sequence consisting of File objects representing the files. +

+ + + diff --git a/testing/web-platform/tests/html/editing/dnd/the-datatransfer-interface/protectedDragDataTransfer-manual.html b/testing/web-platform/tests/html/editing/dnd/the-datatransfer-interface/protectedDragDataTransfer-manual.html new file mode 100644 index 0000000000..6d84f54efc --- /dev/null +++ b/testing/web-platform/tests/html/editing/dnd/the-datatransfer-interface/protectedDragDataTransfer-manual.html @@ -0,0 +1,142 @@ + + + + + HTML Test: drag DataTransfer protected status + + + + + + + + +

Instructions

+

+ Drag the box labeled "drag" to the box labeled "drop" and release. +

+ +
drag
+
drop
+ +
+ + + + diff --git a/testing/web-platform/tests/html/editing/dnd/the-datatransfer-interface/protectedPasteDataTransfer-manual.html b/testing/web-platform/tests/html/editing/dnd/the-datatransfer-interface/protectedPasteDataTransfer-manual.html new file mode 100644 index 0000000000..20bf9c7a9a --- /dev/null +++ b/testing/web-platform/tests/html/editing/dnd/the-datatransfer-interface/protectedPasteDataTransfer-manual.html @@ -0,0 +1,106 @@ + + + + + HTML Test: paste DataTransfer protected status + + + + + + + +

Instructions

+

+ Select the text in the text box and press Ctrl-C followed by Ctrl-V. +

+ + + +
+ + + + diff --git a/testing/web-platform/tests/html/editing/dnd/the-datatransfer-interface/setData-manual.html b/testing/web-platform/tests/html/editing/dnd/the-datatransfer-interface/setData-manual.html new file mode 100644 index 0000000000..f0f7cae600 --- /dev/null +++ b/testing/web-platform/tests/html/editing/dnd/the-datatransfer-interface/setData-manual.html @@ -0,0 +1,78 @@ + + + + HTML5 Drag and Drop: Add an item to the drag data store item list whose data is the string given by setData method's second argument + + + + + + + + +
Description: Add an item to the drag data store item list whose data is the string given by setData method's second argument
+ + + + + + + + + +
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 and drop it in the green box +
+
+
+

+ http://dev.w3.org/html5/spec/dnd.html#datatransfer +

+

+ If format equals "text", change it to "text/plain". + Remove the item in the drag data store item list whose kind is Plain Unicode string and whose type string is equal to format, if there is one. + Add an item to the drag data store item list whose kind is Plain Unicode string, whose type string is equal to format, and whose data is the string given by the method's second argument. +

+ +

+ + + diff --git a/testing/web-platform/tests/html/editing/dnd/the-datatransfer-interface/types-manual.html b/testing/web-platform/tests/html/editing/dnd/the-datatransfer-interface/types-manual.html new file mode 100644 index 0000000000..1730c4bc73 --- /dev/null +++ b/testing/web-platform/tests/html/editing/dnd/the-datatransfer-interface/types-manual.html @@ -0,0 +1,72 @@ + + + + HTML5 Drag and Drop: types attribute returns a DOMStringList + + + + + + + + +
Description: types attribute returns a DOMStringList
+ + + + + + + + + +
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 and drop it in the green box +
+
+
+

+ http://dev.w3.org/html5/spec/dnd.html#datatransfer +

+

+ The types attribute must return a live DOMStringList. +

+
SampleText
+

+ + + -- cgit v1.2.3