OLD | NEW |
1 This is a test suite for the drag and drop API described in the HTML5 | 1 This is a test suite for the drag and drop API described in the HTML5 |
2 specification: | 2 specification: |
3 | 3 |
4 http://dev.w3.org/html5/spec/dnd.html#dnd | 4 http://dev.w3.org/html5/spec/dnd.html#dnd |
5 | 5 |
6 Tests in target-origin/ relate to a proposed spec extension and are not covered | 6 Tests in target-origin/ relate to a proposed spec extension and are not covered |
7 by HTML5 drafts at the time of writing. Contact Opera Sofware for details, and | 7 by HTML5 drafts at the time of writing. Contact Opera Sofware for details, and |
8 mention CT-1656. | 8 mention CT-1656. |
9 | 9 |
10 Tests in synthetic/ relate to incomplete parts of the HTML5 specification, | 10 Tests in synthetic/ relate to incomplete parts of the HTML5 specification, |
11 which allows synthetic events to be created. For compatibility with others, | 11 which allows synthetic events to be created. For compatibility with others, |
12 the dataTransfer parameter allows null, undefined and other objects. Objects | 12 the dataTransfer parameter allows null, undefined and other objects. Objects |
13 will create a synthetic dataTransfer. To provide maximum functionality, | 13 will create a synthetic dataTransfer. To provide maximum functionality, |
14 synthetic dataTransfer will have its own synthetic data store, detatched from | 14 synthetic dataTransfer will have its own synthetic data store, detatched from |
15 the real data store used by real drag events (actual user interaction). For | 15 the real data store used by real drag events (actual user interaction). For |
16 security, real dataTransfer objects will remember the real event's protection | 16 security, real dataTransfer objects will remember the real event's protection |
17 status inside synthetic events (the spec bases their protection only on the | 17 status inside synthetic events (the spec bases their protection only on the |
18 event type, and does not consider the difference between real and synthetic | 18 event type, and does not consider the difference between real and synthetic |
19 events). | 19 events). |
20 | 20 |
21 Tests in platform/plugin are based on assumed "good" behaviour, where the | 21 Tests in platform/plugin are based on assumed "good" behaviour, where the |
22 appropriate events are passed to the plugin. Platforms should determine if any | 22 appropriate events are passed to the plugin. Platforms should determine if any |
23 deviations from the expected results are problematic. | 23 deviations from the expected results are problematic. |
OLD | NEW |