ladybird/Tests/LibWeb/Text/expected/HTML/drag-and-drop.txt
Timothy Flynn bf668696de LibWeb+WebContent: Do not include DOM HTML in text test expectations
For example, in the following abbreviated test HTML:

    <span>some text</span>
    <script>println("whf")</script>

We would have to craft the expectation file to include the "some text"
segment, usually with some leading whitespace. This is a bit annoying,
and makes it difficult to manually craft expectation files.

So instead of comparing the expectation against the entire DOM inner
text, we now send the inner text of just the <pre> element containing
the test output when we invoke `internals.signalTextTestIsDone`.
2024-10-03 07:07:28 -04:00

49 lines
635 B
Text

Simple drag and drop:
dragenter
types: Files
dragover
types: Files
drop
types: Files
files: 1
test1
Drag enter and leave:
dragenter
types: Files
dragover
types: Files
dragleave
types: Files
dragenter
types: Files
dragover
types: Files
drop
types: Files
files: 1
test2
Drag enter not accepted:
dragenter
types: Files
Drag over not accepted:
dragenter
types: Files
dragover
types: Files
dragover
types: Files
dragleave
types: Files
Drop not accepted:
dragenter
types: Files
dragover
types: Files
drop
types: Files
files: 1
test5