Skip to content

Commit

Permalink
Merge pull request #128 from w3c/datatransfer-additions
Browse files Browse the repository at this point in the history
Datatransfer additions, see #120
  • Loading branch information
johanneswilm authored Dec 14, 2021
2 parents d99b5ed + 671e5dd commit 16e220c
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
],
},
],
xref: ["HTML"],
xref: ["HTML", "mimesniff"],
};
</script>
</head>
Expand Down Expand Up @@ -1541,6 +1541,16 @@ <h5>
<a data-cite="html/dnd.html#concept-dnd-ro">read-only</a>
mode. [[HTML]]
</li>
<li>If the pasted content is a file, the {{DataTransfer}}
object's <a data-cite="html/dnd.html#the-drag-data-item-kind">
drag data store item list</a> contains one entry with the
<a data-cite="html/dnd.html#the-drag-data-item-type-string">drag data
item type string</a> being the file's [=mime type=], whose
<a data-cite=
"html/dnd.html#the-drag-data-item-kind">kind</a> is
<i>File</i>, and whose data is a <a data-cite="FileAPI#dfn-file">File object</a>
corresponding to the pasted file. [[HTML]]
</li>
<li>The {{DataTransfer}} object's <a data-cite=
"html/dnd.html#drag-data-store-item-list">drag data store
item list</a> contains one entry with the <a data-cite=
Expand All @@ -1564,6 +1574,18 @@ <h5>
representation of the content that is to be pasted, dropped
or otherwise added. [[HTML]]
</li>
<li>If the content to be pasted is a link, the
{{DataTransfer}} object's <a data-cite=
"html/dnd.html#the-drag-data-item-kind">drag data store
item list</a> contains one entry with the <a data-cite=
"html/dnd.html#the-drag-data-item-type-string">drag data
item type string</a> <code>"text/uri-list"</code>, whose
<a data-cite=
"html/dnd.html#the-drag-data-item-kind">kind</a> is
<i>Plain Unicode string</i>, and whose data is a plain text
representation of the link that is dropped
or otherwise added. [[HTML]]
</li>
</ol>
</td>
</tr>
Expand Down

0 comments on commit 16e220c

Please sign in to comment.