Changes between Version 1 and Version 2 of Ticket #11526, comment 2


Ignore:
Timestamp:
Feb 10, 2014, 1:30:49 PM (11 years ago)
Author:
Piotr Jasiun
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11526, comment 2

    v1 v2  
    1010
    1111Basically it a list of items (`dataTransfer.items`). Every item can be a file or a string data in certain type. Data type might be MIME types but it is not necessary. Theoretically it is possible to have mixed files and string data. I wrote "theoretically", because it is not defined how such data should be thread:
    12   - if you drop file you will get two items, both of them are "file", so they are two part of data,
     12  - if you drop 2 files you will get two items, both of them are "file", so they are two part of data,
    1313  - if you drop html you can get also two items, both of them are strings: one in text/html type, second one in text/plain, so this is the same data in two format (this is what we get in Blink).
    1414Specification does not said if data should be thread as a one piece of data in multiple formats of multiple pieces of data. It depend on data. The only information we get is: "The drag data store item list is ordered in the order that the items were added to the list; most recently added last.".
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy