From 1b45b34e7fd2c0c68c9f704ab530b72a466e5869 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= Date: Tue, 10 Oct 2017 21:19:12 +0200 Subject: [PATCH 1/2] Replace tabs with spaces in html/editing/dnd/ In every *.html, *.svg and *.xhtml file, each tab is replaced with two spaces, as this is the indentation that was most used in these test. --- html/editing/dnd/canvas/001.xhtml | 50 +- html/editing/dnd/canvas/002.xhtml | 34 +- html/editing/dnd/canvas/003-1.xhtml | 12 +- html/editing/dnd/canvas/003.xhtml | 34 +- html/editing/dnd/canvas/004.xhtml | 34 +- html/editing/dnd/canvas/005.xhtml | 18 +- html/editing/dnd/canvas/006.xhtml | 16 +- html/editing/dnd/canvas/007.xhtml | 8 +- html/editing/dnd/canvas/008.xhtml | 8 +- html/editing/dnd/canvas/009.xhtml | 6 +- html/editing/dnd/canvas/010-1.xhtml | 12 +- html/editing/dnd/canvas/012.xhtml | 44 +- html/editing/dnd/canvas/013.xhtml | 44 +- html/editing/dnd/canvas/014.xhtml | 44 +- .../dnd/canvas/cross-domain/001.manual.xhtml | 58 +- .../dnd/canvas/helper-drag-me-green-box.xhtml | 12 +- .../dnd/canvas/helper-drop-here-canvas.xhtml | 28 +- html/editing/dnd/crashers/dialog-001.html | 6 +- html/editing/dnd/cross-document/001-1.html | 38 +- html/editing/dnd/cross-document/001.html | 2 +- .../dnd/cross-document/002.manual.html | 2 +- html/editing/dnd/cross-document/003-1.html | 160 ++--- html/editing/dnd/cross-document/003.html | 12 +- html/editing/dnd/datastore/001.xhtml | 78 +-- html/editing/dnd/datastore/002.xhtml | 58 +- html/editing/dnd/datastore/003.xhtml | 60 +- html/editing/dnd/datastore/004.xhtml | 62 +- html/editing/dnd/datastore/005.xhtml | 62 +- html/editing/dnd/datastore/006.xhtml | 60 +- html/editing/dnd/datastore/007.xhtml | 62 +- html/editing/dnd/datastore/008.xhtml | 60 +- html/editing/dnd/datastore/009-1.xhtml | 28 +- html/editing/dnd/datastore/009.xhtml | 20 +- html/editing/dnd/datastore/010-1.xhtml | 28 +- html/editing/dnd/datastore/010.xhtml | 44 +- html/editing/dnd/datastore/011.xhtml | 22 +- html/editing/dnd/datastore/012.xhtml | 24 +- html/editing/dnd/datastore/013-1.xhtml | 18 +- html/editing/dnd/datastore/014-1.xhtml | 60 +- html/editing/dnd/datastore/015-manual.html | 96 +-- html/editing/dnd/datastore/016.xhtml | 64 +- html/editing/dnd/datastore/017.xhtml | 64 +- html/editing/dnd/datastore/018.xhtml | 66 +- html/editing/dnd/datastore/019.xhtml | 66 +- html/editing/dnd/datastore/020.xhtml | 74 +- html/editing/dnd/datastore/021.xhtml | 66 +- html/editing/dnd/datastore/022.xhtml | 82 +-- html/editing/dnd/datastore/023.xhtml | 58 +- html/editing/dnd/datastore/024.xhtml | 62 +- html/editing/dnd/datastore/025.xhtml | 62 +- html/editing/dnd/datastore/026.xhtml | 64 +- html/editing/dnd/datastore/027.xhtml | 64 +- html/editing/dnd/datastore/028.xhtml | 72 +- html/editing/dnd/datastore/029.xhtml | 64 +- html/editing/dnd/datastore/030.xhtml | 80 +-- html/editing/dnd/datastore/031.xhtml | 214 +++--- html/editing/dnd/datastore/032.xhtml | 196 +++--- html/editing/dnd/datastore/033.xhtml | 196 +++--- html/editing/dnd/datastore/034.xhtml | 198 +++--- html/editing/dnd/datastore/035.xhtml | 198 +++--- html/editing/dnd/datastore/036.xhtml | 196 +++--- html/editing/dnd/datastore/037.xhtml | 198 +++--- html/editing/dnd/datastore/038.xhtml | 224 +++--- html/editing/dnd/datastore/039.xhtml | 208 +++--- html/editing/dnd/datastore/040.xhtml | 208 +++--- html/editing/dnd/datastore/041.xhtml | 210 +++--- html/editing/dnd/datastore/042.xhtml | 210 +++--- html/editing/dnd/datastore/043.xhtml | 208 +++--- html/editing/dnd/datastore/044.xhtml | 208 +++--- html/editing/dnd/datastore/045.xhtml | 62 +- html/editing/dnd/datastore/046.xhtml | 276 ++++---- html/editing/dnd/datastore/047.xhtml | 260 +++---- html/editing/dnd/datastore/048.xhtml | 260 +++---- html/editing/dnd/datastore/049.xhtml | 262 +++---- html/editing/dnd/datastore/050.xhtml | 262 +++---- html/editing/dnd/datastore/051.xhtml | 260 +++---- html/editing/dnd/datastore/052.xhtml | 260 +++---- html/editing/dnd/datastore/053.html | 154 ++--- html/editing/dnd/datastore/054.html | 154 ++--- html/editing/dnd/datastore/055.html | 74 +- html/editing/dnd/datastore/056.xhtml | 60 +- html/editing/dnd/datastore/057.xhtml | 62 +- html/editing/dnd/datastore/058.html | 146 ++-- .../dnd/datastore/helper-drop-box-here.xhtml | 28 +- html/editing/dnd/dom/specials.html | 32 +- html/editing/dnd/drop/001.xhtml | 30 +- html/editing/dnd/drop/002.xhtml | 30 +- html/editing/dnd/drop/003.xhtml | 26 +- html/editing/dnd/drop/004.xhtml | 26 +- html/editing/dnd/drop/005.xhtml | 26 +- html/editing/dnd/drop/006.xhtml | 44 +- html/editing/dnd/drop/007.xhtml | 30 +- html/editing/dnd/drop/008.xhtml | 26 +- html/editing/dnd/drop/009.xhtml | 30 +- html/editing/dnd/drop/010.xhtml | 28 +- html/editing/dnd/drop/011.xhtml | 30 +- html/editing/dnd/drop/012.xhtml | 28 +- html/editing/dnd/drop/013.xhtml | 30 +- html/editing/dnd/drop/014.xhtml | 30 +- html/editing/dnd/drop/015.xhtml | 26 +- html/editing/dnd/drop/016.xhtml | 26 +- html/editing/dnd/drop/017.xhtml | 22 +- html/editing/dnd/drop/018.xhtml | 32 +- html/editing/dnd/drop/019.xhtml | 32 +- html/editing/dnd/drop/020.xhtml | 28 +- html/editing/dnd/drop/021.xhtml | 32 +- html/editing/dnd/drop/022.xhtml | 32 +- html/editing/dnd/drop/023.xhtml | 34 +- html/editing/dnd/drop/024.xhtml | 32 +- html/editing/dnd/drop/025.html | 138 ++-- html/editing/dnd/drop/026.xhtml | 26 +- html/editing/dnd/drop/027.xhtml | 26 +- html/editing/dnd/drop/028.html | 64 +- html/editing/dnd/dropzone/001.xhtml | 12 +- html/editing/dnd/dropzone/002.xhtml | 12 +- html/editing/dnd/dropzone/003.xhtml | 12 +- html/editing/dnd/dropzone/004.xhtml | 24 +- html/editing/dnd/dropzone/005.xhtml | 24 +- html/editing/dnd/dropzone/006.xhtml | 24 +- html/editing/dnd/dropzone/007.html | 88 +-- html/editing/dnd/dropzone/008.html | 92 +-- html/editing/dnd/dropzone/009.html | 24 +- html/editing/dnd/dropzone/010.html | 24 +- html/editing/dnd/events/001-1.xhtml | 58 +- html/editing/dnd/events/002-1.xhtml | 58 +- html/editing/dnd/events/003-1.xhtml | 58 +- html/editing/dnd/events/004.xhtml | 62 +- html/editing/dnd/events/005.xhtml | 62 +- html/editing/dnd/events/006.xhtml | 62 +- html/editing/dnd/events/007.xhtml | 64 +- html/editing/dnd/events/008.xhtml | 64 +- html/editing/dnd/events/009.xhtml | 64 +- html/editing/dnd/events/010.xhtml | 66 +- html/editing/dnd/events/011.xhtml | 66 +- html/editing/dnd/events/012.xhtml | 66 +- html/editing/dnd/events/013.xhtml | 68 +- html/editing/dnd/events/014.xhtml | 68 +- html/editing/dnd/events/015.xhtml | 68 +- html/editing/dnd/events/016.xhtml | 20 +- html/editing/dnd/events/017.xhtml | 20 +- html/editing/dnd/events/018.xhtml | 18 +- html/editing/dnd/events/019.xhtml | 10 +- html/editing/dnd/events/020.xhtml | 10 +- html/editing/dnd/events/021.xhtml | 8 +- html/editing/dnd/events/022.xhtml | 28 +- html/editing/dnd/events/023.xhtml | 28 +- html/editing/dnd/events/024.xhtml | 26 +- html/editing/dnd/events/025.html | 118 ++-- html/editing/dnd/events/026.html | 102 +-- html/editing/dnd/events/027.xhtml | 16 +- html/editing/dnd/events/028.xhtml | 12 +- html/editing/dnd/events/029.html | 134 ++-- html/editing/dnd/events/030.html | 88 +-- html/editing/dnd/events/031-1.html | 34 +- html/editing/dnd/events/031.html | 34 +- html/editing/dnd/events/032.html | 138 ++-- html/editing/dnd/events/033.html | 138 ++-- html/editing/dnd/events/034.html | 90 +-- html/editing/dnd/events/035.html | 142 ++-- html/editing/dnd/events/036.html | 120 ++-- html/editing/dnd/events/037-proposed.xhtml | 138 ++-- html/editing/dnd/events/037-spec.xhtml | 136 ++-- html/editing/dnd/events/038-proposed.html | 136 ++-- .../events-cross-document-suite-HELPER-1.html | 348 +++++----- .../events-cross-document-suite-HELPER-2.html | 72 +- .../events-cross-document-suite-manual.html | 4 +- .../dnd/events/events-file-suite-manual.html | 252 +++---- .../dnd/events/events-suite-manual.html | 652 +++++++++--------- .../helper-drag-me-input-with-circle.xhtml | 58 +- .../helper-drag-me-link-with-circle.xhtml | 58 +- .../events/helper-drag-me-p-with-circle.xhtml | 58 +- .../events/helper-drop-here-body-circle.xhtml | 62 +- html/editing/dnd/file/001.html | 148 ++-- html/editing/dnd/file/002.html | 234 +++---- html/editing/dnd/file/003.html | 122 ++-- html/editing/dnd/file/004.html | 46 +- html/editing/dnd/file/005.html | 10 +- html/editing/dnd/file/006.html | 10 +- html/editing/dnd/file/007.html | 136 ++-- html/editing/dnd/file/008.html | 164 ++--- html/editing/dnd/file/010.html | 6 +- html/editing/dnd/file/011.html | 122 ++-- html/editing/dnd/file/prompt/001.html | 14 +- html/editing/dnd/file/prompt/002.html | 36 +- html/editing/dnd/file/prompt/003.html | 14 +- html/editing/dnd/file/prompt/004.html | 14 +- html/editing/dnd/file/prompt/005.html | 14 +- html/editing/dnd/file/prompt/006.html | 26 +- html/editing/dnd/file/prompt/007.html | 14 +- html/editing/dnd/file/prompt/008.html | 26 +- html/editing/dnd/file/prompt/009.html | 14 +- html/editing/dnd/images/001.xhtml | 28 +- html/editing/dnd/images/002.xhtml | 28 +- html/editing/dnd/images/003.xhtml | 26 +- html/editing/dnd/images/004.xhtml | 32 +- html/editing/dnd/images/005.xhtml | 28 +- html/editing/dnd/images/006.xhtml | 32 +- html/editing/dnd/images/007.xhtml | 8 +- html/editing/dnd/images/008.xhtml | 8 +- html/editing/dnd/images/009.xhtml | 32 +- html/editing/dnd/images/010.xhtml | 10 +- html/editing/dnd/images/011.xhtml | 8 +- html/editing/dnd/images/014-1.xhtml | 28 +- html/editing/dnd/images/015.xhtml | 22 +- html/editing/dnd/images/016.xhtml | 20 +- html/editing/dnd/images/017.xhtml | 20 +- html/editing/dnd/images/018.xhtml | 18 +- html/editing/dnd/images/021.xhtml | 16 +- html/editing/dnd/images/022.xhtml | 16 +- html/editing/dnd/images/023.xhtml | 16 +- html/editing/dnd/images/024.xhtml | 16 +- html/editing/dnd/images/025.xhtml | 38 +- html/editing/dnd/images/026.xhtml | 38 +- html/editing/dnd/images/027.xhtml | 38 +- html/editing/dnd/images/028.xhtml | 26 +- .../dnd/images/cross-domain/001.manual.xhtml | 48 +- .../dnd/images/helper-drop-image-here.xhtml | 26 +- .../helper-drop-vertical-scrollbar.xhtml | 4 +- html/editing/dnd/interactive/frames-1.html | 22 +- html/editing/dnd/interactive/frames.html | 32 +- .../dnd/interactive/object-retention.html | 220 +++--- html/editing/dnd/interactive/plugins.html | 40 +- html/editing/dnd/interactiveelements/001.html | 42 +- html/editing/dnd/interactiveelements/002.html | 42 +- html/editing/dnd/interactiveelements/003.html | 42 +- html/editing/dnd/interactiveelements/004.html | 42 +- html/editing/dnd/interactiveelements/005.html | 34 +- html/editing/dnd/interactiveelements/006.html | 34 +- html/editing/dnd/interactiveelements/007.html | 32 +- html/editing/dnd/interactiveelements/008.html | 32 +- html/editing/dnd/interactiveelements/009.html | 34 +- html/editing/dnd/interactiveelements/010.html | 34 +- html/editing/dnd/interactiveelements/011.html | 34 +- html/editing/dnd/interactiveelements/012.html | 34 +- html/editing/dnd/interactiveelements/015.html | 34 +- html/editing/dnd/interactiveelements/016.html | 34 +- html/editing/dnd/interactiveelements/017.html | 34 +- html/editing/dnd/interactiveelements/018.html | 34 +- html/editing/dnd/interactiveelements/019.html | 34 +- html/editing/dnd/interactiveelements/020.html | 34 +- html/editing/dnd/interactiveelements/021.html | 34 +- html/editing/dnd/interactiveelements/022.html | 34 +- html/editing/dnd/media/001.xhtml | 20 +- html/editing/dnd/microdata/000.html | 68 +- html/editing/dnd/microdata/001.html | 134 ++-- html/editing/dnd/microdata/002.html | 90 +-- html/editing/dnd/microdata/003.html | 142 ++-- html/editing/dnd/microdata/004.html | 104 +-- html/editing/dnd/microdata/005.html | 104 +-- html/editing/dnd/microdata/006.html | 88 +-- html/editing/dnd/microdata/007.html | 104 +-- html/editing/dnd/microdata/008.html | 68 +- html/editing/dnd/microdata/009.html | 76 +- html/editing/dnd/microdata/010.html | 88 +-- html/editing/dnd/microdata/011.html | 94 +-- html/editing/dnd/microdata/012.html | 88 +-- html/editing/dnd/microdata/013.html | 86 +-- html/editing/dnd/microdata/014.html | 74 +- html/editing/dnd/microdata/015.html | 74 +- html/editing/dnd/microdata/016.html | 186 ++--- html/editing/dnd/microdata/017.html | 140 ++-- html/editing/dnd/microdata/018.html | 76 +- html/editing/dnd/microdata/019.html | 78 +-- html/editing/dnd/microdata/020.html | 84 +-- html/editing/dnd/microdata/021.html | 84 +-- html/editing/dnd/navigation/001-1.xhtml | 10 +- html/editing/dnd/navigation/001.xhtml | 26 +- html/editing/dnd/navigation/002.xhtml | 4 +- html/editing/dnd/navigation/007-1.xhtml | 4 +- html/editing/dnd/navigation/007.xhtml | 14 +- html/editing/dnd/navigation/008-1.xhtml | 4 +- html/editing/dnd/navigation/008.xhtml | 14 +- html/editing/dnd/navigation/009-1.xhtml | 4 +- html/editing/dnd/navigation/010-1.xhtml | 28 +- html/editing/dnd/navigation/010.xhtml | 4 +- html/editing/dnd/navigation/011-1.xhtml | 28 +- html/editing/dnd/navigation/011.xhtml | 34 +- html/editing/dnd/navigation/012.xhtml | 10 +- html/editing/dnd/navigation/013.xhtml | 10 +- html/editing/dnd/navigation/016-1.xhtml | 24 +- html/editing/dnd/navigation/016.xhtml | 26 +- html/editing/dnd/navigation/017.xhtml | 4 +- html/editing/dnd/navigation/021-1.xhtml | 16 +- html/editing/dnd/navigation/022-1.xhtml | 14 +- html/editing/dnd/navigation/022.xhtml | 14 +- html/editing/dnd/navigation/023-1.xhtml | 14 +- html/editing/dnd/navigation/023.xhtml | 14 +- .../helper-drag-image-dont-drop.xhtml | 28 +- .../helper-drag-selection-dont-drop.xhtml | 28 +- .../navigation/helper-drop-here-reload.xhtml | 24 +- .../navigation/helper-drop-image-now.xhtml | 10 +- .../dnd/navigation/helper-drop-link-now.xhtml | 6 +- .../dnd/navigation/helper-drop-now.xhtml | 4 +- .../helper-drop-selection-here.xhtml | 14 +- html/editing/dnd/overlay/001.xhtml | 6 +- html/editing/dnd/overlay/002.xhtml | 10 +- html/editing/dnd/overlay/003.xhtml | 10 +- html/editing/dnd/overlay/004.xhtml | 24 +- html/editing/dnd/overlay/005.xhtml | 24 +- html/editing/dnd/overlay/006.xhtml | 24 +- html/editing/dnd/overlay/007.xhtml | 24 +- html/editing/dnd/overlay/008.xhtml | 14 +- html/editing/dnd/overlay/009.xhtml | 14 +- html/editing/dnd/overlay/010.xhtml | 10 +- html/editing/dnd/overlay/011.xhtml | 8 +- html/editing/dnd/overlay/012.xhtml | 20 +- html/editing/dnd/overlay/013.xhtml | 26 +- html/editing/dnd/overlay/014.xhtml | 10 +- html/editing/dnd/overlay/015.xhtml | 10 +- html/editing/dnd/overlay/016.xhtml | 16 +- html/editing/dnd/overlay/017.xhtml | 16 +- html/editing/dnd/overlay/018.xhtml | 10 +- html/editing/dnd/overlay/019.xhtml | 10 +- html/editing/dnd/overlay/020.xhtml | 16 +- html/editing/dnd/overlay/021.xhtml | 16 +- html/editing/dnd/overlay/022.xhtml | 8 +- html/editing/dnd/overlay/024.xhtml | 6 +- html/editing/dnd/overlay/025.xhtml | 6 +- html/editing/dnd/overlay/026.xhtml | 26 +- html/editing/dnd/overlay/027.xhtml | 20 +- html/editing/dnd/overlay/028.xhtml | 22 +- html/editing/dnd/overlay/029.xhtml | 28 +- html/editing/dnd/overlay/030.xhtml | 28 +- html/editing/dnd/overlay/031.xhtml | 24 +- html/editing/dnd/overlay/032.xhtml | 32 +- html/editing/dnd/overlay/033.xhtml | 32 +- html/editing/dnd/overlay/034.xhtml | 16 +- html/editing/dnd/overlay/035.xhtml | 18 +- html/editing/dnd/overlay/036.xhtml | 34 +- html/editing/dnd/overlay/038.xhtml | 14 +- html/editing/dnd/overlay/039.xhtml | 14 +- html/editing/dnd/overlay/040.xhtml | 24 +- html/editing/dnd/overlay/041.xhtml | 32 +- html/editing/dnd/overlay/042.html | 16 +- html/editing/dnd/overlay/043.html | 28 +- html/editing/dnd/overlay/044.html | 12 +- html/editing/dnd/overlay/045.html | 10 +- html/editing/dnd/overlay/046.html | 10 +- html/editing/dnd/overlay/047.html | 10 +- html/editing/dnd/overlay/048.html | 10 +- html/editing/dnd/overlay/049.xhtml | 8 +- html/editing/dnd/overlay/050.xhtml | 16 +- html/editing/dnd/overlay/051.xhtml | 14 +- html/editing/dnd/overlay/052.xhtml | 14 +- html/editing/dnd/overlay/053.xhtml | 10 +- html/editing/dnd/overlay/054.xhtml | 14 +- html/editing/dnd/overlay/055.xhtml | 16 +- html/editing/dnd/overlay/056.xhtml | 16 +- html/editing/dnd/overlay/057.xhtml | 14 +- html/editing/dnd/overlay/058.html | 28 +- html/editing/dnd/overlay/059.html | 18 +- html/editing/dnd/overlay/060.html | 34 +- html/editing/dnd/overlay/061.html | 34 +- html/editing/dnd/overlay/062.html | 22 +- html/editing/dnd/platform/alttab.html | 16 +- .../dnd/platform/cancel-middle-click.html | 76 +- .../dnd/platform/cancel-right-click.html | 76 +- html/editing/dnd/platform/close-drag-001.html | 16 +- html/editing/dnd/platform/close-drag-002.html | 18 +- html/editing/dnd/platform/close-drag-003.html | 24 +- html/editing/dnd/platform/close-drag-004.html | 12 +- html/editing/dnd/platform/close-drag-005.html | 10 +- html/editing/dnd/platform/close-drag-006.html | 18 +- html/editing/dnd/platform/cursors/003.html | 2 +- html/editing/dnd/platform/cursors/004.html | 2 +- html/editing/dnd/platform/cursors/005.html | 8 +- html/editing/dnd/platform/cursors/006.html | 8 +- html/editing/dnd/platform/cursors/007.html | 8 +- html/editing/dnd/platform/cursors/008.html | 12 +- html/editing/dnd/platform/cursors/009.html | 8 +- html/editing/dnd/platform/cursors/010.html | 2 +- html/editing/dnd/platform/cursors/011.html | 18 +- html/editing/dnd/platform/drag-keypress.html | 8 +- html/editing/dnd/platform/drag-link.html | 16 +- html/editing/dnd/platform/drag-to-title.html | 18 +- .../dnd/platform/file-drop-position.html | 8 +- html/editing/dnd/platform/file-os-to-os.html | 18 +- html/editing/dnd/platform/file-to-system.html | 90 +-- .../dnd/platform/html-to-os-HELPER-FILE.html | 18 +- html/editing/dnd/platform/html-to-os.html | 28 +- .../dnd/platform/html-unicode-to-os.html | 26 +- html/editing/dnd/platform/inputs-no-js.html | 22 +- html/editing/dnd/platform/interrupt/001.html | 44 +- html/editing/dnd/platform/interrupt/002.html | 48 +- html/editing/dnd/platform/interrupt/003.html | 60 +- html/editing/dnd/platform/interrupt/004.html | 28 +- html/editing/dnd/platform/interrupt/005.html | 36 +- html/editing/dnd/platform/interrupt/006.html | 30 +- html/editing/dnd/platform/interrupt/007.html | 34 +- html/editing/dnd/platform/interrupt/008.html | 38 +- html/editing/dnd/platform/interrupt/009.html | 42 +- html/editing/dnd/platform/interrupt/010.html | 36 +- html/editing/dnd/platform/interrupt/011.html | 38 +- html/editing/dnd/platform/interrupt/012.html | 46 +- html/editing/dnd/platform/interrupt/013.html | 22 +- html/editing/dnd/platform/interrupt/014.html | 12 +- html/editing/dnd/platform/interrupt/015.html | 30 +- html/editing/dnd/platform/interrupt/016.html | 34 +- html/editing/dnd/platform/interrupt/017.html | 38 +- html/editing/dnd/platform/interrupt/018.html | 42 +- html/editing/dnd/platform/interrupt/019.html | 36 +- html/editing/dnd/platform/interrupt/020.html | 32 +- html/editing/dnd/platform/interrupt/021.html | 32 +- .../dnd/platform/keyboardshortcuts.html | 28 +- html/editing/dnd/platform/modifiers/all.html | 308 ++++----- html/editing/dnd/platform/modifiers/copy.html | 308 ++++----- .../dnd/platform/modifiers/copylink.html | 308 ++++----- .../dnd/platform/modifiers/copymove.html | 308 ++++----- html/editing/dnd/platform/modifiers/link.html | 308 ++++----- .../dnd/platform/modifiers/linkmove.html | 308 ++++----- html/editing/dnd/platform/modifiers/move.html | 308 ++++----- .../dnd/platform/modifiers/onlydropzone.html | 104 +-- .../modifiers/onlydropzoneevents.html | 128 ++-- .../modifiers/releasemodifiersdrag.html | 206 +++--- .../modifiers/releasemodifiersdrop.html | 176 ++--- .../platform/modifiers/scriptmodified.html | 162 ++--- html/editing/dnd/platform/moving-window.html | 14 +- .../dnd/platform/overlappingwindows.html | 38 +- .../dnd/platform/placeholderposition1.html | 18 +- .../dnd/platform/placeholderposition2.html | 18 +- .../dnd/platform/plugin/plugin-dnd-001.html | 32 +- .../dnd/platform/plugin/plugin-dnd-002.html | 60 +- .../dnd/platform/plugin/plugin-dnd-003.html | 34 +- .../dnd/platform/plugin/plugin-dnd-004.html | 64 +- .../dnd/platform/plugin/plugin-dnd-005.html | 42 +- .../dnd/platform/plugin/plugin-dnd-006.html | 42 +- .../dnd/platform/plugin/plugin-dnd-007.html | 66 +- .../dnd/platform/plugin/plugin-dnd-008.html | 64 +- .../dnd/platform/plugin/plugin-dnd-009.html | 62 +- .../dnd/platform/plugin/plugin-dnd-010.html | 64 +- .../dnd/platform/plugin/plugin-dnd-011.html | 62 +- .../dnd/platform/plugin/plugin-dnd-101.html | 32 +- .../dnd/platform/plugin/plugin-dnd-102.html | 60 +- .../dnd/platform/plugin/plugin-dnd-103.html | 34 +- .../dnd/platform/plugin/plugin-dnd-104.html | 64 +- .../dnd/platform/plugin/plugin-dnd-105.html | 42 +- .../dnd/platform/plugin/plugin-dnd-106.html | 42 +- .../dnd/platform/plugin/plugin-dnd-107.html | 68 +- .../dnd/platform/plugin/plugin-dnd-108.html | 64 +- .../dnd/platform/plugin/plugin-dnd-109.html | 62 +- .../dnd/platform/plugin/plugin-dnd-110.html | 64 +- .../dnd/platform/plugin/plugin-dnd-111.html | 62 +- .../dnd/platform/plugin/plugin-dnd-203.html | 34 +- .../dnd/platform/plugin/plugin-dnd-204.html | 64 +- .../dnd/platform/plugin/plugin-dnd-205.html | 44 +- .../dnd/platform/plugin/plugin-dnd-206.html | 42 +- .../dnd/platform/plugin/plugin-dnd-207.html | 68 +- .../dnd/platform/plugin/plugin-dnd-303.html | 34 +- .../dnd/platform/plugin/plugin-dnd-304.html | 64 +- .../dnd/platform/plugin/plugin-dnd-305.html | 42 +- .../dnd/platform/plugin/plugin-dnd-306.html | 42 +- .../dnd/platform/plugin/plugin-dnd-307.html | 66 +- html/editing/dnd/platform/plugindrop.html | 32 +- .../dnd/platform/selection-between-ui.html | 32 +- .../dnd/platform/selection-from-os.html | 26 +- .../dnd/platform/selection-from-ui.html | 32 +- .../editing/dnd/platform/selection-to-os.html | 20 +- .../dnd/platform/selection-to-ui-via.html | 30 +- .../editing/dnd/platform/selection-to-ui.html | 24 +- .../dnd/platform/selection-ui-to-self.html | 34 +- .../dnd/platform/selection-unicode-to-os.html | 18 +- html/editing/dnd/platform/taskbardrop.html | 38 +- .../editing/dnd/platform/taskbarminimise.html | 16 +- html/editing/dnd/platform/text-os-to-os.html | 18 +- html/editing/dnd/platform/text-to-os.html | 26 +- html/editing/dnd/reload/001.xhtml | 34 +- html/editing/dnd/reload/002.xhtml | 10 +- html/editing/dnd/reload/003.xhtml | 10 +- html/editing/dnd/reload/006.xhtml | 4 +- html/editing/dnd/reload/007.xhtml | 24 +- html/editing/dnd/reload/008.xhtml | 24 +- html/editing/dnd/reload/009.xhtml | 8 +- html/editing/dnd/reload/010.xhtml | 8 +- html/editing/dnd/reload/011.xhtml | 8 +- html/editing/dnd/reload/012-2.xhtml | 26 +- html/editing/dnd/remove/001.xhtml | 40 +- html/editing/dnd/remove/002.xhtml | 16 +- html/editing/dnd/remove/003.xhtml | 16 +- html/editing/dnd/remove/004.xhtml | 12 +- html/editing/dnd/remove/005.xhtml | 12 +- html/editing/dnd/remove/006.xhtml | 12 +- html/editing/dnd/remove/007.xhtml | 24 +- html/editing/dnd/remove/008.xhtml | 24 +- html/editing/dnd/remove/009.xhtml | 8 +- html/editing/dnd/remove/010.xhtml | 8 +- html/editing/dnd/remove/011.xhtml | 8 +- html/editing/dnd/remove/012.xhtml | 8 +- html/editing/dnd/remove/013.xhtml | 8 +- html/editing/dnd/remove/014.xhtml | 8 +- html/editing/dnd/remove/015.xhtml | 8 +- html/editing/dnd/remove/016.xhtml | 8 +- html/editing/dnd/remove/017.xhtml | 8 +- html/editing/dnd/remove/018.xhtml | 8 +- html/editing/dnd/remove/019.xhtml | 8 +- html/editing/dnd/remove/020.xhtml | 8 +- html/editing/dnd/remove/021.xhtml | 12 +- html/editing/dnd/remove/022.html | 20 +- html/editing/dnd/roundtrip/001.xhtml | 32 +- html/editing/dnd/roundtrip/002.xhtml | 10 +- html/editing/dnd/roundtrip/003.xhtml | 10 +- html/editing/dnd/roundtrip/006.xhtml | 4 +- html/editing/dnd/roundtrip/007.xhtml | 24 +- html/editing/dnd/roundtrip/008.xhtml | 24 +- html/editing/dnd/selection/001.xhtml | 20 +- html/editing/dnd/selection/002.xhtml | 20 +- html/editing/dnd/selection/003.xhtml | 20 +- html/editing/dnd/selection/004.xhtml | 18 +- html/editing/dnd/selection/005.xhtml | 20 +- html/editing/dnd/selection/006.xhtml | 20 +- html/editing/dnd/selection/007.xhtml | 20 +- html/editing/dnd/selection/008.xhtml | 20 +- html/editing/dnd/selection/009.xhtml | 20 +- html/editing/dnd/selection/010.xhtml | 24 +- html/editing/dnd/selection/011.xhtml | 10 +- html/editing/dnd/selection/012.xhtml | 10 +- html/editing/dnd/selection/013.xhtml | 10 +- html/editing/dnd/selection/014.xhtml | 10 +- html/editing/dnd/selection/015.xhtml | 10 +- html/editing/dnd/selection/016.xhtml | 10 +- html/editing/dnd/selection/017.xhtml | 10 +- html/editing/dnd/selection/018.xhtml | 10 +- html/editing/dnd/selection/019.xhtml | 10 +- html/editing/dnd/selection/020.xhtml | 14 +- html/editing/dnd/selection/021.xhtml | 14 +- html/editing/dnd/selection/022.xhtml | 14 +- html/editing/dnd/selection/023.xhtml | 14 +- html/editing/dnd/selection/024.xhtml | 12 +- html/editing/dnd/selection/025.xhtml | 14 +- html/editing/dnd/selection/026.xhtml | 14 +- html/editing/dnd/selection/027.xhtml | 14 +- html/editing/dnd/selection/028.xhtml | 14 +- html/editing/dnd/selection/029.xhtml | 14 +- html/editing/dnd/selection/030.xhtml | 18 +- html/editing/dnd/selection/031.xhtml | 22 +- html/editing/dnd/selection/032.xhtml | 24 +- html/editing/dnd/selection/033.xhtml | 4 +- html/editing/dnd/selection/034.xhtml | 6 +- html/editing/dnd/selection/035.xhtml | 16 +- html/editing/dnd/selection/036.xhtml | 18 +- html/editing/dnd/selection/045.xhtml | 8 +- html/editing/dnd/selection/046.xhtml | 8 +- html/editing/dnd/selection/047.xhtml | 8 +- html/editing/dnd/selection/048.xhtml | 8 +- html/editing/dnd/selection/049.xhtml | 8 +- html/editing/dnd/selection/050.xhtml | 8 +- html/editing/dnd/selection/051.xhtml | 26 +- html/editing/dnd/selection/052.xhtml | 26 +- html/editing/dnd/selection/053.xhtml | 16 +- html/editing/dnd/selection/054.xhtml | 16 +- html/editing/dnd/selection/055.xhtml | 20 +- html/editing/dnd/selection/056.xhtml | 20 +- html/editing/dnd/selection/057.xhtml | 14 +- html/editing/dnd/selection/058.xhtml | 14 +- html/editing/dnd/selection/059.xhtml | 8 +- html/editing/dnd/selection/060.xhtml | 8 +- html/editing/dnd/selection/061.xhtml | 8 +- html/editing/dnd/selection/062.xhtml | 8 +- html/editing/dnd/selection/063.xhtml | 8 +- html/editing/dnd/selection/064-1.xhtml | 6 +- html/editing/dnd/selection/064.xhtml | 8 +- html/editing/dnd/selection/065.xhtml | 8 +- html/editing/dnd/selection/066.xhtml | 8 +- html/editing/dnd/selection/067-1.xhtml | 8 +- html/editing/dnd/selection/067-2.xhtml | 8 +- html/editing/dnd/selection/069.xhtml | 8 +- html/editing/dnd/selection/070.xhtml | 8 +- html/editing/dnd/selection/071.xhtml | 8 +- html/editing/dnd/selection/072.xhtml | 8 +- html/editing/dnd/selection/073.xhtml | 8 +- html/editing/dnd/selection/074.xhtml | 6 +- html/editing/dnd/selection/075.xhtml | 8 +- html/editing/dnd/selection/076.xhtml | 8 +- html/editing/dnd/selection/077.xhtml | 8 +- html/editing/dnd/selection/078.xhtml | 8 +- html/editing/dnd/selection/079.xhtml | 8 +- html/editing/dnd/selection/080.xhtml | 12 +- html/editing/dnd/selection/081.xhtml | 18 +- html/editing/dnd/selection/082.xhtml | 18 +- html/editing/dnd/selection/083.xhtml | 18 +- html/editing/dnd/selection/084.xhtml | 16 +- html/editing/dnd/selection/085.xhtml | 18 +- html/editing/dnd/selection/086.xhtml | 18 +- html/editing/dnd/selection/087.xhtml | 14 +- html/editing/dnd/selection/088.xhtml | 26 +- html/editing/dnd/selection/089.xhtml | 6 +- html/editing/dnd/selection/090.xhtml | 6 +- html/editing/dnd/selection/091-2.xhtml | 8 +- html/editing/dnd/selection/092.xhtml | 6 +- html/editing/dnd/selection/093.xhtml | 6 +- html/editing/dnd/selection/094.xhtml | 6 +- html/editing/dnd/selection/095.xhtml | 6 +- html/editing/dnd/selection/096.xhtml | 6 +- html/editing/dnd/selection/097.xhtml | 6 +- html/editing/dnd/selection/098.xhtml | 24 +- html/editing/dnd/selection/099.xhtml | 24 +- html/editing/dnd/selection/100.xhtml | 14 +- html/editing/dnd/selection/101.xhtml | 14 +- html/editing/dnd/selection/102.xhtml | 18 +- html/editing/dnd/selection/103.xhtml | 18 +- html/editing/dnd/selection/104.xhtml | 12 +- html/editing/dnd/selection/105.xhtml | 12 +- html/editing/dnd/selection/107.html | 4 +- html/editing/dnd/selection/108.html | 4 +- html/editing/dnd/selection/109.xhtml | 10 +- html/editing/dnd/selection/110.xhtml | 10 +- html/editing/dnd/selection/111.xhtml | 10 +- html/editing/dnd/selection/112.xhtml | 10 +- html/editing/dnd/selection/113.xhtml | 10 +- html/editing/dnd/selection/114.xhtml | 10 +- html/editing/dnd/selection/115.xhtml | 8 +- html/editing/dnd/selection/116.xhtml | 8 +- html/editing/dnd/selection/117.xhtml | 8 +- html/editing/dnd/selection/118.xhtml | 8 +- html/editing/dnd/selection/119.xhtml | 8 +- html/editing/dnd/selection/120.xhtml | 8 +- html/editing/dnd/selection/121.xhtml | 14 +- html/editing/dnd/selection/122.xhtml | 14 +- html/editing/dnd/selection/123.xhtml | 14 +- html/editing/dnd/selection/124.xhtml | 14 +- html/editing/dnd/selection/125.xhtml | 14 +- html/editing/dnd/selection/126.xhtml | 14 +- html/editing/dnd/selection/127.xhtml | 22 +- html/editing/dnd/selection/128.xhtml | 20 +- html/editing/dnd/selection/129.xhtml | 22 +- html/editing/dnd/selection/130.xhtml | 22 +- html/editing/dnd/selection/131.xhtml | 22 +- html/editing/dnd/selection/132.xhtml | 20 +- html/editing/dnd/selection/133.xhtml | 14 +- html/editing/dnd/selection/134.xhtml | 10 +- html/editing/dnd/selection/135.xhtml | 10 +- html/editing/dnd/selection/136.xhtml | 10 +- html/editing/dnd/selection/137.xhtml | 10 +- html/editing/dnd/selection/138.xhtml | 10 +- html/editing/dnd/selection/139.xhtml | 10 +- html/editing/dnd/selection/140.xhtml | 8 +- html/editing/dnd/selection/141.xhtml | 14 +- html/editing/dnd/selection/142.xhtml | 20 +- html/editing/dnd/selection/143.xhtml | 20 +- html/editing/dnd/selection/144.xhtml | 28 +- html/editing/dnd/selection/145.xhtml | 28 +- html/editing/dnd/selection/146.xhtml | 24 +- html/editing/dnd/selection/147.html | 22 +- html/editing/dnd/selection/148.html | 22 +- html/editing/dnd/selection/149.html | 20 +- html/editing/dnd/selection/150.html | 20 +- html/editing/dnd/selection/151.xhtml | 6 +- html/editing/dnd/selection/152.xhtml | 8 +- html/editing/dnd/selection/153.xhtml | 6 +- html/editing/dnd/selection/154.xhtml | 8 +- html/editing/dnd/selection/155.xhtml | 20 +- html/editing/dnd/selection/162.xhtml | 14 +- html/editing/dnd/selection/163.xhtml | 6 +- html/editing/dnd/selection/164.xhtml | 6 +- html/editing/dnd/selection/165.xhtml | 6 +- html/editing/dnd/selection/166.xhtml | 4 +- html/editing/dnd/selection/167.xhtml | 6 +- html/editing/dnd/selection/168.xhtml | 18 +- html/editing/dnd/selection/169.xhtml | 16 +- html/editing/dnd/selection/170.xhtml | 24 +- html/editing/dnd/selection/171.xhtml | 30 +- html/editing/dnd/selection/172.html | 70 +- html/editing/dnd/selection/173.html | 70 +- ...r-drag-me-textarea-to-other-blue-box.xhtml | 6 +- ...lper-drag-me-textarea-to-other-input.xhtml | 6 +- ...r-drag-me-textarea-to-other-textarea.xhtml | 6 +- ...r-drop-here-blue-box-contenteditable.xhtml | 14 +- .../selection/helper-drop-here-blue-box.xhtml | 20 +- .../selection/helper-drop-here-input.xhtml | 8 +- .../selection/helper-drop-here-textarea.xhtml | 10 +- .../helper-scroll-then-drop-input.xhtml | 8 +- html/editing/dnd/svg/003.svg | 8 +- html/editing/dnd/svg/004.svg | 4 +- html/editing/dnd/svg/008.svg | 8 +- html/editing/dnd/svg/009.svg | 4 +- html/editing/dnd/svg/011.svg | 4 +- html/editing/dnd/svg/012.svg | 4 +- html/editing/dnd/svg/013-1.xhtml | 8 +- html/editing/dnd/svg/013.svg | 6 +- html/editing/dnd/svg/014-1.xhtml | 14 +- html/editing/dnd/svg/014.svg | 6 +- html/editing/dnd/svg/015.svg | 6 +- html/editing/dnd/svg/016-1.xhtml | 20 +- html/editing/dnd/svg/016.svg | 6 +- html/editing/dnd/svg/019.xhtml | 6 +- html/editing/dnd/svg/020.xhtml | 4 +- html/editing/dnd/svg/021.xhtml | 20 +- html/editing/dnd/svg/022.xhtml | 20 +- html/editing/dnd/svg/023.xhtml | 20 +- html/editing/dnd/svg/024.xhtml | 14 +- html/editing/dnd/svg/025.xhtml | 14 +- html/editing/dnd/svg/026.xhtml | 14 +- html/editing/dnd/svg/027.xhtml | 10 +- html/editing/dnd/svg/028.xhtml | 10 +- html/editing/dnd/svg/029.xhtml | 10 +- html/editing/dnd/svg/030.xhtml | 28 +- html/editing/dnd/svg/031.xhtml | 28 +- html/editing/dnd/svg/032.xhtml | 6 +- html/editing/dnd/svg/033.xhtml | 6 +- html/editing/dnd/svg/034.xhtml | 6 +- html/editing/dnd/svg/035.xhtml | 6 +- html/editing/dnd/svg/042.xhtml | 14 +- html/editing/dnd/svg/043.xhtml | 14 +- html/editing/dnd/svg/046.svg | 8 +- html/editing/dnd/svg/047.svg | 4 +- html/editing/dnd/svg/048.svg | 4 +- html/editing/dnd/svg/049.xhtml | 8 +- html/editing/dnd/svg/050.xhtml | 8 +- html/editing/dnd/svg/051.xhtml | 20 +- html/editing/dnd/svg/052.svg | 10 +- html/editing/dnd/svg/053.svg | 14 +- html/editing/dnd/svg/054.svg | 18 +- html/editing/dnd/svg/055.svg | 14 +- html/editing/dnd/svg/056.svg | 96 +-- html/editing/dnd/svg/057.svg | 200 +++--- html/editing/dnd/svg/058.svg | 34 +- html/editing/dnd/svg/059-1.svg | 6 +- html/editing/dnd/svg/059.svg | 6 +- html/editing/dnd/svg/060-1.svg | 2 +- html/editing/dnd/svg/060.svg | 12 +- html/editing/dnd/svg/061.svg | 10 +- html/editing/dnd/svg/062.svg | 8 +- html/editing/dnd/svg/063.svg | 14 +- html/editing/dnd/svg/064.svg | 18 +- html/editing/dnd/svg/065.svg | 12 +- html/editing/dnd/svg/066.svg | 16 +- html/editing/dnd/svg/067.svg | 20 +- html/editing/dnd/synthetic/001.html | 146 ++-- html/editing/dnd/synthetic/005-manual.html | 570 +++++++-------- html/editing/dnd/synthetic/006-manual.html | 124 ++-- .../editing/dnd/target-origin/001-manual.html | 208 +++--- .../editing/dnd/target-origin/002-manual.html | 154 ++--- .../editing/dnd/target-origin/003-manual.html | 164 ++--- html/editing/dnd/target-origin/004-1.html | 32 +- .../editing/dnd/target-origin/004-manual.html | 50 +- html/editing/dnd/target-origin/005-1.html | 32 +- .../editing/dnd/target-origin/005-manual.html | 50 +- .../editing/dnd/target-origin/006-manual.html | 66 +- .../editing/dnd/target-origin/007-manual.html | 66 +- .../editing/dnd/target-origin/008-manual.html | 74 +- .../editing/dnd/target-origin/009-manual.html | 40 +- .../editing/dnd/target-origin/010-manual.html | 40 +- .../editing/dnd/target-origin/011-manual.html | 114 +-- .../editing/dnd/target-origin/012-manual.html | 98 +-- .../editing/dnd/target-origin/013-manual.html | 38 +- .../editing/dnd/target-origin/101-manual.html | 226 +++--- .../editing/dnd/target-origin/102-manual.html | 54 +- html/editing/dnd/target-origin/103-1.html | 46 +- .../editing/dnd/target-origin/103-manual.html | 38 +- html/editing/dnd/target-origin/104-1.html | 46 +- .../editing/dnd/target-origin/104-manual.html | 38 +- html/editing/dnd/target-origin/105-1.html | 46 +- .../editing/dnd/target-origin/105-manual.html | 38 +- html/editing/dnd/target-origin/106-1.html | 46 +- .../editing/dnd/target-origin/106-manual.html | 38 +- html/editing/dnd/target-origin/107-1.html | 46 +- .../editing/dnd/target-origin/107-manual.html | 38 +- html/editing/dnd/target-origin/108-1.html | 46 +- .../editing/dnd/target-origin/108-manual.html | 38 +- html/editing/dnd/target-origin/109-1.html | 46 +- .../editing/dnd/target-origin/109-manual.html | 38 +- html/editing/dnd/target-origin/110-1.html | 46 +- .../editing/dnd/target-origin/110-manual.html | 38 +- .../editing/dnd/target-origin/111-manual.html | 76 +- .../editing/dnd/target-origin/112-manual.html | 82 +-- .../editing/dnd/target-origin/113-manual.html | 66 +- .../editing/dnd/target-origin/114-manual.html | 82 +-- .../editing/dnd/target-origin/115-manual.html | 66 +- .../editing/dnd/target-origin/116-manual.html | 44 +- html/editing/dnd/target-origin/117-1.html | 48 +- .../editing/dnd/target-origin/117-manual.html | 38 +- html/editing/dnd/target-origin/118-1.html | 46 +- .../editing/dnd/target-origin/118-manual.html | 38 +- .../editing/dnd/target-origin/201-manual.html | 142 ++-- html/editing/dnd/target-origin/202.html | 118 ++-- .../dnd/target-origin/HELPER-mustallow.html | 34 +- .../dnd/target-origin/HELPER-mustblock.html | 26 +- .../dnd/target-origin/HELPER-showorigin.html | 46 +- lint.whitelist | 1 - 778 files changed, 17086 insertions(+), 17087 deletions(-) diff --git a/html/editing/dnd/canvas/001.xhtml b/html/editing/dnd/canvas/001.xhtml index fbb452117498e5..25492bc0852452 100644 --- a/html/editing/dnd/canvas/001.xhtml +++ b/html/editing/dnd/canvas/001.xhtml @@ -4,47 +4,47 @@ Canvas drag and drop carrying image as dataURL

- Canvas + Canvas

Drag canvas pattern above to the box below. It should be copied to the box once you drop it there.

- \ No newline at end of file + diff --git a/html/editing/dnd/canvas/002.xhtml b/html/editing/dnd/canvas/002.xhtml index 9cd8eed069617f..6cd8ee7a1ca7bd 100644 --- a/html/editing/dnd/canvas/002.xhtml +++ b/html/editing/dnd/canvas/002.xhtml @@ -4,32 +4,32 @@ Drag and drop: dropping block element onto canvas

Drag green box above to the gray canvas below. Canvas should turn green when you drop green box on it.

- Canvas + Canvas

- \ No newline at end of file + diff --git a/html/editing/dnd/canvas/003-1.xhtml b/html/editing/dnd/canvas/003-1.xhtml index fe1e4ab30de6df..b9eeb29a574d6d 100644 --- a/html/editing/dnd/canvas/003-1.xhtml +++ b/html/editing/dnd/canvas/003-1.xhtml @@ -4,17 +4,17 @@ Canvas drag and drop: helper file
- \ No newline at end of file + diff --git a/html/editing/dnd/canvas/003.xhtml b/html/editing/dnd/canvas/003.xhtml index fa98ebe8dc873d..a30ec22a564755 100644 --- a/html/editing/dnd/canvas/003.xhtml +++ b/html/editing/dnd/canvas/003.xhtml @@ -4,32 +4,32 @@ Drag and drop from iframe: dropping block element onto canvas

Drag green box above to the gray canvas below. Canvas should turn green when you drop green box on it.

- Canvas + Canvas

- \ No newline at end of file + diff --git a/html/editing/dnd/canvas/004.xhtml b/html/editing/dnd/canvas/004.xhtml index d1c2ef06e81e25..5b03ed22f5a462 100644 --- a/html/editing/dnd/canvas/004.xhtml +++ b/html/editing/dnd/canvas/004.xhtml @@ -4,32 +4,32 @@ Drag and drop from object: dropping block element onto canvas

Green box

Drag green box above to the gray canvas below. Canvas should turn green when you drop green box on it.

- Canvas + Canvas

- \ No newline at end of file + diff --git a/html/editing/dnd/canvas/005.xhtml b/html/editing/dnd/canvas/005.xhtml index fd9c9389e5bc4b..655b4ae74fee3a 100644 --- a/html/editing/dnd/canvas/005.xhtml +++ b/html/editing/dnd/canvas/005.xhtml @@ -4,18 +4,18 @@ Drag and drop to iframe: dropping block element onto canvas @@ -23,4 +23,4 @@ function start(event)

Drag green box above to the gray canvas below. Canvas should turn green when you drop green box on it.

- \ No newline at end of file + diff --git a/html/editing/dnd/canvas/006.xhtml b/html/editing/dnd/canvas/006.xhtml index 003df8f06fa37d..39274f4213ab5b 100644 --- a/html/editing/dnd/canvas/006.xhtml +++ b/html/editing/dnd/canvas/006.xhtml @@ -4,17 +4,17 @@ Drag and drop to object: dropping block element onto canvas @@ -22,4 +22,4 @@ function start(event)

Drag green box above to the gray canvas below. Canvas should turn green when you drop green box on it.

Canvas

- \ No newline at end of file + diff --git a/html/editing/dnd/canvas/007.xhtml b/html/editing/dnd/canvas/007.xhtml index 8ee869f0b4a014..33ff5e611a5665 100644 --- a/html/editing/dnd/canvas/007.xhtml +++ b/html/editing/dnd/canvas/007.xhtml @@ -4,9 +4,9 @@ Drag and drop between iframes: dropping block element onto canvas @@ -14,4 +14,4 @@ iframe

Drag green box above to the gray canvas below. Canvas should turn green when you drop green box on it.

- \ No newline at end of file + diff --git a/html/editing/dnd/canvas/008.xhtml b/html/editing/dnd/canvas/008.xhtml index d3f21acd7289b8..aa857691651f1b 100644 --- a/html/editing/dnd/canvas/008.xhtml +++ b/html/editing/dnd/canvas/008.xhtml @@ -4,9 +4,9 @@ Drag and drop from iframe to object: dropping block element onto canvas @@ -14,4 +14,4 @@ iframe, object

Drag green box above to the gray canvas below. Canvas should turn green when you drop green box on it.

Canvas

- \ No newline at end of file + diff --git a/html/editing/dnd/canvas/009.xhtml b/html/editing/dnd/canvas/009.xhtml index 9f73037bb0a6fe..94e95c6a98be00 100644 --- a/html/editing/dnd/canvas/009.xhtml +++ b/html/editing/dnd/canvas/009.xhtml @@ -4,8 +4,8 @@ Drag and drop between objects: dropping block element onto canvas @@ -13,4 +13,4 @@ object

Drag green box above to the gray canvas below. Canvas should turn green when you drop green box on it.

Canvas

- \ No newline at end of file + diff --git a/html/editing/dnd/canvas/010-1.xhtml b/html/editing/dnd/canvas/010-1.xhtml index 0f12e6fcd0fece..19f43581c7fca2 100644 --- a/html/editing/dnd/canvas/010-1.xhtml +++ b/html/editing/dnd/canvas/010-1.xhtml @@ -4,18 +4,18 @@ Canvas drag and drop: helper file

Drag green box above to the gray canvas below. Canvas should turn green when you drop green box on it.

- \ No newline at end of file + diff --git a/html/editing/dnd/canvas/012.xhtml b/html/editing/dnd/canvas/012.xhtml index d2069142c8085c..b4f30c652b08bd 100644 --- a/html/editing/dnd/canvas/012.xhtml +++ b/html/editing/dnd/canvas/012.xhtml @@ -4,39 +4,39 @@ Drag and drop and vertical scrolling: dropping block element onto canvas inside scrollable container

You should be able to drag green box above to the gray canvas at the bottom of scrollable container (dragging towards the bottom edge triggers scrolling). Canvas should be repainted to match dropped color.

- Canvas + Canvas
- \ No newline at end of file + diff --git a/html/editing/dnd/canvas/013.xhtml b/html/editing/dnd/canvas/013.xhtml index c63a5d4d05628e..e2e3646c869e16 100644 --- a/html/editing/dnd/canvas/013.xhtml +++ b/html/editing/dnd/canvas/013.xhtml @@ -4,39 +4,39 @@ Drag and drop and horizontal scrolling: dropping block element onto canvas inside scrollable container

You should be able to drag green box above to the gray canvas at the right edge of scrollable container (dragging towards the right edge triggers scrolling). Canvas should be repainted to match dropped color.

- Canvas + Canvas
- \ No newline at end of file + diff --git a/html/editing/dnd/canvas/014.xhtml b/html/editing/dnd/canvas/014.xhtml index 561597eeaa8f4e..425c97b6c48df6 100644 --- a/html/editing/dnd/canvas/014.xhtml +++ b/html/editing/dnd/canvas/014.xhtml @@ -4,39 +4,39 @@ Drag and drop and scrolling: dropping block element onto canvas inside scrollable container

You should be able to drag green box above to the gray canvas in the right-bottom corner of the scrollable container (dragging towards the corner triggers scrolling). Canvas should be repainted to match dropped color.

- Canvas + Canvas
- \ No newline at end of file + diff --git a/html/editing/dnd/canvas/cross-domain/001.manual.xhtml b/html/editing/dnd/canvas/cross-domain/001.manual.xhtml index 2a2c7f547ccf7e..5cb3e53755c755 100644 --- a/html/editing/dnd/canvas/cross-domain/001.manual.xhtml +++ b/html/editing/dnd/canvas/cross-domain/001.manual.xhtml @@ -5,22 +5,22 @@

- Canvas + Canvas

Drag the navy square above to the box below.

@@ -30,29 +30,29 @@ p:first-child { document.getElementsByTagName("img")[0].src = crossOriginUrl("www", "../../resources/100x100-navy.png"); window.onload = function() { - var canvas = document.getElementsByTagName('canvas')[0], div = document.getElementsByTagName('div')[0], failed = []; - var context = canvas.getContext('2d'); - var image = document.getElementById('image'); - context.drawImage(image, 0, 0); + var canvas = document.getElementsByTagName('canvas')[0], div = document.getElementsByTagName('div')[0], failed = []; + var context = canvas.getContext('2d'); + var image = document.getElementById('image'); + context.drawImage(image, 0, 0); div.ondragover = div.ondragenter = function(e) { - e.preventDefault(); - e.dataTransfer.dropEffect = 'copy'; + e.preventDefault(); + e.dataTransfer.dropEffect = 'copy'; + }; + div.ondrop = canvas.ondragstart = function(e) { + if( e.type == 'dragstart' ) { + e.dataTransfer.setData('Text', 'dummy text'); + e.dataTransfer.dropEffect = 'copy'; + } + for( var i = 0; i < e.dataTransfer.types.length; i++ ) { + if( e.dataTransfer.types[i].match(/image\//) ) { + failed[failed.length] = e.dataTransfer.types[i]; + } + } + if( e.type == 'drop' ) { + e.preventDefault(); + document.getElementsByTagName('p')[1].innerHTML = failed.length ? ( 'FAIL (found ' + failed.join() + ')' ) : 'PASS'; + } }; - div.ondrop = canvas.ondragstart = function(e) { - if( e.type == 'dragstart' ) { - e.dataTransfer.setData('Text', 'dummy text'); - e.dataTransfer.dropEffect = 'copy'; - } - for( var i = 0; i < e.dataTransfer.types.length; i++ ) { - if( e.dataTransfer.types[i].match(/image\//) ) { - failed[failed.length] = e.dataTransfer.types[i]; - } - } - if( e.type == 'drop' ) { - e.preventDefault(); - document.getElementsByTagName('p')[1].innerHTML = failed.length ? ( 'FAIL (found ' + failed.join() + ')' ) : 'PASS'; - } - }; }; ]]> diff --git a/html/editing/dnd/canvas/helper-drag-me-green-box.xhtml b/html/editing/dnd/canvas/helper-drag-me-green-box.xhtml index cb722babd4e8d2..c6a8fca4c0fd0d 100644 --- a/html/editing/dnd/canvas/helper-drag-me-green-box.xhtml +++ b/html/editing/dnd/canvas/helper-drag-me-green-box.xhtml @@ -4,16 +4,16 @@ Canvas drag and drop: helper file
- \ No newline at end of file + diff --git a/html/editing/dnd/canvas/helper-drop-here-canvas.xhtml b/html/editing/dnd/canvas/helper-drop-here-canvas.xhtml index dcbf7e33f1f5b9..db305689f55fca 100644 --- a/html/editing/dnd/canvas/helper-drop-here-canvas.xhtml +++ b/html/editing/dnd/canvas/helper-drop-here-canvas.xhtml @@ -4,24 +4,24 @@ Canvas drag and drop: helper file

- Canvas + Canvas

- \ No newline at end of file + diff --git a/html/editing/dnd/crashers/dialog-001.html b/html/editing/dnd/crashers/dialog-001.html index 23484c7bdd96b1..9ab62787b0d7b4 100644 --- a/html/editing/dnd/crashers/dialog-001.html +++ b/html/editing/dnd/crashers/dialog-001.html @@ -24,10 +24,10 @@ diff --git a/html/editing/dnd/cross-document/001-1.html b/html/editing/dnd/cross-document/001-1.html index 8eb79d17f0442d..6952f5da670d34 100644 --- a/html/editing/dnd/cross-document/001-1.html +++ b/html/editing/dnd/cross-document/001-1.html @@ -12,31 +12,31 @@ window.onload = function() { var blue = document.getElementsByTagName('div')[0], fails = []; blue.ondragover = blue.ondragenter = function(e) { - e.preventDefault(); + e.preventDefault(); e.dataTransfer.dropEffect = 'copy'; if( e.dataTransfer.getData('text') ) { - fails[fails.length] = '"' + e.dataTransfer.getData('text') + '" exposed during event ' + e.type; - } + fails[fails.length] = '"' + e.dataTransfer.getData('text') + '" exposed during event ' + e.type; + } }; - blue.ondrop = function(e) { - e.preventDefault(); + blue.ondrop = function(e) { + e.preventDefault(); if( !e.dataTransfer.types.length ) { - fails[fails.length] = 'no types found during event drop'; - } - var foundtext = false; + fails[fails.length] = 'no types found during event drop'; + } + var foundtext = false; for( var i = 0; i < e.dataTransfer.types.length; i++ ) { - if( e.dataTransfer.types[i] == 'text/plain' ) { - foundtext = true; - break; - } - } - if( !foundtext ) { - fails[fails.length] = 'text/plain type not found during event drop'; - } + if( e.dataTransfer.types[i] == 'text/plain' ) { + foundtext = true; + break; + } + } + if( !foundtext ) { + fails[fails.length] = 'text/plain type not found during event drop'; + } if( e.dataTransfer.getData('text') != 'dummy text' ) { - fails[fails.length] = 'getData returned ' + e.dataTransfer.getData('text') + ' instead of "dummy text"'; - } - document.getElementsByTagName('p')[0].innerHTML = fails.length ? ( 'FAIL:
' + fails.join('
') ) : 'PASS'; + fails[fails.length] = 'getData returned ' + e.dataTransfer.getData('text') + ' instead of "dummy text"'; + } + document.getElementsByTagName('p')[0].innerHTML = fails.length ? ( 'FAIL:
' + fails.join('
') ) : 'PASS'; }; }; diff --git a/html/editing/dnd/cross-document/001.html b/html/editing/dnd/cross-document/001.html index 02012e86bbc231..dd9906e8c1ee37 100644 --- a/html/editing/dnd/cross-document/001.html +++ b/html/editing/dnd/cross-document/001.html @@ -13,7 +13,7 @@ var orange = document.getElementsByTagName('div')[0]; orange.ondragstart = function(e) { e.dataTransfer.effectAllowed = 'copy'; - e.dataTransfer.setData('text', 'dummy text'); + e.dataTransfer.setData('text', 'dummy text'); }; }; diff --git a/html/editing/dnd/cross-document/002.manual.html b/html/editing/dnd/cross-document/002.manual.html index b64038e915b985..cd7c18c888e14f 100644 --- a/html/editing/dnd/cross-document/002.manual.html +++ b/html/editing/dnd/cross-document/002.manual.html @@ -14,7 +14,7 @@ var orange = document.getElementsByTagName('div')[0]; orange.ondragstart = function(e) { e.dataTransfer.effectAllowed = 'copy'; - e.dataTransfer.setData('text', 'dummy text'); + e.dataTransfer.setData('text', 'dummy text'); }; }; diff --git a/html/editing/dnd/cross-document/003-1.html b/html/editing/dnd/cross-document/003-1.html index b1357c10a45bba..db725a9b9e4a4c 100644 --- a/html/editing/dnd/cross-document/003-1.html +++ b/html/editing/dnd/cross-document/003-1.html @@ -12,88 +12,88 @@ window.onload = function() { var blue = document.getElementsByTagName('div')[0], fails = []; blue.ondragover = blue.ondragenter = function(e) { - e.preventDefault(); + e.preventDefault(); e.dataTransfer.dropEffect = 'copy'; - if( !parent.evs[e.type] ) { parent.evs[e.type] = {}; } - parent.evs[e.type].dataTransfer = e.dataTransfer; - parent.evs[e.type].items = e.dataTransfer.items; - parent.evs[e.type].types = e.dataTransfer.types; - parent.evs[e.type].files = e.dataTransfer.files; - if( parent.evs[e.type].dataTransfer != e.dataTransfer ) { - fails[fails.length] = '.dataTransfer is not returning the same object during '+e.type; - } - if( !e.dataTransfer.items ) { - fails[fails.length] = '.items is not returning anything during '+e.type; - } else if( parent.evs[e.type].items !== e.dataTransfer.items ) { - fails[fails.length] = '.items is not returning the same object during '+e.type; - } - if( !e.dataTransfer.types ) { - fails[fails.length] = '.types is not returning anything during '+e.type; - } else if( parent.evs[e.type].types !== e.dataTransfer.types ) { - fails[fails.length] = '.types is not returning the same object during '+e.type; - } - if( !e.dataTransfer.files ) { - fails[fails.length] = '.files is not returning anything during '+e.type; - } else if( parent.evs[e.type].files !== e.dataTransfer.files ) { - fails[fails.length] = '.files is not returning the same object during '+e.type; - } - //http://dev.w3.org/html5/spec/dnd.html#datatransfer - //"The * attribute must return a * object associated with the DataTransfer object." - //Note that it is associated with the DataTransfer object, *not* the data store - //http://dev.w3.org/html5/spec/dnd.html#dragevent - //"when a user agent is required to fire a DND event named e at an element, using a particular drag data store... - //Let dataTransfer be a newly created DataTransfer object associated with the given drag data store." - //A new DataTransfer object therefore means a new set of properties, not the same ones as last event - if( parent.evs.dragstart.dataTransfer === e.dataTransfer ) { - fails[fails.length] = '.dataTransfer is returning the same object during '+e.type+' as it did during dragstart'; - } - if( e.dataTransfer.items && parent.evs.dragstart.items === e.dataTransfer.items ) { - fails[fails.length] = '.items is returning the same object during '+e.type+' as it did during dragstart'; - } - if( e.dataTransfer.types && parent.evs.dragstart.types === e.dataTransfer.types ) { - fails[fails.length] = '.types is returning the same object during '+e.type+' as it did during dragstart'; - } - if( e.dataTransfer.files && parent.evs.dragstart.files === e.dataTransfer.files ) { - fails[fails.length] = '.files is returning the same object during '+e.type+' as it did during dragstart'; - } + if( !parent.evs[e.type] ) { parent.evs[e.type] = {}; } + parent.evs[e.type].dataTransfer = e.dataTransfer; + parent.evs[e.type].items = e.dataTransfer.items; + parent.evs[e.type].types = e.dataTransfer.types; + parent.evs[e.type].files = e.dataTransfer.files; + if( parent.evs[e.type].dataTransfer != e.dataTransfer ) { + fails[fails.length] = '.dataTransfer is not returning the same object during '+e.type; + } + if( !e.dataTransfer.items ) { + fails[fails.length] = '.items is not returning anything during '+e.type; + } else if( parent.evs[e.type].items !== e.dataTransfer.items ) { + fails[fails.length] = '.items is not returning the same object during '+e.type; + } + if( !e.dataTransfer.types ) { + fails[fails.length] = '.types is not returning anything during '+e.type; + } else if( parent.evs[e.type].types !== e.dataTransfer.types ) { + fails[fails.length] = '.types is not returning the same object during '+e.type; + } + if( !e.dataTransfer.files ) { + fails[fails.length] = '.files is not returning anything during '+e.type; + } else if( parent.evs[e.type].files !== e.dataTransfer.files ) { + fails[fails.length] = '.files is not returning the same object during '+e.type; + } + //http://dev.w3.org/html5/spec/dnd.html#datatransfer + //"The * attribute must return a * object associated with the DataTransfer object." + //Note that it is associated with the DataTransfer object, *not* the data store + //http://dev.w3.org/html5/spec/dnd.html#dragevent + //"when a user agent is required to fire a DND event named e at an element, using a particular drag data store... + //Let dataTransfer be a newly created DataTransfer object associated with the given drag data store." + //A new DataTransfer object therefore means a new set of properties, not the same ones as last event + if( parent.evs.dragstart.dataTransfer === e.dataTransfer ) { + fails[fails.length] = '.dataTransfer is returning the same object during '+e.type+' as it did during dragstart'; + } + if( e.dataTransfer.items && parent.evs.dragstart.items === e.dataTransfer.items ) { + fails[fails.length] = '.items is returning the same object during '+e.type+' as it did during dragstart'; + } + if( e.dataTransfer.types && parent.evs.dragstart.types === e.dataTransfer.types ) { + fails[fails.length] = '.types is returning the same object during '+e.type+' as it did during dragstart'; + } + if( e.dataTransfer.files && parent.evs.dragstart.files === e.dataTransfer.files ) { + fails[fails.length] = '.files is returning the same object during '+e.type+' as it did during dragstart'; + } }; - blue.ondrop = function(e) { - parent.evs[e.type] = {}; - parent.evs[e.type].dataTransfer = e.dataTransfer; - parent.evs[e.type].items = e.dataTransfer.items; - parent.evs[e.type].types = e.dataTransfer.types; - parent.evs[e.type].files = e.dataTransfer.files; - if( parent.evs[e.type].dataTransfer !== e.dataTransfer ) { - fails[fails.length] = '.dataTransfer is not returning the same object during '+e.type; - } - if( !e.dataTransfer.items ) { - fails[fails.length] = '.items is not returning anything during '+e.type; - } else if( parent.evs[e.type].items !== e.dataTransfer.items ) { - fails[fails.length] = '.items is not returning the same object during '+e.type; - } - if( !e.dataTransfer.types ) { - fails[fails.length] = '.types is not returning anything during '+e.type; - } else if( parent.evs[e.type].types !== e.dataTransfer.types ) { - fails[fails.length] = '.types is not returning the same object during '+e.type; - } - if( !e.dataTransfer.files ) { - fails[fails.length] = '.files is not returning anything during '+e.type; - } else if( parent.evs[e.type].files !== e.dataTransfer.files ) { - fails[fails.length] = '.files is not returning the same object during '+e.type; - } - if( parent.evs.dragstart.dataTransfer === e.dataTransfer ) { - fails[fails.length] = '.dataTransfer is returning the same object during '+e.type+' as it did during dragstart'; - } - if( e.dataTransfer.items && parent.evs.dragstart.items === e.dataTransfer.items ) { - fails[fails.length] = '.items is returning the same object during '+e.type+' as it did during dragstart'; - } - if( e.dataTransfer.types && parent.evs.dragstart.types === e.dataTransfer.types ) { - fails[fails.length] = '.types is returning the same object during '+e.type+' as it did during dragstart'; - } - if( e.dataTransfer.files && parent.evs.dragstart.files === e.dataTransfer.files ) { - fails[fails.length] = '.files is returning the same object during '+e.type+' as it did during dragstart'; - } - document.getElementsByTagName('p')[0].innerHTML = fails.length ? ( 'FAIL:
' + fails.join('
') ) : 'PASS'; + blue.ondrop = function(e) { + parent.evs[e.type] = {}; + parent.evs[e.type].dataTransfer = e.dataTransfer; + parent.evs[e.type].items = e.dataTransfer.items; + parent.evs[e.type].types = e.dataTransfer.types; + parent.evs[e.type].files = e.dataTransfer.files; + if( parent.evs[e.type].dataTransfer !== e.dataTransfer ) { + fails[fails.length] = '.dataTransfer is not returning the same object during '+e.type; + } + if( !e.dataTransfer.items ) { + fails[fails.length] = '.items is not returning anything during '+e.type; + } else if( parent.evs[e.type].items !== e.dataTransfer.items ) { + fails[fails.length] = '.items is not returning the same object during '+e.type; + } + if( !e.dataTransfer.types ) { + fails[fails.length] = '.types is not returning anything during '+e.type; + } else if( parent.evs[e.type].types !== e.dataTransfer.types ) { + fails[fails.length] = '.types is not returning the same object during '+e.type; + } + if( !e.dataTransfer.files ) { + fails[fails.length] = '.files is not returning anything during '+e.type; + } else if( parent.evs[e.type].files !== e.dataTransfer.files ) { + fails[fails.length] = '.files is not returning the same object during '+e.type; + } + if( parent.evs.dragstart.dataTransfer === e.dataTransfer ) { + fails[fails.length] = '.dataTransfer is returning the same object during '+e.type+' as it did during dragstart'; + } + if( e.dataTransfer.items && parent.evs.dragstart.items === e.dataTransfer.items ) { + fails[fails.length] = '.items is returning the same object during '+e.type+' as it did during dragstart'; + } + if( e.dataTransfer.types && parent.evs.dragstart.types === e.dataTransfer.types ) { + fails[fails.length] = '.types is returning the same object during '+e.type+' as it did during dragstart'; + } + if( e.dataTransfer.files && parent.evs.dragstart.files === e.dataTransfer.files ) { + fails[fails.length] = '.files is returning the same object during '+e.type+' as it did during dragstart'; + } + document.getElementsByTagName('p')[0].innerHTML = fails.length ? ( 'FAIL:
' + fails.join('
') ) : 'PASS'; }; }; diff --git a/html/editing/dnd/cross-document/003.html b/html/editing/dnd/cross-document/003.html index 6b7c4d07458486..ba44f9b77000f9 100644 --- a/html/editing/dnd/cross-document/003.html +++ b/html/editing/dnd/cross-document/003.html @@ -14,12 +14,12 @@ var orange = document.getElementsByTagName('div')[0]; orange.ondragstart = function(e) { e.dataTransfer.effectAllowed = 'copy'; - e.dataTransfer.setData('text', 'dummy text'); - evs[e.type] = {}; - evs[e.type].dataTransfer = e.dataTransfer; - evs[e.type].items = e.dataTransfer.items; - evs[e.type].types = e.dataTransfer.types; - evs[e.type].files = e.dataTransfer.files; + e.dataTransfer.setData('text', 'dummy text'); + evs[e.type] = {}; + evs[e.type].dataTransfer = e.dataTransfer; + evs[e.type].items = e.dataTransfer.items; + evs[e.type].types = e.dataTransfer.types; + evs[e.type].files = e.dataTransfer.files; }; }; diff --git a/html/editing/dnd/datastore/001.xhtml b/html/editing/dnd/datastore/001.xhtml index a6f53871042071..d46170d61b2e76 100644 --- a/html/editing/dnd/datastore/001.xhtml +++ b/html/editing/dnd/datastore/001.xhtml @@ -4,51 +4,51 @@ dataTransfer.setData/getData during canvas drag and drop

- Canvas + Canvas

Drag canvas pattern to the silver box below and drop it. Silver box should turn green and test results should appear below.

@@ -57,15 +57,15 @@ function say(it) var canvas = document.querySelector('canvas'), c = canvas.getContext('2d'); for(var x = 0; x != 50; x++) - {c.fillStyle = (x%2 == 0)?'navy':'white'; - c.beginPath(); - c.moveTo(x,x); - c.lineTo(100-x,x); - c.lineTo(100-x,100-x); - c.lineTo(x,100-x); - c.closePath(); - c.fill();} + {c.fillStyle = (x%2 == 0)?'navy':'white'; + c.beginPath(); + c.moveTo(x,x); + c.lineTo(100-x,x); + c.lineTo(100-x,100-x); + c.lineTo(x,100-x); + c.closePath(); + c.fill();} data[1] = canvas.toDataURL('image/png'); - \ No newline at end of file + diff --git a/html/editing/dnd/datastore/002.xhtml b/html/editing/dnd/datastore/002.xhtml index 5bbfb9a4dddac6..b9fb47d7655ff1 100644 --- a/html/editing/dnd/datastore/002.xhtml +++ b/html/editing/dnd/datastore/002.xhtml @@ -4,44 +4,44 @@ dataTransfer.setData/getData during PNG image drag and drop @@ -51,4 +51,4 @@ function say(it)
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/datastore/003.xhtml b/html/editing/dnd/datastore/003.xhtml
index dbd5851a501a02..e7baaa37ea0686 100644
--- a/html/editing/dnd/datastore/003.xhtml
+++ b/html/editing/dnd/datastore/003.xhtml
@@ -4,45 +4,45 @@
 dataTransfer.setData/getData during SVG image drag and drop
 
 
 
@@ -52,4 +52,4 @@ function say(it)
 
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/datastore/004.xhtml b/html/editing/dnd/datastore/004.xhtml
index cdf2d16c7a75d8..c7f8dc8db6187b 100644
--- a/html/editing/dnd/datastore/004.xhtml
+++ b/html/editing/dnd/datastore/004.xhtml
@@ -4,46 +4,46 @@
 dataTransfer.setData/getData during text input selection drag and drop
 
 
 
@@ -53,4 +53,4 @@ function say(it)
 
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/datastore/005.xhtml b/html/editing/dnd/datastore/005.xhtml
index 949e6c3ca7a7f5..78655c82b7db17 100644
--- a/html/editing/dnd/datastore/005.xhtml
+++ b/html/editing/dnd/datastore/005.xhtml
@@ -4,46 +4,46 @@
 dataTransfer.setData/getData during selection drag and drop
 
 
 
@@ -53,4 +53,4 @@ function say(it)
 
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/datastore/006.xhtml b/html/editing/dnd/datastore/006.xhtml
index 24e30bd830747e..c6c96842a9a9dd 100644
--- a/html/editing/dnd/datastore/006.xhtml
+++ b/html/editing/dnd/datastore/006.xhtml
@@ -4,45 +4,45 @@
 dataTransfer.setData/getData during link drag and drop
 
 
 
@@ -52,4 +52,4 @@ function say(it)
 
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/datastore/007.xhtml b/html/editing/dnd/datastore/007.xhtml
index 66c89a24fdf89d..b6b3cdafe6f3cb 100644
--- a/html/editing/dnd/datastore/007.xhtml
+++ b/html/editing/dnd/datastore/007.xhtml
@@ -4,47 +4,47 @@
 dataTransfer.setData/getData during block element drag and drop
 
 
 
@@ -54,4 +54,4 @@ function say(it)
 
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/datastore/008.xhtml b/html/editing/dnd/datastore/008.xhtml
index 1ff328d9e9cd5f..2d80f751f075e7 100644
--- a/html/editing/dnd/datastore/008.xhtml
+++ b/html/editing/dnd/datastore/008.xhtml
@@ -4,46 +4,46 @@
 Influence of reload during drag and drop on datastore
 
 
 
@@ -53,4 +53,4 @@ function say(it)
 
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/datastore/009-1.xhtml b/html/editing/dnd/datastore/009-1.xhtml
index ed55dc5a42b9c1..fd2c117524a029 100644
--- a/html/editing/dnd/datastore/009-1.xhtml
+++ b/html/editing/dnd/datastore/009-1.xhtml
@@ -4,27 +4,27 @@
 Redirect during drag and drop: helper file
 
 
 
@@ -32,4 +32,4 @@ function say(it)
 

Drop box here. Page should turn green and test results should appear below.

 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/datastore/009.xhtml b/html/editing/dnd/datastore/009.xhtml
index d0719fdfd4c6c8..9d6c321f63e52c 100644
--- a/html/editing/dnd/datastore/009.xhtml
+++ b/html/editing/dnd/datastore/009.xhtml
@@ -4,22 +4,22 @@
 Influence of redirect during drag and drop on datastore
 
 
 
@@ -27,4 +27,4 @@ function start(event)
 

Try to drag box above. You should be redirected to the new page and be able to drop it there.

- \ No newline at end of file + diff --git a/html/editing/dnd/datastore/010-1.xhtml b/html/editing/dnd/datastore/010-1.xhtml index 427624a6ff6a9d..086ae709adc02b 100644 --- a/html/editing/dnd/datastore/010-1.xhtml +++ b/html/editing/dnd/datastore/010-1.xhtml @@ -4,24 +4,24 @@ History navigation during drag and drop: helper file

Drag box to the blue arrow but don't drop it yet. You should be returned back to start page.

- \ No newline at end of file + diff --git a/html/editing/dnd/datastore/010.xhtml b/html/editing/dnd/datastore/010.xhtml index 9e32b36f32dfed..5df966ba1b9ad5 100644 --- a/html/editing/dnd/datastore/010.xhtml +++ b/html/editing/dnd/datastore/010.xhtml @@ -4,37 +4,37 @@ Influence of history navigation during drag and drop on datastore @@ -44,4 +44,4 @@ function say(it)
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/datastore/011.xhtml b/html/editing/dnd/datastore/011.xhtml
index 6b51611ebfb73b..96e38993f0e08a 100644
--- a/html/editing/dnd/datastore/011.xhtml
+++ b/html/editing/dnd/datastore/011.xhtml
@@ -4,23 +4,23 @@
 Drag and drop datastore: dragging element to iframe
 
 
 
@@ -29,4 +29,4 @@ function start(event)
 

Drag box above to the frame below.

- \ No newline at end of file + diff --git a/html/editing/dnd/datastore/012.xhtml b/html/editing/dnd/datastore/012.xhtml index b80ed24fa16807..42986c0b58817c 100644 --- a/html/editing/dnd/datastore/012.xhtml +++ b/html/editing/dnd/datastore/012.xhtml @@ -4,24 +4,24 @@ Drag and drop datastore: dragging element to object @@ -30,4 +30,4 @@ function start(event)

Drag box above to the frame below.

XHTML document - \ No newline at end of file + diff --git a/html/editing/dnd/datastore/013-1.xhtml b/html/editing/dnd/datastore/013-1.xhtml index d724679e6d19da..538a96455272eb 100644 --- a/html/editing/dnd/datastore/013-1.xhtml +++ b/html/editing/dnd/datastore/013-1.xhtml @@ -4,20 +4,20 @@ Drag and drop datastore: helper file @@ -25,4 +25,4 @@ function start(event)

Drag box above to the frame below.

- \ No newline at end of file + diff --git a/html/editing/dnd/datastore/014-1.xhtml b/html/editing/dnd/datastore/014-1.xhtml index 7a506931777dde..1163bde5afc16a 100644 --- a/html/editing/dnd/datastore/014-1.xhtml +++ b/html/editing/dnd/datastore/014-1.xhtml @@ -4,45 +4,45 @@ Drag and drop datastore: helper file @@ -52,4 +52,4 @@ function say(it)
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/datastore/015-manual.html b/html/editing/dnd/datastore/015-manual.html
index 74fff038d4bd7e..6bb3cad3aeecdb 100644
--- a/html/editing/dnd/datastore/015-manual.html
+++ b/html/editing/dnd/datastore/015-manual.html
@@ -1,62 +1,62 @@
 
 
-	
-		Using dataTransfer in new thread
-		
-		
-		
+    
-	
-	
-		

Drag the orange square over the blue square then the fuchsia square, then release it.

-
-
-
-
- - - \ No newline at end of file + + + +

Drag the orange square over the blue square then the fuchsia square, then release it.

+
+
+
+
+ + + diff --git a/html/editing/dnd/datastore/016.xhtml b/html/editing/dnd/datastore/016.xhtml index 5c5a49a2afff54..6370fe52400f8b 100644 --- a/html/editing/dnd/datastore/016.xhtml +++ b/html/editing/dnd/datastore/016.xhtml @@ -4,10 +4,10 @@ dataTransfer.clearData during PNG image drag and drop @@ -55,4 +55,4 @@ function say(it)
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/datastore/017.xhtml b/html/editing/dnd/datastore/017.xhtml
index 2cf031c1238611..ef0cf9fe11f5a5 100644
--- a/html/editing/dnd/datastore/017.xhtml
+++ b/html/editing/dnd/datastore/017.xhtml
@@ -4,10 +4,10 @@
 dataTransfer.clearData during SVG image drag and drop
 
 
 
@@ -55,4 +55,4 @@ function say(it)
 
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/datastore/018.xhtml b/html/editing/dnd/datastore/018.xhtml
index ecf703b7325ca0..f68d722a9942a2 100644
--- a/html/editing/dnd/datastore/018.xhtml
+++ b/html/editing/dnd/datastore/018.xhtml
@@ -4,11 +4,11 @@
 dataTransfer.clearData during text input selection drag and drop
 
 
 
@@ -56,4 +56,4 @@ function say(it)
 
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/datastore/019.xhtml b/html/editing/dnd/datastore/019.xhtml
index 2aa803c614bc2b..0734a2316470c0 100644
--- a/html/editing/dnd/datastore/019.xhtml
+++ b/html/editing/dnd/datastore/019.xhtml
@@ -4,11 +4,11 @@
 dataTransfer.clearData during selection drag and drop
 
 
 
@@ -56,4 +56,4 @@ function say(it)
 
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/datastore/020.xhtml b/html/editing/dnd/datastore/020.xhtml
index 73689e1da67aae..b57ab102adc712 100644
--- a/html/editing/dnd/datastore/020.xhtml
+++ b/html/editing/dnd/datastore/020.xhtml
@@ -4,10 +4,10 @@
 dataTransfer.clearData during link drag and drop
 
 
 
@@ -61,4 +61,4 @@ function say(it)
 
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/datastore/021.xhtml b/html/editing/dnd/datastore/021.xhtml
index a32ce7280f104c..428a5cf392756f 100644
--- a/html/editing/dnd/datastore/021.xhtml
+++ b/html/editing/dnd/datastore/021.xhtml
@@ -4,12 +4,12 @@
 dataTransfer.clearData during block element drag and drop
 
 
 
@@ -57,4 +57,4 @@ function say(it)
 
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/datastore/022.xhtml b/html/editing/dnd/datastore/022.xhtml
index 1e1eb64ceb43fe..660a4b443549b9 100644
--- a/html/editing/dnd/datastore/022.xhtml
+++ b/html/editing/dnd/datastore/022.xhtml
@@ -4,10 +4,10 @@
 dataTransfer.clearData during canvas drag and drop
 
 
 
 
 

- Canvas + Canvas

Drag canvas pattern to the silver box below and drop it. Silver box should turn green and test results should appear below.

@@ -60,15 +60,15 @@ function say(it) var canvas = document.querySelector('canvas'), c = canvas.getContext('2d'); for(var x = 0; x != 50; x++) - {c.fillStyle = (x%2 == 0)?'navy':'white'; - c.beginPath(); - c.moveTo(x,x); - c.lineTo(100-x,x); - c.lineTo(100-x,100-x); - c.lineTo(x,100-x); - c.closePath(); - c.fill();} + {c.fillStyle = (x%2 == 0)?'navy':'white'; + c.beginPath(); + c.moveTo(x,x); + c.lineTo(100-x,x); + c.lineTo(100-x,100-x); + c.lineTo(x,100-x); + c.closePath(); + c.fill();} data[1] = canvas.toDataURL('image/png'); - \ No newline at end of file + diff --git a/html/editing/dnd/datastore/023.xhtml b/html/editing/dnd/datastore/023.xhtml index bf58316e61b3db..fd236ca98af4f0 100644 --- a/html/editing/dnd/datastore/023.xhtml +++ b/html/editing/dnd/datastore/023.xhtml @@ -4,45 +4,45 @@ dataTransfer.clearData and reload during block element drag and drop @@ -52,4 +52,4 @@ function say(it)
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/datastore/024.xhtml b/html/editing/dnd/datastore/024.xhtml
index 5629bd746c51bc..93a35f3160212e 100644
--- a/html/editing/dnd/datastore/024.xhtml
+++ b/html/editing/dnd/datastore/024.xhtml
@@ -4,46 +4,46 @@
 Clear datastore data during PNG image drag and drop
 
 
 
@@ -53,4 +53,4 @@ function say(it)
 
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/datastore/025.xhtml b/html/editing/dnd/datastore/025.xhtml
index 7ac04e6e31f9b8..6b803518b72b58 100644
--- a/html/editing/dnd/datastore/025.xhtml
+++ b/html/editing/dnd/datastore/025.xhtml
@@ -4,46 +4,46 @@
 Clear datastore data during SVG image drag and drop
 
 
 
@@ -53,4 +53,4 @@ function say(it)
 
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/datastore/026.xhtml b/html/editing/dnd/datastore/026.xhtml
index 8b2fd371406869..50523e2d90bd65 100644
--- a/html/editing/dnd/datastore/026.xhtml
+++ b/html/editing/dnd/datastore/026.xhtml
@@ -4,47 +4,47 @@
 Clear datastore data during text input selection drag and drop
 
 
 
@@ -54,4 +54,4 @@ function say(it)
 
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/datastore/027.xhtml b/html/editing/dnd/datastore/027.xhtml
index ecd57b3aceffe5..9d69ddddc98ffa 100644
--- a/html/editing/dnd/datastore/027.xhtml
+++ b/html/editing/dnd/datastore/027.xhtml
@@ -4,11 +4,11 @@
 Clear datastore data during selection drag and drop
 
 
 
@@ -55,4 +55,4 @@ function say(it)
 
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/datastore/028.xhtml b/html/editing/dnd/datastore/028.xhtml
index e6aec005ea39dd..145864fce39d3b 100644
--- a/html/editing/dnd/datastore/028.xhtml
+++ b/html/editing/dnd/datastore/028.xhtml
@@ -4,52 +4,52 @@
 Clear datastore data during link drag and drop
 
 
 
@@ -59,4 +59,4 @@ function say(it)
 
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/datastore/029.xhtml b/html/editing/dnd/datastore/029.xhtml
index e8471a19878ba6..f752f3c90021b5 100644
--- a/html/editing/dnd/datastore/029.xhtml
+++ b/html/editing/dnd/datastore/029.xhtml
@@ -4,48 +4,48 @@
 Clear datastore data during block element drag and drop
 
 
 
@@ -55,4 +55,4 @@ function say(it)
 
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/datastore/030.xhtml b/html/editing/dnd/datastore/030.xhtml
index 31263c3f53bf91..ad9bee4ce1378a 100644
--- a/html/editing/dnd/datastore/030.xhtml
+++ b/html/editing/dnd/datastore/030.xhtml
@@ -4,52 +4,52 @@
 Clear datastore data during canvas drag and drop
 
 
 
 
 

- Canvas + Canvas

Drag canvas pattern to the silver box below and drop it. Silver box should turn green and test results should appear below.

@@ -58,15 +58,15 @@ function say(it) var canvas = document.querySelector('canvas'), c = canvas.getContext('2d'); for(var x = 0; x != 50; x++) - {c.fillStyle = (x%2 == 0)?'navy':'white'; - c.beginPath(); - c.moveTo(x,x); - c.lineTo(100-x,x); - c.lineTo(100-x,100-x); - c.lineTo(x,100-x); - c.closePath(); - c.fill();} + {c.fillStyle = (x%2 == 0)?'navy':'white'; + c.beginPath(); + c.moveTo(x,x); + c.lineTo(100-x,x); + c.lineTo(100-x,100-x); + c.lineTo(x,100-x); + c.closePath(); + c.fill();} data[1] = canvas.toDataURL('image/png'); - \ No newline at end of file + diff --git a/html/editing/dnd/datastore/031.xhtml b/html/editing/dnd/datastore/031.xhtml index a275fcb748c1f6..138142632caa86 100644 --- a/html/editing/dnd/datastore/031.xhtml +++ b/html/editing/dnd/datastore/031.xhtml @@ -4,10 +4,10 @@ dataTransfer.items during canvas drag and drop

- Canvas + Canvas

Drag canvas pattern to the silver box below and drop it. Silver box should turn green.

@@ -127,15 +127,15 @@ function say(it) var canvas = document.querySelector('canvas'), c = canvas.getContext('2d'); for(var x = 0; x != 50; x++) - {c.fillStyle = (x%2 == 0)?'navy':'white'; - c.beginPath(); - c.moveTo(x,x); - c.lineTo(100-x,x); - c.lineTo(100-x,100-x); - c.lineTo(x,100-x); - c.closePath(); - c.fill();} + {c.fillStyle = (x%2 == 0)?'navy':'white'; + c.beginPath(); + c.moveTo(x,x); + c.lineTo(100-x,x); + c.lineTo(100-x,100-x); + c.lineTo(x,100-x); + c.closePath(); + c.fill();} data[1] = canvas.toDataURL('image/png'); - \ No newline at end of file + diff --git a/html/editing/dnd/datastore/032.xhtml b/html/editing/dnd/datastore/032.xhtml index 9aca2959767e5b..130ce38821ff96 100644 --- a/html/editing/dnd/datastore/032.xhtml +++ b/html/editing/dnd/datastore/032.xhtml @@ -4,10 +4,10 @@ dataTransfer.items during PNG image drag and drop @@ -122,4 +122,4 @@ function say(it)
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/datastore/033.xhtml b/html/editing/dnd/datastore/033.xhtml
index d7aa67d3a32c9e..a91be799174ef3 100644
--- a/html/editing/dnd/datastore/033.xhtml
+++ b/html/editing/dnd/datastore/033.xhtml
@@ -4,10 +4,10 @@
 dataTransfer.items during SVG image drag and drop
 
 
 
@@ -122,4 +122,4 @@ function say(it)
 
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/datastore/034.xhtml b/html/editing/dnd/datastore/034.xhtml
index 1eeb227fc11879..89a1a78dd313ae 100644
--- a/html/editing/dnd/datastore/034.xhtml
+++ b/html/editing/dnd/datastore/034.xhtml
@@ -4,11 +4,11 @@
 dataTransfer.items during text input selection drag and drop
 
 
 
@@ -123,4 +123,4 @@ function say(it)
 
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/datastore/035.xhtml b/html/editing/dnd/datastore/035.xhtml
index 797f7669e30a31..37b85bdb0b8a0c 100644
--- a/html/editing/dnd/datastore/035.xhtml
+++ b/html/editing/dnd/datastore/035.xhtml
@@ -4,11 +4,11 @@
 dataTransfer.items during selection drag and drop
 
 
 
@@ -123,4 +123,4 @@ function say(it)
 
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/datastore/036.xhtml b/html/editing/dnd/datastore/036.xhtml
index ce4bd16abb6524..4799bc222efcfe 100644
--- a/html/editing/dnd/datastore/036.xhtml
+++ b/html/editing/dnd/datastore/036.xhtml
@@ -4,10 +4,10 @@
 dataTransfer.items during link drag and drop
 
 
 
@@ -122,4 +122,4 @@ function say(it)
 
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/datastore/037.xhtml b/html/editing/dnd/datastore/037.xhtml
index 4a2023ac73f733..75ebf11ab14e66 100644
--- a/html/editing/dnd/datastore/037.xhtml
+++ b/html/editing/dnd/datastore/037.xhtml
@@ -4,12 +4,12 @@
 dataTransfer.items during block element drag and drop
 
 
 
@@ -124,4 +124,4 @@ function say(it)
 
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/datastore/038.xhtml b/html/editing/dnd/datastore/038.xhtml
index 35826b0cd936f5..afb69024166387 100644
--- a/html/editing/dnd/datastore/038.xhtml
+++ b/html/editing/dnd/datastore/038.xhtml
@@ -4,10 +4,10 @@
 dataTransfer.items and getData during canvas drag and drop
 
 
 
 
 

- Canvas + Canvas

Drag canvas pattern to the silver box below and drop it. Silver box should turn green.

@@ -132,15 +132,15 @@ function say(it) var canvas = document.querySelector('canvas'), c = canvas.getContext('2d'); for(var x = 0; x != 50; x++) - {c.fillStyle = (x%2 == 0)?'navy':'white'; - c.beginPath(); - c.moveTo(x,x); - c.lineTo(100-x,x); - c.lineTo(100-x,100-x); - c.lineTo(x,100-x); - c.closePath(); - c.fill();} + {c.fillStyle = (x%2 == 0)?'navy':'white'; + c.beginPath(); + c.moveTo(x,x); + c.lineTo(100-x,x); + c.lineTo(100-x,100-x); + c.lineTo(x,100-x); + c.closePath(); + c.fill();} data[1] = canvas.toDataURL('image/png'); - \ No newline at end of file + diff --git a/html/editing/dnd/datastore/039.xhtml b/html/editing/dnd/datastore/039.xhtml index 37f165fe1ac0d0..fd73adab2ad25f 100644 --- a/html/editing/dnd/datastore/039.xhtml +++ b/html/editing/dnd/datastore/039.xhtml @@ -4,10 +4,10 @@ dataTransfer.items and getData during PNG image drag and drop @@ -128,4 +128,4 @@ function say(it)
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/datastore/040.xhtml b/html/editing/dnd/datastore/040.xhtml
index 19ed6e146f6c0a..fe545fa9adea74 100644
--- a/html/editing/dnd/datastore/040.xhtml
+++ b/html/editing/dnd/datastore/040.xhtml
@@ -4,10 +4,10 @@
 dataTransfer.items and getData during SVG image drag and drop
 
 
 
@@ -128,4 +128,4 @@ function say(it)
 
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/datastore/041.xhtml b/html/editing/dnd/datastore/041.xhtml
index 7bd22d848f5dca..433dcf090f05f5 100644
--- a/html/editing/dnd/datastore/041.xhtml
+++ b/html/editing/dnd/datastore/041.xhtml
@@ -4,11 +4,11 @@
 dataTransfer.items and getData during text input selection drag and drop
 
 
 
@@ -129,4 +129,4 @@ function say(it)
 
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/datastore/042.xhtml b/html/editing/dnd/datastore/042.xhtml
index 945de1171fde7f..785889d981144e 100644
--- a/html/editing/dnd/datastore/042.xhtml
+++ b/html/editing/dnd/datastore/042.xhtml
@@ -4,11 +4,11 @@
 dataTransfer.items and getData during selection drag and drop
 
 
 
@@ -129,4 +129,4 @@ function say(it)
 
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/datastore/043.xhtml b/html/editing/dnd/datastore/043.xhtml
index c42baa09dfcaf6..76fe70a99b4c27 100644
--- a/html/editing/dnd/datastore/043.xhtml
+++ b/html/editing/dnd/datastore/043.xhtml
@@ -4,10 +4,10 @@
 dataTransfer.items and getData during link drag and drop
 
 
 
@@ -128,4 +128,4 @@ function say(it)
 
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/datastore/044.xhtml b/html/editing/dnd/datastore/044.xhtml
index 9a1efdcc06a99f..d3e08515df2c0a 100644
--- a/html/editing/dnd/datastore/044.xhtml
+++ b/html/editing/dnd/datastore/044.xhtml
@@ -4,12 +4,12 @@
 dataTransfer.items and getData during block element drag and drop
 
 
 
@@ -129,4 +129,4 @@ function say(it)
 
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/datastore/045.xhtml b/html/editing/dnd/datastore/045.xhtml
index e354ff7f1438a0..a98cba4ed8615c 100644
--- a/html/editing/dnd/datastore/045.xhtml
+++ b/html/editing/dnd/datastore/045.xhtml
@@ -4,47 +4,47 @@
 Text and url aliases
 
 
 
@@ -54,4 +54,4 @@ function say(it)
 
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/datastore/046.xhtml b/html/editing/dnd/datastore/046.xhtml
index 8a4a3cbaecf205..a766f52ecfdfe4 100644
--- a/html/editing/dnd/datastore/046.xhtml
+++ b/html/editing/dnd/datastore/046.xhtml
@@ -4,10 +4,10 @@
 dataTransfer.types during canvas drag and drop
 
 
 
 
 

- Canvas + Canvas

Drag canvas pattern to the silver box below and drop it. Silver box should turn green.

@@ -158,15 +158,15 @@ function say(it) var canvas = document.querySelector('canvas'), c = canvas.getContext('2d'); for(var x = 0; x != 50; x++) - {c.fillStyle = (x%2 == 0)?'navy':'white'; - c.beginPath(); - c.moveTo(x,x); - c.lineTo(100-x,x); - c.lineTo(100-x,100-x); - c.lineTo(x,100-x); - c.closePath(); - c.fill();} + {c.fillStyle = (x%2 == 0)?'navy':'white'; + c.beginPath(); + c.moveTo(x,x); + c.lineTo(100-x,x); + c.lineTo(100-x,100-x); + c.lineTo(x,100-x); + c.closePath(); + c.fill();} data[1] = canvas.toDataURL('image/png'); - \ No newline at end of file + diff --git a/html/editing/dnd/datastore/047.xhtml b/html/editing/dnd/datastore/047.xhtml index fc43f811ceb6f3..c3148bff701e3a 100644 --- a/html/editing/dnd/datastore/047.xhtml +++ b/html/editing/dnd/datastore/047.xhtml @@ -4,10 +4,10 @@ dataTransfer.types during PNG image drag and drop @@ -154,4 +154,4 @@ function say(it)
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/datastore/048.xhtml b/html/editing/dnd/datastore/048.xhtml
index 49c87f722c8fd1..c87793b6de761a 100644
--- a/html/editing/dnd/datastore/048.xhtml
+++ b/html/editing/dnd/datastore/048.xhtml
@@ -4,10 +4,10 @@
 dataTransfer.types during SVG image drag and drop
 
 
 
@@ -154,4 +154,4 @@ function say(it)
 
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/datastore/049.xhtml b/html/editing/dnd/datastore/049.xhtml
index 5c810dd2ad2269..06e2107ae485e0 100644
--- a/html/editing/dnd/datastore/049.xhtml
+++ b/html/editing/dnd/datastore/049.xhtml
@@ -4,11 +4,11 @@
 dataTransfer.types during text input selection drag and drop
 
 
 
@@ -155,4 +155,4 @@ function say(it)
 
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/datastore/050.xhtml b/html/editing/dnd/datastore/050.xhtml
index 33e41c65346d91..1cf766fed7bce6 100644
--- a/html/editing/dnd/datastore/050.xhtml
+++ b/html/editing/dnd/datastore/050.xhtml
@@ -4,11 +4,11 @@
 dataTransfer.types during selection drag and drop
 
 
 
@@ -155,4 +155,4 @@ function say(it)
 
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/datastore/051.xhtml b/html/editing/dnd/datastore/051.xhtml
index f073c60786e797..378af23f4b3dbc 100644
--- a/html/editing/dnd/datastore/051.xhtml
+++ b/html/editing/dnd/datastore/051.xhtml
@@ -4,10 +4,10 @@
 dataTransfer.types during link drag and drop
 
 
 
@@ -154,4 +154,4 @@ function say(it)
 
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/datastore/052.xhtml b/html/editing/dnd/datastore/052.xhtml
index 65983990f2983a..597d31ac64a5c1 100644
--- a/html/editing/dnd/datastore/052.xhtml
+++ b/html/editing/dnd/datastore/052.xhtml
@@ -4,12 +4,12 @@
 dataTransfer.types during block element drag and drop
 
 
 
@@ -155,4 +155,4 @@ function say(it)
 
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/datastore/053.html b/html/editing/dnd/datastore/053.html
index 9f1a0d730ac572..a893b8e489182b 100644
--- a/html/editing/dnd/datastore/053.html
+++ b/html/editing/dnd/datastore/053.html
@@ -1,83 +1,83 @@
 
 
-	
-		Adding a file to dnd data store
-		
-		
-	
-	
-		
    -
  1. Select a non-empty file on your computer using the following input:
  2. -
  3. Drag the orange square onto the blue square and release it:

    - If a prompt appears, accept it.
  4. -
  5. Fail if new text does not appear below.
  6. -
-

- - - \ No newline at end of file + + + +
    +
  1. Select a non-empty file on your computer using the following input:
  2. +
  3. Drag the orange square onto the blue square and release it:

    + If a prompt appears, accept it.
  4. +
  5. Fail if new text does not appear below.
  6. +
+

+ + + diff --git a/html/editing/dnd/datastore/054.html b/html/editing/dnd/datastore/054.html index 0c6a1200a3016e..cd42e633989b9a 100644 --- a/html/editing/dnd/datastore/054.html +++ b/html/editing/dnd/datastore/054.html @@ -1,83 +1,83 @@ - - Adding a file to dnd data store with drag out of window - - - - -
    -
  1. Select a non-empty file on your computer using the following input:
  2. -
  3. Drag the orange square outside the browser window (not over the taskbar), then back onto the blue square and release it:

    - If a prompt appears, accept it.
  4. -
  5. Fail if new text does not appear below.
  6. -
-

- - - \ No newline at end of file + + + +
    +
  1. Select a non-empty file on your computer using the following input:
  2. +
  3. Drag the orange square outside the browser window (not over the taskbar), then back onto the blue square and release it:

    + If a prompt appears, accept it.
  4. +
  5. Fail if new text does not appear below.
  6. +
+

+ + + diff --git a/html/editing/dnd/datastore/055.html b/html/editing/dnd/datastore/055.html index 570571e9bd7cd7..ac2e64ed354b66 100644 --- a/html/editing/dnd/datastore/055.html +++ b/html/editing/dnd/datastore/055.html @@ -1,46 +1,46 @@ - - text/uri-list conversion - - - - -
-

Attempt to drag the orange square.

- - - \ No newline at end of file + + + +
+

Attempt to drag the orange square.

+ + + diff --git a/html/editing/dnd/datastore/056.xhtml b/html/editing/dnd/datastore/056.xhtml index dd85dbe881b793..c9a3e700deec90 100644 --- a/html/editing/dnd/datastore/056.xhtml +++ b/html/editing/dnd/datastore/056.xhtml @@ -4,45 +4,45 @@ Caseinsensitivity in dataTransfer.setData/getData @@ -52,4 +52,4 @@ function say(it)
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/datastore/057.xhtml b/html/editing/dnd/datastore/057.xhtml
index 4c6f6f5798b20b..b4f5659d276d8a 100644
--- a/html/editing/dnd/datastore/057.xhtml
+++ b/html/editing/dnd/datastore/057.xhtml
@@ -4,46 +4,46 @@
 Various data item type strings in dataTransfer.setData/getData
 
 
 
@@ -53,4 +53,4 @@ function say(it)
 
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/datastore/058.html b/html/editing/dnd/datastore/058.html
index 1bf9e58018f2cb..c1e7ad95b62d25 100644
--- a/html/editing/dnd/datastore/058.html
+++ b/html/editing/dnd/datastore/058.html
@@ -1,79 +1,79 @@
 
 
-	
-		Dropping file into dropzone
-		
-		
-	
-	
-		
    -
  1. Select a non-empty plain text file on your computer using the following input:
  2. -
  3. Drag the orange square onto the blue square and release it:

    - If a prompt appears, accept it.
  4. -
  5. Fail if new text does not appear below.
  6. -
-

- - - \ No newline at end of file + + + +
    +
  1. Select a non-empty plain text file on your computer using the following input:
  2. +
  3. Drag the orange square onto the blue square and release it:

    + If a prompt appears, accept it.
  4. +
  5. Fail if new text does not appear below.
  6. +
+

+ + + diff --git a/html/editing/dnd/datastore/helper-drop-box-here.xhtml b/html/editing/dnd/datastore/helper-drop-box-here.xhtml index 70341c5c6f5ea1..d6b9d6fcefd710 100644 --- a/html/editing/dnd/datastore/helper-drop-box-here.xhtml +++ b/html/editing/dnd/datastore/helper-drop-box-here.xhtml @@ -4,27 +4,27 @@ Drag and drop datastore: helper file @@ -32,4 +32,4 @@ function say(it)

Drop box here. Frame should turn green and test results should appear below.

 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/dom/specials.html b/html/editing/dnd/dom/specials.html
index e83eb68aadcbf4..4327eac8727c2e 100644
--- a/html/editing/dnd/dom/specials.html
+++ b/html/editing/dnd/dom/specials.html
@@ -1,25 +1,25 @@
 
 
-	
-		Exposing drag & drop events on document and window
-		
-		
-	
-	
+  
+    Exposing drag & drop events on document and window
+    
+    
+  
+  
 
-		
Enable script and reload
- + - - \ No newline at end of file + + diff --git a/html/editing/dnd/drop/001.xhtml b/html/editing/dnd/drop/001.xhtml index 970e077e688d01..c34aef97349bcc 100644 --- a/html/editing/dnd/drop/001.xhtml +++ b/html/editing/dnd/drop/001.xhtml @@ -4,28 +4,28 @@ Selection drag and drop: allowed effects 'copy','move','link' @@ -35,4 +35,4 @@ function start(event)

You should be able to drag selection and drop it onto any of the green boxes.

- \ No newline at end of file + diff --git a/html/editing/dnd/drop/002.xhtml b/html/editing/dnd/drop/002.xhtml index 13c64251a3db42..19da353097a57e 100644 --- a/html/editing/dnd/drop/002.xhtml +++ b/html/editing/dnd/drop/002.xhtml @@ -4,28 +4,28 @@ Text input selection drag and drop: allowed effects 'copy','move','link' @@ -35,4 +35,4 @@ function start(event)

You should be able to drag selection and drop it onto any of the green boxes.

- \ No newline at end of file + diff --git a/html/editing/dnd/drop/003.xhtml b/html/editing/dnd/drop/003.xhtml index 44b907ac7d0fd2..b114c3770e72bf 100644 --- a/html/editing/dnd/drop/003.xhtml +++ b/html/editing/dnd/drop/003.xhtml @@ -4,25 +4,25 @@ Link drag and drop: allowed effects 'copy','move','link' @@ -32,4 +32,4 @@ function start(event)

You should be able to drag link and drop it onto any of the green boxes.

- \ No newline at end of file + diff --git a/html/editing/dnd/drop/004.xhtml b/html/editing/dnd/drop/004.xhtml index 7376d045b03783..715792f8ef1148 100644 --- a/html/editing/dnd/drop/004.xhtml +++ b/html/editing/dnd/drop/004.xhtml @@ -4,25 +4,25 @@ PNG image drag and drop: allowed effects 'copy','move','link' @@ -32,4 +32,4 @@ function start(event)

You should be able to drag circle and drop it onto any of the green boxes.

- \ No newline at end of file + diff --git a/html/editing/dnd/drop/005.xhtml b/html/editing/dnd/drop/005.xhtml index c74572f0e80858..a6c237c29def0d 100644 --- a/html/editing/dnd/drop/005.xhtml +++ b/html/editing/dnd/drop/005.xhtml @@ -4,25 +4,25 @@ SVG image drag and drop: allowed effects 'copy','move','link' @@ -32,4 +32,4 @@ function start(event)

You should be able to drag circle and drop it onto any of the green boxes.

- \ No newline at end of file + diff --git a/html/editing/dnd/drop/006.xhtml b/html/editing/dnd/drop/006.xhtml index 03deb62f2b9790..3faea1803ff018 100644 --- a/html/editing/dnd/drop/006.xhtml +++ b/html/editing/dnd/drop/006.xhtml @@ -4,30 +4,30 @@ Canvas drag and drop: allowed effects 'copy','move','link'

- Canvas + Canvas

@@ -37,14 +37,14 @@ function start(event) var canvas = document.querySelector('canvas'), c = canvas.getContext('2d'); for(var x = 0; x != 50; x++) - {c.fillStyle = (x%2 == 0)?'navy':'white'; - c.beginPath(); - c.moveTo(x,x); - c.lineTo(100-x,x); - c.lineTo(100-x,100-x); - c.lineTo(x,100-x); - c.closePath(); - c.fill();} + {c.fillStyle = (x%2 == 0)?'navy':'white'; + c.beginPath(); + c.moveTo(x,x); + c.lineTo(100-x,x); + c.lineTo(100-x,100-x); + c.lineTo(x,100-x); + c.closePath(); + c.fill();} - \ No newline at end of file + diff --git a/html/editing/dnd/drop/007.xhtml b/html/editing/dnd/drop/007.xhtml index 0072eb123305b4..b326b25ee4fa0e 100644 --- a/html/editing/dnd/drop/007.xhtml +++ b/html/editing/dnd/drop/007.xhtml @@ -4,28 +4,28 @@ Selection drag and drop: allowed effects 'copy','copyLink','copyMove' @@ -35,4 +35,4 @@ function start(event)

You should be able to drag selection and drop it onto any of the green boxes.

- \ No newline at end of file + diff --git a/html/editing/dnd/drop/008.xhtml b/html/editing/dnd/drop/008.xhtml index 79b743ff90169f..d1ec557e735012 100644 --- a/html/editing/dnd/drop/008.xhtml +++ b/html/editing/dnd/drop/008.xhtml @@ -4,25 +4,25 @@ Link drag and drop: allowed effects 'link','linkMove','uninitialized' @@ -32,4 +32,4 @@ function start(event)

You should be able to drag link and drop it onto any of the green boxes.

- \ No newline at end of file + diff --git a/html/editing/dnd/drop/009.xhtml b/html/editing/dnd/drop/009.xhtml index fcd38df4ae2b4d..e9e41c6f83cdbe 100644 --- a/html/editing/dnd/drop/009.xhtml +++ b/html/editing/dnd/drop/009.xhtml @@ -4,27 +4,27 @@ Text input selection drag and drop: allowed effects 'move','uninitialized' @@ -33,4 +33,4 @@ function start(event)

You should be able to drag selection and drop it onto any of the green boxes.

- \ No newline at end of file + diff --git a/html/editing/dnd/drop/010.xhtml b/html/editing/dnd/drop/010.xhtml index 50fc1e2367c682..3758fdd32a36eb 100644 --- a/html/editing/dnd/drop/010.xhtml +++ b/html/editing/dnd/drop/010.xhtml @@ -4,26 +4,26 @@ Selection drag and drop: allowed effects 'all','uninitialized' @@ -32,4 +32,4 @@ function start(event)

You should be able to drag selection and drop it onto any of the green boxes.

- \ No newline at end of file + diff --git a/html/editing/dnd/drop/011.xhtml b/html/editing/dnd/drop/011.xhtml index aa8c411c79d89b..ab81380feb2fbf 100644 --- a/html/editing/dnd/drop/011.xhtml +++ b/html/editing/dnd/drop/011.xhtml @@ -4,28 +4,28 @@ Selection drag and drop: allowed effects 'link','copyLink','linkMove' @@ -35,4 +35,4 @@ function start(event)

You should be able to drag selection and drop it onto any of the green boxes.

- \ No newline at end of file + diff --git a/html/editing/dnd/drop/012.xhtml b/html/editing/dnd/drop/012.xhtml index e5b4b7b554552b..a19e6d42d1f74d 100644 --- a/html/editing/dnd/drop/012.xhtml +++ b/html/editing/dnd/drop/012.xhtml @@ -4,28 +4,28 @@ Selection drag and drop: allowed effects 'move','copyMove','linkMove' diff --git a/html/editing/dnd/drop/013.xhtml b/html/editing/dnd/drop/013.xhtml index 629b66ddd2b202..5dc10ea3853027 100644 --- a/html/editing/dnd/drop/013.xhtml +++ b/html/editing/dnd/drop/013.xhtml @@ -4,28 +4,28 @@ Selection drag and drop: allowed effects 'copy','all','uninitialized' @@ -35,4 +35,4 @@ function start(event)

You should be able to drag selection and drop it onto any of the green boxes.

- \ No newline at end of file + diff --git a/html/editing/dnd/drop/014.xhtml b/html/editing/dnd/drop/014.xhtml index 93747099e10591..91bc6efb3ed3db 100644 --- a/html/editing/dnd/drop/014.xhtml +++ b/html/editing/dnd/drop/014.xhtml @@ -4,28 +4,28 @@ Selection drag and drop: allowed effects 'copy','copyMove','invalid' @@ -35,4 +35,4 @@ function start(event)

You should be able to drag selection and drop it onto any of the green boxes.

- \ No newline at end of file + diff --git a/html/editing/dnd/drop/015.xhtml b/html/editing/dnd/drop/015.xhtml index 23b4b43ee107a2..952abd2e1524ef 100644 --- a/html/editing/dnd/drop/015.xhtml +++ b/html/editing/dnd/drop/015.xhtml @@ -4,25 +4,25 @@ Selection drag and drop: dropzone 'copy','move' and 'link' @@ -32,4 +32,4 @@ function dropSelection(event,element)

Drag me

You should be able to drag selection and drop it onto any of the green boxes.

- \ No newline at end of file + diff --git a/html/editing/dnd/drop/016.xhtml b/html/editing/dnd/drop/016.xhtml index 23fc81907bc059..a1b80c5198ae72 100644 --- a/html/editing/dnd/drop/016.xhtml +++ b/html/editing/dnd/drop/016.xhtml @@ -4,25 +4,25 @@ Text input selection drag and drop: dropzone 'copy','move' and 'link' @@ -32,4 +32,4 @@ function dropSelection(event,element)

You should be able to drag selection and drop it onto any of the green boxes.

- \ No newline at end of file + diff --git a/html/editing/dnd/drop/017.xhtml b/html/editing/dnd/drop/017.xhtml index a9dd0d74d750cf..36fdbc873fc46a 100644 --- a/html/editing/dnd/drop/017.xhtml +++ b/html/editing/dnd/drop/017.xhtml @@ -4,22 +4,22 @@ Link drag and drop: dropzone 'copy','move' and 'link' @@ -29,4 +29,4 @@ function dropSelection(event,element)

Drag me

You should be able to drag link and drop it onto any of the green boxes.

- \ No newline at end of file + diff --git a/html/editing/dnd/drop/018.xhtml b/html/editing/dnd/drop/018.xhtml index 055448f1d49880..2a84d75e39c623 100644 --- a/html/editing/dnd/drop/018.xhtml +++ b/html/editing/dnd/drop/018.xhtml @@ -4,29 +4,29 @@ Selection drag and drop: setting dropzone attribute ondragstart @@ -36,4 +36,4 @@ function start(event)

Drag me

You should be able to drag selection and drop it onto any of the green boxes.

- \ No newline at end of file + diff --git a/html/editing/dnd/drop/019.xhtml b/html/editing/dnd/drop/019.xhtml index 5dd86f21106df2..66ca95c424e8ce 100644 --- a/html/editing/dnd/drop/019.xhtml +++ b/html/editing/dnd/drop/019.xhtml @@ -4,29 +4,29 @@ Text input selection drag and drop: setting dropzone attribute ondragstart @@ -36,4 +36,4 @@ function start(event)

You should be able to drag selection and drop it onto any of the green boxes.

- \ No newline at end of file + diff --git a/html/editing/dnd/drop/020.xhtml b/html/editing/dnd/drop/020.xhtml index 8fa4c0622ef367..a06f41968d4a04 100644 --- a/html/editing/dnd/drop/020.xhtml +++ b/html/editing/dnd/drop/020.xhtml @@ -4,26 +4,26 @@ Link drag and drop: setting dropzone attribute ondragstart @@ -33,4 +33,4 @@ function start(event)

Drag me

You should be able to drag link and drop it onto any of the green boxes.

- \ No newline at end of file + diff --git a/html/editing/dnd/drop/021.xhtml b/html/editing/dnd/drop/021.xhtml index 5e9f249281d7fe..441c860b730a00 100644 --- a/html/editing/dnd/drop/021.xhtml +++ b/html/editing/dnd/drop/021.xhtml @@ -4,28 +4,28 @@ Selection drag and drop: removing dropzone attribute ondragstart @@ -35,4 +35,4 @@ function start(event)

Drag me

You should not be able to drop selection onto any of the red boxes above.

- \ No newline at end of file + diff --git a/html/editing/dnd/drop/022.xhtml b/html/editing/dnd/drop/022.xhtml index ed1b02659695f2..7318d556ca8d6c 100644 --- a/html/editing/dnd/drop/022.xhtml +++ b/html/editing/dnd/drop/022.xhtml @@ -4,29 +4,29 @@ Selection drag and drop: changing dropzone attribute ondragstart @@ -36,4 +36,4 @@ function start(event)

Drag me

You should be able to drag selection and drop it onto any of the green boxes.

- \ No newline at end of file + diff --git a/html/editing/dnd/drop/023.xhtml b/html/editing/dnd/drop/023.xhtml index be2ffae9a1b06d..eb5dd04f22291e 100644 --- a/html/editing/dnd/drop/023.xhtml +++ b/html/editing/dnd/drop/023.xhtml @@ -4,30 +4,30 @@ drofEffect after drop event is cancelled @@ -37,4 +37,4 @@ function endDrag(event)

Drag me

You should be able to drag selection and drop it onto any of the green boxes.

- \ No newline at end of file + diff --git a/html/editing/dnd/drop/024.xhtml b/html/editing/dnd/drop/024.xhtml index 4f880974e28db6..ec5acdb9497823 100644 --- a/html/editing/dnd/drop/024.xhtml +++ b/html/editing/dnd/drop/024.xhtml @@ -4,29 +4,29 @@ Selection drag and drop: invalid value of effectAllowed @@ -36,4 +36,4 @@ function start(event)

You should be able to drag selection and drop it onto any of the green boxes.

- \ No newline at end of file + diff --git a/html/editing/dnd/drop/025.html b/html/editing/dnd/drop/025.html index 288836fe4d0915..bced86b88fee1f 100644 --- a/html/editing/dnd/drop/025.html +++ b/html/editing/dnd/drop/025.html @@ -28,129 +28,129 @@ @@ -32,4 +32,4 @@ function dropSelection(event,element)

Drag me

You should be able to drag selection and drop it onto any of the green boxes.

- \ No newline at end of file + diff --git a/html/editing/dnd/drop/027.xhtml b/html/editing/dnd/drop/027.xhtml index 482a655c182cf7..5e2b41544ba12e 100644 --- a/html/editing/dnd/drop/027.xhtml +++ b/html/editing/dnd/drop/027.xhtml @@ -4,24 +4,24 @@ Selection drag and drop: non matching values in dropzone @@ -31,4 +31,4 @@ function dropSelection(event,element)

Drag me

You should not be able to drop selection onto any of the red boxes above.

- \ No newline at end of file + diff --git a/html/editing/dnd/drop/028.html b/html/editing/dnd/drop/028.html index 22b823f70a77e0..ab5725ad002211 100644 --- a/html/editing/dnd/drop/028.html +++ b/html/editing/dnd/drop/028.html @@ -1,42 +1,42 @@ - - Dropping element with uninitialized effectAllowed - - - - + + + - -
Drag this rectangle.
-

Drop onto this rectangle. Fail if this text does not change.

+ +
Drag this rectangle.
+

Drop onto this rectangle. Fail if this text does not change.

- - \ No newline at end of file + + diff --git a/html/editing/dnd/dropzone/001.xhtml b/html/editing/dnd/dropzone/001.xhtml index 4fc405af3cc162..aa929f5724715a 100644 --- a/html/editing/dnd/dropzone/001.xhtml +++ b/html/editing/dnd/dropzone/001.xhtml @@ -4,11 +4,11 @@ Dropzone attribute: copy @@ -16,4 +16,4 @@ div

You should be able to drag selection to navy box below. You should see word PASS once you drop it.

- \ No newline at end of file + diff --git a/html/editing/dnd/dropzone/002.xhtml b/html/editing/dnd/dropzone/002.xhtml index 87a64b3ee769fc..1c4f48371674c7 100644 --- a/html/editing/dnd/dropzone/002.xhtml +++ b/html/editing/dnd/dropzone/002.xhtml @@ -4,11 +4,11 @@ Dropzone attribute: move @@ -16,4 +16,4 @@ div

You should be able to drag selection to navy box below. You should see word PASS once you drop it.

- \ No newline at end of file + diff --git a/html/editing/dnd/dropzone/003.xhtml b/html/editing/dnd/dropzone/003.xhtml index 7683b1c175776c..baf359bc52b154 100644 --- a/html/editing/dnd/dropzone/003.xhtml +++ b/html/editing/dnd/dropzone/003.xhtml @@ -4,11 +4,11 @@ Dropzone attribute: link @@ -16,4 +16,4 @@ div

You should be able to drag link to navy box below. You should see word PASS once you drop it.

- \ No newline at end of file + diff --git a/html/editing/dnd/dropzone/004.xhtml b/html/editing/dnd/dropzone/004.xhtml index 683956899de3b8..b367435e1c0d53 100644 --- a/html/editing/dnd/dropzone/004.xhtml +++ b/html/editing/dnd/dropzone/004.xhtml @@ -4,28 +4,28 @@ Dropzone and link drag and drop: allowed effects 'link','copyLink','linkMove' and 'all'

Drag links one by one and drop them into gray box below, link text should be updated as you drop them.

- Link - Link - Link - Link + Link + Link + Link + Link

- \ No newline at end of file + diff --git a/html/editing/dnd/dropzone/005.xhtml b/html/editing/dnd/dropzone/005.xhtml index 5cdba423fec8b0..bdc61fde7c9ac4 100644 --- a/html/editing/dnd/dropzone/005.xhtml +++ b/html/editing/dnd/dropzone/005.xhtml @@ -4,28 +4,28 @@ Dropzone and link drag and drop: allowed effects 'copy','copyMove','copyLink' and 'all'

Drag links one by one and drop them into gray box below, link text should be updated as you drop them.

- Link - Link - Link - Link + Link + Link + Link + Link

- \ No newline at end of file + diff --git a/html/editing/dnd/dropzone/006.xhtml b/html/editing/dnd/dropzone/006.xhtml index eb5da24fc258c5..a0bca3312dc299 100644 --- a/html/editing/dnd/dropzone/006.xhtml +++ b/html/editing/dnd/dropzone/006.xhtml @@ -4,28 +4,28 @@ Dropzone and link drag and drop: allowed effects 'move','copyMove','linkMove' and 'all'

Drag links one by one and drop them into gray box below, link text should be updated as you drop them.

- Link - Link - Link - Link + Link + Link + Link + Link

- \ No newline at end of file + diff --git a/html/editing/dnd/dropzone/007.html b/html/editing/dnd/dropzone/007.html index 3140e768f72a00..ef0627a1e4981d 100644 --- a/html/editing/dnd/dropzone/007.html +++ b/html/editing/dnd/dropzone/007.html @@ -1,54 +1,54 @@ - - Dropzone should not affect the dropEffect seen by dragenter and dragover - - - - + + + -
-
-
 
-

Drag the orange square onto the blue square and release it.

- +
+
+
 
+

Drag the orange square onto the blue square and release it.

+ - - \ No newline at end of file + + diff --git a/html/editing/dnd/dropzone/008.html b/html/editing/dnd/dropzone/008.html index a82813c0430a57..4213e9f5579251 100644 --- a/html/editing/dnd/dropzone/008.html +++ b/html/editing/dnd/dropzone/008.html @@ -1,56 +1,56 @@ - - Dropzone should not affect the dropEffect if dragover is cancelled - - - - + + + -
-
-
 
-

Drag the orange square onto the blue square and release it.

- +
+
+
 
+

Drag the orange square onto the blue square and release it.

+ - - \ No newline at end of file + + diff --git a/html/editing/dnd/dropzone/009.html b/html/editing/dnd/dropzone/009.html index cc94dba031504e..c5ae10739ace6b 100644 --- a/html/editing/dnd/dropzone/009.html +++ b/html/editing/dnd/dropzone/009.html @@ -1,16 +1,16 @@ - - Dropping selection onto dropzone with JS disabled - - + + Dropping selection onto dropzone with JS disabled + + -
    -
  1. Disable JavaScript
  2. -
  3. Select some text in this sentence.
  4. -
  5. Drag the selection over this text.
  6. -
  7. If supported by the platform, the mouse cursor should show the drop-allowed cursor.
  8. -
+
    +
  1. Disable JavaScript
  2. +
  3. Select some text in this sentence.
  4. +
  5. Drag the selection over this text.
  6. +
  7. If supported by the platform, the mouse cursor should show the drop-allowed cursor.
  8. +
- - \ No newline at end of file + + diff --git a/html/editing/dnd/dropzone/010.html b/html/editing/dnd/dropzone/010.html index ff787b829a3b18..44e112b2ba8c52 100644 --- a/html/editing/dnd/dropzone/010.html +++ b/html/editing/dnd/dropzone/010.html @@ -1,16 +1,16 @@ - - Dropping selection onto dropzone with no padding - - + + Dropping selection onto dropzone with no padding + + - -
    -
  1. Select some text in this sentence.
  2. -
  3. Drag the selection over this text and release it.
  4. -
  5. This text should change.
  6. -
+ +
    +
  1. Select some text in this sentence.
  2. +
  3. Drag the selection over this text and release it.
  4. +
  5. This text should change.
  6. +
- - \ No newline at end of file + + diff --git a/html/editing/dnd/events/001-1.xhtml b/html/editing/dnd/events/001-1.xhtml index 14eab24ca2f440..001d0b5c908491 100644 --- a/html/editing/dnd/events/001-1.xhtml +++ b/html/editing/dnd/events/001-1.xhtml @@ -4,42 +4,42 @@ Cross frame drag and drop: helper file @@ -48,4 +48,4 @@ function setColor(c)
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/events/002-1.xhtml b/html/editing/dnd/events/002-1.xhtml
index ef47895d66b764..7e575b2eb63904 100644
--- a/html/editing/dnd/events/002-1.xhtml
+++ b/html/editing/dnd/events/002-1.xhtml
@@ -4,42 +4,42 @@
 Cross frame drag and drop: helper file
 
 
 
 
@@ -48,4 +48,4 @@ function setColor(c)
 
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/events/003-1.xhtml b/html/editing/dnd/events/003-1.xhtml
index 8990404b1fa404..2c7d3b9191c9cc 100644
--- a/html/editing/dnd/events/003-1.xhtml
+++ b/html/editing/dnd/events/003-1.xhtml
@@ -4,42 +4,42 @@
 Cross frame drag and drop: helper file
 
 
 
 
@@ -48,4 +48,4 @@ function setColor(c)
 
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/events/004.xhtml b/html/editing/dnd/events/004.xhtml
index f8a27e69f82e94..85753621bb9bf1 100644
--- a/html/editing/dnd/events/004.xhtml
+++ b/html/editing/dnd/events/004.xhtml
@@ -4,45 +4,45 @@
 Drag and drop of selection to iframe
 
 
 
 
@@ -52,4 +52,4 @@ function setColor(c)
 
 
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/events/005.xhtml b/html/editing/dnd/events/005.xhtml
index b84055fec8dadf..4ea0a9058dfc72 100644
--- a/html/editing/dnd/events/005.xhtml
+++ b/html/editing/dnd/events/005.xhtml
@@ -4,45 +4,45 @@
 Drag and drop of text input selection to iframe
 
 
 
 
@@ -52,4 +52,4 @@ function setColor(c)
 
 
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/events/006.xhtml b/html/editing/dnd/events/006.xhtml
index 40369c5701aae0..f9d659f31ae9fd 100644
--- a/html/editing/dnd/events/006.xhtml
+++ b/html/editing/dnd/events/006.xhtml
@@ -4,45 +4,45 @@
 Drag and drop of link to iframe
 
 
 
 
@@ -52,4 +52,4 @@ function setColor(c)
 
 
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/events/007.xhtml b/html/editing/dnd/events/007.xhtml
index a7e91cdd0ab623..3c1c217a894a14 100644
--- a/html/editing/dnd/events/007.xhtml
+++ b/html/editing/dnd/events/007.xhtml
@@ -4,46 +4,46 @@
 Drag and drop of selection to object
 
 
 
 
@@ -53,4 +53,4 @@ function setColor(c)
 
 XHTML document
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/events/008.xhtml b/html/editing/dnd/events/008.xhtml
index 8b275241413db2..e22695a6926b84 100644
--- a/html/editing/dnd/events/008.xhtml
+++ b/html/editing/dnd/events/008.xhtml
@@ -4,46 +4,46 @@
 Drag and drop of text input selection to object
 
 
 
 
@@ -53,4 +53,4 @@ function setColor(c)
 
 XHTML document
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/events/009.xhtml b/html/editing/dnd/events/009.xhtml
index d2eac96932c2f4..d2ddd32bdcda42 100644
--- a/html/editing/dnd/events/009.xhtml
+++ b/html/editing/dnd/events/009.xhtml
@@ -4,46 +4,46 @@
 Drag and drop of link to object
 
 
 
 
@@ -53,4 +53,4 @@ function setColor(c)
 
 XHTML document
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/events/010.xhtml b/html/editing/dnd/events/010.xhtml
index 1a9566822eb57d..bbc22542825481 100644
--- a/html/editing/dnd/events/010.xhtml
+++ b/html/editing/dnd/events/010.xhtml
@@ -4,47 +4,47 @@
 Drag and drop of selection from iframe
 
 
 
 
@@ -52,4 +52,4 @@ function setColor(c)
 
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/events/011.xhtml b/html/editing/dnd/events/011.xhtml
index a4564bcba822a7..3ec4e5c40b4b6b 100644
--- a/html/editing/dnd/events/011.xhtml
+++ b/html/editing/dnd/events/011.xhtml
@@ -4,47 +4,47 @@
 Drag and drop of text input selection from iframe
 
 
 
 
@@ -52,4 +52,4 @@ function setColor(c)
 
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/events/012.xhtml b/html/editing/dnd/events/012.xhtml
index 875d4ef562c4b5..0cebe5d8959ca2 100644
--- a/html/editing/dnd/events/012.xhtml
+++ b/html/editing/dnd/events/012.xhtml
@@ -4,47 +4,47 @@
 Drag and drop of link from iframe
 
 
 
 
@@ -52,4 +52,4 @@ function setColor(c)
 
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/events/013.xhtml b/html/editing/dnd/events/013.xhtml
index e6df03c1a2576d..3e6c19c402c70b 100644
--- a/html/editing/dnd/events/013.xhtml
+++ b/html/editing/dnd/events/013.xhtml
@@ -4,48 +4,48 @@
 Drag and drop of selection from object
 
 
 
 
@@ -53,4 +53,4 @@ function setColor(c)
 
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/events/014.xhtml b/html/editing/dnd/events/014.xhtml
index f82d57b15671ec..09abedd1f155db 100644
--- a/html/editing/dnd/events/014.xhtml
+++ b/html/editing/dnd/events/014.xhtml
@@ -4,48 +4,48 @@
 Drag and drop of text input selection from object
 
 
 
 
@@ -53,4 +53,4 @@ function setColor(c)
 
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/events/015.xhtml b/html/editing/dnd/events/015.xhtml
index bcd076b2163057..7baf086b774df1 100644
--- a/html/editing/dnd/events/015.xhtml
+++ b/html/editing/dnd/events/015.xhtml
@@ -4,48 +4,48 @@
 Drag and drop of link from object
 
 
 
 
@@ -53,4 +53,4 @@ function setColor(c)
 
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/events/016.xhtml b/html/editing/dnd/events/016.xhtml
index 91e991fdb85818..e6f9972a4da67c 100644
--- a/html/editing/dnd/events/016.xhtml
+++ b/html/editing/dnd/events/016.xhtml
@@ -4,21 +4,21 @@
 Selection drag and drop: events after dragenter is cancelled
 
 
 
@@ -26,4 +26,4 @@ function say(it)
 

You should not be able to drag text selection above.

 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/events/017.xhtml b/html/editing/dnd/events/017.xhtml
index e679ac0d35db75..0a372b53374e0d 100644
--- a/html/editing/dnd/events/017.xhtml
+++ b/html/editing/dnd/events/017.xhtml
@@ -4,21 +4,21 @@
 Text input selection drag and drop: events after dragenter is cancelled
 
 
 
@@ -26,4 +26,4 @@ function say(it)
 

You should not be able to drag text selection above.

 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/events/018.xhtml b/html/editing/dnd/events/018.xhtml
index 65110f5c2b5227..4aa8ba0997ae9b 100644
--- a/html/editing/dnd/events/018.xhtml
+++ b/html/editing/dnd/events/018.xhtml
@@ -4,19 +4,19 @@
 Link drag and drop: events after dragenter is cancelled
 
 
 
@@ -24,4 +24,4 @@ function say(it)
 

You should not be able to drag link above.

 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/events/019.xhtml b/html/editing/dnd/events/019.xhtml
index 3c4928fc2ebebd..4e718dda274e75 100644
--- a/html/editing/dnd/events/019.xhtml
+++ b/html/editing/dnd/events/019.xhtml
@@ -4,13 +4,13 @@
 Selection drag and drop: events after drag is cancelled
 
 
 
@@ -18,4 +18,4 @@ function say(it)
 

You should not be able to drop text selection above.

 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/events/020.xhtml b/html/editing/dnd/events/020.xhtml
index dfd9138b1dfb5d..4a1d60a647de9a 100644
--- a/html/editing/dnd/events/020.xhtml
+++ b/html/editing/dnd/events/020.xhtml
@@ -4,13 +4,13 @@
 Text input selection drag and drop: events after drag is cancelled
 
 
 
@@ -18,4 +18,4 @@ function say(it)
 

You should not be able to drop text selection above.

 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/events/021.xhtml b/html/editing/dnd/events/021.xhtml
index 87313e9db8c220..6cca911f1d10d8 100644
--- a/html/editing/dnd/events/021.xhtml
+++ b/html/editing/dnd/events/021.xhtml
@@ -4,11 +4,11 @@
 Link drag and drop: events after drag is cancelled
 
 
 
@@ -16,4 +16,4 @@ function say(it)
 

You should not be able to drag link above.

 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/events/022.xhtml b/html/editing/dnd/events/022.xhtml
index 7d85f4218d8ea9..98773f2cb69411 100644
--- a/html/editing/dnd/events/022.xhtml
+++ b/html/editing/dnd/events/022.xhtml
@@ -4,27 +4,27 @@
 Selection drag and drop: events after drag and drop is cancelled
 
 
 
 
@@ -33,4 +33,4 @@ function setColor(c)
 
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/events/023.xhtml b/html/editing/dnd/events/023.xhtml
index 7a10c5b394eab0..fadf76bf277639 100644
--- a/html/editing/dnd/events/023.xhtml
+++ b/html/editing/dnd/events/023.xhtml
@@ -4,27 +4,27 @@
 Text input selection drag and drop: events after drag and drop is cancelled
 
 
 
 
@@ -33,4 +33,4 @@ function setColor(c)
 
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/events/024.xhtml b/html/editing/dnd/events/024.xhtml
index cb079da399ae27..9afa8f709affb3 100644
--- a/html/editing/dnd/events/024.xhtml
+++ b/html/editing/dnd/events/024.xhtml
@@ -4,25 +4,25 @@
 Link drag and drop: events after drag and drop is cancelled
 
 
 
 
@@ -31,4 +31,4 @@ function setColor(c)
 
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/events/025.html b/html/editing/dnd/events/025.html
index 043b40eedadd12..b4bbbc547ec69a 100644
--- a/html/editing/dnd/events/025.html
+++ b/html/editing/dnd/events/025.html
@@ -1,69 +1,69 @@
 
 
-	
-		Dragover repeating
-		
-		
-	
-	
+    
+  
+  
 
-		
-
-

Drag the orange square over the blue square, then keep the mouse perfectly still until the result appears.

- +
+
+

Drag the orange square over the blue square, then keep the mouse perfectly still until the result appears.

+ - - \ No newline at end of file + + diff --git a/html/editing/dnd/events/026.html b/html/editing/dnd/events/026.html index 7ea1755538dd8a..816155a09de4e0 100644 --- a/html/editing/dnd/events/026.html +++ b/html/editing/dnd/events/026.html @@ -1,61 +1,61 @@ - - Drag repeating - - - - + + + -
-

Drag the orange square sideways until the drag placeholder appears, then keep the mouse perfectly still until the result appears.

- +
+

Drag the orange square sideways until the drag placeholder appears, then keep the mouse perfectly still until the result appears.

+ - - \ No newline at end of file + + diff --git a/html/editing/dnd/events/027.xhtml b/html/editing/dnd/events/027.xhtml index f61036197130cb..983bcd298b6fba 100644 --- a/html/editing/dnd/events/027.xhtml +++ b/html/editing/dnd/events/027.xhtml @@ -4,16 +4,16 @@ PNG image drag and drop: 'return false' should not cancel event @@ -21,4 +21,4 @@ function addImage(event)

Drag green circle to the silver box below and drop it. It should be copied to the box once you drop it there.

- \ No newline at end of file + diff --git a/html/editing/dnd/events/028.xhtml b/html/editing/dnd/events/028.xhtml index ce4944106a1424..35c69766f61786 100644 --- a/html/editing/dnd/events/028.xhtml +++ b/html/editing/dnd/events/028.xhtml @@ -4,11 +4,11 @@ Link drag and drop: 'return false' should not cancel event @@ -16,4 +16,4 @@ div

Drag link above to the navy box below and drop it. You should see word PASS once you drop it in the box.

- \ No newline at end of file + diff --git a/html/editing/dnd/events/029.html b/html/editing/dnd/events/029.html index c02cd95b3a4c06..70c243d99369b9 100644 --- a/html/editing/dnd/events/029.html +++ b/html/editing/dnd/events/029.html @@ -1,79 +1,79 @@ - - Drag and drop without cancelling dragenter - - - - + + + -
-
 
-

Drag the orange square onto the blue square and release it.

- +
+
 
+

Drag the orange square onto the blue square and release it.

+ - + diff --git a/html/editing/dnd/events/030.html b/html/editing/dnd/events/030.html index 5d5eaa2840915d..8dc573474d1380 100644 --- a/html/editing/dnd/events/030.html +++ b/html/editing/dnd/events/030.html @@ -1,23 +1,23 @@ - - Drag and drop without cancelling dragenter on body - - - - + + + -
-
 
-

Drag the orange square onto the blue square, then back to the orange square, and release it.

- +
+
 
+

Drag the orange square onto the blue square, then back to the orange square, and release it.

+ - + diff --git a/html/editing/dnd/events/031-1.html b/html/editing/dnd/events/031-1.html index 1574c590471728..b70082ba21eadf 100644 --- a/html/editing/dnd/events/031-1.html +++ b/html/editing/dnd/events/031-1.html @@ -1,25 +1,25 @@ - - Non-rendered body should still become current target element - - - + + + - + - - \ No newline at end of file + + diff --git a/html/editing/dnd/events/031.html b/html/editing/dnd/events/031.html index 101edeafb49282..92220e30e11555 100644 --- a/html/editing/dnd/events/031.html +++ b/html/editing/dnd/events/031.html @@ -1,25 +1,25 @@ - - Non-rendered body should still become current target element - - - - + + + -

Drag the orange square onto the blue square and release it. Fail if text does not appear in the blue square.

-

- +

Drag the orange square onto the blue square and release it. Fail if text does not appear in the blue square.

+

+ - - \ No newline at end of file + + diff --git a/html/editing/dnd/events/032.html b/html/editing/dnd/events/032.html index af1e2253f1d656..a928a3c425e6d6 100644 --- a/html/editing/dnd/events/032.html +++ b/html/editing/dnd/events/032.html @@ -1,81 +1,81 @@ - - Drag and drop passing over body without cancelling dragenter - - - - + + + -
-
 
-

Drag the orange square onto the blue square and release it.

- +
+
 
+

Drag the orange square onto the blue square and release it.

+ - - \ No newline at end of file + + diff --git a/html/editing/dnd/events/033.html b/html/editing/dnd/events/033.html index c33aa55460670f..d06bee3d8d3fb0 100644 --- a/html/editing/dnd/events/033.html +++ b/html/editing/dnd/events/033.html @@ -1,79 +1,79 @@ - - Drag and drop without cancelling dragenter from non-target to non-target - - - - + + + -
-
 
-

Drag the orange square onto the blue square and release it.

- +
+
 
+

Drag the orange square onto the blue square and release it.

+ - - \ No newline at end of file + + diff --git a/html/editing/dnd/events/034.html b/html/editing/dnd/events/034.html index ed13d00ca64889..ea8867ba2c77ea 100644 --- a/html/editing/dnd/events/034.html +++ b/html/editing/dnd/events/034.html @@ -1,56 +1,56 @@ - - Drag and drop with cancelling dragenter on body - - - - + + + -
-
 
-

Drag the orange square onto the blue square, then back to the orange square, and release it.

- +
+
 
+

Drag the orange square onto the blue square, then back to the orange square, and release it.

+ - + diff --git a/html/editing/dnd/events/035.html b/html/editing/dnd/events/035.html index 3d1ba04c710780..8a7cb17491296d 100644 --- a/html/editing/dnd/events/035.html +++ b/html/editing/dnd/events/035.html @@ -1,83 +1,83 @@ - - Drag and drop passing over body with cancelling dragenter - - - - + + + -
-
 
-

Drag the orange square onto the blue square and release it.

- +
+
 
+

Drag the orange square onto the blue square and release it.

+ - - \ No newline at end of file + + diff --git a/html/editing/dnd/events/036.html b/html/editing/dnd/events/036.html index 5a2d3c337c4f05..1c66f184830b24 100644 --- a/html/editing/dnd/events/036.html +++ b/html/editing/dnd/events/036.html @@ -1,70 +1,70 @@ - - Drag and drop passing over body with all events handled at body - - - - + + + -
-
 
-

Drag the orange square onto the blue square and release it. For the entire duration of the drag, if supported by the platform, the mouse cursor should show as a drop-allowed or drop-copy-allowed cursor.

- +
+
 
+

Drag the orange square onto the blue square and release it. For the entire duration of the drag, if supported by the platform, the mouse cursor should show as a drop-allowed or drop-copy-allowed cursor.

+ - - \ No newline at end of file + + diff --git a/html/editing/dnd/events/037-proposed.xhtml b/html/editing/dnd/events/037-proposed.xhtml index 6fdd1b2f4d7412..3c94177f02e2eb 100644 --- a/html/editing/dnd/events/037-proposed.xhtml +++ b/html/editing/dnd/events/037-proposed.xhtml @@ -1,25 +1,25 @@ - - Drag and drop without cancelling dragenter and without body - - - - + ]]> + + -
-
 
-

Drag the orange square onto the blue square, then back to the orange square, and release it.

- +
+
 
+

Drag the orange square onto the blue square, then back to the orange square, and release it.

+ - - \ No newline at end of file + + diff --git a/html/editing/dnd/events/037-spec.xhtml b/html/editing/dnd/events/037-spec.xhtml index 611891cb787caf..c4c76fe8061533 100644 --- a/html/editing/dnd/events/037-spec.xhtml +++ b/html/editing/dnd/events/037-spec.xhtml @@ -1,22 +1,22 @@ - - Drag and drop without cancelling dragenter and without body (spec compliant) - - - - + ]]> + + -
-
 
-

Drag the orange square onto the blue square, then back to the orange square, and release it.

- +
+
 
+

Drag the orange square onto the blue square, then back to the orange square, and release it.

+ - - \ No newline at end of file + + diff --git a/html/editing/dnd/events/038-proposed.html b/html/editing/dnd/events/038-proposed.html index 85d987612f40da..ee1cc8ed0ebf8f 100644 --- a/html/editing/dnd/events/038-proposed.html +++ b/html/editing/dnd/events/038-proposed.html @@ -1,84 +1,84 @@ - - Drag and drop without cancelling dragenter and without body or html - - - - + + + -
-
 
-

Drag the orange square onto the blue square, then back to the orange square, and release it.

- +
+
 
+

Drag the orange square onto the blue square, then back to the orange square, and release it.

+ - + diff --git a/html/editing/dnd/events/events-cross-document-suite-HELPER-1.html b/html/editing/dnd/events/events-cross-document-suite-HELPER-1.html index efd53c6b8c55fe..4019610533d264 100644 --- a/html/editing/dnd/events/events-cross-document-suite-HELPER-1.html +++ b/html/editing/dnd/events/events-cross-document-suite-HELPER-1.html @@ -1,13 +1,13 @@ drag & drop - event sequence for cross-document drag @@ -48,4 +48,4 @@ function setColor(c)
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/events/helper-drag-me-link-with-circle.xhtml b/html/editing/dnd/events/helper-drag-me-link-with-circle.xhtml
index 813a06a7dfad41..c85f2286197ba4 100644
--- a/html/editing/dnd/events/helper-drag-me-link-with-circle.xhtml
+++ b/html/editing/dnd/events/helper-drag-me-link-with-circle.xhtml
@@ -4,42 +4,42 @@
 Cross frame drag and drop: helper file
 
 
 
 
@@ -48,4 +48,4 @@ function setColor(c)
 
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/events/helper-drag-me-p-with-circle.xhtml b/html/editing/dnd/events/helper-drag-me-p-with-circle.xhtml
index bd27af79a60576..efbd4b76141ae8 100644
--- a/html/editing/dnd/events/helper-drag-me-p-with-circle.xhtml
+++ b/html/editing/dnd/events/helper-drag-me-p-with-circle.xhtml
@@ -4,42 +4,42 @@
 Cross frame drag and drop: helper file
 
 
 
 
@@ -48,4 +48,4 @@ function setColor(c)
 
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/events/helper-drop-here-body-circle.xhtml b/html/editing/dnd/events/helper-drop-here-body-circle.xhtml
index 10f66d764f1b67..bb8c0e36f008d8 100644
--- a/html/editing/dnd/events/helper-drop-here-body-circle.xhtml
+++ b/html/editing/dnd/events/helper-drop-here-body-circle.xhtml
@@ -4,48 +4,48 @@
 Cross frame drag and drop: helper file
 
 
 
 
 
 
-
\ No newline at end of file
+
diff --git a/html/editing/dnd/file/001.html b/html/editing/dnd/file/001.html
index 45a44c394cdbbb..a247ea357f3fa3 100644
--- a/html/editing/dnd/file/001.html
+++ b/html/editing/dnd/file/001.html
@@ -14,86 +14,86 @@
 window.onload = function() {
   var orange = document.getElementsByTagName('div')[0];
   orange.ondragover = orange.ondragenter = function(e) {
-   	e.preventDefault();
+     e.preventDefault();
     e.dataTransfer.dropEffect = 'copy';
-		if( !e.dataTransfer.files ) {
-			fails[fails.length] = 'No dataTransfer.files for '+e.type;
-		}
-		if( !window.FileList ) {
-			fails[fails.length] = 'No FileList interface object';
-			return;
-		}
-		if( !( e.dataTransfer.files instanceof FileList ) ) {
-			fails[fails.length] = 'dataTransfer.files is not a FileList';
-		}
-		if( e.dataTransfer.files.length ) {
-			fails[fails.length] = 'dataTransfer.files.length is '+e.dataTransfer.files.length+' instead of 0 for '+e.type;
-		}
+    if( !e.dataTransfer.files ) {
+      fails[fails.length] = 'No dataTransfer.files for '+e.type;
+    }
+    if( !window.FileList ) {
+      fails[fails.length] = 'No FileList interface object';
+      return;
+    }
+    if( !( e.dataTransfer.files instanceof FileList ) ) {
+      fails[fails.length] = 'dataTransfer.files is not a FileList';
+    }
+    if( e.dataTransfer.files.length ) {
+      fails[fails.length] = 'dataTransfer.files.length is '+e.dataTransfer.files.length+' instead of 0 for '+e.type;
+    }
   };
-	orange.ondrop = function(e) {
-   	e.preventDefault();
-		if( !e.dataTransfer.files ) {
-			fails[fails.length] = 'No dataTransfer.files for '+e.type;
-		}
-		if( !window.FileList ) {
-			fails[fails.length] = 'No FileList interface object';
-			finish();
-			return;
-		}
-		if( !( e.dataTransfer.files instanceof FileList ) ) {
-			fails[fails.length] = 'dataTransfer.files is not a FileList';
-		}
-		if( e.dataTransfer.files.length != 1 ) {
-			fails[fails.length] = 'dataTransfer.files.length is '+e.dataTransfer.files.length+' instead of 1 for '+e.type;
-		}
-		if( !e.dataTransfer.files[0] ) {
-			fails[fails.length] = 'no dataTransfer.files[0] for drop';
-			finish();
-			return;
-		}
-		if( e.dataTransfer.files[0].size != filesize ) {
-			fails[fails.length] = 'dataTransfer.files[0].size '+e.dataTransfer.files[0].size+' instead of '+filesize;
-		}
-		/*
-		if( !e.dataTransfer.files[0].lastModifiedDate ) {
-			fails[fails.length] = 'no dataTransfer.files[0].lastModifiedDate';
-		}
-		*/
-		if( e.dataTransfer.files[0].name != filename ) {
-			fails[fails.length] = 'dataTransfer.files[0].name '+e.dataTransfer.files[0].name+' instead of '+filename;
-		}
-		if( e.dataTransfer.files[0].type != filetype ) {
-			fails[fails.length] = 'dataTransfer.files[0].type '+e.dataTransfer.files[0].type+' instead of '+filetype;
-		}
-		if( !window.FileReader ) {
-			fails[fails.length] = 'No FileReader constructor';
-			finish();
-			return;
-		}
-		var reader = new FileReader();
-		reader.onload = function () {
-			if( !reader.result ) {
-				fails[fails.length] = 'No file data after load';
-			}
-			if( reader.result.length != filesize ) {
-				fails[fails.length] = 'File data length '+reader.result.length+' instead of '+filesize;
-			}
-			finish();
-		};
-		reader.readAsBinaryString(e.dataTransfer.files[0]);
-		setTimeout(function () {
-			if( !reader.result ) {
-				fails[fails.length] = 'No file data after timeout';
-			}
-			finish();
-		},1000);
+  orange.ondrop = function(e) {
+     e.preventDefault();
+    if( !e.dataTransfer.files ) {
+      fails[fails.length] = 'No dataTransfer.files for '+e.type;
+    }
+    if( !window.FileList ) {
+      fails[fails.length] = 'No FileList interface object';
+      finish();
+      return;
+    }
+    if( !( e.dataTransfer.files instanceof FileList ) ) {
+      fails[fails.length] = 'dataTransfer.files is not a FileList';
+    }
+    if( e.dataTransfer.files.length != 1 ) {
+      fails[fails.length] = 'dataTransfer.files.length is '+e.dataTransfer.files.length+' instead of 1 for '+e.type;
+    }
+    if( !e.dataTransfer.files[0] ) {
+      fails[fails.length] = 'no dataTransfer.files[0] for drop';
+      finish();
+      return;
+    }
+    if( e.dataTransfer.files[0].size != filesize ) {
+      fails[fails.length] = 'dataTransfer.files[0].size '+e.dataTransfer.files[0].size+' instead of '+filesize;
+    }
+    /*
+    if( !e.dataTransfer.files[0].lastModifiedDate ) {
+      fails[fails.length] = 'no dataTransfer.files[0].lastModifiedDate';
+    }
+    */
+    if( e.dataTransfer.files[0].name != filename ) {
+      fails[fails.length] = 'dataTransfer.files[0].name '+e.dataTransfer.files[0].name+' instead of '+filename;
+    }
+    if( e.dataTransfer.files[0].type != filetype ) {
+      fails[fails.length] = 'dataTransfer.files[0].type '+e.dataTransfer.files[0].type+' instead of '+filetype;
+    }
+    if( !window.FileReader ) {
+      fails[fails.length] = 'No FileReader constructor';
+      finish();
+      return;
+    }
+    var reader = new FileReader();
+    reader.onload = function () {
+      if( !reader.result ) {
+        fails[fails.length] = 'No file data after load';
+      }
+      if( reader.result.length != filesize ) {
+        fails[fails.length] = 'File data length '+reader.result.length+' instead of '+filesize;
+      }
+      finish();
+    };
+    reader.readAsBinaryString(e.dataTransfer.files[0]);
+    setTimeout(function () {
+      if( !reader.result ) {
+        fails[fails.length] = 'No file data after timeout';
+      }
+      finish();
+    },1000);
   };
 
 };
 function finish() {
-	if( finished ) { return; }
-	finished = true;
-	document.getElementsByTagName('p')[0].innerHTML = fails.length ? ( 'FAIL: ' + fails.join('
') ) : 'PASS'; + if( finished ) { return; } + finished = true; + document.getElementsByTagName('p')[0].innerHTML = fails.length ? ( 'FAIL: ' + fails.join('
') ) : 'PASS'; } diff --git a/html/editing/dnd/file/002.html b/html/editing/dnd/file/002.html index a60b2b201ceaef..ec6af839ee7683 100644 --- a/html/editing/dnd/file/002.html +++ b/html/editing/dnd/file/002.html @@ -14,129 +14,129 @@ window.onload = function() { var orange = document.getElementsByTagName('div')[0]; orange.ondragover = orange.ondragenter = function(e) { - e.preventDefault(); + e.preventDefault(); e.dataTransfer.dropEffect = 'copy'; - if( !e.dataTransfer.files ) { - fails[fails.length] = 'No dataTransfer.files for '+e.type; - } - if( !window.FileList ) { - fails[fails.length] = 'No FileList interface object'; - return; - } - if( !( e.dataTransfer.files instanceof FileList ) ) { - fails[fails.length] = 'dataTransfer.files is not a FileList'; - } - if( e.dataTransfer.files.length ) { - fails[fails.length] = 'dataTransfer.files.length is '+e.dataTransfer.files.length+' instead of 0 for '+e.type; - } + if( !e.dataTransfer.files ) { + fails[fails.length] = 'No dataTransfer.files for '+e.type; + } + if( !window.FileList ) { + fails[fails.length] = 'No FileList interface object'; + return; + } + if( !( e.dataTransfer.files instanceof FileList ) ) { + fails[fails.length] = 'dataTransfer.files is not a FileList'; + } + if( e.dataTransfer.files.length ) { + fails[fails.length] = 'dataTransfer.files.length is '+e.dataTransfer.files.length+' instead of 0 for '+e.type; + } }; - orange.ondrop = function(e) { - e.preventDefault(); - if( !e.dataTransfer.files ) { - fails[fails.length] = 'No dataTransfer.files for '+e.type; - } - if( !window.FileList ) { - fails[fails.length] = 'No FileList interface object'; - finish(); - return; - } - if( !( e.dataTransfer.files instanceof FileList ) ) { - fails[fails.length] = 'dataTransfer.files is not a FileList'; - } - if( e.dataTransfer.files.length != 2 ) { - fails[fails.length] = 'dataTransfer.files.length is '+e.dataTransfer.files.length+' instead of 2 for '+e.type; - } - if( !e.dataTransfer.files[0] ) { - fails[fails.length] = 'no dataTransfer.files[0] for drop'; - finish(); - return; - } - if( !e.dataTransfer.files[1] ) { - fails[fails.length] = 'no dataTransfer.files[1] for drop'; - finish(); - return; - } - //allow files to be dropped in any order, since this will be determined by the OS - var i0 = 0, i1 = 1; - if( e.dataTransfer.files[0].name == filename2 ) { - i0 = 1; - i1 = 0; - } - if( e.dataTransfer.files[i0].size != filesize1 ) { - fails[fails.length] = 'dataTransfer.files['+i0+'].size '+e.dataTransfer.files[i0].size+' instead of '+filesize1; - } - /* - if( !e.dataTransfer.files[i0].lastModifiedDate ) { - fails[fails.length] = 'no dataTransfer.files['+i0+'].lastModifiedDate'; - } - */ - if( e.dataTransfer.files[i0].name != filename1 ) { - fails[fails.length] = 'dataTransfer.files['+i0+'].name '+e.dataTransfer.files[i0].name+' instead of '+filename1; - } - if( e.dataTransfer.files[i0].type != filetype1 ) { - fails[fails.length] = 'dataTransfer.files['+i0+'].type '+e.dataTransfer.files[i0].type+' instead of '+filetype1; - } - if( e.dataTransfer.files[i1].size != filesize2 ) { - fails[fails.length] = 'dataTransfer.files['+i1+'].size '+e.dataTransfer.files[i1].size+' instead of '+filesize2; - } - /* - if( !e.dataTransfer.files[i1].lastModifiedDate ) { - fails[fails.length] = 'no dataTransfer.files['+i1+'].lastModifiedDate'; - } - */ - if( e.dataTransfer.files[i1].name != filename2 ) { - fails[fails.length] = 'dataTransfer.files['+i1+'].name '+e.dataTransfer.files[i1].name+' instead of '+filename2; - } - if( e.dataTransfer.files[i1].type != filetype2 ) { - fails[fails.length] = 'dataTransfer.files['+i1+'].type '+e.dataTransfer.files[i1].type+' instead of '+filetype2; - } - if( !window.FileReader ) { - fails[fails.length] = 'No FileReader constructor'; - finish(); - return; - } - var reader1 = new FileReader(); - reader1.readAsBinaryString(e.dataTransfer.files[i0]); - reader1.onload = function () { - if( !reader1.result ) { - fails[fails.length] = 'No files['+i0+'] data after load'; - } - if( reader1.result.length != filesize1 ) { - fails[fails.length] = 'files['+i0+'] file data length '+reader1.result.length+' instead of '+filesize1; - } - if( donecount++ ) { - finish(); - } - }; - var reader2 = new FileReader(); - reader2.onload = function () { - if( !reader2.result ) { - fails[fails.length] = 'No files['+i1+'] data after load'; - } - if( reader2.result.length != filesize2 ) { - fails[fails.length] = 'files['+i1+'] file data length '+reader2.result.length+' instead of '+filesize2; - } - if( donecount++ ) { - finish(); - } - }; - reader2.readAsBinaryString(e.dataTransfer.files[i1]); - setTimeout(function () { - if( !reader1.result ) { - fails[fails.length] = 'No files['+i0+'] data after timeout'; - } - if( !reader2.result ) { - fails[fails.length] = 'No files['+i1+'] data after timeout'; - } - finish(); - },1000); + orange.ondrop = function(e) { + e.preventDefault(); + if( !e.dataTransfer.files ) { + fails[fails.length] = 'No dataTransfer.files for '+e.type; + } + if( !window.FileList ) { + fails[fails.length] = 'No FileList interface object'; + finish(); + return; + } + if( !( e.dataTransfer.files instanceof FileList ) ) { + fails[fails.length] = 'dataTransfer.files is not a FileList'; + } + if( e.dataTransfer.files.length != 2 ) { + fails[fails.length] = 'dataTransfer.files.length is '+e.dataTransfer.files.length+' instead of 2 for '+e.type; + } + if( !e.dataTransfer.files[0] ) { + fails[fails.length] = 'no dataTransfer.files[0] for drop'; + finish(); + return; + } + if( !e.dataTransfer.files[1] ) { + fails[fails.length] = 'no dataTransfer.files[1] for drop'; + finish(); + return; + } + //allow files to be dropped in any order, since this will be determined by the OS + var i0 = 0, i1 = 1; + if( e.dataTransfer.files[0].name == filename2 ) { + i0 = 1; + i1 = 0; + } + if( e.dataTransfer.files[i0].size != filesize1 ) { + fails[fails.length] = 'dataTransfer.files['+i0+'].size '+e.dataTransfer.files[i0].size+' instead of '+filesize1; + } + /* + if( !e.dataTransfer.files[i0].lastModifiedDate ) { + fails[fails.length] = 'no dataTransfer.files['+i0+'].lastModifiedDate'; + } + */ + if( e.dataTransfer.files[i0].name != filename1 ) { + fails[fails.length] = 'dataTransfer.files['+i0+'].name '+e.dataTransfer.files[i0].name+' instead of '+filename1; + } + if( e.dataTransfer.files[i0].type != filetype1 ) { + fails[fails.length] = 'dataTransfer.files['+i0+'].type '+e.dataTransfer.files[i0].type+' instead of '+filetype1; + } + if( e.dataTransfer.files[i1].size != filesize2 ) { + fails[fails.length] = 'dataTransfer.files['+i1+'].size '+e.dataTransfer.files[i1].size+' instead of '+filesize2; + } + /* + if( !e.dataTransfer.files[i1].lastModifiedDate ) { + fails[fails.length] = 'no dataTransfer.files['+i1+'].lastModifiedDate'; + } + */ + if( e.dataTransfer.files[i1].name != filename2 ) { + fails[fails.length] = 'dataTransfer.files['+i1+'].name '+e.dataTransfer.files[i1].name+' instead of '+filename2; + } + if( e.dataTransfer.files[i1].type != filetype2 ) { + fails[fails.length] = 'dataTransfer.files['+i1+'].type '+e.dataTransfer.files[i1].type+' instead of '+filetype2; + } + if( !window.FileReader ) { + fails[fails.length] = 'No FileReader constructor'; + finish(); + return; + } + var reader1 = new FileReader(); + reader1.readAsBinaryString(e.dataTransfer.files[i0]); + reader1.onload = function () { + if( !reader1.result ) { + fails[fails.length] = 'No files['+i0+'] data after load'; + } + if( reader1.result.length != filesize1 ) { + fails[fails.length] = 'files['+i0+'] file data length '+reader1.result.length+' instead of '+filesize1; + } + if( donecount++ ) { + finish(); + } + }; + var reader2 = new FileReader(); + reader2.onload = function () { + if( !reader2.result ) { + fails[fails.length] = 'No files['+i1+'] data after load'; + } + if( reader2.result.length != filesize2 ) { + fails[fails.length] = 'files['+i1+'] file data length '+reader2.result.length+' instead of '+filesize2; + } + if( donecount++ ) { + finish(); + } + }; + reader2.readAsBinaryString(e.dataTransfer.files[i1]); + setTimeout(function () { + if( !reader1.result ) { + fails[fails.length] = 'No files['+i0+'] data after timeout'; + } + if( !reader2.result ) { + fails[fails.length] = 'No files['+i1+'] data after timeout'; + } + finish(); + },1000); }; }; function finish() { - if( finished ) { return; } - finished = true; - document.getElementsByTagName('p')[0].innerHTML = fails.length ? ( 'FAIL: ' + fails.join('
') ) : 'PASS'; + if( finished ) { return; } + finished = true; + document.getElementsByTagName('p')[0].innerHTML = fails.length ? ( 'FAIL: ' + fails.join('
') ) : 'PASS'; } diff --git a/html/editing/dnd/file/003.html b/html/editing/dnd/file/003.html index 86a3e7fced8db8..f795fda5f4ed98 100644 --- a/html/editing/dnd/file/003.html +++ b/html/editing/dnd/file/003.html @@ -14,73 +14,73 @@ window.onload = function() { var orange = document.getElementsByTagName('div')[0]; orange.ondragover = orange.ondragenter = function(e) { - e.preventDefault(); + e.preventDefault(); e.dataTransfer.dropEffect = 'copy'; }; - orange.ondrop = function(e) { - e.preventDefault(); - if( !e.dataTransfer.files ) { - fails[fails.length] = 'No dataTransfer.files for '+e.type; - } - if( !window.FileList ) { - fails[fails.length] = 'No FileList interface object'; - finish(); - return; - } - if( !( e.dataTransfer.files instanceof FileList ) ) { - fails[fails.length] = 'dataTransfer.files is not a FileList'; - } - if( e.dataTransfer.files.length != 1 ) { - fails[fails.length] = 'dataTransfer.files.length is '+e.dataTransfer.files.length+' instead of 1 for '+e.type; - } - if( !e.dataTransfer.files[0] ) { - fails[fails.length] = 'no dataTransfer.files[0] for drop'; - finish(); - return; - } - if( e.dataTransfer.files[0].size != filesize ) { - fails[fails.length] = 'dataTransfer.files[0].size '+e.dataTransfer.files[0].size+' instead of '+filesize; - } - /* - if( !e.dataTransfer.files[0].lastModifiedDate ) { - fails[fails.length] = 'no dataTransfer.files[0].lastModifiedDate'; - } - */ - if( e.dataTransfer.files[0].name != filename ) { - fails[fails.length] = 'dataTransfer.files[0].name '+e.dataTransfer.files[0].name+' instead of '+filename; - } - if( e.dataTransfer.files[0].type != filetype ) { - fails[fails.length] = 'dataTransfer.files[0].type '+e.dataTransfer.files[0].type+' instead of '+filetype; - } - if( !window.FileReader ) { - fails[fails.length] = 'No FileReader constructor'; - finish(); - return; - } - var reader = new FileReader(); - reader.onload = function () { - if( !reader.result ) { - fails[fails.length] = 'No file data after load'; - } - if( reader.result.length != filesize ) { - fails[fails.length] = 'File data length '+reader.result.length+' instead of '+filesize; - } - finish(); - }; - reader.readAsBinaryString(e.dataTransfer.files[0]); - setTimeout(function () { - if( !reader.result ) { - fails[fails.length] = 'No file data after timeout'; - } - finish(); - },1000); + orange.ondrop = function(e) { + e.preventDefault(); + if( !e.dataTransfer.files ) { + fails[fails.length] = 'No dataTransfer.files for '+e.type; + } + if( !window.FileList ) { + fails[fails.length] = 'No FileList interface object'; + finish(); + return; + } + if( !( e.dataTransfer.files instanceof FileList ) ) { + fails[fails.length] = 'dataTransfer.files is not a FileList'; + } + if( e.dataTransfer.files.length != 1 ) { + fails[fails.length] = 'dataTransfer.files.length is '+e.dataTransfer.files.length+' instead of 1 for '+e.type; + } + if( !e.dataTransfer.files[0] ) { + fails[fails.length] = 'no dataTransfer.files[0] for drop'; + finish(); + return; + } + if( e.dataTransfer.files[0].size != filesize ) { + fails[fails.length] = 'dataTransfer.files[0].size '+e.dataTransfer.files[0].size+' instead of '+filesize; + } + /* + if( !e.dataTransfer.files[0].lastModifiedDate ) { + fails[fails.length] = 'no dataTransfer.files[0].lastModifiedDate'; + } + */ + if( e.dataTransfer.files[0].name != filename ) { + fails[fails.length] = 'dataTransfer.files[0].name '+e.dataTransfer.files[0].name+' instead of '+filename; + } + if( e.dataTransfer.files[0].type != filetype ) { + fails[fails.length] = 'dataTransfer.files[0].type '+e.dataTransfer.files[0].type+' instead of '+filetype; + } + if( !window.FileReader ) { + fails[fails.length] = 'No FileReader constructor'; + finish(); + return; + } + var reader = new FileReader(); + reader.onload = function () { + if( !reader.result ) { + fails[fails.length] = 'No file data after load'; + } + if( reader.result.length != filesize ) { + fails[fails.length] = 'File data length '+reader.result.length+' instead of '+filesize; + } + finish(); + }; + reader.readAsBinaryString(e.dataTransfer.files[0]); + setTimeout(function () { + if( !reader.result ) { + fails[fails.length] = 'No file data after timeout'; + } + finish(); + },1000); }; }; function finish() { - if( finished ) { return; } - finished = true; - document.getElementsByTagName('p')[0].innerHTML = fails.length ? ( 'FAIL: ' + fails.join('
') ) : 'PASS'; + if( finished ) { return; } + finished = true; + document.getElementsByTagName('p')[0].innerHTML = fails.length ? ( 'FAIL: ' + fails.join('
') ) : 'PASS'; } diff --git a/html/editing/dnd/file/004.html b/html/editing/dnd/file/004.html index ea2d3575968368..1b6d0868787639 100644 --- a/html/editing/dnd/file/004.html +++ b/html/editing/dnd/file/004.html @@ -13,35 +13,35 @@ window.onload = function() { var orange = document.getElementsByTagName('div')[0]; orange.ondragover = orange.ondragenter = function(e) { - e.preventDefault(); + e.preventDefault(); e.dataTransfer.dropEffect = 'copy'; }; - orange.ondrop = function(e) { - //if the browser simulates a drop, it must do so with an empty FileList - e.preventDefault(); - if( !e.dataTransfer.files ) { - fails[fails.length] = 'No dataTransfer.files for '+e.type; - } - if( !window.FileList ) { - fails[fails.length] = 'No FileList interface object'; - finish(); - return; - } - if( !( e.dataTransfer.files instanceof FileList ) ) { - fails[fails.length] = 'dataTransfer.files is not a FileList'; - } - if( e.dataTransfer.files.length ) { - fails[fails.length] = 'dataTransfer.files.length is '+e.dataTransfer.files.length+' instead of 0 for '+e.type; - } - if( e.dataTransfer.files[0] ) { - fails[fails.length] = 'dataTransfer.files[0] exists for drop'; - finish(); - } + orange.ondrop = function(e) { + //if the browser simulates a drop, it must do so with an empty FileList + e.preventDefault(); + if( !e.dataTransfer.files ) { + fails[fails.length] = 'No dataTransfer.files for '+e.type; + } + if( !window.FileList ) { + fails[fails.length] = 'No FileList interface object'; + finish(); + return; + } + if( !( e.dataTransfer.files instanceof FileList ) ) { + fails[fails.length] = 'dataTransfer.files is not a FileList'; + } + if( e.dataTransfer.files.length ) { + fails[fails.length] = 'dataTransfer.files.length is '+e.dataTransfer.files.length+' instead of 0 for '+e.type; + } + if( e.dataTransfer.files[0] ) { + fails[fails.length] = 'dataTransfer.files[0] exists for drop'; + finish(); + } }; }; function finish() { - document.getElementsByTagName('p')[0].innerHTML = fails.length ? ( 'FAIL: ' + fails.join('
') ) : 'PASS'; + document.getElementsByTagName('p')[0].innerHTML = fails.length ? ( 'FAIL: ' + fails.join('
') ) : 'PASS'; } diff --git a/html/editing/dnd/file/005.html b/html/editing/dnd/file/005.html index 007d2b20f010a7..afb40e2199b6bd 100644 --- a/html/editing/dnd/file/005.html +++ b/html/editing/dnd/file/005.html @@ -2,11 +2,11 @@ drag & drop - dragging text onto a file input
    -
  1. Save this file to your computer.
  2. -
  3. Write the full /path/and/name to that file, into the first input below, then select all of the text you just entered.
  4. -
  5. Drag selected text to the file input. If no prompt appears, and the text is not added to the file input, pass and ignore further steps.
  6. -
  7. If a prompt appears, accept it. Fail if the file input's value is set without any prompts.
  8. -
  9. If a prompt appears; fail if the file input's value is not set after accepting the prompt.
  10. +
  11. Save this file to your computer.
  12. +
  13. Write the full /path/and/name to that file, into the first input below, then select all of the text you just entered.
  14. +
  15. Drag selected text to the file input. If no prompt appears, and the text is not added to the file input, pass and ignore further steps.
  16. +
  17. If a prompt appears, accept it. Fail if the file input's value is set without any prompts.
  18. +
  19. If a prompt appears; fail if the file input's value is not set after accepting the prompt.

diff --git a/html/editing/dnd/file/006.html b/html/editing/dnd/file/006.html index 58d65187019708..d25c5491e43d14 100644 --- a/html/editing/dnd/file/006.html +++ b/html/editing/dnd/file/006.html @@ -2,11 +2,11 @@ drag & drop - cancelling dragging text onto a file input
    -
  1. Save this file to your computer.
  2. -
  3. Write the full /path/and/name to that file, into the first input below, then select all of the text you just entered.
  4. -
  5. Drag selected text to the file input. If no prompt appears, and the text is not added to the file input, pass and ignore further steps.
  6. -
  7. If a prompt appears, refuse it. Fail if the file input's value is set without any prompts.
  8. -
  9. If a prompt appears; fail if the file input's value is set after refusing the prompt.
  10. +
  11. Save this file to your computer.
  12. +
  13. Write the full /path/and/name to that file, into the first input below, then select all of the text you just entered.
  14. +
  15. Drag selected text to the file input. If no prompt appears, and the text is not added to the file input, pass and ignore further steps.
  16. +
  17. If a prompt appears, refuse it. Fail if the file input's value is set without any prompts.
  18. +
  19. If a prompt appears; fail if the file input's value is set after refusing the prompt.

diff --git a/html/editing/dnd/file/007.html b/html/editing/dnd/file/007.html index 60be19b0aff4fc..4954ab996132d5 100644 --- a/html/editing/dnd/file/007.html +++ b/html/editing/dnd/file/007.html @@ -16,80 +16,80 @@ window.onload = function() { var orange = document.getElementsByTagName('div')[0]; orange.ondragover = orange.ondragenter = function(e) { - e.preventDefault(); + e.preventDefault(); e.dataTransfer.dropEffect = 'copy'; - if( !e.dataTransfer.files ) { - fails[fails.length] = 'No dataTransfer.files for '+e.type; - } - if( !window.FileList ) { - fails[fails.length] = 'No FileList interface object'; - return; - } - if( !( e.dataTransfer.files instanceof FileList ) ) { - fails[fails.length] = 'dataTransfer.files is not a FileList'; - } - if( e.dataTransfer.files.length ) { - fails[fails.length] = 'dataTransfer.files.length is '+e.dataTransfer.files.length+' instead of 0 for '+e.type; - } + if( !e.dataTransfer.files ) { + fails[fails.length] = 'No dataTransfer.files for '+e.type; + } + if( !window.FileList ) { + fails[fails.length] = 'No FileList interface object'; + return; + } + if( !( e.dataTransfer.files instanceof FileList ) ) { + fails[fails.length] = 'dataTransfer.files is not a FileList'; + } + if( e.dataTransfer.files.length ) { + fails[fails.length] = 'dataTransfer.files.length is '+e.dataTransfer.files.length+' instead of 0 for '+e.type; + } }; - orange.ondrop = function(e) { - e.preventDefault(); - if( !e.dataTransfer.files ) { - fails[fails.length] = 'No dataTransfer.files for '+e.type; - } - if( !window.FileList ) { - fails[fails.length] = 'No FileList interface object'; - finish(); - return; - } - if( !( e.dataTransfer.files instanceof FileList ) ) { - fails[fails.length] = 'dataTransfer.files is not a FileList'; - } - if( e.dataTransfer.files.length != 1 ) { - fails[fails.length] = 'dataTransfer.files.length is '+e.dataTransfer.files.length+' instead of 1 for '+e.type; - } - if( !e.dataTransfer.files[0] ) { - fails[fails.length] = 'no dataTransfer.files[0] for drop'; - finish(); - return; - } - if( e.dataTransfer.files[0].size != filesize1 && e.dataTransfer.files[0].size != filesize2 ) { - fails[fails.length] = 'dataTransfer.files[0].size '+e.dataTransfer.files[0].size+' instead of '+filesize1+' or '+filesize2; - } - /* - if( !e.dataTransfer.files[0].lastModifiedDate ) { - fails[fails.length] = 'no dataTransfer.files[0].lastModifiedDate'; - } - */ - if( !window.FileReader ) { - fails[fails.length] = 'No FileReader constructor'; - finish(); - return; - } - var reader = new FileReader(); - reader.readAsBinaryString(e.dataTransfer.files[0]); - reader.onload = function () { - if( !reader.result ) { - fails[fails.length] = 'No file data after load'; - } - if( reader.result.length != filesize1 && reader.result.length != filesize2 ) { - fails[fails.length] = 'File data length '+reader.result.length+' instead of '+filesize1+' or '+filesize2; - } - finish(); - }; - setTimeout(function () { - if( !reader.result ) { - fails[fails.length] = 'No file data after timeout'; - } - finish(); - },1000); + orange.ondrop = function(e) { + e.preventDefault(); + if( !e.dataTransfer.files ) { + fails[fails.length] = 'No dataTransfer.files for '+e.type; + } + if( !window.FileList ) { + fails[fails.length] = 'No FileList interface object'; + finish(); + return; + } + if( !( e.dataTransfer.files instanceof FileList ) ) { + fails[fails.length] = 'dataTransfer.files is not a FileList'; + } + if( e.dataTransfer.files.length != 1 ) { + fails[fails.length] = 'dataTransfer.files.length is '+e.dataTransfer.files.length+' instead of 1 for '+e.type; + } + if( !e.dataTransfer.files[0] ) { + fails[fails.length] = 'no dataTransfer.files[0] for drop'; + finish(); + return; + } + if( e.dataTransfer.files[0].size != filesize1 && e.dataTransfer.files[0].size != filesize2 ) { + fails[fails.length] = 'dataTransfer.files[0].size '+e.dataTransfer.files[0].size+' instead of '+filesize1+' or '+filesize2; + } + /* + if( !e.dataTransfer.files[0].lastModifiedDate ) { + fails[fails.length] = 'no dataTransfer.files[0].lastModifiedDate'; + } + */ + if( !window.FileReader ) { + fails[fails.length] = 'No FileReader constructor'; + finish(); + return; + } + var reader = new FileReader(); + reader.readAsBinaryString(e.dataTransfer.files[0]); + reader.onload = function () { + if( !reader.result ) { + fails[fails.length] = 'No file data after load'; + } + if( reader.result.length != filesize1 && reader.result.length != filesize2 ) { + fails[fails.length] = 'File data length '+reader.result.length+' instead of '+filesize1+' or '+filesize2; + } + finish(); + }; + setTimeout(function () { + if( !reader.result ) { + fails[fails.length] = 'No file data after timeout'; + } + finish(); + },1000); }; }; function finish() { - if( finished ) { return; } - finished = true; - document.getElementsByTagName('p')[0].innerHTML = fails.length ? ( 'FAIL: ' + fails.join('
') ) : 'PASS if the UI did not lock up'; + if( finished ) { return; } + finished = true; + document.getElementsByTagName('p')[0].innerHTML = fails.length ? ( 'FAIL: ' + fails.join('
') ) : 'PASS if the UI did not lock up'; } diff --git a/html/editing/dnd/file/008.html b/html/editing/dnd/file/008.html index d610d8ee60e419..79bd5697d9619a 100644 --- a/html/editing/dnd/file/008.html +++ b/html/editing/dnd/file/008.html @@ -13,88 +13,88 @@ window.onload = function() { var orange = document.getElementsByTagName('div')[0]; orange.ondragover = orange.ondragenter = function(e) { - e.preventDefault(); + e.preventDefault(); e.dataTransfer.dropEffect = 'copy'; - if( !e.dataTransfer.files ) { - fails[fails.length] = 'No dataTransfer.files for '+e.type; - } - if( !window.FileList ) { - fails[fails.length] = 'No FileList interface object'; - return; - } - if( !( e.dataTransfer.files instanceof FileList ) ) { - fails[fails.length] = 'dataTransfer.files is not a FileList'; - } else if( e.dataTransfer.files.length ) { - fails[fails.length] = 'dataTransfer.files.length is '+e.dataTransfer.files.length+' instead of 0 for '+e.type; - } + if( !e.dataTransfer.files ) { + fails[fails.length] = 'No dataTransfer.files for '+e.type; + } + if( !window.FileList ) { + fails[fails.length] = 'No FileList interface object'; + return; + } + if( !( e.dataTransfer.files instanceof FileList ) ) { + fails[fails.length] = 'dataTransfer.files is not a FileList'; + } else if( e.dataTransfer.files.length ) { + fails[fails.length] = 'dataTransfer.files.length is '+e.dataTransfer.files.length+' instead of 0 for '+e.type; + } }; - orange.ondrop = function(e) { - e.preventDefault(); - if( !e.dataTransfer.files ) { - fails[fails.length] = 'No dataTransfer.files for '+e.type; - } - if( !window.FileList ) { - fails[fails.length] = 'No FileList interface object'; - finish(); - return; - } - if( !( e.dataTransfer.files instanceof FileList ) ) { - fails[fails.length] = 'dataTransfer.files is not a FileList'; - } - //browsers represent it as a single file (name matching the folder) - //also allow no files, since that is a valid solution - if( e.dataTransfer.files.length > 1 ) { - //dropping the contents of the folder would be crazy, since there could literally be millions of files, or the entire disk contents - fails[fails.length] = 'dataTransfer.files.length is '+e.dataTransfer.files.length+' instead of 1 for '+e.type; - } - if( !e.dataTransfer.files[0] ) { - finish(); - return; - } - /* - Windows 7 sometimes randomly assigns size to folders, and that is presented to the browser. - Strangely, packing and unpacking that folder can remove its size. - Since this is an OS quirk that we have no control over, the test will not check the size. - if( e.dataTransfer.files[0].size ) { - fails[fails.length] = 'dataTransfer.files[0].size '+e.dataTransfer.files[0].size+' instead of 0'; - } - */ - /* - if( !e.dataTransfer.files[0].lastModifiedDate ) { - fails[fails.length] = 'no dataTransfer.files[0].lastModifiedDate'; - } - */ - if( !window.FileReader ) { - fails[fails.length] = 'No FileReader constructor'; - finish(); - return; - } - var reader = new FileReader(); - reader.onload = function () { - fails[fails.length] = 'File managed to load even though it was a folder '+e.type; - finish(); - }; - reader.onerror = function () { - finish(); - }; - try { - reader.readAsBinaryString(e.dataTransfer.files[0]); - } catch(err) { - fails[fails.length] = 'Threw an error when trying to read the file '+e.type; - finish(); - return; - } - setTimeout(function () { - fails[fails.length] = 'Onerror failed to fire '+reader.error.code; - finish(); - },1000); + orange.ondrop = function(e) { + e.preventDefault(); + if( !e.dataTransfer.files ) { + fails[fails.length] = 'No dataTransfer.files for '+e.type; + } + if( !window.FileList ) { + fails[fails.length] = 'No FileList interface object'; + finish(); + return; + } + if( !( e.dataTransfer.files instanceof FileList ) ) { + fails[fails.length] = 'dataTransfer.files is not a FileList'; + } + //browsers represent it as a single file (name matching the folder) + //also allow no files, since that is a valid solution + if( e.dataTransfer.files.length > 1 ) { + //dropping the contents of the folder would be crazy, since there could literally be millions of files, or the entire disk contents + fails[fails.length] = 'dataTransfer.files.length is '+e.dataTransfer.files.length+' instead of 1 for '+e.type; + } + if( !e.dataTransfer.files[0] ) { + finish(); + return; + } + /* + Windows 7 sometimes randomly assigns size to folders, and that is presented to the browser. + Strangely, packing and unpacking that folder can remove its size. + Since this is an OS quirk that we have no control over, the test will not check the size. + if( e.dataTransfer.files[0].size ) { + fails[fails.length] = 'dataTransfer.files[0].size '+e.dataTransfer.files[0].size+' instead of 0'; + } + */ + /* + if( !e.dataTransfer.files[0].lastModifiedDate ) { + fails[fails.length] = 'no dataTransfer.files[0].lastModifiedDate'; + } + */ + if( !window.FileReader ) { + fails[fails.length] = 'No FileReader constructor'; + finish(); + return; + } + var reader = new FileReader(); + reader.onload = function () { + fails[fails.length] = 'File managed to load even though it was a folder '+e.type; + finish(); + }; + reader.onerror = function () { + finish(); + }; + try { + reader.readAsBinaryString(e.dataTransfer.files[0]); + } catch(err) { + fails[fails.length] = 'Threw an error when trying to read the file '+e.type; + finish(); + return; + } + setTimeout(function () { + fails[fails.length] = 'Onerror failed to fire '+reader.error.code; + finish(); + },1000); }; }; function finish() { - if( finished ) { return; } - finished = true; - document.getElementsByTagName('p')[0].innerHTML = fails.length ? ( 'FAIL: ' + fails.join('
') ) : 'PASS'; + if( finished ) { return; } + finished = true; + document.getElementsByTagName('p')[0].innerHTML = fails.length ? ( 'FAIL: ' + fails.join('
') ) : 'PASS'; } @@ -103,11 +103,11 @@

Drag a folder containing at least 2 files, from your computer's file manager, onto the orange box above. If a no-drop cursor was shown and no text changes when the folder is dropped, pass and ignore further conditions. If a prompt appears, accept it. Fail if the mouse cursor makes it look like it will work but nothing happens.

This test needs to be repeated with:

    -
  • A regular folder containing at least 2 items
  • -
  • A disk drive (if your OS exposes them) containing at least 2 items
  • -
  • The system trash/recycle bin folder (if your OS exposes one) containing at least 2 items
  • -
  • The "My Computer" folder (if your OS provides it)
  • -
  • Your "My Documents" folder (if your OS provides it)
  • -
  • A folder that you do not have permissions to access
  • +
  • A regular folder containing at least 2 items
  • +
  • A disk drive (if your OS exposes them) containing at least 2 items
  • +
  • The system trash/recycle bin folder (if your OS exposes one) containing at least 2 items
  • +
  • The "My Computer" folder (if your OS provides it)
  • +
  • Your "My Documents" folder (if your OS provides it)
  • +
  • A folder that you do not have permissions to access
diff --git a/html/editing/dnd/file/010.html b/html/editing/dnd/file/010.html index ba24ae600cfe15..f968a48b35b5ef 100644 --- a/html/editing/dnd/file/010.html +++ b/html/editing/dnd/file/010.html @@ -13,11 +13,11 @@ window.onload = function() { var orange = document.getElementsByTagName('div')[0]; orange.ondragover = orange.ondragenter = function(e) { - e.preventDefault(); + e.preventDefault(); e.dataTransfer.dropEffect = 'none'; }; - orange.ondrop = function(e) { - e.preventDefault(); + orange.ondrop = function(e) { + e.preventDefault(); }; }; diff --git a/html/editing/dnd/file/011.html b/html/editing/dnd/file/011.html index f05929c777f394..753cccd4f3a242 100644 --- a/html/editing/dnd/file/011.html +++ b/html/editing/dnd/file/011.html @@ -17,73 +17,73 @@ e.dataTransfer.dropEffect = 'copy'; }; /* orange.ondragover = function(e) { - e.preventDefault(); + e.preventDefault(); }; */ - orange.ondrop = function(e) { - e.preventDefault(); - if( !e.dataTransfer.files ) { - fails[fails.length] = 'No dataTransfer.files for '+e.type; - } - if( !window.FileList ) { - fails[fails.length] = 'No FileList interface object'; - finish(); - return; - } - if( !( e.dataTransfer.files instanceof FileList ) ) { - fails[fails.length] = 'dataTransfer.files is not a FileList'; - } - if( e.dataTransfer.files.length != 1 ) { - fails[fails.length] = 'dataTransfer.files.length is '+e.dataTransfer.files.length+' instead of 1 for '+e.type; - } - if( !e.dataTransfer.files[0] ) { - fails[fails.length] = 'no dataTransfer.files[0] for drop'; - finish(); - return; - } - if( e.dataTransfer.files[0].size != filesize ) { - fails[fails.length] = 'dataTransfer.files[0].size '+e.dataTransfer.files[0].size+' instead of '+filesize; - } - /* - if( !e.dataTransfer.files[0].lastModifiedDate ) { - fails[fails.length] = 'no dataTransfer.files[0].lastModifiedDate'; - } - */ - if( e.dataTransfer.files[0].name != filename ) { - fails[fails.length] = 'dataTransfer.files[0].name '+e.dataTransfer.files[0].name+' instead of '+filename; - } - if( e.dataTransfer.files[0].type != filetype ) { - fails[fails.length] = 'dataTransfer.files[0].type '+e.dataTransfer.files[0].type+' instead of '+filetype; - } - if( !window.FileReader ) { - fails[fails.length] = 'No FileReader constructor'; - finish(); - return; - } - var reader = new FileReader(); - reader.onload = function () { - if( !reader.result ) { - fails[fails.length] = 'No file data after load'; - } - if( reader.result.length != filesize ) { - fails[fails.length] = 'File data length '+reader.result.length+' instead of '+filesize; - } - finish(); - }; - reader.readAsBinaryString(e.dataTransfer.files[0]); - setTimeout(function () { - if( !reader.result ) { - fails[fails.length] = 'No file data after timeout'; - } - finish(); - },1000); + orange.ondrop = function(e) { + e.preventDefault(); + if( !e.dataTransfer.files ) { + fails[fails.length] = 'No dataTransfer.files for '+e.type; + } + if( !window.FileList ) { + fails[fails.length] = 'No FileList interface object'; + finish(); + return; + } + if( !( e.dataTransfer.files instanceof FileList ) ) { + fails[fails.length] = 'dataTransfer.files is not a FileList'; + } + if( e.dataTransfer.files.length != 1 ) { + fails[fails.length] = 'dataTransfer.files.length is '+e.dataTransfer.files.length+' instead of 1 for '+e.type; + } + if( !e.dataTransfer.files[0] ) { + fails[fails.length] = 'no dataTransfer.files[0] for drop'; + finish(); + return; + } + if( e.dataTransfer.files[0].size != filesize ) { + fails[fails.length] = 'dataTransfer.files[0].size '+e.dataTransfer.files[0].size+' instead of '+filesize; + } + /* + if( !e.dataTransfer.files[0].lastModifiedDate ) { + fails[fails.length] = 'no dataTransfer.files[0].lastModifiedDate'; + } + */ + if( e.dataTransfer.files[0].name != filename ) { + fails[fails.length] = 'dataTransfer.files[0].name '+e.dataTransfer.files[0].name+' instead of '+filename; + } + if( e.dataTransfer.files[0].type != filetype ) { + fails[fails.length] = 'dataTransfer.files[0].type '+e.dataTransfer.files[0].type+' instead of '+filetype; + } + if( !window.FileReader ) { + fails[fails.length] = 'No FileReader constructor'; + finish(); + return; + } + var reader = new FileReader(); + reader.onload = function () { + if( !reader.result ) { + fails[fails.length] = 'No file data after load'; + } + if( reader.result.length != filesize ) { + fails[fails.length] = 'File data length '+reader.result.length+' instead of '+filesize; + } + finish(); + }; + reader.readAsBinaryString(e.dataTransfer.files[0]); + setTimeout(function () { + if( !reader.result ) { + fails[fails.length] = 'No file data after timeout'; + } + finish(); + },1000); }; }; function finish() { - if( finished ) { return; } - finished = true; - document.getElementsByTagName('p')[0].innerHTML = fails.length ? ( 'FAIL: ' + fails.join('
') ) : 'PASS'; + if( finished ) { return; } + finished = true; + document.getElementsByTagName('p')[0].innerHTML = fails.length ? ( 'FAIL: ' + fails.join('
') ) : 'PASS'; } diff --git a/html/editing/dnd/file/prompt/001.html b/html/editing/dnd/file/prompt/001.html index dc54aac5e144f3..94fddfacfa3b3f 100644 --- a/html/editing/dnd/file/prompt/001.html +++ b/html/editing/dnd/file/prompt/001.html @@ -10,13 +10,13 @@ diff --git a/html/editing/dnd/file/prompt/005.html b/html/editing/dnd/file/prompt/005.html index 395d37d626c9a2..0835221b2f5e48 100644 --- a/html/editing/dnd/file/prompt/005.html +++ b/html/editing/dnd/file/prompt/005.html @@ -10,13 +10,13 @@ diff --git a/html/editing/dnd/file/prompt/006.html b/html/editing/dnd/file/prompt/006.html index 5f0f9b306d1363..a0f919595bca29 100644 --- a/html/editing/dnd/file/prompt/006.html +++ b/html/editing/dnd/file/prompt/006.html @@ -6,11 +6,11 @@

Drag a file from your desktop onto the orange square. A prompt should appear, correctly identifying the server name .

- \ No newline at end of file + diff --git a/html/editing/dnd/file/prompt/007.html b/html/editing/dnd/file/prompt/007.html index 5a5b982d6c119a..be839f99c96f2a 100644 --- a/html/editing/dnd/file/prompt/007.html +++ b/html/editing/dnd/file/prompt/007.html @@ -2,7 +2,7 @@ drag & drop - file drop prompt for data URI without inherited origin

Load the following URL in a new tab (copy & paste it into the address bar):

- \ No newline at end of file + diff --git a/html/editing/dnd/file/prompt/008.html b/html/editing/dnd/file/prompt/008.html index ff07b78deb2e7c..903808ea0d551a 100644 --- a/html/editing/dnd/file/prompt/008.html +++ b/html/editing/dnd/file/prompt/008.html @@ -6,11 +6,11 @@

Drag a file from your desktop onto the orange square. A prompt should appear, correctly identifying the server name

- \ No newline at end of file + diff --git a/html/editing/dnd/file/prompt/009.html b/html/editing/dnd/file/prompt/009.html index 6fa18b97597a02..b620ad6f155fc7 100644 --- a/html/editing/dnd/file/prompt/009.html +++ b/html/editing/dnd/file/prompt/009.html @@ -2,7 +2,7 @@ drag & drop - file drop prompt for javascript URL without inherited origin

Load the following URL in a new tab (copy & paste it into the address bar):

- \ No newline at end of file + diff --git a/html/editing/dnd/images/001.xhtml b/html/editing/dnd/images/001.xhtml index e5ea49969b1862..3e124de83fbb0f 100644 --- a/html/editing/dnd/images/001.xhtml +++ b/html/editing/dnd/images/001.xhtml @@ -4,29 +4,29 @@ Image drag and drop

PNG circle

Drag circle above to the box below. It should be copied to the box once you drop it there.

- \ No newline at end of file + diff --git a/html/editing/dnd/images/002.xhtml b/html/editing/dnd/images/002.xhtml index 65584e85733b1b..db4493f333a81b 100644 --- a/html/editing/dnd/images/002.xhtml +++ b/html/editing/dnd/images/002.xhtml @@ -4,29 +4,29 @@ dataURL image drag and drop

PNG circle

Drag circle above to the box below. It should be copied to the box once you drop it there.

- \ No newline at end of file + diff --git a/html/editing/dnd/images/003.xhtml b/html/editing/dnd/images/003.xhtml index ae94a8b3f1ecf2..dfb4817cecb7ca 100644 --- a/html/editing/dnd/images/003.xhtml +++ b/html/editing/dnd/images/003.xhtml @@ -4,29 +4,29 @@ Image drag and drop outside browser window

PNG circle

Drag circle above outside the window and then back inside and drop in the box below. It should be copied to the box once you drop it there.

diff --git a/html/editing/dnd/images/004.xhtml b/html/editing/dnd/images/004.xhtml index e0fff952380c2c..964ddc69c491a5 100644 --- a/html/editing/dnd/images/004.xhtml +++ b/html/editing/dnd/images/004.xhtml @@ -4,32 +4,32 @@ Object with image drag and drop

PNG image

Drag circle above to the box below. It should be copied to the box once you drop it there.

- \ No newline at end of file + diff --git a/html/editing/dnd/images/005.xhtml b/html/editing/dnd/images/005.xhtml index 49eaabdfc9b3f7..ffba765a07239e 100644 --- a/html/editing/dnd/images/005.xhtml +++ b/html/editing/dnd/images/005.xhtml @@ -4,29 +4,29 @@ JPG image drag and drop

JPG circle

Drag circle above to the box below. It should be copied to the box once you drop it there.

- \ No newline at end of file + diff --git a/html/editing/dnd/images/006.xhtml b/html/editing/dnd/images/006.xhtml index 4011085ca06734..99c60f1e175598 100644 --- a/html/editing/dnd/images/006.xhtml +++ b/html/editing/dnd/images/006.xhtml @@ -4,31 +4,31 @@ dataURL image drag and drop from iframe

Drag circle above to the box below. It should be copied to the box once you drop it there.

- \ No newline at end of file + diff --git a/html/editing/dnd/images/007.xhtml b/html/editing/dnd/images/007.xhtml index e257a28c7b49bc..6443363abc276c 100644 --- a/html/editing/dnd/images/007.xhtml +++ b/html/editing/dnd/images/007.xhtml @@ -4,9 +4,9 @@ dataURL image drag and drop to iframe @@ -14,4 +14,4 @@ iframe

Drag circle above to the box below. It should be copied to the box once you drop it there.

- \ No newline at end of file + diff --git a/html/editing/dnd/images/008.xhtml b/html/editing/dnd/images/008.xhtml index b3f1042c918bda..09cbdae03cc98b 100644 --- a/html/editing/dnd/images/008.xhtml +++ b/html/editing/dnd/images/008.xhtml @@ -4,9 +4,9 @@ dataURL image drag and drop between iframes @@ -14,4 +14,4 @@ iframe

Drag circle above to the box below. It should be copied to the box once you drop it there.

- \ No newline at end of file + diff --git a/html/editing/dnd/images/009.xhtml b/html/editing/dnd/images/009.xhtml index c8da488e83df13..d2dcbe86ceb182 100644 --- a/html/editing/dnd/images/009.xhtml +++ b/html/editing/dnd/images/009.xhtml @@ -4,31 +4,31 @@ Image drag and drop from iframe

Drag circle above to the box below. It should be copied to the box once you drop it there.

- \ No newline at end of file + diff --git a/html/editing/dnd/images/010.xhtml b/html/editing/dnd/images/010.xhtml index bec92d9f7c895b..6ff3a3d7ccbcac 100644 --- a/html/editing/dnd/images/010.xhtml +++ b/html/editing/dnd/images/010.xhtml @@ -4,11 +4,11 @@ Image drag and drop to iframe @@ -16,4 +16,4 @@ iframe

Drag circle above to the box below. It should be copied to the box once you drop it there.

- \ No newline at end of file + diff --git a/html/editing/dnd/images/011.xhtml b/html/editing/dnd/images/011.xhtml index 4fa7c3eff8b020..905ce2c4f81241 100644 --- a/html/editing/dnd/images/011.xhtml +++ b/html/editing/dnd/images/011.xhtml @@ -4,9 +4,9 @@ Image drag and drop between iframes @@ -14,4 +14,4 @@ iframe

Drag circle above to the box below. It should be copied to the box once you drop it there.

- \ No newline at end of file + diff --git a/html/editing/dnd/images/014-1.xhtml b/html/editing/dnd/images/014-1.xhtml index a433bde987f6a3..f90eb0798c555d 100644 --- a/html/editing/dnd/images/014-1.xhtml +++ b/html/editing/dnd/images/014-1.xhtml @@ -4,29 +4,29 @@ Image drag and drop: helper file

PNG circle

Drag circle from one frame to the silver box in another frame. It should be copied to the box once you drop it there.

- \ No newline at end of file + diff --git a/html/editing/dnd/images/015.xhtml b/html/editing/dnd/images/015.xhtml index 656f059530e6f9..9a8edfebd22f35 100644 --- a/html/editing/dnd/images/015.xhtml +++ b/html/editing/dnd/images/015.xhtml @@ -4,21 +4,21 @@ Dropping image on horizontal scrollbar of a scrollable block element @@ -26,4 +26,4 @@ function checkImage(event)

Drag little square above and drop it on scrollbar below. You should see word PASS when you drop it on scrollbar.

↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓
- \ No newline at end of file + diff --git a/html/editing/dnd/images/016.xhtml b/html/editing/dnd/images/016.xhtml index 3479c8f5013ba5..e44cd525f03d1b 100644 --- a/html/editing/dnd/images/016.xhtml +++ b/html/editing/dnd/images/016.xhtml @@ -4,20 +4,20 @@ Dropping image on vertical scrollbar of a scrollable block element @@ -25,4 +25,4 @@ function checkImage(event)

Drag little square above and drop it on scrollbar below. You should see word PASS when you drop it on scrollbar.

→ → → → → → → → → → → → → → → → → → → →
- \ No newline at end of file + diff --git a/html/editing/dnd/images/017.xhtml b/html/editing/dnd/images/017.xhtml index 0231c719e28f4e..f6cdd6006a0264 100644 --- a/html/editing/dnd/images/017.xhtml +++ b/html/editing/dnd/images/017.xhtml @@ -4,22 +4,22 @@ Dropping image on horizontal page scrollbar @@ -27,4 +27,4 @@ function dropImage(event)

Drag little square above and drop it on vertical scrollbar. Word PASS should appear near scrollbar once you drop it.

↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓
- \ No newline at end of file + diff --git a/html/editing/dnd/images/018.xhtml b/html/editing/dnd/images/018.xhtml index a4b6cca356e5cd..7f38f9d8388840 100644 --- a/html/editing/dnd/images/018.xhtml +++ b/html/editing/dnd/images/018.xhtml @@ -4,21 +4,21 @@ Dropping image on vertical page scrollbar @@ -26,4 +26,4 @@ function dropImage(event)

Drag little square above and drop it on vertical scrollbar. Word PASS should appear near scrollbar once you drop it.

→ → → → → → → → → → → → → → → → → → → → → → → → → → → → → → → → → → → →
- \ No newline at end of file + diff --git a/html/editing/dnd/images/021.xhtml b/html/editing/dnd/images/021.xhtml index 33acd920350b34..239f9ccdc8329a 100644 --- a/html/editing/dnd/images/021.xhtml +++ b/html/editing/dnd/images/021.xhtml @@ -4,19 +4,19 @@ Dropping image on horizontal iframe scrollbar @@ -24,4 +24,4 @@ function dropImage(event)

Drag little square above and drop it on horizontal scrollbar. Word PASS should appear once you drop it.

- \ No newline at end of file + diff --git a/html/editing/dnd/images/022.xhtml b/html/editing/dnd/images/022.xhtml index 41edef04af4d08..a85f8c10f11f74 100644 --- a/html/editing/dnd/images/022.xhtml +++ b/html/editing/dnd/images/022.xhtml @@ -4,19 +4,19 @@ Dropping image on vertical iframe scrollbar @@ -24,4 +24,4 @@ function dropImage(event)

Drag little square above and drop it on vertical scrollbar. Word PASS should appear once you drop it.

- \ No newline at end of file + diff --git a/html/editing/dnd/images/023.xhtml b/html/editing/dnd/images/023.xhtml index a282570d0e5a7a..0d9e3401e62f99 100644 --- a/html/editing/dnd/images/023.xhtml +++ b/html/editing/dnd/images/023.xhtml @@ -4,19 +4,19 @@ Dropping image on horizontal object scrollbar @@ -24,4 +24,4 @@ function dropImage(event)

Drag little square above and drop it on horizontal scrollbar. Word PASS should appear once you drop it.

XHTML document - \ No newline at end of file + diff --git a/html/editing/dnd/images/024.xhtml b/html/editing/dnd/images/024.xhtml index 789f8ea8b2ac1c..0c3a456064de4d 100644 --- a/html/editing/dnd/images/024.xhtml +++ b/html/editing/dnd/images/024.xhtml @@ -4,19 +4,19 @@ Dropping image on vertical object scrollbar @@ -24,4 +24,4 @@ function dropImage(event)

Drag little square above and drop it on vertical scrollbar. Word PASS should appear once you drop it.

XHTML document - \ No newline at end of file + diff --git a/html/editing/dnd/images/025.xhtml b/html/editing/dnd/images/025.xhtml index d0b44383001e44..3a0661b4b6853e 100644 --- a/html/editing/dnd/images/025.xhtml +++ b/html/editing/dnd/images/025.xhtml @@ -4,24 +4,24 @@ Drag and drop of image to scrollable container with horizontal scrollbar @@ -29,11 +29,11 @@ function addImage(event)

Drag circle above to the silver box inside scrollable container below (dragging towards edge of container triggers scrolling).

It should be copied to the silver box once you drop it there.

-
+
- \ No newline at end of file + diff --git a/html/editing/dnd/images/026.xhtml b/html/editing/dnd/images/026.xhtml index 68ad4eb953bb84..9f552cf23df7e4 100644 --- a/html/editing/dnd/images/026.xhtml +++ b/html/editing/dnd/images/026.xhtml @@ -4,24 +4,24 @@ Drag and drop of image to scrollable container with vertical scrollbar @@ -30,11 +30,11 @@ function addImage(event)

It should be copied to the silver box once you drop it there.

↓↓↓↓↓↓↓↓↓ -
+
- \ No newline at end of file + diff --git a/html/editing/dnd/images/027.xhtml b/html/editing/dnd/images/027.xhtml index 51428a1ac3fa0f..f36d9a803aef6a 100644 --- a/html/editing/dnd/images/027.xhtml +++ b/html/editing/dnd/images/027.xhtml @@ -4,24 +4,24 @@ Drag and drop of image to scrollable container @@ -30,11 +30,11 @@ function addImage(event)

It should be copied to the silver box once you drop it there.

↘ -
+
- \ No newline at end of file + diff --git a/html/editing/dnd/images/028.xhtml b/html/editing/dnd/images/028.xhtml index 1bb7a5e9370203..57213a28e9d229 100644 --- a/html/editing/dnd/images/028.xhtml +++ b/html/editing/dnd/images/028.xhtml @@ -4,29 +4,29 @@ Image drag and drop and url alias

PNG circle

Drag circle above outside the window and then back inside and drop in the box below. It should be copied to the box once you drop it there.

diff --git a/html/editing/dnd/images/cross-domain/001.manual.xhtml b/html/editing/dnd/images/cross-domain/001.manual.xhtml index 1c777a8f7672e1..f0646334107359 100644 --- a/html/editing/dnd/images/cross-domain/001.manual.xhtml +++ b/html/editing/dnd/images/cross-domain/001.manual.xhtml @@ -5,12 +5,12 @@ @@ -23,26 +23,26 @@ div { document.getElementsByTagName("img")[0].src = crossOriginUrl("www", "../../resources/100x100-navy.png"); window.onload = function() { - var image = document.getElementsByTagName('img')[0], div = document.getElementsByTagName('div')[0], failed = []; + var image = document.getElementsByTagName('img')[0], div = document.getElementsByTagName('div')[0], failed = []; div.ondragover = div.ondragenter = function(e) { - e.preventDefault(); - e.dataTransfer.dropEffect = 'copy'; + e.preventDefault(); + e.dataTransfer.dropEffect = 'copy'; + }; + div.ondrop = image.ondragstart = function(e) { + if( e.type == 'dragstart' ) { + e.dataTransfer.setData('Text', 'dummy text'); + e.dataTransfer.dropEffect = 'copy'; + } + for( var i = 0; i < e.dataTransfer.types.length; i++ ) { + if( e.dataTransfer.types[i].match(/image\//) ) { + failed[failed.length] = e.dataTransfer.types[i]; + } + } + if( e.type == 'drop' ) { + e.preventDefault(); + document.getElementsByTagName('p')[1].innerHTML = failed.length ? ( 'FAIL (found ' + failed.join() + ')' ) : 'PASS'; + } }; - div.ondrop = image.ondragstart = function(e) { - if( e.type == 'dragstart' ) { - e.dataTransfer.setData('Text', 'dummy text'); - e.dataTransfer.dropEffect = 'copy'; - } - for( var i = 0; i < e.dataTransfer.types.length; i++ ) { - if( e.dataTransfer.types[i].match(/image\//) ) { - failed[failed.length] = e.dataTransfer.types[i]; - } - } - if( e.type == 'drop' ) { - e.preventDefault(); - document.getElementsByTagName('p')[1].innerHTML = failed.length ? ( 'FAIL (found ' + failed.join() + ')' ) : 'PASS'; - } - }; }; ]]> diff --git a/html/editing/dnd/images/helper-drop-image-here.xhtml b/html/editing/dnd/images/helper-drop-image-here.xhtml index 00fb97a63bc718..84e5441d951e04 100644 --- a/html/editing/dnd/images/helper-drop-image-here.xhtml +++ b/html/editing/dnd/images/helper-drop-image-here.xhtml @@ -4,25 +4,25 @@ Image drag and drop: helper file
- \ No newline at end of file + diff --git a/html/editing/dnd/images/helper-drop-vertical-scrollbar.xhtml b/html/editing/dnd/images/helper-drop-vertical-scrollbar.xhtml index 619723882cea5d..2c3913bfc382a5 100644 --- a/html/editing/dnd/images/helper-drop-vertical-scrollbar.xhtml +++ b/html/editing/dnd/images/helper-drop-vertical-scrollbar.xhtml @@ -4,10 +4,10 @@ Image drag and drop: helper file
→ → → → → → → → → → → → → → → → → → → →
- \ No newline at end of file + diff --git a/html/editing/dnd/interactive/frames-1.html b/html/editing/dnd/interactive/frames-1.html index 7df4fab4ef8d7d..b1a4f5fdef33f6 100644 --- a/html/editing/dnd/interactive/frames-1.html +++ b/html/editing/dnd/interactive/frames-1.html @@ -1,18 +1,18 @@ - - drag and drop should allow dragging of iframes and object iframes - - - + + + - + - - \ No newline at end of file + + diff --git a/html/editing/dnd/interactive/frames.html b/html/editing/dnd/interactive/frames.html index 0414c524981332..ae14232e5a8645 100644 --- a/html/editing/dnd/interactive/frames.html +++ b/html/editing/dnd/interactive/frames.html @@ -1,22 +1,22 @@ - - drag and drop should allow dragging of iframes and object iframes - - - + + + -

It should be possible to drag the following two blocks by both their orange and blue borders.

-

-

+

It should be possible to drag the following two blocks by both their orange and blue borders.

+

+

- - \ No newline at end of file + + diff --git a/html/editing/dnd/interactive/object-retention.html b/html/editing/dnd/interactive/object-retention.html index 92a71d526b7416..e1ec5077e60fa8 100644 --- a/html/editing/dnd/interactive/object-retention.html +++ b/html/editing/dnd/interactive/object-retention.html @@ -7,7 +7,7 @@ background-color: orange; } body > div + div { - margin-top: 10px; + margin-top: 10px; height: 200px; width: 200px; background-color: blue; @@ -20,119 +20,119 @@ orange.ondragstart = function(e) { e.dataTransfer.effectAllowed = 'copy'; var foo = {}; - e.dataTransfer.setData('text', foo); - if( e.dataTransfer.getData('text') === foo ) { - fails[fails.length] = 'object was not cast to string'; - } - evs[e.type] = {}; - evs[e.type].dataTransfer = e.dataTransfer; - evs[e.type].items = e.dataTransfer.items; - evs[e.type].types = e.dataTransfer.types; - evs[e.type].files = e.dataTransfer.files; - //"The same object must be returned each time." - if( evs[e.type].dataTransfer !== e.dataTransfer ) { - fails[fails.length] = '.dataTransfer is not returning the same object during '+e.type; - } - if( !e.dataTransfer.items ) { - fails[fails.length] = '.items is not returning anything during '+e.type; - } else if( evs[e.type].items !== e.dataTransfer.items ) { - fails[fails.length] = '.items is not returning the same object during '+e.type; - } - if( !e.dataTransfer.types ) { - fails[fails.length] = '.types is not returning anything during '+e.type; - } else if( evs[e.type].types !== e.dataTransfer.types ) { - fails[fails.length] = '.types is not returning the same object during '+e.type; - } - if( !e.dataTransfer.files ) { - fails[fails.length] = '.files is not returning anything during '+e.type; - } else if( evs[e.type].files !== e.dataTransfer.files ) { - fails[fails.length] = '.files is not returning the same object during '+e.type; - } + e.dataTransfer.setData('text', foo); + if( e.dataTransfer.getData('text') === foo ) { + fails[fails.length] = 'object was not cast to string'; + } + evs[e.type] = {}; + evs[e.type].dataTransfer = e.dataTransfer; + evs[e.type].items = e.dataTransfer.items; + evs[e.type].types = e.dataTransfer.types; + evs[e.type].files = e.dataTransfer.files; + //"The same object must be returned each time." + if( evs[e.type].dataTransfer !== e.dataTransfer ) { + fails[fails.length] = '.dataTransfer is not returning the same object during '+e.type; + } + if( !e.dataTransfer.items ) { + fails[fails.length] = '.items is not returning anything during '+e.type; + } else if( evs[e.type].items !== e.dataTransfer.items ) { + fails[fails.length] = '.items is not returning the same object during '+e.type; + } + if( !e.dataTransfer.types ) { + fails[fails.length] = '.types is not returning anything during '+e.type; + } else if( evs[e.type].types !== e.dataTransfer.types ) { + fails[fails.length] = '.types is not returning the same object during '+e.type; + } + if( !e.dataTransfer.files ) { + fails[fails.length] = '.files is not returning anything during '+e.type; + } else if( evs[e.type].files !== e.dataTransfer.files ) { + fails[fails.length] = '.files is not returning the same object during '+e.type; + } }; blue.ondragover = blue.ondragenter = function(e) { - e.preventDefault(); + e.preventDefault(); e.dataTransfer.dropEffect = 'copy'; - if( !evs[e.type] ) { evs[e.type] = {}; } - evs[e.type].dataTransfer = e.dataTransfer; - evs[e.type].items = e.dataTransfer.items; - evs[e.type].types = e.dataTransfer.types; - evs[e.type].files = e.dataTransfer.files; - if( evs[e.type].dataTransfer != e.dataTransfer ) { - fails[fails.length] = '.dataTransfer is not returning the same object during '+e.type; - } - if( !e.dataTransfer.items ) { - fails[fails.length] = '.items is not returning anything during '+e.type; - } else if( evs[e.type].items !== e.dataTransfer.items ) { - fails[fails.length] = '.items is not returning the same object during '+e.type; - } - if( !e.dataTransfer.types ) { - fails[fails.length] = '.types is not returning anything during '+e.type; - } else if( evs[e.type].types !== e.dataTransfer.types ) { - fails[fails.length] = '.types is not returning the same object during '+e.type; - } - if( !e.dataTransfer.files ) { - fails[fails.length] = '.files is not returning anything during '+e.type; - } else if( evs[e.type].files !== e.dataTransfer.files ) { - fails[fails.length] = '.files is not returning the same object during '+e.type; - } - //http://dev.w3.org/html5/spec/dnd.html#datatransfer - //"The * attribute must return a * object associated with the DataTransfer object." - //Note that it is associated with the DataTransfer object, *not* the data store - //http://dev.w3.org/html5/spec/dnd.html#dragevent - //"when a user agent is required to fire a DND event named e at an element, using a particular drag data store... - //Let dataTransfer be a newly created DataTransfer object associated with the given drag data store." - //A new DataTransfer object therefore means a new set of properties, not the same ones as last event - if( evs.dragstart.dataTransfer === e.dataTransfer ) { - fails[fails.length] = '.dataTransfer is returning the same object during '+e.type+' as it did during dragstart'; - } - if( e.dataTransfer.items && evs.dragstart.items === e.dataTransfer.items ) { - fails[fails.length] = '.items is returning the same object during '+e.type+' as it did during dragstart'; - } - if( e.dataTransfer.types && evs.dragstart.types === e.dataTransfer.types ) { - fails[fails.length] = '.types is returning the same object during '+e.type+' as it did during dragstart'; - } - if( e.dataTransfer.files && evs.dragstart.files === e.dataTransfer.files ) { - fails[fails.length] = '.files is returning the same object during '+e.type+' as it did during dragstart'; - } + if( !evs[e.type] ) { evs[e.type] = {}; } + evs[e.type].dataTransfer = e.dataTransfer; + evs[e.type].items = e.dataTransfer.items; + evs[e.type].types = e.dataTransfer.types; + evs[e.type].files = e.dataTransfer.files; + if( evs[e.type].dataTransfer != e.dataTransfer ) { + fails[fails.length] = '.dataTransfer is not returning the same object during '+e.type; + } + if( !e.dataTransfer.items ) { + fails[fails.length] = '.items is not returning anything during '+e.type; + } else if( evs[e.type].items !== e.dataTransfer.items ) { + fails[fails.length] = '.items is not returning the same object during '+e.type; + } + if( !e.dataTransfer.types ) { + fails[fails.length] = '.types is not returning anything during '+e.type; + } else if( evs[e.type].types !== e.dataTransfer.types ) { + fails[fails.length] = '.types is not returning the same object during '+e.type; + } + if( !e.dataTransfer.files ) { + fails[fails.length] = '.files is not returning anything during '+e.type; + } else if( evs[e.type].files !== e.dataTransfer.files ) { + fails[fails.length] = '.files is not returning the same object during '+e.type; + } + //http://dev.w3.org/html5/spec/dnd.html#datatransfer + //"The * attribute must return a * object associated with the DataTransfer object." + //Note that it is associated with the DataTransfer object, *not* the data store + //http://dev.w3.org/html5/spec/dnd.html#dragevent + //"when a user agent is required to fire a DND event named e at an element, using a particular drag data store... + //Let dataTransfer be a newly created DataTransfer object associated with the given drag data store." + //A new DataTransfer object therefore means a new set of properties, not the same ones as last event + if( evs.dragstart.dataTransfer === e.dataTransfer ) { + fails[fails.length] = '.dataTransfer is returning the same object during '+e.type+' as it did during dragstart'; + } + if( e.dataTransfer.items && evs.dragstart.items === e.dataTransfer.items ) { + fails[fails.length] = '.items is returning the same object during '+e.type+' as it did during dragstart'; + } + if( e.dataTransfer.types && evs.dragstart.types === e.dataTransfer.types ) { + fails[fails.length] = '.types is returning the same object during '+e.type+' as it did during dragstart'; + } + if( e.dataTransfer.files && evs.dragstart.files === e.dataTransfer.files ) { + fails[fails.length] = '.files is returning the same object during '+e.type+' as it did during dragstart'; + } }; - blue.ondrop = function(e) { - e.preventDefault(); - evs[e.type] = {}; - evs[e.type].dataTransfer = e.dataTransfer; - evs[e.type].items = e.dataTransfer.items; - evs[e.type].types = e.dataTransfer.types; - evs[e.type].files = e.dataTransfer.files; - if( evs[e.type].dataTransfer !== e.dataTransfer ) { - fails[fails.length] = '.dataTransfer is not returning the same object during '+e.type; - } - if( !e.dataTransfer.items ) { - fails[fails.length] = '.items is not returning anything during '+e.type; - } else if( evs[e.type].items !== e.dataTransfer.items ) { - fails[fails.length] = '.items is not returning the same object during '+e.type; - } - if( !e.dataTransfer.types ) { - fails[fails.length] = '.types is not returning anything during '+e.type; - } else if( evs[e.type].types !== e.dataTransfer.types ) { - fails[fails.length] = '.types is not returning the same object during '+e.type; - } - if( !e.dataTransfer.files ) { - fails[fails.length] = '.files is not returning anything during '+e.type; - } else if( evs[e.type].files !== e.dataTransfer.files ) { - fails[fails.length] = '.files is not returning the same object during '+e.type; - } - if( evs.dragstart.dataTransfer === e.dataTransfer ) { - fails[fails.length] = '.dataTransfer is returning the same object during '+e.type+' as it did during dragstart'; - } - if( e.dataTransfer.items && evs.dragstart.items === e.dataTransfer.items ) { - fails[fails.length] = '.items is returning the same object during '+e.type+' as it did during dragstart'; - } - if( e.dataTransfer.types && evs.dragstart.types === e.dataTransfer.types ) { - fails[fails.length] = '.types is returning the same object during '+e.type+' as it did during dragstart'; - } - if( e.dataTransfer.files && evs.dragstart.files === e.dataTransfer.files ) { - fails[fails.length] = '.files is returning the same object during '+e.type+' as it did during dragstart'; - } - document.getElementsByTagName('p')[0].innerHTML = fails.length ? ( 'FAIL:
' + fails.join('
') ) : 'PASS'; + blue.ondrop = function(e) { + e.preventDefault(); + evs[e.type] = {}; + evs[e.type].dataTransfer = e.dataTransfer; + evs[e.type].items = e.dataTransfer.items; + evs[e.type].types = e.dataTransfer.types; + evs[e.type].files = e.dataTransfer.files; + if( evs[e.type].dataTransfer !== e.dataTransfer ) { + fails[fails.length] = '.dataTransfer is not returning the same object during '+e.type; + } + if( !e.dataTransfer.items ) { + fails[fails.length] = '.items is not returning anything during '+e.type; + } else if( evs[e.type].items !== e.dataTransfer.items ) { + fails[fails.length] = '.items is not returning the same object during '+e.type; + } + if( !e.dataTransfer.types ) { + fails[fails.length] = '.types is not returning anything during '+e.type; + } else if( evs[e.type].types !== e.dataTransfer.types ) { + fails[fails.length] = '.types is not returning the same object during '+e.type; + } + if( !e.dataTransfer.files ) { + fails[fails.length] = '.files is not returning anything during '+e.type; + } else if( evs[e.type].files !== e.dataTransfer.files ) { + fails[fails.length] = '.files is not returning the same object during '+e.type; + } + if( evs.dragstart.dataTransfer === e.dataTransfer ) { + fails[fails.length] = '.dataTransfer is returning the same object during '+e.type+' as it did during dragstart'; + } + if( e.dataTransfer.items && evs.dragstart.items === e.dataTransfer.items ) { + fails[fails.length] = '.items is returning the same object during '+e.type+' as it did during dragstart'; + } + if( e.dataTransfer.types && evs.dragstart.types === e.dataTransfer.types ) { + fails[fails.length] = '.types is returning the same object during '+e.type+' as it did during dragstart'; + } + if( e.dataTransfer.files && evs.dragstart.files === e.dataTransfer.files ) { + fails[fails.length] = '.files is returning the same object during '+e.type+' as it did during dragstart'; + } + document.getElementsByTagName('p')[0].innerHTML = fails.length ? ( 'FAIL:
' + fails.join('
') ) : 'PASS'; }; }; diff --git a/html/editing/dnd/interactive/plugins.html b/html/editing/dnd/interactive/plugins.html index 7be5ec9397ae99..70eb97bf42c187 100644 --- a/html/editing/dnd/interactive/plugins.html +++ b/html/editing/dnd/interactive/plugins.html @@ -1,28 +1,28 @@ - - drag and drop should not remove styling of plugin object elements - - - + + + -

Drag the following block by the orange border. The drag placeholder should contain all inner borders, but may optionally show white or pink instead of the navy square.

-
+

Drag the following block by the orange border. The drag placeholder should contain all inner borders, but may optionally show white or pink instead of the navy square.

+
- - \ No newline at end of file + + diff --git a/html/editing/dnd/interactiveelements/001.html b/html/editing/dnd/interactiveelements/001.html index 33c6518e0837e0..25acccbef9289a 100644 --- a/html/editing/dnd/interactiveelements/001.html +++ b/html/editing/dnd/interactiveelements/001.html @@ -1,29 +1,29 @@ - - Select input inside draggable element - - - - + + + -

Press your mouse button down on the orange block and drag downwards. It should open and select items in the dropdown, and should not drag the block or text.

-
- -
+

Press your mouse button down on the orange block and drag downwards. It should open and select items in the dropdown, and should not drag the block or text.

+
+ +
- - \ No newline at end of file + + diff --git a/html/editing/dnd/interactiveelements/002.html b/html/editing/dnd/interactiveelements/002.html index 8734a3e3aca9aa..146676e5d0b437 100644 --- a/html/editing/dnd/interactiveelements/002.html +++ b/html/editing/dnd/interactiveelements/002.html @@ -1,29 +1,29 @@ - - Select multiple input inside draggable element - - - - + + + -

Press your mouse button down on the orange block and drag downwards. It should open and select items in the dropdown, and should not drag the block or text.

-
- -
+

Press your mouse button down on the orange block and drag downwards. It should open and select items in the dropdown, and should not drag the block or text.

+
+ +
- - \ No newline at end of file + + diff --git a/html/editing/dnd/interactiveelements/003.html b/html/editing/dnd/interactiveelements/003.html index 3399c2f0262c28..76ba256831578f 100644 --- a/html/editing/dnd/interactiveelements/003.html +++ b/html/editing/dnd/interactiveelements/003.html @@ -1,29 +1,29 @@ - - Draggable select - - - - + + + -

Press your mouse button down on the orange block and drag downwards. It should open and select items in the dropdown, and should not drag the block or text.

-
- -
+

Press your mouse button down on the orange block and drag downwards. It should open and select items in the dropdown, and should not drag the block or text.

+
+ +
- - \ No newline at end of file + + diff --git a/html/editing/dnd/interactiveelements/004.html b/html/editing/dnd/interactiveelements/004.html index 5f58b207ae156b..9bd02771f07391 100644 --- a/html/editing/dnd/interactiveelements/004.html +++ b/html/editing/dnd/interactiveelements/004.html @@ -1,29 +1,29 @@ - - Draggable select multiple - - - - + + + -

Press your mouse button down on the orange block and drag downwards. It should open and select items in the dropdown, and should not drag the block or text.

-
- -
+

Press your mouse button down on the orange block and drag downwards. It should open and select items in the dropdown, and should not drag the block or text.

+
+ +
- - \ No newline at end of file + + diff --git a/html/editing/dnd/interactiveelements/005.html b/html/editing/dnd/interactiveelements/005.html index 6647375c67659e..c08a5104db7ffd 100644 --- a/html/editing/dnd/interactiveelements/005.html +++ b/html/editing/dnd/interactiveelements/005.html @@ -1,25 +1,25 @@ - - Text input inside draggable element - - - - + + + -

Press your mouse button down on the orange block and drag downwards. It should focus the dummy text. Use your mouse to select part of the dummy text. It should not drag the block or text in either case.

-
- -
+

Press your mouse button down on the orange block and drag downwards. It should focus the dummy text. Use your mouse to select part of the dummy text. It should not drag the block or text in either case.

+
+ +
- - \ No newline at end of file + + diff --git a/html/editing/dnd/interactiveelements/006.html b/html/editing/dnd/interactiveelements/006.html index 0ca3532122055a..46b1dc58d4a1ec 100644 --- a/html/editing/dnd/interactiveelements/006.html +++ b/html/editing/dnd/interactiveelements/006.html @@ -1,25 +1,25 @@ - - Draggable text input - - - - + + + -

Press your mouse button down on the orange block and drag downwards. It should focus the dummy text. Use your mouse to select part of the dummy text. It should not drag the block or text in either case.

-
- -
+

Press your mouse button down on the orange block and drag downwards. It should focus the dummy text. Use your mouse to select part of the dummy text. It should not drag the block or text in either case.

+
+ +
- - \ No newline at end of file + + diff --git a/html/editing/dnd/interactiveelements/007.html b/html/editing/dnd/interactiveelements/007.html index 6bcdc80e9409f2..51d558ccf23bd0 100644 --- a/html/editing/dnd/interactiveelements/007.html +++ b/html/editing/dnd/interactiveelements/007.html @@ -1,23 +1,23 @@ - - Textarea inside draggable element - - - - + + + -

Press your mouse button down on the orange block and drag downwards. It may optionally focus the dummy text. Use your mouse to select part of the dummy text, moving the mouse vertically and horizontally. It should select the text. Try to drag the input's scrollbar thumb. It should not drag the block or text in any case.

-
+

Press your mouse button down on the orange block and drag downwards. It may optionally focus the dummy text. Use your mouse to select part of the dummy text, moving the mouse vertically and horizontally. It should select the text. Try to drag the input's scrollbar thumb. It should not drag the block or text in any case.

+
-
+
- - \ No newline at end of file + + diff --git a/html/editing/dnd/interactiveelements/008.html b/html/editing/dnd/interactiveelements/008.html index 7cb97518fee4b5..780c82de20cbfa 100644 --- a/html/editing/dnd/interactiveelements/008.html +++ b/html/editing/dnd/interactiveelements/008.html @@ -1,23 +1,23 @@ - - Draggable textarea - - - - + + + -

Press your mouse button down on the orange block and drag downwards. It may optionally focus the dummy text. Use your mouse to select part of the dummy text, moving the mouse vertically and horizontally. It should select the text. Try to drag the input's scrollbar thumb. It should not drag the block or text in any case.

-
+

Press your mouse button down on the orange block and drag downwards. It may optionally focus the dummy text. Use your mouse to select part of the dummy text, moving the mouse vertically and horizontally. It should select the text. Try to drag the input's scrollbar thumb. It should not drag the block or text in any case.

+
-
+
- - \ No newline at end of file + + diff --git a/html/editing/dnd/interactiveelements/009.html b/html/editing/dnd/interactiveelements/009.html index 6c240c06fae2a2..08859bbdae5dd1 100644 --- a/html/editing/dnd/interactiveelements/009.html +++ b/html/editing/dnd/interactiveelements/009.html @@ -1,25 +1,25 @@ - - Input button inside draggable element - - - - + + + -

Press your mouse button down on the orange block and drag downwards. It should not drag the block or text.

-
- -
+

Press your mouse button down on the orange block and drag downwards. It should not drag the block or text.

+
+ +
- - \ No newline at end of file + + diff --git a/html/editing/dnd/interactiveelements/010.html b/html/editing/dnd/interactiveelements/010.html index 2253e8bae2e8be..48d67943d8cf2f 100644 --- a/html/editing/dnd/interactiveelements/010.html +++ b/html/editing/dnd/interactiveelements/010.html @@ -1,25 +1,25 @@ - - Draggable input button - - - - + + + -

Press your mouse button down on the orange block and drag downwards. It should not drag the block or text.

-
- -
+

Press your mouse button down on the orange block and drag downwards. It should not drag the block or text.

+
+ +
- - \ No newline at end of file + + diff --git a/html/editing/dnd/interactiveelements/011.html b/html/editing/dnd/interactiveelements/011.html index e90cfc3496a989..315307a5eff968 100644 --- a/html/editing/dnd/interactiveelements/011.html +++ b/html/editing/dnd/interactiveelements/011.html @@ -1,25 +1,25 @@ - - Button inside draggable element - - - - + + + -

Press your mouse button down on the orange block and drag downwards. It should not drag the block or text.

-
- -
+

Press your mouse button down on the orange block and drag downwards. It should not drag the block or text.

+
+ +
- - \ No newline at end of file + + diff --git a/html/editing/dnd/interactiveelements/012.html b/html/editing/dnd/interactiveelements/012.html index 15659cdc9d064e..46a372402406c5 100644 --- a/html/editing/dnd/interactiveelements/012.html +++ b/html/editing/dnd/interactiveelements/012.html @@ -1,25 +1,25 @@ - - Draggable button - - - - + + + -

Press your mouse button down on the orange block and drag downwards. It should not drag the block or text.

-
- -
+

Press your mouse button down on the orange block and drag downwards. It should not drag the block or text.

+
+ +
- - \ No newline at end of file + + diff --git a/html/editing/dnd/interactiveelements/015.html b/html/editing/dnd/interactiveelements/015.html index a2c66a145e8c0b..28e8966bd4b069 100644 --- a/html/editing/dnd/interactiveelements/015.html +++ b/html/editing/dnd/interactiveelements/015.html @@ -1,25 +1,25 @@ - - Contenteditable inside draggable element - - - - + + + -

Press your mouse button down on the orange block and drag downwards. It should not drag the text or the orange block. Use your mouse to select the dummy text. It should not drag the text or the orange block.

-
-
Dummy text
-
+

Press your mouse button down on the orange block and drag downwards. It should not drag the text or the orange block. Use your mouse to select the dummy text. It should not drag the text or the orange block.

+
+
Dummy text
+
- - \ No newline at end of file + + diff --git a/html/editing/dnd/interactiveelements/016.html b/html/editing/dnd/interactiveelements/016.html index b9bc169e459b68..53145787b3f15a 100644 --- a/html/editing/dnd/interactiveelements/016.html +++ b/html/editing/dnd/interactiveelements/016.html @@ -1,25 +1,25 @@ - - Draggable contenteditable element - - - - + + + -

Press your mouse button down on the orange block and drag downwards. It should not drag the text or the orange block. Use your mouse to select the dummy text. It should not drag the text or the orange block.

-
-
Dummy text
-
+

Press your mouse button down on the orange block and drag downwards. It should not drag the text or the orange block. Use your mouse to select the dummy text. It should not drag the text or the orange block.

+
+
Dummy text
+
- - \ No newline at end of file + + diff --git a/html/editing/dnd/interactiveelements/017.html b/html/editing/dnd/interactiveelements/017.html index 8de64c08bffb82..b99e55468210c2 100644 --- a/html/editing/dnd/interactiveelements/017.html +++ b/html/editing/dnd/interactiveelements/017.html @@ -1,25 +1,25 @@ - - Scrollable element inside draggable element - - - - + + + -

It should be possible to drag the scrollbar thumbs of the box below without dragging the whole box.

-
-
Dummy text
Dummy text
Dummy text
Dummy text
Dummy text
Dummy text
Dummy text
Dummy text
Dummy text
Dummy text
Dummy text
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
-
+

It should be possible to drag the scrollbar thumbs of the box below without dragging the whole box.

+
+
Dummy text
Dummy text
Dummy text
Dummy text
Dummy text
Dummy text
Dummy text
Dummy text
Dummy text
Dummy text
Dummy text
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
+
- - \ No newline at end of file + + diff --git a/html/editing/dnd/interactiveelements/018.html b/html/editing/dnd/interactiveelements/018.html index 67d8ad0f85fb3f..57a5aaf4176f75 100644 --- a/html/editing/dnd/interactiveelements/018.html +++ b/html/editing/dnd/interactiveelements/018.html @@ -1,25 +1,25 @@ - - Draggable scrollable element - - - - + + + -

It should be possible to drag the scrollbar thumbs of the box below without dragging the whole box.

-
-
Dummy text
Dummy text
Dummy text
Dummy text
Dummy text
Dummy text
Dummy text
Dummy text
Dummy text
Dummy text
Dummy text
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
-
+

It should be possible to drag the scrollbar thumbs of the box below without dragging the whole box.

+
+
Dummy text
Dummy text
Dummy text
Dummy text
Dummy text
Dummy text
Dummy text
Dummy text
Dummy text
Dummy text
Dummy text
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
+
- - \ No newline at end of file + + diff --git a/html/editing/dnd/interactiveelements/019.html b/html/editing/dnd/interactiveelements/019.html index 77e6e813ccbc5a..79d3c4ec475c9b 100644 --- a/html/editing/dnd/interactiveelements/019.html +++ b/html/editing/dnd/interactiveelements/019.html @@ -1,25 +1,25 @@ - - Disabled text input with inside draggable element - - - - + + + -

Press your mouse button down on the orange block and drag downwards. Use your mouse to attempt to select part of the dummy text. It should not drag the block or text in either case.

-
- -
+

Press your mouse button down on the orange block and drag downwards. Use your mouse to attempt to select part of the dummy text. It should not drag the block or text in either case.

+
+ +
- - \ No newline at end of file + + diff --git a/html/editing/dnd/interactiveelements/020.html b/html/editing/dnd/interactiveelements/020.html index 2bad553120a83e..a64c74d05b761d 100644 --- a/html/editing/dnd/interactiveelements/020.html +++ b/html/editing/dnd/interactiveelements/020.html @@ -1,25 +1,25 @@ - - Disabled draggable text input - - - - + + + -

Press your mouse button down on the orange block and drag downwards. Use your mouse to attempt to select part of the dummy text. It should not drag the block or text in either case.

-
- -
+

Press your mouse button down on the orange block and drag downwards. Use your mouse to attempt to select part of the dummy text. It should not drag the block or text in either case.

+
+ +
- - \ No newline at end of file + + diff --git a/html/editing/dnd/interactiveelements/021.html b/html/editing/dnd/interactiveelements/021.html index 954c59509f49d5..eee0efaef25778 100644 --- a/html/editing/dnd/interactiveelements/021.html +++ b/html/editing/dnd/interactiveelements/021.html @@ -1,25 +1,25 @@ - - Readonly text input with inside draggable element - - - - + + + -

Press your mouse button down on the orange block and drag downwards. Use your mouse to attempt to select part of the dummy text. It should not drag the block or text in either case.

-
- -
+

Press your mouse button down on the orange block and drag downwards. Use your mouse to attempt to select part of the dummy text. It should not drag the block or text in either case.

+
+ +
- - \ No newline at end of file + + diff --git a/html/editing/dnd/interactiveelements/022.html b/html/editing/dnd/interactiveelements/022.html index fb1d796bacf9bb..48d85d5f4252a8 100644 --- a/html/editing/dnd/interactiveelements/022.html +++ b/html/editing/dnd/interactiveelements/022.html @@ -1,25 +1,25 @@ - - Readonly draggable text input - - - - + + + -

Press your mouse button down on the orange block and drag downwards. Use your mouse to attempt to select part of the dummy text. It should not drag the block or text in either case.

-
- -
+

Press your mouse button down on the orange block and drag downwards. Use your mouse to attempt to select part of the dummy text. It should not drag the block or text in either case.

+
+ +
- - \ No newline at end of file + + diff --git a/html/editing/dnd/media/001.xhtml b/html/editing/dnd/media/001.xhtml index 2f90f5c3ec6075..e2545642d8c756 100644 --- a/html/editing/dnd/media/001.xhtml +++ b/html/editing/dnd/media/001.xhtml @@ -4,25 +4,25 @@ Video drag and drop

-

- +

Use your pointing device to drag the orange box to the pink box, then back to the blue box, and release it.

diff --git a/html/editing/dnd/microdata/018.html b/html/editing/dnd/microdata/018.html index 2dcaeaa75b49cf..357ba4f0feae82 100644 --- a/html/editing/dnd/microdata/018.html +++ b/html/editing/dnd/microdata/018.html @@ -25,65 +25,65 @@ diff --git a/html/editing/dnd/microdata/019.html b/html/editing/dnd/microdata/019.html index 95224174cb0d91..11525214e29bff 100644 --- a/html/editing/dnd/microdata/019.html +++ b/html/editing/dnd/microdata/019.html @@ -25,66 +25,66 @@ diff --git a/html/editing/dnd/microdata/020.html b/html/editing/dnd/microdata/020.html index 007aecc3ab8b03..33667224ca5b90 100644 --- a/html/editing/dnd/microdata/020.html +++ b/html/editing/dnd/microdata/020.html @@ -25,69 +25,69 @@ diff --git a/html/editing/dnd/microdata/021.html b/html/editing/dnd/microdata/021.html index 792e3e2ce4ae16..62e1864beffe40 100644 --- a/html/editing/dnd/microdata/021.html +++ b/html/editing/dnd/microdata/021.html @@ -28,71 +28,71 @@ diff --git a/html/editing/dnd/navigation/001-1.xhtml b/html/editing/dnd/navigation/001-1.xhtml index 6317534215236d..a0599667871927 100644 --- a/html/editing/dnd/navigation/001-1.xhtml +++ b/html/editing/dnd/navigation/001-1.xhtml @@ -4,16 +4,16 @@ Cross page drag and drop: helper file

Drop canvas now, it should be copied to this page once you drop it here.

- \ No newline at end of file + diff --git a/html/editing/dnd/navigation/001.xhtml b/html/editing/dnd/navigation/001.xhtml index 8c297c2030b2fb..2e8a2ca65e9481 100644 --- a/html/editing/dnd/navigation/001.xhtml +++ b/html/editing/dnd/navigation/001.xhtml @@ -4,28 +4,28 @@ Canvas cross page drag and drop

- Canvas + Canvas

Drag canvas pattern. You should be redirected to the new page and be able to drop it there.

- \ No newline at end of file + diff --git a/html/editing/dnd/navigation/002.xhtml b/html/editing/dnd/navigation/002.xhtml index 252bf33ba5057f..a3d9f97d04a456 100644 --- a/html/editing/dnd/navigation/002.xhtml +++ b/html/editing/dnd/navigation/002.xhtml @@ -4,11 +4,11 @@ PNG image cross page drag and drop

PNG circle

Drag circle above. You should be redirected to the new page and be able to drop it there.

- \ No newline at end of file + diff --git a/html/editing/dnd/navigation/007-1.xhtml b/html/editing/dnd/navigation/007-1.xhtml index a1c982e72b8ad5..821edf8cbde495 100644 --- a/html/editing/dnd/navigation/007-1.xhtml +++ b/html/editing/dnd/navigation/007-1.xhtml @@ -4,10 +4,10 @@ Cross page drag and drop: helper file

Drop box now, you should see word PASS once you drop it.

- \ No newline at end of file + diff --git a/html/editing/dnd/navigation/007.xhtml b/html/editing/dnd/navigation/007.xhtml index 5cabbbd3ebb8b5..a40bc260539f5c 100644 --- a/html/editing/dnd/navigation/007.xhtml +++ b/html/editing/dnd/navigation/007.xhtml @@ -4,16 +4,16 @@ Cross page drag and drop with text/plain data

Drag blue box. You should be redirected to the new page and be able to drop it there.

- \ No newline at end of file + diff --git a/html/editing/dnd/navigation/008-1.xhtml b/html/editing/dnd/navigation/008-1.xhtml index 218b5873f3c3e4..2ae9f4f935783f 100644 --- a/html/editing/dnd/navigation/008-1.xhtml +++ b/html/editing/dnd/navigation/008-1.xhtml @@ -4,10 +4,10 @@ Cross page drag and drop: helper file

Drop box now, you should see word PASS once you drop it.

- \ No newline at end of file + diff --git a/html/editing/dnd/navigation/008.xhtml b/html/editing/dnd/navigation/008.xhtml index 11b29a8f462038..e6dbab4e4655af 100644 --- a/html/editing/dnd/navigation/008.xhtml +++ b/html/editing/dnd/navigation/008.xhtml @@ -4,16 +4,16 @@ Cross page drag and drop with text/uri-list data

Drag blue box. You should be redirected to the new page and be able to drop it there.

- \ No newline at end of file + diff --git a/html/editing/dnd/navigation/009-1.xhtml b/html/editing/dnd/navigation/009-1.xhtml index 8604fd534b3acf..54e23c7643cb78 100644 --- a/html/editing/dnd/navigation/009-1.xhtml +++ b/html/editing/dnd/navigation/009-1.xhtml @@ -4,10 +4,10 @@ Cross page drag and drop: helper file

Don't drop link yet, you should be redirected to another page.

- \ No newline at end of file + diff --git a/html/editing/dnd/navigation/010-1.xhtml b/html/editing/dnd/navigation/010-1.xhtml index 620f1af871b6b5..e3d6b4d7d02dbd 100644 --- a/html/editing/dnd/navigation/010-1.xhtml +++ b/html/editing/dnd/navigation/010-1.xhtml @@ -4,24 +4,24 @@ Cross page drag and drop: helper file

Drag link to the blue arrow but don't drop it yet. You should be returned back to start page.

- \ No newline at end of file + diff --git a/html/editing/dnd/navigation/010.xhtml b/html/editing/dnd/navigation/010.xhtml index 0af5b258fccda3..74aabea371b717 100644 --- a/html/editing/dnd/navigation/010.xhtml +++ b/html/editing/dnd/navigation/010.xhtml @@ -4,11 +4,11 @@ Link drag and drop and history navigation roundtrip

Drag me around and drop here once you return back

Drag link around. You will be redirected to new page. When you return back drop link on itself. You should see word PASS once you drop it.

- \ No newline at end of file + diff --git a/html/editing/dnd/navigation/011-1.xhtml b/html/editing/dnd/navigation/011-1.xhtml index 85f016441ca9db..95a4015a7a5e96 100644 --- a/html/editing/dnd/navigation/011-1.xhtml +++ b/html/editing/dnd/navigation/011-1.xhtml @@ -4,24 +4,24 @@ Cross page drag and drop: helper file

Drag canvas to the blue arrow but don't drop it yet. You should be returned back to start page.

- \ No newline at end of file + diff --git a/html/editing/dnd/navigation/011.xhtml b/html/editing/dnd/navigation/011.xhtml index a4d86a1d28da36..56955a899f896d 100644 --- a/html/editing/dnd/navigation/011.xhtml +++ b/html/editing/dnd/navigation/011.xhtml @@ -4,36 +4,36 @@ Canvas drag and drop and history navigation roundtrip

- Canvas + Canvas

Drag canvas around. You will be redirected to new page. When you return back drop canvas on itself. It should be duplicated once you drop it.

- \ No newline at end of file + diff --git a/html/editing/dnd/navigation/012.xhtml b/html/editing/dnd/navigation/012.xhtml index 842b75fa60a0b4..e9d72dbca5b1bc 100644 --- a/html/editing/dnd/navigation/012.xhtml +++ b/html/editing/dnd/navigation/012.xhtml @@ -4,17 +4,17 @@ PNG image drag and drop and history navigation roundtrip

PNG circle

Drag circle around. You will be redirected to new page. When you return back drop circle on itself. It should be duplicated once you drop it.

- \ No newline at end of file + diff --git a/html/editing/dnd/navigation/013.xhtml b/html/editing/dnd/navigation/013.xhtml index 59d48a041830be..d263a378623668 100644 --- a/html/editing/dnd/navigation/013.xhtml +++ b/html/editing/dnd/navigation/013.xhtml @@ -4,17 +4,17 @@ SVG image drag and drop and history navigation roundtrip

SVG circle

Drag circle around. You will be redirected to new page. When you return back drop circle on itself. It should be duplicated once you drop it.

- \ No newline at end of file + diff --git a/html/editing/dnd/navigation/016-1.xhtml b/html/editing/dnd/navigation/016-1.xhtml index 5e25edaad0298e..564469779e0bbf 100644 --- a/html/editing/dnd/navigation/016-1.xhtml +++ b/html/editing/dnd/navigation/016-1.xhtml @@ -4,22 +4,22 @@ Cross page drag and drop: helper file @@ -27,4 +27,4 @@ function addImage(event)

Drop canvas here, it should be copied to this page once you drop it here.

- \ No newline at end of file + diff --git a/html/editing/dnd/navigation/016.xhtml b/html/editing/dnd/navigation/016.xhtml index 1ac642fe136688..d70fd4d542476d 100644 --- a/html/editing/dnd/navigation/016.xhtml +++ b/html/editing/dnd/navigation/016.xhtml @@ -4,28 +4,28 @@ Reload during canvas cross page drag and drop

- Canvas + Canvas

Drag canvas pattern. You should be redirected to the new page and be able to drop it there.

- \ No newline at end of file + diff --git a/html/editing/dnd/navigation/017.xhtml b/html/editing/dnd/navigation/017.xhtml index 36b8987a2701dc..ea2dea268cb0fc 100644 --- a/html/editing/dnd/navigation/017.xhtml +++ b/html/editing/dnd/navigation/017.xhtml @@ -4,11 +4,11 @@ Reload during PNG image cross page drag and drop

PNG circle

Drag circle above. You should be redirected to the new page and be able to drop it there.

- \ No newline at end of file + diff --git a/html/editing/dnd/navigation/021-1.xhtml b/html/editing/dnd/navigation/021-1.xhtml index e38204ca422048..75af8a61d61362 100644 --- a/html/editing/dnd/navigation/021-1.xhtml +++ b/html/editing/dnd/navigation/021-1.xhtml @@ -4,17 +4,17 @@ Cross page drag and drop: helper file @@ -22,4 +22,4 @@ function checkLink(event)

Drop link here, you should see word PASS once you drop it.

- \ No newline at end of file + diff --git a/html/editing/dnd/navigation/022-1.xhtml b/html/editing/dnd/navigation/022-1.xhtml index ff96e273b6d5fd..1aa795b892b9f5 100644 --- a/html/editing/dnd/navigation/022-1.xhtml +++ b/html/editing/dnd/navigation/022-1.xhtml @@ -4,13 +4,13 @@ Cross page drag and drop: helper file @@ -18,4 +18,4 @@ div

Drop box here, you should see word PASS once you drop it.

- \ No newline at end of file + diff --git a/html/editing/dnd/navigation/022.xhtml b/html/editing/dnd/navigation/022.xhtml index 70aa3d93bcfbfc..38cbef3eed8326 100644 --- a/html/editing/dnd/navigation/022.xhtml +++ b/html/editing/dnd/navigation/022.xhtml @@ -4,16 +4,16 @@ Reload during cross page drag and drop with text/plain data

Drag blue box. You should be redirected to the new page and be able to drop it there.

- \ No newline at end of file + diff --git a/html/editing/dnd/navigation/023-1.xhtml b/html/editing/dnd/navigation/023-1.xhtml index 29f51732f297d5..e29cdd5d0fb409 100644 --- a/html/editing/dnd/navigation/023-1.xhtml +++ b/html/editing/dnd/navigation/023-1.xhtml @@ -4,13 +4,13 @@ Cross page drag and drop: helper file @@ -18,4 +18,4 @@ div

Drop box here, you should see word PASS once you drop it.

- \ No newline at end of file + diff --git a/html/editing/dnd/navigation/023.xhtml b/html/editing/dnd/navigation/023.xhtml index eb286ace89c1f4..4f7b80939b89d3 100644 --- a/html/editing/dnd/navigation/023.xhtml +++ b/html/editing/dnd/navigation/023.xhtml @@ -4,16 +4,16 @@ Reload during cross page drag and drop with text/uri-list data

Drag blue box. You should be redirected to the new page and be able to drop it there.

- \ No newline at end of file + diff --git a/html/editing/dnd/navigation/helper-drag-image-dont-drop.xhtml b/html/editing/dnd/navigation/helper-drag-image-dont-drop.xhtml index 883649e43e12a2..2967d315c15dbd 100644 --- a/html/editing/dnd/navigation/helper-drag-image-dont-drop.xhtml +++ b/html/editing/dnd/navigation/helper-drag-image-dont-drop.xhtml @@ -4,24 +4,24 @@ Cross page drag and drop: helper file

Drag image to the blue arrow but don't drop it yet. You should be returned back to start page.

- \ No newline at end of file + diff --git a/html/editing/dnd/navigation/helper-drag-selection-dont-drop.xhtml b/html/editing/dnd/navigation/helper-drag-selection-dont-drop.xhtml index 76712a6db390d1..db1edb81d6035f 100644 --- a/html/editing/dnd/navigation/helper-drag-selection-dont-drop.xhtml +++ b/html/editing/dnd/navigation/helper-drag-selection-dont-drop.xhtml @@ -4,24 +4,24 @@ Cross page drag and drop: helper file

Drag selection to the blue arrow but don't drop it yet. You should be returned back to start page.

- \ No newline at end of file + diff --git a/html/editing/dnd/navigation/helper-drop-here-reload.xhtml b/html/editing/dnd/navigation/helper-drop-here-reload.xhtml index 481692f79a2253..a0465036513392 100644 --- a/html/editing/dnd/navigation/helper-drop-here-reload.xhtml +++ b/html/editing/dnd/navigation/helper-drop-here-reload.xhtml @@ -4,22 +4,22 @@ Cross page drag and drop: helper file @@ -27,4 +27,4 @@ function addImage(event)

Drop image here, it should be copied to this page once you drop it here.

- \ No newline at end of file + diff --git a/html/editing/dnd/navigation/helper-drop-image-now.xhtml b/html/editing/dnd/navigation/helper-drop-image-now.xhtml index a2c5ce4dbe984e..ccd38b55882d69 100644 --- a/html/editing/dnd/navigation/helper-drop-image-now.xhtml +++ b/html/editing/dnd/navigation/helper-drop-image-now.xhtml @@ -4,16 +4,16 @@ Cross page drag and drop: helper file

Drop image now, it should be copied to this page once you drop it here.

- \ No newline at end of file + diff --git a/html/editing/dnd/navigation/helper-drop-link-now.xhtml b/html/editing/dnd/navigation/helper-drop-link-now.xhtml index f6a3c6c30f66c7..286b5586da5123 100644 --- a/html/editing/dnd/navigation/helper-drop-link-now.xhtml +++ b/html/editing/dnd/navigation/helper-drop-link-now.xhtml @@ -4,14 +4,14 @@ Cross page drag and drop: helper file

Drop link now, you should see word PASS once you drop it.

- \ No newline at end of file + diff --git a/html/editing/dnd/navigation/helper-drop-now.xhtml b/html/editing/dnd/navigation/helper-drop-now.xhtml index e391b342a12fbc..046c4bbd214735 100644 --- a/html/editing/dnd/navigation/helper-drop-now.xhtml +++ b/html/editing/dnd/navigation/helper-drop-now.xhtml @@ -4,10 +4,10 @@ Cross page drag and drop: helper file

Drop selection now, you should see word PASS once you drop it.

- \ No newline at end of file + diff --git a/html/editing/dnd/navigation/helper-drop-selection-here.xhtml b/html/editing/dnd/navigation/helper-drop-selection-here.xhtml index a88d34eb83c883..074f5b3d89d059 100644 --- a/html/editing/dnd/navigation/helper-drop-selection-here.xhtml +++ b/html/editing/dnd/navigation/helper-drop-selection-here.xhtml @@ -4,13 +4,13 @@ Cross page drag and drop: helper file @@ -18,4 +18,4 @@ div

Drop selection here, you should see word PASS once you drop it.

- \ No newline at end of file + diff --git a/html/editing/dnd/overlay/001.xhtml b/html/editing/dnd/overlay/001.xhtml index 58e2811c333d27..56924d7a7fa41f 100644 --- a/html/editing/dnd/overlay/001.xhtml +++ b/html/editing/dnd/overlay/001.xhtml @@ -4,12 +4,12 @@ Drag feedback overlay size

PNG green pixel

Try to drag green box above. Size of feedback overlay should match size of green box.

- \ No newline at end of file + diff --git a/html/editing/dnd/overlay/002.xhtml b/html/editing/dnd/overlay/002.xhtml index 4e30fa79026bf7..b8d2e8cb052159 100644 --- a/html/editing/dnd/overlay/002.xhtml +++ b/html/editing/dnd/overlay/002.xhtml @@ -4,17 +4,17 @@ Setting drag image during drag and drop

Drag me

Try to drag link above. You should see word PASS in feedback overlay.

- \ No newline at end of file + diff --git a/html/editing/dnd/overlay/003.xhtml b/html/editing/dnd/overlay/003.xhtml index 2683013ae757bf..344a7da7dba169 100644 --- a/html/editing/dnd/overlay/003.xhtml +++ b/html/editing/dnd/overlay/003.xhtml @@ -4,17 +4,17 @@ Adding element to datastore

Drag me

Try to drag link above. You should see word PASS in feedback overlay.

- \ No newline at end of file + diff --git a/html/editing/dnd/overlay/004.xhtml b/html/editing/dnd/overlay/004.xhtml index 1bb85f771e9e10..2ba73e3737a876 100644 --- a/html/editing/dnd/overlay/004.xhtml +++ b/html/editing/dnd/overlay/004.xhtml @@ -4,23 +4,23 @@ Resetting drag image on dragenter @@ -28,4 +28,4 @@ function resetImage(event)

Try to drag link above to the silver box. You should see word PASS not FAIL in feedback overlay all the time.

- \ No newline at end of file + diff --git a/html/editing/dnd/overlay/005.xhtml b/html/editing/dnd/overlay/005.xhtml index 4b9fd33d3a1da7..bf156f36fadf6d 100644 --- a/html/editing/dnd/overlay/005.xhtml +++ b/html/editing/dnd/overlay/005.xhtml @@ -4,23 +4,23 @@ Adding element to datastore on dragenter @@ -28,4 +28,4 @@ function resetImage(event)

Try to drag link above to the silver box. You should see word PASS not FAIL in feedback overlay all the time.

- \ No newline at end of file + diff --git a/html/editing/dnd/overlay/006.xhtml b/html/editing/dnd/overlay/006.xhtml index 1681adb064c916..4c0295bf9bdc1d 100644 --- a/html/editing/dnd/overlay/006.xhtml +++ b/html/editing/dnd/overlay/006.xhtml @@ -4,23 +4,23 @@ Resetting drag image on dragover @@ -28,4 +28,4 @@ function resetImage(event)

Try to drag link above to the silver box. You should see word PASS not FAIL in feedback overlay all the time.

- \ No newline at end of file + diff --git a/html/editing/dnd/overlay/007.xhtml b/html/editing/dnd/overlay/007.xhtml index c8461ea3ca86c6..d91aae5056293d 100644 --- a/html/editing/dnd/overlay/007.xhtml +++ b/html/editing/dnd/overlay/007.xhtml @@ -4,23 +4,23 @@ Adding element to datastore on dragover @@ -28,4 +28,4 @@ function resetImage(event)

Try to drag link above to the silver box. You should see word PASS not FAIL in feedback overlay all the time.

- \ No newline at end of file + diff --git a/html/editing/dnd/overlay/008.xhtml b/html/editing/dnd/overlay/008.xhtml index 9c94229fac804c..9d01553c541023 100644 --- a/html/editing/dnd/overlay/008.xhtml +++ b/html/editing/dnd/overlay/008.xhtml @@ -4,21 +4,21 @@ Resetting drag image on drag

Drag me

Try to drag link above. You should see word PASS not FAIL in feedback overlay all the time.

- \ No newline at end of file + diff --git a/html/editing/dnd/overlay/009.xhtml b/html/editing/dnd/overlay/009.xhtml index d9ffbcfcfa47d9..23c786e9a0133f 100644 --- a/html/editing/dnd/overlay/009.xhtml +++ b/html/editing/dnd/overlay/009.xhtml @@ -4,21 +4,21 @@ Adding element to datastore on drag

Drag me

Try to drag link above. You should see word PASS not FAIL in feedback overlay all the time.

- \ No newline at end of file + diff --git a/html/editing/dnd/overlay/010.xhtml b/html/editing/dnd/overlay/010.xhtml index 1401823ec6cfe7..5108bdd5e97a07 100644 --- a/html/editing/dnd/overlay/010.xhtml +++ b/html/editing/dnd/overlay/010.xhtml @@ -4,14 +4,14 @@ Resetting drag image on new drag @@ -19,4 +19,4 @@ function start(event)

Drag link above around the page drop it and try to drag again.

First time you drag it you should see word Odd in feedback overlay, second time overlay should change to Even.

- \ No newline at end of file + diff --git a/html/editing/dnd/overlay/011.xhtml b/html/editing/dnd/overlay/011.xhtml index d62be17f6dbb12..5fc17de1f441d0 100644 --- a/html/editing/dnd/overlay/011.xhtml +++ b/html/editing/dnd/overlay/011.xhtml @@ -4,14 +4,14 @@ Feedback image for circle
PNG green pixel

Try to drag green circle above. Feedback overlay should be a circle.

- \ No newline at end of file + diff --git a/html/editing/dnd/overlay/012.xhtml b/html/editing/dnd/overlay/012.xhtml index 5b069b99dd7001..49739bc2b730ea 100644 --- a/html/editing/dnd/overlay/012.xhtml +++ b/html/editing/dnd/overlay/012.xhtml @@ -4,22 +4,22 @@ Feedback image and border-radius
-
+

Try to drag green circle above. Feedback overlay should be a circle.

- \ No newline at end of file + diff --git a/html/editing/dnd/overlay/013.xhtml b/html/editing/dnd/overlay/013.xhtml index 17ba67d192758c..07ac6b8e5340bb 100644 --- a/html/editing/dnd/overlay/013.xhtml +++ b/html/editing/dnd/overlay/013.xhtml @@ -4,25 +4,25 @@ Feedback image and CSS transforms
-
+

Try to drag green rhomb above. Feedback overlay should not be rectangular.

- \ No newline at end of file + diff --git a/html/editing/dnd/overlay/014.xhtml b/html/editing/dnd/overlay/014.xhtml index c853fa9cb13592..8c07f69a1841d4 100644 --- a/html/editing/dnd/overlay/014.xhtml +++ b/html/editing/dnd/overlay/014.xhtml @@ -4,17 +4,17 @@ Setting drag image during drag and drop of selection

Drag me

Try to drag selection above. You should see word PASS in feedback overlay.

- \ No newline at end of file + diff --git a/html/editing/dnd/overlay/015.xhtml b/html/editing/dnd/overlay/015.xhtml index 63eb0f07e060d7..3e416524ee43ea 100644 --- a/html/editing/dnd/overlay/015.xhtml +++ b/html/editing/dnd/overlay/015.xhtml @@ -4,17 +4,17 @@ Adding element to datastore during drag and drop of selection

Drag me

Try to drag selection above. You should see word PASS in feedback overlay.

- \ No newline at end of file + diff --git a/html/editing/dnd/overlay/016.xhtml b/html/editing/dnd/overlay/016.xhtml index d60351b7421f7b..081ee91330091e 100644 --- a/html/editing/dnd/overlay/016.xhtml +++ b/html/editing/dnd/overlay/016.xhtml @@ -4,22 +4,22 @@ Setting drag image during drag and drop of PNG image

- PNG green pixel + PNG green pixel

Try to drag green box above. You should see word PASS in feedback overlay.

- \ No newline at end of file + diff --git a/html/editing/dnd/overlay/017.xhtml b/html/editing/dnd/overlay/017.xhtml index 6bae357d614ce9..7b1d9320ffacb7 100644 --- a/html/editing/dnd/overlay/017.xhtml +++ b/html/editing/dnd/overlay/017.xhtml @@ -4,22 +4,22 @@ Adding element to datastore during drag and drop of PNG image

- PNG green pixel + PNG green pixel

Try to drag green box above. You should see word PASS in feedback overlay.

- \ No newline at end of file + diff --git a/html/editing/dnd/overlay/018.xhtml b/html/editing/dnd/overlay/018.xhtml index bfde05660ba234..b82080a7fbb61e 100644 --- a/html/editing/dnd/overlay/018.xhtml +++ b/html/editing/dnd/overlay/018.xhtml @@ -4,17 +4,17 @@ Setting drag image during drag and drop of SVG image

SVG circle

Try to drag green circle above. You should see word PASS in feedback overlay.

- \ No newline at end of file + diff --git a/html/editing/dnd/overlay/019.xhtml b/html/editing/dnd/overlay/019.xhtml index 130e716d6f427f..325be4e8c35c0e 100644 --- a/html/editing/dnd/overlay/019.xhtml +++ b/html/editing/dnd/overlay/019.xhtml @@ -4,17 +4,17 @@ Adding element to datastore during drag and drop of SVG image

SVG circle

Try to drag green circle above. You should see word PASS in feedback overlay.

- \ No newline at end of file + diff --git a/html/editing/dnd/overlay/020.xhtml b/html/editing/dnd/overlay/020.xhtml index 80257d1d73dfed..f5d1a2636ddb69 100644 --- a/html/editing/dnd/overlay/020.xhtml +++ b/html/editing/dnd/overlay/020.xhtml @@ -4,21 +4,21 @@ Setting drag image during drag and drop of block element

Try to drag blue box above. You should see word PASS in feedback overlay.

- \ No newline at end of file + diff --git a/html/editing/dnd/overlay/021.xhtml b/html/editing/dnd/overlay/021.xhtml index d9400c711764e5..268ef17c8cb055 100644 --- a/html/editing/dnd/overlay/021.xhtml +++ b/html/editing/dnd/overlay/021.xhtml @@ -4,21 +4,21 @@ Adding element to datastore during drag and drop of block element

Try to drag blue box above. You should see word PASS in feedback overlay.

- \ No newline at end of file + diff --git a/html/editing/dnd/overlay/022.xhtml b/html/editing/dnd/overlay/022.xhtml index 8b8a0925a537eb..fedc0344edbe1d 100644 --- a/html/editing/dnd/overlay/022.xhtml +++ b/html/editing/dnd/overlay/022.xhtml @@ -4,13 +4,13 @@ Block element drag and drop: changing draggable attribute

You should not be able to drag blue box.

- \ No newline at end of file + diff --git a/html/editing/dnd/overlay/024.xhtml b/html/editing/dnd/overlay/024.xhtml index f514b208c7ac5e..a7a3eb3320a6f1 100644 --- a/html/editing/dnd/overlay/024.xhtml +++ b/html/editing/dnd/overlay/024.xhtml @@ -4,12 +4,12 @@ PNG image drag and drop: changing draggable attribute

PNG green pixel

You should not be able to drag green box.

- \ No newline at end of file + diff --git a/html/editing/dnd/overlay/025.xhtml b/html/editing/dnd/overlay/025.xhtml index 7bb8debd622269..ac2005377bcd12 100644 --- a/html/editing/dnd/overlay/025.xhtml +++ b/html/editing/dnd/overlay/025.xhtml @@ -4,12 +4,12 @@ SVG image drag and drop: changing draggable attribute

SVG circle

You should not be able to drag green circle.

- \ No newline at end of file + diff --git a/html/editing/dnd/overlay/026.xhtml b/html/editing/dnd/overlay/026.xhtml index 0793daaee521c9..8d4b07411dc8ee 100644 --- a/html/editing/dnd/overlay/026.xhtml +++ b/html/editing/dnd/overlay/026.xhtml @@ -4,29 +4,29 @@ Drag and drop of overlapping links: zero height

Try to drag link above. You should see word PASS not FAIL in feedback overlay all the time.

- \ No newline at end of file + diff --git a/html/editing/dnd/overlay/027.xhtml b/html/editing/dnd/overlay/027.xhtml index 7b2945ed90c2f4..e34e2e88f12024 100644 --- a/html/editing/dnd/overlay/027.xhtml +++ b/html/editing/dnd/overlay/027.xhtml @@ -4,28 +4,28 @@ Drag and drop of overlapping links: negative margin
- Link + Link

Try to drag link above. You should see word PASS not FAIL in feedback overlay all the time.

- \ No newline at end of file + diff --git a/html/editing/dnd/overlay/028.xhtml b/html/editing/dnd/overlay/028.xhtml index cba934b6d027b6..0afd8a70cc78fb 100644 --- a/html/editing/dnd/overlay/028.xhtml +++ b/html/editing/dnd/overlay/028.xhtml @@ -4,29 +4,29 @@ Drag and drop of overlapping links: relative position
- Link + Link

Try to drag link above. You should see word PASS not FAIL in feedback overlay all the time.

- \ No newline at end of file + diff --git a/html/editing/dnd/overlay/029.xhtml b/html/editing/dnd/overlay/029.xhtml index dd02b1cdaf970a..8741e8a374800a 100644 --- a/html/editing/dnd/overlay/029.xhtml +++ b/html/editing/dnd/overlay/029.xhtml @@ -4,33 +4,33 @@ Drag and drop of overlapping links: absolute position
- Link + Link

Try to drag link above. You should see word PASS not FAIL in feedback overlay all the time.

- \ No newline at end of file + diff --git a/html/editing/dnd/overlay/030.xhtml b/html/editing/dnd/overlay/030.xhtml index d86072dc852f2c..3dcfae69fc4c0f 100644 --- a/html/editing/dnd/overlay/030.xhtml +++ b/html/editing/dnd/overlay/030.xhtml @@ -4,33 +4,33 @@ Drag and drop of overlapping links: fixed position
- Link + Link

Try to drag link above. You should see word PASS not FAIL in feedback overlay all the time.

- \ No newline at end of file + diff --git a/html/editing/dnd/overlay/031.xhtml b/html/editing/dnd/overlay/031.xhtml index 72ed959725a0f1..009f19a9d14424 100644 --- a/html/editing/dnd/overlay/031.xhtml +++ b/html/editing/dnd/overlay/031.xhtml @@ -4,28 +4,28 @@ Drag and drop of overlapping images: negative margin
- - + +

Try to drag box above. You should see word PASS not FAIL in feedback overlay all the time.

- \ No newline at end of file + diff --git a/html/editing/dnd/overlay/032.xhtml b/html/editing/dnd/overlay/032.xhtml index 22ae40193af828..d041ec9d5f1491 100644 --- a/html/editing/dnd/overlay/032.xhtml +++ b/html/editing/dnd/overlay/032.xhtml @@ -4,32 +4,32 @@ Drag and drop of overlapping images: absolute position
- - + +

Try to drag box above. You should see word PASS not FAIL in feedback overlay all the time.

- \ No newline at end of file + diff --git a/html/editing/dnd/overlay/033.xhtml b/html/editing/dnd/overlay/033.xhtml index ba597bdcd60eea..b91f58181a1c30 100644 --- a/html/editing/dnd/overlay/033.xhtml +++ b/html/editing/dnd/overlay/033.xhtml @@ -4,32 +4,32 @@ Drag and drop of overlapping images: fixed position
- - + +

Try to drag box above. You should see word PASS not FAIL in feedback overlay all the time.

- \ No newline at end of file + diff --git a/html/editing/dnd/overlay/034.xhtml b/html/editing/dnd/overlay/034.xhtml index d6b64da7540e87..3fbbfcce32034a 100644 --- a/html/editing/dnd/overlay/034.xhtml +++ b/html/editing/dnd/overlay/034.xhtml @@ -4,15 +4,15 @@ Drag and drop of overlapping elements: negative margins @@ -26,4 +26,4 @@ div[draggable]

Only green areas should be draggable.

- \ No newline at end of file + diff --git a/html/editing/dnd/overlay/035.xhtml b/html/editing/dnd/overlay/035.xhtml index e0d26ce7d0d8a6..c2a13f7ea6e4fc 100644 --- a/html/editing/dnd/overlay/035.xhtml +++ b/html/editing/dnd/overlay/035.xhtml @@ -4,16 +4,16 @@ Drag and drop of floated overlapping elements: negative margins @@ -27,4 +27,4 @@ div[draggable]
- \ No newline at end of file + diff --git a/html/editing/dnd/overlay/036.xhtml b/html/editing/dnd/overlay/036.xhtml index 6ccb58fc217c32..94ba9f24e4466a 100644 --- a/html/editing/dnd/overlay/036.xhtml +++ b/html/editing/dnd/overlay/036.xhtml @@ -4,32 +4,32 @@ Drag feedback when multiple elements are added to dragstore

Try to drag green box below. Feedback overlay should include all three boxes when you drag green one.

-
-
-
+
+
+
- \ No newline at end of file + diff --git a/html/editing/dnd/overlay/038.xhtml b/html/editing/dnd/overlay/038.xhtml index db3f747ade594e..d146ecf8abdba2 100644 --- a/html/editing/dnd/overlay/038.xhtml +++ b/html/editing/dnd/overlay/038.xhtml @@ -4,20 +4,20 @@ Resetting drag image after element was added to dragstore

Drag me

Try to drag link above. You should see word PASS not FAIL in feedback overlay.

- \ No newline at end of file + diff --git a/html/editing/dnd/overlay/039.xhtml b/html/editing/dnd/overlay/039.xhtml index 500f5dabe71945..49ce01c91231e0 100644 --- a/html/editing/dnd/overlay/039.xhtml +++ b/html/editing/dnd/overlay/039.xhtml @@ -4,20 +4,20 @@ Resetting drag image during drag and drop of link

Drag me

Try to drag link above. You should see word PASS not FAIL in feedback overlay.

- \ No newline at end of file + diff --git a/html/editing/dnd/overlay/040.xhtml b/html/editing/dnd/overlay/040.xhtml index 73ab31aacd17f8..0bad3d2f655a69 100644 --- a/html/editing/dnd/overlay/040.xhtml +++ b/html/editing/dnd/overlay/040.xhtml @@ -4,28 +4,28 @@ Cursor position and drag image

Drag me

Try to drag link above. Feedback overlay should be based on canvas below and mouse pointer should be anchored in its center.

- Canvas + Canvas

- \ No newline at end of file + diff --git a/html/editing/dnd/overlay/041.xhtml b/html/editing/dnd/overlay/041.xhtml index 2b1bc06369b04d..73e8c4dc3b7c53 100644 --- a/html/editing/dnd/overlay/041.xhtml +++ b/html/editing/dnd/overlay/041.xhtml @@ -4,14 +4,14 @@ Cursor position and drag image after new element is added to dragstore

- Canvas - Canvas + Canvas + Canvas

Try to drag canvas above. Feedback overlay should include both canvases and mouse pointer should be anchored in dragged ones center.

- \ No newline at end of file + diff --git a/html/editing/dnd/overlay/042.html b/html/editing/dnd/overlay/042.html index 8a7db0e5dbc06e..8f3060b0dc3f71 100644 --- a/html/editing/dnd/overlay/042.html +++ b/html/editing/dnd/overlay/042.html @@ -31,22 +31,22 @@ var passed = true, orange = document.getElementsByTagName('div')[1], blue = document.getElementsByTagName('div')[0], fuchsia = document.getElementsByTagName('div')[2]; orange.ondragstart = function(e) { - e.dataTransfer.effectAllowed = 'copy'; + e.dataTransfer.effectAllowed = 'copy'; e.dataTransfer.setData('text/plain', 'PASS'); }; blue.ondragstart = function(e) { - e.dataTransfer.effectAllowed = 'copy'; + e.dataTransfer.effectAllowed = 'copy'; e.dataTransfer.setData('text/plain', 'FAIL'); }; fuchsia.ondragenter = fuchsia.ondragover = function(e) { - e.preventDefault(); + e.preventDefault(); e.dataTransfer.dropEffect = 'copy'; }; - fuchsia.ondrop = function(e) { - //it's possible this could get called twice if the browser drags both items, so it uses the "passed" variable to make sure - //that if blue gets dropped first, it remains false when orange then gets dropped - passed = passed && ( e.dataTransfer.getData('text/plain') == 'PASS' ); - document.getElementsByTagName('p')[0].innerHTML = passed ? 'PASS' : 'FAIL'; + fuchsia.ondrop = function(e) { + //it's possible this could get called twice if the browser drags both items, so it uses the "passed" variable to make sure + //that if blue gets dropped first, it remains false when orange then gets dropped + passed = passed && ( e.dataTransfer.getData('text/plain') == 'PASS' ); + document.getElementsByTagName('p')[0].innerHTML = passed ? 'PASS' : 'FAIL'; }; }; diff --git a/html/editing/dnd/overlay/043.html b/html/editing/dnd/overlay/043.html index 3b8093244d8a12..01f9933c7083db 100644 --- a/html/editing/dnd/overlay/043.html +++ b/html/editing/dnd/overlay/043.html @@ -35,27 +35,27 @@ var passed = true, orange = document.getElementsByTagName('div')[1], blue = document.getElementsByTagName('div')[0], fuchsia = document.getElementsByTagName('div')[2]; orange.ondragstart = function(e) { - e.dataTransfer.effectAllowed = 'copy'; + e.dataTransfer.effectAllowed = 'copy'; e.dataTransfer.setData('text/plain', 'child targeted'); }; blue.ondragstart = function(e) { - if( e.target == this ) { - e.dataTransfer.effectAllowed = 'copy'; - e.dataTransfer.setData('text/plain', 'parent targeted'); - } else { - e.dataTransfer.setData('extra/data', 'parent bubble'); - } + if( e.target == this ) { + e.dataTransfer.effectAllowed = 'copy'; + e.dataTransfer.setData('text/plain', 'parent targeted'); + } else { + e.dataTransfer.setData('extra/data', 'parent bubble'); + } }; fuchsia.ondragenter = fuchsia.ondragover = function(e) { - e.preventDefault(); + e.preventDefault(); e.dataTransfer.dropEffect = 'copy'; }; - fuchsia.ondrop = function(e) { - e.preventDefault(); - //it's possible this could get called twice if the browser drags both items, so it uses the "passed" variable to make sure - //that if blue gets dropped first, it remains false when orange then gets dropped - passed = passed && ( e.dataTransfer.getData('text/plain') == 'child targeted' ) && ( e.dataTransfer.getData('extra/data') == 'parent bubble' ); - document.getElementsByTagName('p')[0].innerHTML = passed ? 'PASS' : 'FAIL'; + fuchsia.ondrop = function(e) { + e.preventDefault(); + //it's possible this could get called twice if the browser drags both items, so it uses the "passed" variable to make sure + //that if blue gets dropped first, it remains false when orange then gets dropped + passed = passed && ( e.dataTransfer.getData('text/plain') == 'child targeted' ) && ( e.dataTransfer.getData('extra/data') == 'parent bubble' ); + document.getElementsByTagName('p')[0].innerHTML = passed ? 'PASS' : 'FAIL'; }; }; diff --git a/html/editing/dnd/overlay/044.html b/html/editing/dnd/overlay/044.html index a24ca2b7b38799..a3211d7ecf6634 100644 --- a/html/editing/dnd/overlay/044.html +++ b/html/editing/dnd/overlay/044.html @@ -24,17 +24,17 @@ var orange = document.getElementsByTagName('div')[0], fuchsia = document.getElementsByTagName('div')[1]; orange.ondragstart = function(e) { - e.dataTransfer.effectAllowed = 'copy'; + e.dataTransfer.effectAllowed = 'copy'; e.dataTransfer.setData('extra/data', 'parent bubble'); }; fuchsia.ondragenter = fuchsia.ondragover = function(e) { - e.preventDefault(); + e.preventDefault(); e.dataTransfer.dropEffect = 'copy'; }; - fuchsia.ondrop = function(e) { - e.preventDefault(); - var passed = ( e.dataTransfer.getData('text/plain') == 'text dummy' ) && ( e.dataTransfer.getData('extra/data') == 'parent bubble' ); - document.getElementsByTagName('p')[0].innerHTML = passed ? 'PASS' : 'FAIL'; + fuchsia.ondrop = function(e) { + e.preventDefault(); + var passed = ( e.dataTransfer.getData('text/plain') == 'text dummy' ) && ( e.dataTransfer.getData('extra/data') == 'parent bubble' ); + document.getElementsByTagName('p')[0].innerHTML = passed ? 'PASS' : 'FAIL'; }; var range = document.createRange(); range.selectNodeContents(orange); diff --git a/html/editing/dnd/overlay/045.html b/html/editing/dnd/overlay/045.html index 80cd27c2835421..0b5c1d7bb39d95 100644 --- a/html/editing/dnd/overlay/045.html +++ b/html/editing/dnd/overlay/045.html @@ -32,16 +32,16 @@ var orange = document.getElementsByTagName('div')[0], fuchsia = document.getElementsByTagName('div')[1]; orange.ondragstart = function(e) { - e.dataTransfer.effectAllowed = 'copy'; + e.dataTransfer.effectAllowed = 'copy'; e.dataTransfer.setData('text/plain', 'FAIL'); }; fuchsia.ondragenter = fuchsia.ondragover = function(e) { - e.preventDefault(); + e.preventDefault(); e.dataTransfer.dropEffect = 'copy'; }; - fuchsia.ondrop = function(e) { - e.preventDefault(); - document.getElementsByTagName('p')[0].innerHTML = 'FAIL'; + fuchsia.ondrop = function(e) { + e.preventDefault(); + document.getElementsByTagName('p')[0].innerHTML = 'FAIL'; }; }; diff --git a/html/editing/dnd/overlay/046.html b/html/editing/dnd/overlay/046.html index 89d67cd7bf00b6..2f6501a9a919fe 100644 --- a/html/editing/dnd/overlay/046.html +++ b/html/editing/dnd/overlay/046.html @@ -32,16 +32,16 @@ var orange = document.getElementsByTagName('div')[0], fuchsia = document.getElementsByTagName('div')[1]; orange.ondragstart = function(e) { - e.dataTransfer.effectAllowed = 'copy'; + e.dataTransfer.effectAllowed = 'copy'; e.dataTransfer.setData('text/plain', 'FAIL'); }; fuchsia.ondragenter = fuchsia.ondragover = function(e) { - e.preventDefault(); + e.preventDefault(); e.dataTransfer.dropEffect = 'copy'; }; - fuchsia.ondrop = function(e) { - e.preventDefault(); - document.getElementsByTagName('p')[0].innerHTML = 'FAIL'; + fuchsia.ondrop = function(e) { + e.preventDefault(); + document.getElementsByTagName('p')[0].innerHTML = 'FAIL'; }; }; diff --git a/html/editing/dnd/overlay/047.html b/html/editing/dnd/overlay/047.html index 10f167a871cd46..eea574c4e8bae6 100644 --- a/html/editing/dnd/overlay/047.html +++ b/html/editing/dnd/overlay/047.html @@ -32,16 +32,16 @@ var orange = document.getElementsByTagName('div')[0], fuchsia = document.getElementsByTagName('div')[1]; orange.ondragstart = function(e) { - e.dataTransfer.effectAllowed = 'copy'; + e.dataTransfer.effectAllowed = 'copy'; e.dataTransfer.setData('text/plain', 'FAIL'); }; fuchsia.ondragenter = fuchsia.ondragover = function(e) { - e.preventDefault(); + e.preventDefault(); e.dataTransfer.dropEffect = 'copy'; }; - fuchsia.ondrop = function(e) { - e.preventDefault(); - document.getElementsByTagName('p')[0].innerHTML = 'FAIL'; + fuchsia.ondrop = function(e) { + e.preventDefault(); + document.getElementsByTagName('p')[0].innerHTML = 'FAIL'; }; }; diff --git a/html/editing/dnd/overlay/048.html b/html/editing/dnd/overlay/048.html index d319fa27239e29..c46da83b2cdc91 100644 --- a/html/editing/dnd/overlay/048.html +++ b/html/editing/dnd/overlay/048.html @@ -32,16 +32,16 @@ var orange = document.getElementsByTagName('div')[0], fuchsia = document.getElementsByTagName('div')[1]; orange.ondragstart = function(e) { - e.dataTransfer.effectAllowed = 'copy'; + e.dataTransfer.effectAllowed = 'copy'; e.dataTransfer.setData('text/plain', 'FAIL'); }; fuchsia.ondragenter = fuchsia.ondragover = function(e) { - e.preventDefault(); + e.preventDefault(); e.dataTransfer.dropEffect = 'copy'; }; - fuchsia.ondrop = function(e) { - e.preventDefault(); - document.getElementsByTagName('p')[0].innerHTML = 'FAIL'; + fuchsia.ondrop = function(e) { + e.preventDefault(); + document.getElementsByTagName('p')[0].innerHTML = 'FAIL'; }; }; diff --git a/html/editing/dnd/overlay/049.xhtml b/html/editing/dnd/overlay/049.xhtml index 4f63d6ebaa927b..70c57acea7db66 100644 --- a/html/editing/dnd/overlay/049.xhtml +++ b/html/editing/dnd/overlay/049.xhtml @@ -4,14 +4,14 @@ Drag feedback for partly visible image: negative margins

PNG green pixel

Try to drag green box above. Feedback overlay should be green square.

- \ No newline at end of file + diff --git a/html/editing/dnd/overlay/050.xhtml b/html/editing/dnd/overlay/050.xhtml index 112fbd0a78c01f..28f218f813482c 100644 --- a/html/editing/dnd/overlay/050.xhtml +++ b/html/editing/dnd/overlay/050.xhtml @@ -4,18 +4,18 @@ Drag feedback for partly visible image: relative position

PNG green pixel

Try to drag green box above. Feedback overlay should be green square.

- \ No newline at end of file + diff --git a/html/editing/dnd/overlay/051.xhtml b/html/editing/dnd/overlay/051.xhtml index befd07790988ee..fc85f014803f2f 100644 --- a/html/editing/dnd/overlay/051.xhtml +++ b/html/editing/dnd/overlay/051.xhtml @@ -4,18 +4,18 @@ Drag feedback for partly visible image: absolute position

PNG green pixel

Try to drag green box above. Feedback overlay should be green square.

- \ No newline at end of file + diff --git a/html/editing/dnd/overlay/052.xhtml b/html/editing/dnd/overlay/052.xhtml index 36e9e704c8fc78..af40bf20b23bd8 100644 --- a/html/editing/dnd/overlay/052.xhtml +++ b/html/editing/dnd/overlay/052.xhtml @@ -4,18 +4,18 @@ Drag feedback for partly visible image: fixed position

PNG green pixel

Try to drag green box above. Feedback overlay should be green square.

- \ No newline at end of file + diff --git a/html/editing/dnd/overlay/053.xhtml b/html/editing/dnd/overlay/053.xhtml index b66a6e6f6edd37..2d427fdcc2a552 100644 --- a/html/editing/dnd/overlay/053.xhtml +++ b/html/editing/dnd/overlay/053.xhtml @@ -4,14 +4,14 @@ Drag feedback for partly visible element: negative margins

Try to drag blue box above. Feedback overlay should be square.

- \ No newline at end of file + diff --git a/html/editing/dnd/overlay/054.xhtml b/html/editing/dnd/overlay/054.xhtml index 2b34d647e1554c..f46c325118079f 100644 --- a/html/editing/dnd/overlay/054.xhtml +++ b/html/editing/dnd/overlay/054.xhtml @@ -4,16 +4,16 @@ Drag feedback for partly visible element: relative position

Try to drag blue box above. Feedback overlay should be square.

- \ No newline at end of file + diff --git a/html/editing/dnd/overlay/055.xhtml b/html/editing/dnd/overlay/055.xhtml index 93df7ebc36ec62..d693a60b9be9eb 100644 --- a/html/editing/dnd/overlay/055.xhtml +++ b/html/editing/dnd/overlay/055.xhtml @@ -4,18 +4,18 @@ Drag feedback for partly visible element: absolute position

Try to drag blue box above. Feedback overlay should be square.

- \ No newline at end of file + diff --git a/html/editing/dnd/overlay/056.xhtml b/html/editing/dnd/overlay/056.xhtml index 838d43891789a6..77e86f97fbcdbd 100644 --- a/html/editing/dnd/overlay/056.xhtml +++ b/html/editing/dnd/overlay/056.xhtml @@ -4,18 +4,18 @@ Drag feedback for partly visible element: fixed position

Try to drag blue box above. Feedback overlay should be square.

- \ No newline at end of file + diff --git a/html/editing/dnd/overlay/057.xhtml b/html/editing/dnd/overlay/057.xhtml index 5f5805b2eb7f90..0e22142f1961c8 100644 --- a/html/editing/dnd/overlay/057.xhtml +++ b/html/editing/dnd/overlay/057.xhtml @@ -4,17 +4,17 @@ Drag feedback for partly visible float: negative margins

Try to drag blue box above. Feedback overlay should be square.

- \ No newline at end of file + diff --git a/html/editing/dnd/overlay/058.html b/html/editing/dnd/overlay/058.html index 560c6fdfefc937..2fa4b60fb6c75f 100644 --- a/html/editing/dnd/overlay/058.html +++ b/html/editing/dnd/overlay/058.html @@ -2,28 +2,28 @@ drag & drop - dragging elements by children that extend out of them
-

Drag the orange square sideways. Pass if the drag placeholder shows that both the blue and orange squares are being dragged.

\ No newline at end of file +

Drag the orange square sideways. Pass if the drag placeholder shows that both the blue and orange squares are being dragged.

diff --git a/html/editing/dnd/overlay/059.html b/html/editing/dnd/overlay/059.html index db6572033c60a2..0afb72e029ed28 100644 --- a/html/editing/dnd/overlay/059.html +++ b/html/editing/dnd/overlay/059.html @@ -2,19 +2,19 @@ drag & drop - dragging elements by text that extends out of them
                                                                                          Drag me
-

Drag the above text sideways. Pass if the drag placeholder shows that both the text and blue square are being dragged.

\ No newline at end of file +

Drag the above text sideways. Pass if the drag placeholder shows that both the text and blue square are being dragged.

diff --git a/html/editing/dnd/overlay/060.html b/html/editing/dnd/overlay/060.html index b8d169f0e64378..0a90cadd4a3ac6 100644 --- a/html/editing/dnd/overlay/060.html +++ b/html/editing/dnd/overlay/060.html @@ -2,29 +2,29 @@ drag & drop - dragging elements by children that are positioned outside them
-

Drag the orange square sideways. Pass if the drag placeholder shows that both the blue and orange squares are being dragged.

\ No newline at end of file +

Drag the orange square sideways. Pass if the drag placeholder shows that both the blue and orange squares are being dragged.

diff --git a/html/editing/dnd/overlay/061.html b/html/editing/dnd/overlay/061.html index b1665171f08a66..3081676bf09d5b 100644 --- a/html/editing/dnd/overlay/061.html +++ b/html/editing/dnd/overlay/061.html @@ -2,29 +2,29 @@ drag & drop - dragging elements by overflowing children that are positioned outside them
                                   Drag me
-

Drag the above text sideways. Pass if the drag placeholder shows that the text and both the yellow and blue squares are being dragged.

\ No newline at end of file +

Drag the above text sideways. Pass if the drag placeholder shows that the text and both the yellow and blue squares are being dragged.

diff --git a/html/editing/dnd/overlay/062.html b/html/editing/dnd/overlay/062.html index 43fc8342d0bd32..d48577e451e979 100644 --- a/html/editing/dnd/overlay/062.html +++ b/html/editing/dnd/overlay/062.html @@ -1,8 +1,8 @@ - - Selection spanning hidden elements - - - + + + -

FAILPASS_drag_THIS_text_PASSFAIL

-

-

Drag the selected text into the input box. The drag placeholder should match the visible text that is being dragged. When dropped, either "dragtext" or "PASS_drag_THIS_text_PASS" should appear in the input.

+

FAILPASS_drag_THIS_text_PASSFAIL

+

+

Drag the selected text into the input box. The drag placeholder should match the visible text that is being dragged. When dropped, either "dragtext" or "PASS_drag_THIS_text_PASS" should appear in the input.

- - \ No newline at end of file + + diff --git a/html/editing/dnd/platform/alttab.html b/html/editing/dnd/platform/alttab.html index c3375d3d840289..b03c5dfd6abb50 100644 --- a/html/editing/dnd/platform/alttab.html +++ b/html/editing/dnd/platform/alttab.html @@ -1,12 +1,12 @@ - - drag and drop - alt+tab while dragging - - + + drag and drop - alt+tab while dragging + + -

This test is only relevant on platforms where alt+tab (or some equivalent) switches applications.

-

Ensure that at least one other application is open. Select this text. Drag the selection downwards a little, then alt+tab (or your system's equivalent) to the other application. Pass if the drag placeholder continues to follow the mouse/pointing device. Release the drag. Pass if the drag placeholder disappears.

+

This test is only relevant on platforms where alt+tab (or some equivalent) switches applications.

+

Ensure that at least one other application is open. Select this text. Drag the selection downwards a little, then alt+tab (or your system's equivalent) to the other application. Pass if the drag placeholder continues to follow the mouse/pointing device. Release the drag. Pass if the drag placeholder disappears.

- - \ No newline at end of file + + diff --git a/html/editing/dnd/platform/cancel-middle-click.html b/html/editing/dnd/platform/cancel-middle-click.html index 4136e2be711365..40fcff41fc1d50 100644 --- a/html/editing/dnd/platform/cancel-middle-click.html +++ b/html/editing/dnd/platform/cancel-middle-click.html @@ -1,50 +1,50 @@ - - Drag and drop with middle click - - - - -
-
-
- -
    -
  1. Drag the orange square over the blue square.
  2. -
  3. Without releasing the drag, click the middle mouse button.
  4. -
  5. If the platform's normal behaviour is to cancel a drag (eg. Windows and Unix+KDE), then the drag should be cancelled;
      -
    • The drag placeholder should disappear, and the cursor should return to the normal mouse cursor.
    • -
    • Move the mouse over the pink square and release the drag. The mouse cursor should remain the normal mouse cursor.
    • -
  6. -
  7. If the platform's normal behaviour is not to cancel a drag (eg. Mac and Unix+Gnome), then the drag should not be cancelled;
      -
    • The drag placeholder should not disappear, and the cursor should be the no-drop cursor.
    • -
    • Move the mouse over the pink square and release the drag. The drag placeholder should disappear, and the cursor should return to the normal mouse cursor.
    • -
  8. -
  9. Fail in either case if an inappropriate middle click function begins (eg. paste-and-go).
  10. -
- - \ No newline at end of file + + + +
+
+
+ +
    +
  1. Drag the orange square over the blue square.
  2. +
  3. Without releasing the drag, click the middle mouse button.
  4. +
  5. If the platform's normal behaviour is to cancel a drag (eg. Windows and Unix+KDE), then the drag should be cancelled;
      +
    • The drag placeholder should disappear, and the cursor should return to the normal mouse cursor.
    • +
    • Move the mouse over the pink square and release the drag. The mouse cursor should remain the normal mouse cursor.
    • +
  6. +
  7. If the platform's normal behaviour is not to cancel a drag (eg. Mac and Unix+Gnome), then the drag should not be cancelled;
      +
    • The drag placeholder should not disappear, and the cursor should be the no-drop cursor.
    • +
    • Move the mouse over the pink square and release the drag. The drag placeholder should disappear, and the cursor should return to the normal mouse cursor.
    • +
  8. +
  9. Fail in either case if an inappropriate middle click function begins (eg. paste-and-go).
  10. +
+ + diff --git a/html/editing/dnd/platform/cancel-right-click.html b/html/editing/dnd/platform/cancel-right-click.html index 85416da52fc1a1..e5159716f4f3d1 100644 --- a/html/editing/dnd/platform/cancel-right-click.html +++ b/html/editing/dnd/platform/cancel-right-click.html @@ -1,50 +1,50 @@ - - Drag and drop with right click - - - - -
-
-
- -
    -
  1. Drag the orange square over the blue square.
  2. -
  3. Without releasing the drag, click the right mouse button.
  4. -
  5. If the platform's normal behaviour is to cancel a drag (eg. Windows and Unix+KDE), then the drag should be cancelled;
      -
    • The drag placeholder should disappear, and the cursor should return to the normal mouse cursor.
    • -
    • Move the mouse over the pink square and release the drag. The mouse cursor should remain the normal mouse cursor.
    • -
  6. -
  7. If the platform's normal behaviour is not to cancel a drag (eg. Mac and Unix+Gnome), then the drag should not be cancelled;
      -
    • The drag placeholder should not disappear, and the cursor should be the no-drop cursor.
    • -
    • Move the mouse over the pink square and release the drag. The drag placeholder should disappear, and the cursor should return to the normal mouse cursor.
    • -
  8. -
  9. Fail in either case if an inappropriate right click function begins (eg. context menu opens).
  10. -
- - \ No newline at end of file + + + +
+
+
+ +
    +
  1. Drag the orange square over the blue square.
  2. +
  3. Without releasing the drag, click the right mouse button.
  4. +
  5. If the platform's normal behaviour is to cancel a drag (eg. Windows and Unix+KDE), then the drag should be cancelled;
      +
    • The drag placeholder should disappear, and the cursor should return to the normal mouse cursor.
    • +
    • Move the mouse over the pink square and release the drag. The mouse cursor should remain the normal mouse cursor.
    • +
  6. +
  7. If the platform's normal behaviour is not to cancel a drag (eg. Mac and Unix+Gnome), then the drag should not be cancelled;
      +
    • The drag placeholder should not disappear, and the cursor should be the no-drop cursor.
    • +
    • Move the mouse over the pink square and release the drag. The drag placeholder should disappear, and the cursor should return to the normal mouse cursor.
    • +
  8. +
  9. Fail in either case if an inappropriate right click function begins (eg. context menu opens).
  10. +
+ + diff --git a/html/editing/dnd/platform/close-drag-001.html b/html/editing/dnd/platform/close-drag-001.html index ed275943c453b4..fc8db3db7d73ab 100644 --- a/html/editing/dnd/platform/close-drag-001.html +++ b/html/editing/dnd/platform/close-drag-001.html @@ -6,19 +6,19 @@

Open this page in a popup.

    -
  • Drag this text downwards, and do not release the drag.
  • -
  • The browser may optionally cancel the drag. The browser may optionally close the popup. Fail if the drag placeholder gets stuck. Fail if the browser crashes. Fail if anything horrible happens. Fail if your pet kitten gets sick.
  • -
  • Release the drag.
  • -
  • Fail if the drag placeholder gets stuck. Fail if the browser crashes.
  • +
  • Drag this text downwards, and do not release the drag.
  • +
  • The browser may optionally cancel the drag. The browser may optionally close the popup. Fail if the drag placeholder gets stuck. Fail if the browser crashes. Fail if anything horrible happens. Fail if your pet kitten gets sick.
  • +
  • Release the drag.
  • +
  • Fail if the drag placeholder gets stuck. Fail if the browser crashes.
- \ No newline at end of file + diff --git a/html/editing/dnd/platform/close-drag-002.html b/html/editing/dnd/platform/close-drag-002.html index 3ca09e8b54ff41..35e8a5a5370f47 100644 --- a/html/editing/dnd/platform/close-drag-002.html +++ b/html/editing/dnd/platform/close-drag-002.html @@ -6,20 +6,20 @@

Open this page in a popup.

    -
  • Close all pages/browser windows except the popup.
  • -
  • Drag this text downwards, and do not release the drag.
  • -
  • The browser may optionally cancel the drag. The browser may optionally close the popup/window. Fail if the drag placeholder gets stuck. Fail if the browser crashes. Fail if anything horrible happens. Fail if zombie Michael Jackson resurects.
  • -
  • Release the drag.
  • -
  • Fail if the drag placeholder gets stuck. Fail if the browser crashes.
  • +
  • Close all pages/browser windows except the popup.
  • +
  • Drag this text downwards, and do not release the drag.
  • +
  • The browser may optionally cancel the drag. The browser may optionally close the popup/window. Fail if the drag placeholder gets stuck. Fail if the browser crashes. Fail if anything horrible happens. Fail if zombie Michael Jackson resurects.
  • +
  • Release the drag.
  • +
  • Fail if the drag placeholder gets stuck. Fail if the browser crashes.
- \ No newline at end of file + diff --git a/html/editing/dnd/platform/close-drag-003.html b/html/editing/dnd/platform/close-drag-003.html index 6d67ac1feb136b..7a118a2208bd02 100644 --- a/html/editing/dnd/platform/close-drag-003.html +++ b/html/editing/dnd/platform/close-drag-003.html @@ -6,23 +6,23 @@

Open this page in a popup.

    -
  • Close all pages/browser windows except the popup.
  • -
  • Ensure that the browser window is not maximised.
  • -
  • Quickly drag this text out of the browser window (not over the taskbar), and do not release the drag.
  • -
  • The browser may optionally cancel the drag. The browser may optionally close the popup/window. Fail if the drag placeholder gets stuck. Fail if the browser crashes. Fail if anything horrible happens. Fail if your grandmother does not invite you over for Christmas.
  • -
  • After 2 seconds, fail if the address field shows that the page has closed, but it is still visibly rendered.
  • -
  • Continue dragging back into the browser window (if it is still open).
  • -
  • Release the drag.
  • -
  • Fail if the drag placeholder gets stuck. Fail if the browser crashes or hangs.
  • +
  • Close all pages/browser windows except the popup.
  • +
  • Ensure that the browser window is not maximised.
  • +
  • Quickly drag this text out of the browser window (not over the taskbar), and do not release the drag.
  • +
  • The browser may optionally cancel the drag. The browser may optionally close the popup/window. Fail if the drag placeholder gets stuck. Fail if the browser crashes. Fail if anything horrible happens. Fail if your grandmother does not invite you over for Christmas.
  • +
  • After 2 seconds, fail if the address field shows that the page has closed, but it is still visibly rendered.
  • +
  • Continue dragging back into the browser window (if it is still open).
  • +
  • Release the drag.
  • +
  • Fail if the drag placeholder gets stuck. Fail if the browser crashes or hangs.
- \ No newline at end of file + diff --git a/html/editing/dnd/platform/close-drag-004.html b/html/editing/dnd/platform/close-drag-004.html index 49337e2b853342..c93f5a3508810f 100644 --- a/html/editing/dnd/platform/close-drag-004.html +++ b/html/editing/dnd/platform/close-drag-004.html @@ -6,17 +6,17 @@

Open this page in a new tab.

    -
  • Drag this text downwards, and do not release the drag.
  • -
  • Use a keyboard shortcut (eg. Ctrl+W on Windows) to close the tab.
  • -
  • The browser may optionally cancel the drag. The browser may optionally close the tab. Fail if the drag placeholder gets stuck. Fail if the browser crashes.
  • +
  • Drag this text downwards, and do not release the drag.
  • +
  • Use a keyboard shortcut (eg. Ctrl+W on Windows) to close the tab.
  • +
  • The browser may optionally cancel the drag. The browser may optionally close the tab. Fail if the drag placeholder gets stuck. Fail if the browser crashes.
- \ No newline at end of file + diff --git a/html/editing/dnd/platform/close-drag-005.html b/html/editing/dnd/platform/close-drag-005.html index 3f6b479af07741..1a364113a3933a 100644 --- a/html/editing/dnd/platform/close-drag-005.html +++ b/html/editing/dnd/platform/close-drag-005.html @@ -3,14 +3,14 @@
    -
  • Drag this text downwards, and do not release the drag.
  • -
  • Use a keyboard shortcut (eg. Alt+F4 on Windows) to close the window.
  • -
  • The browser may optionally cancel the drag. The browser may optionally close the window. Fail if the drag placeholder gets stuck. Fail if the browser crashes.
  • +
  • Drag this text downwards, and do not release the drag.
  • +
  • Use a keyboard shortcut (eg. Alt+F4 on Windows) to close the window.
  • +
  • The browser may optionally cancel the drag. The browser may optionally close the window. Fail if the drag placeholder gets stuck. Fail if the browser crashes.
- \ No newline at end of file + diff --git a/html/editing/dnd/platform/close-drag-006.html b/html/editing/dnd/platform/close-drag-006.html index 4e00a847242435..12f95349e8f3d8 100644 --- a/html/editing/dnd/platform/close-drag-006.html +++ b/html/editing/dnd/platform/close-drag-006.html @@ -6,20 +6,20 @@

Open this page in a popup.

    -
  • Ensure the browser window is not maximised.
  • -
  • Quickly drag this text upwards out of the browser window, and do not release the drag.
  • -
  • This tab should close after a couple of seconds.
  • -
  • Dragging downwards over the browser window's title bar, then release the drag.
  • -
  • Fail if the drag placeholder gets stuck. Fail if the browser crashes.
  • +
  • Ensure the browser window is not maximised.
  • +
  • Quickly drag this text upwards out of the browser window, and do not release the drag.
  • +
  • This tab should close after a couple of seconds.
  • +
  • Dragging downwards over the browser window's title bar, then release the drag.
  • +
  • Fail if the drag placeholder gets stuck. Fail if the browser crashes.
- \ No newline at end of file + diff --git a/html/editing/dnd/platform/cursors/003.html b/html/editing/dnd/platform/cursors/003.html index a1a5c491871f8d..3e4407ff69a287 100644 --- a/html/editing/dnd/platform/cursors/003.html +++ b/html/editing/dnd/platform/cursors/003.html @@ -23,7 +23,7 @@ window.onload = function() { var orange = document.getElementsByTagName('div')[0]; orange.ondragstart = function(e) { - e.dataTransfer.effectAllowed = 'copy'; + e.dataTransfer.effectAllowed = 'copy'; e.dataTransfer.setData('Text', 'dummy text'); }; }; diff --git a/html/editing/dnd/platform/cursors/004.html b/html/editing/dnd/platform/cursors/004.html index 640ad37caa45e0..8bd8dbfd5e7347 100644 --- a/html/editing/dnd/platform/cursors/004.html +++ b/html/editing/dnd/platform/cursors/004.html @@ -26,7 +26,7 @@ window.onload = function() { var orange = document.getElementsByTagName('div')[0]; orange.ondragstart = function(e) { - e.dataTransfer.effectAllowed = 'copy'; + e.dataTransfer.effectAllowed = 'copy'; e.dataTransfer.setData('Text', 'dummy text'); }; }; diff --git a/html/editing/dnd/platform/cursors/005.html b/html/editing/dnd/platform/cursors/005.html index 9aa78f25a338ac..689adcaee02f77 100644 --- a/html/editing/dnd/platform/cursors/005.html +++ b/html/editing/dnd/platform/cursors/005.html @@ -23,15 +23,15 @@ window.onload = function() { var orange = document.getElementsByTagName('div')[0], blue = document.getElementsByTagName('div')[1]; orange.ondragstart = function(e) { - e.dataTransfer.effectAllowed = 'copy'; + e.dataTransfer.effectAllowed = 'copy'; e.dataTransfer.setData('Text', 'dummy text'); }; blue.ondragenter = blue.ondragover = function(e) { - e.preventDefault(); - e.dataTransfer.dropEffect = 'none'; + e.preventDefault(); + e.dataTransfer.dropEffect = 'none'; }; blue.ondrop = function(e) { - e.preventDefault(); + e.preventDefault(); }; }; diff --git a/html/editing/dnd/platform/cursors/006.html b/html/editing/dnd/platform/cursors/006.html index 61eb8ec30fbbcb..65da653839e739 100644 --- a/html/editing/dnd/platform/cursors/006.html +++ b/html/editing/dnd/platform/cursors/006.html @@ -23,15 +23,15 @@ window.onload = function() { var orange = document.getElementsByTagName('div')[0], blue = document.getElementsByTagName('div')[1]; orange.ondragstart = function(e) { - e.dataTransfer.effectAllowed = 'copy'; + e.dataTransfer.effectAllowed = 'copy'; e.dataTransfer.setData('Text', 'dummy text'); }; blue.ondragenter = blue.ondragover = function(e) { - e.preventDefault(); - e.dataTransfer.dropEffect = 'copy'; + e.preventDefault(); + e.dataTransfer.dropEffect = 'copy'; }; blue.ondrop = function(e) { - e.preventDefault(); + e.preventDefault(); }; }; diff --git a/html/editing/dnd/platform/cursors/007.html b/html/editing/dnd/platform/cursors/007.html index c2abfaa310be3f..81d8672db52e19 100644 --- a/html/editing/dnd/platform/cursors/007.html +++ b/html/editing/dnd/platform/cursors/007.html @@ -23,15 +23,15 @@ window.onload = function() { var orange = document.getElementsByTagName('div')[0], blue = document.getElementsByTagName('div')[1]; orange.ondragstart = function(e) { - e.dataTransfer.effectAllowed = 'move'; + e.dataTransfer.effectAllowed = 'move'; e.dataTransfer.setData('Text', 'dummy text'); }; blue.ondragenter = blue.ondragover = function(e) { - e.preventDefault(); - e.dataTransfer.dropEffect = 'move'; + e.preventDefault(); + e.dataTransfer.dropEffect = 'move'; }; blue.ondrop = function(e) { - e.preventDefault(); + e.preventDefault(); }; }; diff --git a/html/editing/dnd/platform/cursors/008.html b/html/editing/dnd/platform/cursors/008.html index 53b843467747f1..e9111ccabf2071 100644 --- a/html/editing/dnd/platform/cursors/008.html +++ b/html/editing/dnd/platform/cursors/008.html @@ -27,16 +27,16 @@ window.onload = function() { var blue = document.getElementsByTagName('div')[1], fuchsia = document.getElementsByTagName('div')[2]; blue.ondragenter = blue.ondragover = function(e) { - //this test assumes the browser will default to opening the file if the page does not want it - e.preventDefault(); - e.dataTransfer.dropEffect = 'none'; + //this test assumes the browser will default to opening the file if the page does not want it + e.preventDefault(); + e.dataTransfer.dropEffect = 'none'; }; fuchsia.ondragenter = fuchsia.ondragover = function(e) { - e.preventDefault(); - e.dataTransfer.dropEffect = 'copy'; + e.preventDefault(); + e.dataTransfer.dropEffect = 'copy'; }; fuchsia.ondrop = function(e) { - e.preventDefault(); + e.preventDefault(); }; }; diff --git a/html/editing/dnd/platform/cursors/009.html b/html/editing/dnd/platform/cursors/009.html index 4f09539322c42c..52a66192bc20e4 100644 --- a/html/editing/dnd/platform/cursors/009.html +++ b/html/editing/dnd/platform/cursors/009.html @@ -23,15 +23,15 @@ window.onload = function() { var orange = document.getElementsByTagName('div')[0], blue = document.getElementsByTagName('div')[1]; orange.ondragstart = function(e) { - e.dataTransfer.effectAllowed = 'link'; + e.dataTransfer.effectAllowed = 'link'; e.dataTransfer.setData('Text', 'dummy text'); }; blue.ondragenter = blue.ondragover = function(e) { - e.preventDefault(); - e.dataTransfer.dropEffect = 'link'; + e.preventDefault(); + e.dataTransfer.dropEffect = 'link'; }; blue.ondrop = function(e) { - e.preventDefault(); + e.preventDefault(); }; }; diff --git a/html/editing/dnd/platform/cursors/010.html b/html/editing/dnd/platform/cursors/010.html index bcc408e8039a01..d62bcba27aaa6b 100644 --- a/html/editing/dnd/platform/cursors/010.html +++ b/html/editing/dnd/platform/cursors/010.html @@ -13,7 +13,7 @@ window.onload = function() { var orange = document.getElementsByTagName('div')[0]; orange.ondragstart = function(e) { - e.dataTransfer.effectAllowed = 'link'; + e.dataTransfer.effectAllowed = 'link'; e.dataTransfer.setData('Text', 'dummy text'); }; }; diff --git a/html/editing/dnd/platform/cursors/011.html b/html/editing/dnd/platform/cursors/011.html index 15f78849f91986..657245ebaeb451 100644 --- a/html/editing/dnd/platform/cursors/011.html +++ b/html/editing/dnd/platform/cursors/011.html @@ -18,28 +18,28 @@ window.onload = function() { var orange = document.getElementsByTagName('div')[0]; orange.ondragstart = function(e) { - e.dataTransfer.effectAllowed = 'all'; + e.dataTransfer.effectAllowed = 'all'; e.dataTransfer.setData('Text', 'dummy text'); }; var copydiv = document.getElementsByTagName('div')[1]; copydiv.ondragenter = copydiv.ondragover = function(e) { - e.preventDefault(); - e.dataTransfer.dropEffect = 'copy'; + e.preventDefault(); + e.dataTransfer.dropEffect = 'copy'; }; var movediv = document.getElementsByTagName('div')[2]; movediv.ondragenter = movediv.ondragover = function(e) { - e.preventDefault(); - e.dataTransfer.dropEffect = 'move'; + e.preventDefault(); + e.dataTransfer.dropEffect = 'move'; }; var linkdiv = document.getElementsByTagName('div')[3]; linkdiv.ondragenter = linkdiv.ondragover = function(e) { - e.preventDefault(); - e.dataTransfer.dropEffect = 'link'; + e.preventDefault(); + e.dataTransfer.dropEffect = 'link'; }; var nodrop = document.getElementsByTagName('div')[4]; nodrop.ondragenter = nodrop.ondragover = function(e) { - e.preventDefault(); - e.dataTransfer.dropEffect = 'none'; + e.preventDefault(); + e.dataTransfer.dropEffect = 'none'; }; }; diff --git a/html/editing/dnd/platform/drag-keypress.html b/html/editing/dnd/platform/drag-keypress.html index adb543ad424442..113c10dc686cb8 100644 --- a/html/editing/dnd/platform/drag-keypress.html +++ b/html/editing/dnd/platform/drag-keypress.html @@ -10,19 +10,19 @@ height: 5000px; } p { - margin-top: 1000px; + margin-top: 1000px; }

Drag the orange square. While still dragging, press the Tab key on your keyboard. Fail if the page scrolls.

-
\ No newline at end of file +
diff --git a/html/editing/dnd/platform/drag-link.html b/html/editing/dnd/platform/drag-link.html index c308d504f25f7c..2da41950831aba 100644 --- a/html/editing/dnd/platform/drag-link.html +++ b/html/editing/dnd/platform/drag-link.html @@ -1,12 +1,12 @@ - - Dragging vs selecting links - - + + Dragging vs selecting links + + -

Test link, test link, test link, test link, test link, test link, test link, test link, test link

-

Drag the test link above. When dragging vertically, it should drag the link. When dragging horizontally, it should select the text within the link.

+

Test link, test link, test link, test link, test link, test link, test link, test link, test link

+

Drag the test link above. When dragging vertically, it should drag the link. When dragging horizontally, it should select the text within the link.

- - \ No newline at end of file + + diff --git a/html/editing/dnd/platform/drag-to-title.html b/html/editing/dnd/platform/drag-to-title.html index b7fe31c131d636..fee1299b838c89 100644 --- a/html/editing/dnd/platform/drag-to-title.html +++ b/html/editing/dnd/platform/drag-to-title.html @@ -2,15 +2,15 @@ Dropping onto the title bar and UI
    -
  • Drag this text upwards to the browser window's title bar.
  • -
  • Release the drag. Fail if the drag placeholder does not disappear.
  • -
  • Start dragging again over a blank part of the page (below the text). Fail if the placeholder starts following the mouse again.
  • -
  • Release the drag over the browser's UI (e.g. the address bar). Fail if the browser crashes.
  • -
\ No newline at end of file +
  • Drag this text upwards to the browser window's title bar.
  • +
  • Release the drag. Fail if the drag placeholder does not disappear.
  • +
  • Start dragging again over a blank part of the page (below the text). Fail if the placeholder starts following the mouse again.
  • +
  • Release the drag over the browser's UI (e.g. the address bar). Fail if the browser crashes.
  • + diff --git a/html/editing/dnd/platform/file-drop-position.html b/html/editing/dnd/platform/file-drop-position.html index 62115c7cf36b1c..7657f359b63ea8 100644 --- a/html/editing/dnd/platform/file-drop-position.html +++ b/html/editing/dnd/platform/file-drop-position.html @@ -10,10 +10,10 @@ diff --git a/html/editing/dnd/platform/file-os-to-os.html b/html/editing/dnd/platform/file-os-to-os.html index b3db18077b5901..a67905d888fe9b 100644 --- a/html/editing/dnd/platform/file-os-to-os.html +++ b/html/editing/dnd/platform/file-os-to-os.html @@ -1,13 +1,13 @@ - - drag and drop - dragging items from the OS to the OS, via the browser window - - + + drag and drop - dragging items from the OS to the OS, via the browser window + + -

    This test is only relevant on platforms where it is possible to switch applications in mid-drag (eg. alt+tab, dragging over taskbar buttons, dragging between restored windows).

    -

    This testcase requires an external application that accepts dragging and dropping of files - eg. your system's file manager. Ensure that two application windows are open for the external application, showing different folders.

    -

    Select a file in the first external application window. Drag the file over the browser window, then over the other external application window and release it. Pass if the file is copied/moved to the second window, as expected by the system.

    +

    This test is only relevant on platforms where it is possible to switch applications in mid-drag (eg. alt+tab, dragging over taskbar buttons, dragging between restored windows).

    +

    This testcase requires an external application that accepts dragging and dropping of files - eg. your system's file manager. Ensure that two application windows are open for the external application, showing different folders.

    +

    Select a file in the first external application window. Drag the file over the browser window, then over the other external application window and release it. Pass if the file is copied/moved to the second window, as expected by the system.

    - - \ No newline at end of file + + diff --git a/html/editing/dnd/platform/file-to-system.html b/html/editing/dnd/platform/file-to-system.html index af9840e8c441ee..f80d5f43c2090a 100644 --- a/html/editing/dnd/platform/file-to-system.html +++ b/html/editing/dnd/platform/file-to-system.html @@ -1,50 +1,50 @@ - - Dragging a file to the system - - - - -
    This test only applies to platforms where dropping a file onto a folder in the system's file manager copies/moves the file to that folder.
    -
      -
    1. Open an empty folder in your system's file manager.
    2. -
    3. Select a non-empty file on your computer using the following input:
    4. -
    5. Drag the orange square onto the folder in your system's file manager, and release it:
    6. -
    7. Pass if the file is copied to the folder.
    8. -
    -

    - - - \ No newline at end of file + + + +
    This test only applies to platforms where dropping a file onto a folder in the system's file manager copies/moves the file to that folder.
    +
      +
    1. Open an empty folder in your system's file manager.
    2. +
    3. Select a non-empty file on your computer using the following input:
    4. +
    5. Drag the orange square onto the folder in your system's file manager, and release it:
    6. +
    7. Pass if the file is copied to the folder.
    8. +
    +

    + + + diff --git a/html/editing/dnd/platform/html-to-os-HELPER-FILE.html b/html/editing/dnd/platform/html-to-os-HELPER-FILE.html index 608026f208b07e..56fa975d4363c9 100644 --- a/html/editing/dnd/platform/html-to-os-HELPER-FILE.html +++ b/html/editing/dnd/platform/html-to-os-HELPER-FILE.html @@ -1,14 +1,14 @@ - - drag and drop - dragging HTML onto the OS - helper file - - + + drag and drop - dragging HTML onto the OS - helper file + + -

    This is the helper file. Drop the paragraph here -->

    - + - - \ No newline at end of file + + diff --git a/html/editing/dnd/platform/html-to-os.html b/html/editing/dnd/platform/html-to-os.html index 6283c24cef8c32..5aaf33b42b7003 100644 --- a/html/editing/dnd/platform/html-to-os.html +++ b/html/editing/dnd/platform/html-to-os.html @@ -1,20 +1,20 @@ - - drag and drop - dragging HTML onto the OS - - + + drag and drop - dragging HTML onto the OS + + -

    This test is only relevant on platforms where it is possible to switch applications in mid-drag (eg. alt+tab, dragging over taskbar buttons, dragging between restored windows).

    -

    This testcase requires an external application that accepts dropping of HTML from other applications - eg. Google Chrome and Internet Explorer (not Firefox). Load the helper file in the external application.

    -

    Drag this paragraph to the other application and release it. De-select the text in that application if it is selected. Pass if "Pass if this text is on a green background" appears in the other application, and if it has a green background, and if the drag placeholder disappears when the drag is released.

    - -

    Disable JavaScript in this browser and repeat the test. Pass if the entire dragged paragraph appears in the other application. Vendors may optionally choose to ignore this requirement.

    + +

    Disable JavaScript in this browser and repeat the test. Pass if the entire dragged paragraph appears in the other application. Vendors may optionally choose to ignore this requirement.

    - - \ No newline at end of file + + diff --git a/html/editing/dnd/platform/html-unicode-to-os.html b/html/editing/dnd/platform/html-unicode-to-os.html index b915865d458588..433d59d1038d93 100644 --- a/html/editing/dnd/platform/html-unicode-to-os.html +++ b/html/editing/dnd/platform/html-unicode-to-os.html @@ -1,19 +1,19 @@ - - drag and drop - dragging HTML onto the OS - - + + drag and drop - dragging HTML onto the OS + + -

    This test is only relevant on platforms where it is possible to switch applications in mid-drag (eg. alt+tab, dragging over taskbar buttons, dragging between restored windows).

    -

    This testcase requires an external application that accepts dropping of unicode HTML from other applications - eg. Google Chrome (not Firefox or Internet Explorer). Load the helper file in the external application.

    -

    Drag this paragraph to the other application and release it. De-select the text in that application if it is selected. Pass if "Pass if this text is on a green background 中文אידישрусский" appears in the other application, and if it has a green background, and if the drag placeholder disappears when the drag is released.

    - + - - \ No newline at end of file + + diff --git a/html/editing/dnd/platform/inputs-no-js.html b/html/editing/dnd/platform/inputs-no-js.html index 876f0b58aaa42f..f5f2fbc40238fe 100644 --- a/html/editing/dnd/platform/inputs-no-js.html +++ b/html/editing/dnd/platform/inputs-no-js.html @@ -1,15 +1,15 @@ - - Dropping selections with JS disabled - - + + Dropping selections with JS disabled + + -
      -
    1. Disable JavaScript
    2. -
    3. Select some text in and drag it into the following input: - the text you dragged should appear in there.
    4. -
    5. Select some text in this sentence and drag it into the following input: - the text you dragged should appear in there.
    6. -
    +
      +
    1. Disable JavaScript
    2. +
    3. Select some text in and drag it into the following input: - the text you dragged should appear in there.
    4. +
    5. Select some text in this sentence and drag it into the following input: - the text you dragged should appear in there.
    6. +
    - - \ No newline at end of file + + diff --git a/html/editing/dnd/platform/interrupt/001.html b/html/editing/dnd/platform/interrupt/001.html index 0a527b4992a64f..563cee9ea54216 100644 --- a/html/editing/dnd/platform/interrupt/001.html +++ b/html/editing/dnd/platform/interrupt/001.html @@ -16,21 +16,21 @@
    @@ -38,10 +38,10 @@
      -
    1. Drag the orange square over the blue square.
    2. -
    3. An alert may appear. Do not dismiss it. If an alert does not appear, PASS, and ignore any further steps.
    4. -
    5. Drag a file that your browser cannot open natively from your computer onto a blank part of the page. If a download dialog appears at any point after this, cancel it, and return to this page.
    6. -
    7. Dismiss the alert without using the left mouse button (eg. use keyboard, or mouse gestures such as gesture-down,gesture-right).
    8. -
    9. Do a short drag and drop within the pink square. If nothing happens, PASS, and ignore any further steps.
    10. -
    11. The word "PASS" should appear in place of this text.
    12. -
    \ No newline at end of file +
  • Drag the orange square over the blue square.
  • +
  • An alert may appear. Do not dismiss it. If an alert does not appear, PASS, and ignore any further steps.
  • +
  • Drag a file that your browser cannot open natively from your computer onto a blank part of the page. If a download dialog appears at any point after this, cancel it, and return to this page.
  • +
  • Dismiss the alert without using the left mouse button (eg. use keyboard, or mouse gestures such as gesture-down,gesture-right).
  • +
  • Do a short drag and drop within the pink square. If nothing happens, PASS, and ignore any further steps.
  • +
  • The word "PASS" should appear in place of this text.
  • + diff --git a/html/editing/dnd/platform/interrupt/002.html b/html/editing/dnd/platform/interrupt/002.html index 4b1806ac0239e9..2091f39a7ffbdc 100644 --- a/html/editing/dnd/platform/interrupt/002.html +++ b/html/editing/dnd/platform/interrupt/002.html @@ -16,21 +16,21 @@
    @@ -38,12 +38,12 @@
      -
    1. Make sure at least one other tab is open.
    2. -
    3. Drag the orange square over the blue square.
    4. -
    5. An alert may appear. Do not dismiss it. If an alert does not appear, PASS, and ignore any further steps.
    6. -
    7. Click the other tab to focus it (or focus it in whatever way works). If you cannot change tabs, PASS, and ignore any further steps.
    8. -
    9. Drag a file that your browser cannot open natively from your computer and drop onto that page, then click the tab for this page to return here. If a download dialog appears at any point after this, cancel it, and return to this page.
    10. -
    11. Dismiss the alert without using the left mouse button (eg. use keyboard, or mouse gestures such as gesture-down,gesture-right).
    12. -
    13. Do a short drag and drop within the pink square. If nothing happens, PASS, and ignore any further steps.
    14. -
    15. The word "PASS" should appear in place of this text.
    16. -
    \ No newline at end of file +
  • Make sure at least one other tab is open.
  • +
  • Drag the orange square over the blue square.
  • +
  • An alert may appear. Do not dismiss it. If an alert does not appear, PASS, and ignore any further steps.
  • +
  • Click the other tab to focus it (or focus it in whatever way works). If you cannot change tabs, PASS, and ignore any further steps.
  • +
  • Drag a file that your browser cannot open natively from your computer and drop onto that page, then click the tab for this page to return here. If a download dialog appears at any point after this, cancel it, and return to this page.
  • +
  • Dismiss the alert without using the left mouse button (eg. use keyboard, or mouse gestures such as gesture-down,gesture-right).
  • +
  • Do a short drag and drop within the pink square. If nothing happens, PASS, and ignore any further steps.
  • +
  • The word "PASS" should appear in place of this text.
  • + diff --git a/html/editing/dnd/platform/interrupt/003.html b/html/editing/dnd/platform/interrupt/003.html index 85f20badf9ce1a..c09f9a53ecd0fa 100644 --- a/html/editing/dnd/platform/interrupt/003.html +++ b/html/editing/dnd/platform/interrupt/003.html @@ -19,25 +19,25 @@
    @@ -46,14 +46,14 @@
      -
    1. Open this page in two separate tabs, and start on tab #1.
    2. -
    3. Drag the orange square over the blue square.
    4. -
    5. An alert may appear. Do not dismiss it. If an alert does not appear, PASS, and ignore any further steps.
    6. -
    7. Click the other tab to focus it (or focus it in whatever way works). If you cannot change tabs, PASS, and ignore any further steps.
    8. -
    9. On tab #2, drag the yellow square over the blue square. If you cannot drag the yellow square, PASS, and ignore any further steps.
    10. -
    11. An alert may appear. Do not dismiss it.
    12. -
    13. Return to tab #1.
    14. -
    15. Dismiss the alert without using the left mouse button (eg. use keyboard, or mouse gestures such as gesture-down,gesture-right).
    16. -
    17. Do a short drag and drop within the pink square. If nothing happens, PASS, and ignore any further steps.
    18. -
    19. The word "PASS" should appear in place of this text.
    20. -
    \ No newline at end of file +
  • Open this page in two separate tabs, and start on tab #1.
  • +
  • Drag the orange square over the blue square.
  • +
  • An alert may appear. Do not dismiss it. If an alert does not appear, PASS, and ignore any further steps.
  • +
  • Click the other tab to focus it (or focus it in whatever way works). If you cannot change tabs, PASS, and ignore any further steps.
  • +
  • On tab #2, drag the yellow square over the blue square. If you cannot drag the yellow square, PASS, and ignore any further steps.
  • +
  • An alert may appear. Do not dismiss it.
  • +
  • Return to tab #1.
  • +
  • Dismiss the alert without using the left mouse button (eg. use keyboard, or mouse gestures such as gesture-down,gesture-right).
  • +
  • Do a short drag and drop within the pink square. If nothing happens, PASS, and ignore any further steps.
  • +
  • The word "PASS" should appear in place of this text.
  • + diff --git a/html/editing/dnd/platform/interrupt/004.html b/html/editing/dnd/platform/interrupt/004.html index c66c4681a52b87..41492fe99228c4 100644 --- a/html/editing/dnd/platform/interrupt/004.html +++ b/html/editing/dnd/platform/interrupt/004.html @@ -10,22 +10,22 @@
      -
    1. Save pass.txt and fail.txt onto your computer.
    2. -
    3. Drag pass.txt from your computer onto the orange square.
    4. -
    5. A prompt should appear. Do not dismiss it. If a prompt does not appear, ignore any further steps, and check the tests in ../../file/
    6. -
    7. Drag fail.txt from your computer onto a blank part of this page. Fail if this page is replaced.
    8. -
    9. Accept the prompt. Fail if nothing happens.
    10. -
    \ No newline at end of file +
  • Save pass.txt and fail.txt onto your computer.
  • +
  • Drag pass.txt from your computer onto the orange square.
  • +
  • A prompt should appear. Do not dismiss it. If a prompt does not appear, ignore any further steps, and check the tests in ../../file/
  • +
  • Drag fail.txt from your computer onto a blank part of this page. Fail if this page is replaced.
  • +
  • Accept the prompt. Fail if nothing happens.
  • + diff --git a/html/editing/dnd/platform/interrupt/005.html b/html/editing/dnd/platform/interrupt/005.html index efb5a5b794c742..a0bdae3f494250 100644 --- a/html/editing/dnd/platform/interrupt/005.html +++ b/html/editing/dnd/platform/interrupt/005.html @@ -10,26 +10,26 @@
      -
    1. Save file1.txt and file2.txt onto your computer.
    2. -
    3. Open this page in two separate tabs, and start on tab #1.
    4. -
    5. Drag file1.txt from your computer onto the orange square.
    6. -
    7. A prompt should appear. Do not dismiss it. If a prompt does not appear, ignore any further steps, and check the tests in ../../file/
    8. -
    9. Click the other tab to focus it (or focus it in whatever way works). If you cannot change tabs, PASS, and ignore any further steps.
    10. -
    11. Drag file2.txt from your computer onto the orange square. Fail if this text (but not the orange square) is replaced without any prompt.
    12. -
    13. If a prompt appears, do not dismiss it.
    14. -
    15. Return to tab #1.
    16. -
    17. Accept the prompt. Fail if it cannot be accepted. Pass if this text (but not the orange square) is replaced with the text: file1.txt
    18. -
    \ No newline at end of file +
  • Save file1.txt and file2.txt onto your computer.
  • +
  • Open this page in two separate tabs, and start on tab #1.
  • +
  • Drag file1.txt from your computer onto the orange square.
  • +
  • A prompt should appear. Do not dismiss it. If a prompt does not appear, ignore any further steps, and check the tests in ../../file/
  • +
  • Click the other tab to focus it (or focus it in whatever way works). If you cannot change tabs, PASS, and ignore any further steps.
  • +
  • Drag file2.txt from your computer onto the orange square. Fail if this text (but not the orange square) is replaced without any prompt.
  • +
  • If a prompt appears, do not dismiss it.
  • +
  • Return to tab #1.
  • +
  • Accept the prompt. Fail if it cannot be accepted. Pass if this text (but not the orange square) is replaced with the text: file1.txt
  • + diff --git a/html/editing/dnd/platform/interrupt/006.html b/html/editing/dnd/platform/interrupt/006.html index 83e6fa7f4cbbba..73cfb2d69686a7 100644 --- a/html/editing/dnd/platform/interrupt/006.html +++ b/html/editing/dnd/platform/interrupt/006.html @@ -10,23 +10,23 @@
      -
    1. Drag the orange square downwards until the drag placeholder appears.
    2. -
    3. An alert may appear - release the mouse over the page, not the dialog. Dismiss it (you may need to use keyboard or mouse gestures such as gesture-down,gesture-right). If it does not appear, release the drag.
    4. -
    5. The mouse cursor may continue to show that a drag is in operation. If so, attempt to select some of this text with the mouse before continuing to the text step.
    6. -
    7. Fail if the mouse continues to show that a drag is in operation.
    8. -
    9. Try to select some text in this sentence. Fail if it is not possible.
    10. -
    11. Try to drag the orange square downwards again. Fail if that is not possible.
    12. -
    \ No newline at end of file +
  • Drag the orange square downwards until the drag placeholder appears.
  • +
  • An alert may appear - release the mouse over the page, not the dialog. Dismiss it (you may need to use keyboard or mouse gestures such as gesture-down,gesture-right). If it does not appear, release the drag.
  • +
  • The mouse cursor may continue to show that a drag is in operation. If so, attempt to select some of this text with the mouse before continuing to the text step.
  • +
  • Fail if the mouse continues to show that a drag is in operation.
  • +
  • Try to select some text in this sentence. Fail if it is not possible.
  • +
  • Try to drag the orange square downwards again. Fail if that is not possible.
  • + diff --git a/html/editing/dnd/platform/interrupt/007.html b/html/editing/dnd/platform/interrupt/007.html index 1d79b85ef94f15..6c8daba2001d06 100644 --- a/html/editing/dnd/platform/interrupt/007.html +++ b/html/editing/dnd/platform/interrupt/007.html @@ -10,25 +10,25 @@
      -
    1. Drag the orange square downwards until the drag placeholder appears.
    2. -
    3. An alert may appear - release the mouse over the page, not the dialog. Dismiss it (you may need to use keyboard or mouse gestures such as gesture-down,gesture-right). If it does not appear, release the drag.
    4. -
    5. The mouse cursor may continue to show that a drag is in operation. If so, attempt to select some of this text with the mouse before continuing to the text step.
    6. -
    7. Fail if the mouse continues to show that a drag is in operation.
    8. -
    9. Try to select some text in this sentence. Fail if it is not possible.
    10. -
    11. Try to drag the orange square downwards again. Fail if that is not possible.
    12. -
    \ No newline at end of file +
  • Drag the orange square downwards until the drag placeholder appears.
  • +
  • An alert may appear - release the mouse over the page, not the dialog. Dismiss it (you may need to use keyboard or mouse gestures such as gesture-down,gesture-right). If it does not appear, release the drag.
  • +
  • The mouse cursor may continue to show that a drag is in operation. If so, attempt to select some of this text with the mouse before continuing to the text step.
  • +
  • Fail if the mouse continues to show that a drag is in operation.
  • +
  • Try to select some text in this sentence. Fail if it is not possible.
  • +
  • Try to drag the orange square downwards again. Fail if that is not possible.
  • + diff --git a/html/editing/dnd/platform/interrupt/008.html b/html/editing/dnd/platform/interrupt/008.html index b2de74169fff7a..2339e294312be2 100644 --- a/html/editing/dnd/platform/interrupt/008.html +++ b/html/editing/dnd/platform/interrupt/008.html @@ -13,28 +13,28 @@
      -
    1. Drag the orange square over the blue square.
    2. -
    3. An alert may appear - release the mouse over the page, not the dialog. Dismiss it (you may need to use keyboard or mouse gestures such as gesture-down,gesture-right). If it does not appear, release the drag.
    4. -
    5. The mouse cursor may continue to show that a drag is in operation. If so, attempt to select some of this text with the mouse before continuing to the text step.
    6. -
    7. Fail if the mouse continues to show that a drag is in operation.
    8. -
    9. Try to select some text in this sentence. Fail if it is not possible.
    10. -
    11. Try to drag the orange square downwards. Fail if it is not possible.
    12. -
    \ No newline at end of file +
  • Drag the orange square over the blue square.
  • +
  • An alert may appear - release the mouse over the page, not the dialog. Dismiss it (you may need to use keyboard or mouse gestures such as gesture-down,gesture-right). If it does not appear, release the drag.
  • +
  • The mouse cursor may continue to show that a drag is in operation. If so, attempt to select some of this text with the mouse before continuing to the text step.
  • +
  • Fail if the mouse continues to show that a drag is in operation.
  • +
  • Try to select some text in this sentence. Fail if it is not possible.
  • +
  • Try to drag the orange square downwards. Fail if it is not possible.
  • + diff --git a/html/editing/dnd/platform/interrupt/009.html b/html/editing/dnd/platform/interrupt/009.html index ce1fec80865427..e19b1c5d72a557 100644 --- a/html/editing/dnd/platform/interrupt/009.html +++ b/html/editing/dnd/platform/interrupt/009.html @@ -13,30 +13,30 @@
      -
    1. Drag the orange square over the blue square.
    2. -
    3. An alert may appear - release the mouse over the page, not the dialog. Dismiss it (you may need to use keyboard or mouse gestures such as gesture-down,gesture-right). If it does not appear, release the drag.
    4. -
    5. The mouse cursor may continue to show that a drag is in operation. If so, attempt to select some of this text with the mouse before continuing to the text step.
    6. -
    7. Fail if the mouse continues to show that a drag is in operation.
    8. -
    9. Try to select some text in this sentence. Fail if it is not possible.
    10. -
    11. Try to drag the orange square downwards. Fail if it is not possible.
    12. -
    \ No newline at end of file +
  • Drag the orange square over the blue square.
  • +
  • An alert may appear - release the mouse over the page, not the dialog. Dismiss it (you may need to use keyboard or mouse gestures such as gesture-down,gesture-right). If it does not appear, release the drag.
  • +
  • The mouse cursor may continue to show that a drag is in operation. If so, attempt to select some of this text with the mouse before continuing to the text step.
  • +
  • Fail if the mouse continues to show that a drag is in operation.
  • +
  • Try to select some text in this sentence. Fail if it is not possible.
  • +
  • Try to drag the orange square downwards. Fail if it is not possible.
  • + diff --git a/html/editing/dnd/platform/interrupt/010.html b/html/editing/dnd/platform/interrupt/010.html index c5ec6648874908..583746bbadc972 100644 --- a/html/editing/dnd/platform/interrupt/010.html +++ b/html/editing/dnd/platform/interrupt/010.html @@ -13,27 +13,27 @@
      -
    1. Drag the orange square over the blue square, then back over the orange square.
    2. -
    3. An alert may appear - release the mouse over the page, not the dialog. Dismiss it (you may need to use keyboard or mouse gestures such as gesture-down,gesture-right). If it does not appear, release the drag.
    4. -
    5. The mouse cursor may continue to show that a drag is in operation. If so, attempt to select some of this text with the mouse before continuing to the text step.
    6. -
    7. Fail if the mouse continues to show that a drag is in operation.
    8. -
    9. Try to select some text in this sentence. Fail if it is not possible.
    10. -
    11. Try to drag the orange square downwards. Fail if it is not possible.
    12. -
    \ No newline at end of file +
  • Drag the orange square over the blue square, then back over the orange square.
  • +
  • An alert may appear - release the mouse over the page, not the dialog. Dismiss it (you may need to use keyboard or mouse gestures such as gesture-down,gesture-right). If it does not appear, release the drag.
  • +
  • The mouse cursor may continue to show that a drag is in operation. If so, attempt to select some of this text with the mouse before continuing to the text step.
  • +
  • Fail if the mouse continues to show that a drag is in operation.
  • +
  • Try to select some text in this sentence. Fail if it is not possible.
  • +
  • Try to drag the orange square downwards. Fail if it is not possible.
  • + diff --git a/html/editing/dnd/platform/interrupt/011.html b/html/editing/dnd/platform/interrupt/011.html index 61b73ba8402a3d..8b72b637688c7d 100644 --- a/html/editing/dnd/platform/interrupt/011.html +++ b/html/editing/dnd/platform/interrupt/011.html @@ -13,28 +13,28 @@
      -
    1. Drag the orange square over the blue square, then release it.
    2. -
    3. An alert may appear - release the mouse over the page, not the dialog. Dismiss it (you may need to use keyboard or mouse gestures such as gesture-down,gesture-right).
    4. -
    5. The mouse cursor may continue to show that a drag is in operation. If so, attempt to select some of this text with the mouse before continuing to the text step.
    6. -
    7. Fail if the mouse continues to show that a drag is in operation.
    8. -
    9. Try to select some text in this sentence. Fail if it is not possible.
    10. -
    11. Try to drag the orange square downwards. Fail if it is not possible.
    12. -
    \ No newline at end of file +
  • Drag the orange square over the blue square, then release it.
  • +
  • An alert may appear - release the mouse over the page, not the dialog. Dismiss it (you may need to use keyboard or mouse gestures such as gesture-down,gesture-right).
  • +
  • The mouse cursor may continue to show that a drag is in operation. If so, attempt to select some of this text with the mouse before continuing to the text step.
  • +
  • Fail if the mouse continues to show that a drag is in operation.
  • +
  • Try to select some text in this sentence. Fail if it is not possible.
  • +
  • Try to drag the orange square downwards. Fail if it is not possible.
  • + diff --git a/html/editing/dnd/platform/interrupt/012.html b/html/editing/dnd/platform/interrupt/012.html index bcf65ce9e7029e..1b31468b43f72c 100644 --- a/html/editing/dnd/platform/interrupt/012.html +++ b/html/editing/dnd/platform/interrupt/012.html @@ -13,32 +13,32 @@
      -
    1. Drag the orange square over the blue square, then release it.
    2. -
    3. An alert may appear - release the mouse over the page, not the dialog. Dismiss it (you may need to use keyboard or mouse gestures such as gesture-down,gesture-right).
    4. -
    5. The mouse cursor may continue to show that a drag is in operation. If so, attempt to select some of this text with the mouse before continuing to the text step.
    6. -
    7. Fail if the mouse continues to show that a drag is in operation.
    8. -
    9. Try to select some text in this sentence. Fail if it is not possible.
    10. -
    11. Try to drag the orange square downwards. Fail if it is not possible.
    12. -
    \ No newline at end of file +
  • Drag the orange square over the blue square, then release it.
  • +
  • An alert may appear - release the mouse over the page, not the dialog. Dismiss it (you may need to use keyboard or mouse gestures such as gesture-down,gesture-right).
  • +
  • The mouse cursor may continue to show that a drag is in operation. If so, attempt to select some of this text with the mouse before continuing to the text step.
  • +
  • Fail if the mouse continues to show that a drag is in operation.
  • +
  • Try to select some text in this sentence. Fail if it is not possible.
  • +
  • Try to drag the orange square downwards. Fail if it is not possible.
  • + diff --git a/html/editing/dnd/platform/interrupt/013.html b/html/editing/dnd/platform/interrupt/013.html index 31dd82e5113330..8250a2ef78a794 100644 --- a/html/editing/dnd/platform/interrupt/013.html +++ b/html/editing/dnd/platform/interrupt/013.html @@ -7,7 +7,7 @@ background-color: orange; } body > div + div { - margin-top: 10px; + margin-top: 10px; height: 200px; width: 200px; background-color: blue; @@ -19,23 +19,23 @@ var orange = document.getElementsByTagName('div')[0], blue = document.getElementsByTagName('div')[1]; orange.ondragstart = function(e) { e.dataTransfer.effectAllowed = 'copy'; - e.dataTransfer.setData('text', 'dummy text'); + e.dataTransfer.setData('text', 'dummy text'); }; blue.ondragover = function(e) { - e.preventDefault(); + e.preventDefault(); e.dataTransfer.dropEffect = 'copy'; - if( !window.doneonce ) { - alert('2. It should also ideally be possible to dismiss this dialog with your mouse/pointing device (do not use mouse gestures).'); - } - window.doneonce = true; + if( !window.doneonce ) { + alert('2. It should also ideally be possible to dismiss this dialog with your mouse/pointing device (do not use mouse gestures).'); + } + window.doneonce = true; }; blue.ondragenter = function(e) { - e.preventDefault(); + e.preventDefault(); e.dataTransfer.dropEffect = 'copy'; - alert('1. It should ideally be possible to dismiss this dialog with your mouse/pointing device (do not use mouse gestures).'); + alert('1. It should ideally be possible to dismiss this dialog with your mouse/pointing device (do not use mouse gestures).'); }; - blue.ondrop = function(e) { - e.preventDefault(); + blue.ondrop = function(e) { + e.preventDefault(); }; }; diff --git a/html/editing/dnd/platform/interrupt/014.html b/html/editing/dnd/platform/interrupt/014.html index 94258e44a6fad4..ffa93ea835d126 100644 --- a/html/editing/dnd/platform/interrupt/014.html +++ b/html/editing/dnd/platform/interrupt/014.html @@ -7,7 +7,7 @@ background-color: orange; } body > div + div { - margin-top: 10px; + margin-top: 10px; height: 200px; width: 200px; background-color: blue; @@ -19,15 +19,15 @@ var orange = document.getElementsByTagName('div')[0], blue = document.getElementsByTagName('div')[1]; orange.ondragstart = function(e) { e.dataTransfer.effectAllowed = 'copy'; - e.dataTransfer.setData('text', 'dummy text'); + e.dataTransfer.setData('text', 'dummy text'); }; blue.ondragover = blue.ondragenter = function(e) { - e.preventDefault(); + e.preventDefault(); e.dataTransfer.dropEffect = 'copy'; }; - blue.ondrop = function(e) { - e.preventDefault(); - alert('It should ideally be possible to dismiss this dialog with your mouse/pointing device (do not use mouse gestures).'); + blue.ondrop = function(e) { + e.preventDefault(); + alert('It should ideally be possible to dismiss this dialog with your mouse/pointing device (do not use mouse gestures).'); }; }; diff --git a/html/editing/dnd/platform/interrupt/015.html b/html/editing/dnd/platform/interrupt/015.html index 1fc6ef84dcf674..650c15ac3ec2aa 100644 --- a/html/editing/dnd/platform/interrupt/015.html +++ b/html/editing/dnd/platform/interrupt/015.html @@ -10,23 +10,23 @@
      -
    1. Drag the orange square downwards until the drag placeholder appears.
    2. -
    3. An alert may appear - release the mouse over the dialog. Dismiss it (you may need to use keyboard or mouse gestures such as gesture-down,gesture-right). If it does not appear, release the drag.
    4. -
    5. The mouse cursor may continue to show that a drag is in operation. If so, attempt to select some of this text with the mouse before continuing to the text step.
    6. -
    7. Fail if the mouse continues to show that a drag is in operation.
    8. -
    9. Try to select some text in this sentence. Fail if it is not possible.
    10. -
    11. Try to drag the orange square downwards again. Fail if that is not possible.
    12. -
    \ No newline at end of file +
  • Drag the orange square downwards until the drag placeholder appears.
  • +
  • An alert may appear - release the mouse over the dialog. Dismiss it (you may need to use keyboard or mouse gestures such as gesture-down,gesture-right). If it does not appear, release the drag.
  • +
  • The mouse cursor may continue to show that a drag is in operation. If so, attempt to select some of this text with the mouse before continuing to the text step.
  • +
  • Fail if the mouse continues to show that a drag is in operation.
  • +
  • Try to select some text in this sentence. Fail if it is not possible.
  • +
  • Try to drag the orange square downwards again. Fail if that is not possible.
  • + diff --git a/html/editing/dnd/platform/interrupt/016.html b/html/editing/dnd/platform/interrupt/016.html index f28191d46e587f..d4c42941e3ad51 100644 --- a/html/editing/dnd/platform/interrupt/016.html +++ b/html/editing/dnd/platform/interrupt/016.html @@ -10,25 +10,25 @@
      -
    1. Drag the orange square downwards until the drag placeholder appears.
    2. -
    3. An alert may appear - release the mouse over the dialog. Dismiss it (you may need to use keyboard or mouse gestures such as gesture-down,gesture-right). If it does not appear, release the drag.
    4. -
    5. The mouse cursor may continue to show that a drag is in operation. If so, attempt to select some of this text with the mouse before continuing to the text step.
    6. -
    7. Fail if the mouse continues to show that a drag is in operation.
    8. -
    9. Try to select some text in this sentence. Fail if it is not possible.
    10. -
    11. Try to drag the orange square downwards again. Fail if that is not possible.
    12. -
    \ No newline at end of file +
  • Drag the orange square downwards until the drag placeholder appears.
  • +
  • An alert may appear - release the mouse over the dialog. Dismiss it (you may need to use keyboard or mouse gestures such as gesture-down,gesture-right). If it does not appear, release the drag.
  • +
  • The mouse cursor may continue to show that a drag is in operation. If so, attempt to select some of this text with the mouse before continuing to the text step.
  • +
  • Fail if the mouse continues to show that a drag is in operation.
  • +
  • Try to select some text in this sentence. Fail if it is not possible.
  • +
  • Try to drag the orange square downwards again. Fail if that is not possible.
  • + diff --git a/html/editing/dnd/platform/interrupt/017.html b/html/editing/dnd/platform/interrupt/017.html index 6e3926c9d59efe..1c10d8a370a594 100644 --- a/html/editing/dnd/platform/interrupt/017.html +++ b/html/editing/dnd/platform/interrupt/017.html @@ -13,28 +13,28 @@
      -
    1. Drag the orange square over the blue square.
    2. -
    3. An alert may appear - release the mouse over the dialog. Dismiss it (you may need to use keyboard or mouse gestures such as gesture-down,gesture-right). If it does not appear, release the drag.
    4. -
    5. The mouse cursor may continue to show that a drag is in operation. If so, attempt to select some of this text with the mouse before continuing to the text step.
    6. -
    7. Fail if the mouse continues to show that a drag is in operation.
    8. -
    9. Try to select some text in this sentence. Fail if it is not possible.
    10. -
    11. Try to drag the orange square downwards. Fail if it is not possible.
    12. -
    \ No newline at end of file +
  • Drag the orange square over the blue square.
  • +
  • An alert may appear - release the mouse over the dialog. Dismiss it (you may need to use keyboard or mouse gestures such as gesture-down,gesture-right). If it does not appear, release the drag.
  • +
  • The mouse cursor may continue to show that a drag is in operation. If so, attempt to select some of this text with the mouse before continuing to the text step.
  • +
  • Fail if the mouse continues to show that a drag is in operation.
  • +
  • Try to select some text in this sentence. Fail if it is not possible.
  • +
  • Try to drag the orange square downwards. Fail if it is not possible.
  • + diff --git a/html/editing/dnd/platform/interrupt/018.html b/html/editing/dnd/platform/interrupt/018.html index 6fdb79aa952abb..c0067d00d84484 100644 --- a/html/editing/dnd/platform/interrupt/018.html +++ b/html/editing/dnd/platform/interrupt/018.html @@ -13,30 +13,30 @@
      -
    1. Drag the orange square over the blue square.
    2. -
    3. An alert may appear - release the mouse over the dialog. Dismiss it (you may need to use keyboard or mouse gestures such as gesture-down,gesture-right). If it does not appear, release the drag.
    4. -
    5. The mouse cursor may continue to show that a drag is in operation. If so, attempt to select some of this text with the mouse before continuing to the text step.
    6. -
    7. Fail if the mouse continues to show that a drag is in operation.
    8. -
    9. Try to select some text in this sentence. Fail if it is not possible.
    10. -
    11. Try to drag the orange square downwards. Fail if it is not possible.
    12. -
    \ No newline at end of file +
  • Drag the orange square over the blue square.
  • +
  • An alert may appear - release the mouse over the dialog. Dismiss it (you may need to use keyboard or mouse gestures such as gesture-down,gesture-right). If it does not appear, release the drag.
  • +
  • The mouse cursor may continue to show that a drag is in operation. If so, attempt to select some of this text with the mouse before continuing to the text step.
  • +
  • Fail if the mouse continues to show that a drag is in operation.
  • +
  • Try to select some text in this sentence. Fail if it is not possible.
  • +
  • Try to drag the orange square downwards. Fail if it is not possible.
  • + diff --git a/html/editing/dnd/platform/interrupt/019.html b/html/editing/dnd/platform/interrupt/019.html index d9af799a58ceaf..dca273d9d49ba0 100644 --- a/html/editing/dnd/platform/interrupt/019.html +++ b/html/editing/dnd/platform/interrupt/019.html @@ -13,27 +13,27 @@
      -
    1. Drag the orange square over the blue square, then back over the orange square.
    2. -
    3. An alert may appear - release the mouse over the dialog. Dismiss it (you may need to use keyboard or mouse gestures such as gesture-down,gesture-right). If it does not appear, release the drag.
    4. -
    5. The mouse cursor may continue to show that a drag is in operation. If so, attempt to select some of this text with the mouse before continuing to the text step.
    6. -
    7. Fail if the mouse continues to show that a drag is in operation.
    8. -
    9. Try to select some text in this sentence. Fail if it is not possible.
    10. -
    11. Try to drag the orange square downwards. Fail if it is not possible.
    12. -
    \ No newline at end of file +
  • Drag the orange square over the blue square, then back over the orange square.
  • +
  • An alert may appear - release the mouse over the dialog. Dismiss it (you may need to use keyboard or mouse gestures such as gesture-down,gesture-right). If it does not appear, release the drag.
  • +
  • The mouse cursor may continue to show that a drag is in operation. If so, attempt to select some of this text with the mouse before continuing to the text step.
  • +
  • Fail if the mouse continues to show that a drag is in operation.
  • +
  • Try to select some text in this sentence. Fail if it is not possible.
  • +
  • Try to drag the orange square downwards. Fail if it is not possible.
  • + diff --git a/html/editing/dnd/platform/interrupt/020.html b/html/editing/dnd/platform/interrupt/020.html index c57b25dcb0aedb..e10fa46f2a46de 100644 --- a/html/editing/dnd/platform/interrupt/020.html +++ b/html/editing/dnd/platform/interrupt/020.html @@ -10,24 +10,24 @@
      -
    1. Drag a file (one that your browser cannot open natively, such as an executable file) from your system file manager over the orange square.
    2. -
    3. An alert may appear - release the mouse over a blank part of the page, not the dialog. Dismiss it (you may need to use keyboard or mouse gestures such as gesture-down,gesture-right). If it does not appear, release the drag and accept any prompt to upload the file.
    4. -
    5. If a file download dialog appears, cancel it and return to this page.
    6. -
    7. Fail if the alert reappears.
    8. -
    9. The mouse cursor may continue to show that a drag is in operation. If so, attempt to select some of this text with the mouse before continuing to the text step.
    10. -
    11. Fail if the mouse continues to show that a drag is in operation.
    12. -
    13. Try to select some text in this sentence. Fail if it is not possible.
    14. -
    \ No newline at end of file +
  • Drag a file (one that your browser cannot open natively, such as an executable file) from your system file manager over the orange square.
  • +
  • An alert may appear - release the mouse over a blank part of the page, not the dialog. Dismiss it (you may need to use keyboard or mouse gestures such as gesture-down,gesture-right). If it does not appear, release the drag and accept any prompt to upload the file.
  • +
  • If a file download dialog appears, cancel it and return to this page.
  • +
  • Fail if the alert reappears.
  • +
  • The mouse cursor may continue to show that a drag is in operation. If so, attempt to select some of this text with the mouse before continuing to the text step.
  • +
  • Fail if the mouse continues to show that a drag is in operation.
  • +
  • Try to select some text in this sentence. Fail if it is not possible.
  • + diff --git a/html/editing/dnd/platform/interrupt/021.html b/html/editing/dnd/platform/interrupt/021.html index e30416b4fbcae3..d393e0846cfa28 100644 --- a/html/editing/dnd/platform/interrupt/021.html +++ b/html/editing/dnd/platform/interrupt/021.html @@ -10,24 +10,24 @@
      -
    1. Drag a file (one that your browser cannot open natively, such as an executable file) from your system file manager over the orange square.
    2. -
    3. An alert may appear - release the mouse over the dialog. Dismiss it (you may need to use keyboard or mouse gestures such as gesture-down,gesture-right). If it does not appear, release the drag and accept any prompt to upload the file.
    4. -
    5. If a file download dialog appears, cancel it and return to this page.
    6. -
    7. Fail if the alert reappears.
    8. -
    9. The mouse cursor may continue to show that a drag is in operation. If so, attempt to select some of this text with the mouse before continuing to the text step.
    10. -
    11. Fail if the mouse continues to show that a drag is in operation.
    12. -
    13. Try to select some text in this sentence. Fail if it is not possible.
    14. -
    \ No newline at end of file +
  • Drag a file (one that your browser cannot open natively, such as an executable file) from your system file manager over the orange square.
  • +
  • An alert may appear - release the mouse over the dialog. Dismiss it (you may need to use keyboard or mouse gestures such as gesture-down,gesture-right). If it does not appear, release the drag and accept any prompt to upload the file.
  • +
  • If a file download dialog appears, cancel it and return to this page.
  • +
  • Fail if the alert reappears.
  • +
  • The mouse cursor may continue to show that a drag is in operation. If so, attempt to select some of this text with the mouse before continuing to the text step.
  • +
  • Fail if the mouse continues to show that a drag is in operation.
  • +
  • Try to select some text in this sentence. Fail if it is not possible.
  • + diff --git a/html/editing/dnd/platform/keyboardshortcuts.html b/html/editing/dnd/platform/keyboardshortcuts.html index 13340f442341b0..441ffd3df1e509 100644 --- a/html/editing/dnd/platform/keyboardshortcuts.html +++ b/html/editing/dnd/platform/keyboardshortcuts.html @@ -1,18 +1,18 @@ - - Keyboard shortcuts during drag/drop - - + + Keyboard shortcuts during drag/drop + + -
      -
    1. Select some text in this sentence and begin dragging it.
    2. -
    3. While dragging, use your keyboard shortcut to reload the page. It should work without cancelling the drag.
    4. -
    5. While dragging, use your keyboard shortcut to select all text on the page. It should work without cancelling the drag.
    6. -
    7. While dragging, use your keyboard shortcut to open a new tab. It should work without cancelling the drag.
    8. -
    9. While dragging, use your keyboard shortcut to switch to another tab. It should work without cancelling the drag.
    10. -
    11. While dragging, use your keyboard shortcuts to go back and forward in history (use this link first to add a history entry if needed). It should work without cancelling the drag.
    12. -
    +
      +
    1. Select some text in this sentence and begin dragging it.
    2. +
    3. While dragging, use your keyboard shortcut to reload the page. It should work without cancelling the drag.
    4. +
    5. While dragging, use your keyboard shortcut to select all text on the page. It should work without cancelling the drag.
    6. +
    7. While dragging, use your keyboard shortcut to open a new tab. It should work without cancelling the drag.
    8. +
    9. While dragging, use your keyboard shortcut to switch to another tab. It should work without cancelling the drag.
    10. +
    11. While dragging, use your keyboard shortcuts to go back and forward in history (use this link first to add a history entry if needed). It should work without cancelling the drag.
    12. +
    - - \ No newline at end of file + + diff --git a/html/editing/dnd/platform/modifiers/all.html b/html/editing/dnd/platform/modifiers/all.html index 3f91fb5fec919c..bb76d3a0cdc163 100644 --- a/html/editing/dnd/platform/modifiers/all.html +++ b/html/editing/dnd/platform/modifiers/all.html @@ -1,175 +1,175 @@ - - Modifier keys selecting dropEffect with 'all' - - - - + + + -
    -
    -
    -
     
    -
      -
    1. Drag the orange square over the blue square
    2. -
    3. Press the relevant modifier keys for your platform
    4. -
    5. Continue dragging over the pink square
    6. -
    7. Release the drag, then the keys
    8. -
    9. Check that the correct drop effect is produced in each case. If the mouse cursor can change to indicate the final type of drop effect that will take place, it should change to the relevant type (the one in bold) once the modifier keys are pressed.
    10. -
    - - - - - - - - - - - - - - - - - -
    Windows
    ModifierDrop effect
    Nonecopy
    Ctrlcopy
    Shiftcopy=>move
    Altcopy=>link
    Ctrl+Shiftcopy=>link
    Ctrl+Altcopy
    Alt+Shiftcopy
    Ctrl+Alt+Shiftcopy
    - - - - - - - - - - - - - - - - - - - -
    Unix/Linux
    ModifierDrop effect
    Nonecopy
    Ctrlcopy
    Shiftcopy=>move
    Altcopy
    Ctrl+Shiftcopy=>link
    Ctrl+Altcopy
    Alt+Shiftcopy=>move
    Ctrl+Alt+Shiftcopy=>link
    - - - - - - - - - - - - - +
    +
    +
    +
     
    +
      +
    1. Drag the orange square over the blue square
    2. +
    3. Press the relevant modifier keys for your platform
    4. +
    5. Continue dragging over the pink square
    6. +
    7. Release the drag, then the keys
    8. +
    9. Check that the correct drop effect is produced in each case. If the mouse cursor can change to indicate the final type of drop effect that will take place, it should change to the relevant type (the one in bold) once the modifier keys are pressed.
    10. +
    + + +
    Mac
    ModifierDrop effect
    Nonecopy
    Ctrlcopy
    Shiftcopy
    Option/altcopy
    Commandcopy=>move
    + + + + + + + + + + + + + + +
    Windows
    ModifierDrop effect
    Nonecopy
    Ctrlcopy
    Shiftcopy=>move
    Altcopy=>link
    Ctrl+Shiftcopy=>link
    Ctrl+Altcopy
    Alt+Shiftcopy
    Ctrl+Alt+Shiftcopy
    + + + + + + + + + + + + + + + + + + + +
    Unix/Linux
    ModifierDrop effect
    Nonecopy
    Ctrlcopy
    Shiftcopy=>move
    Altcopy
    Ctrl+Shiftcopy=>link
    Ctrl+Altcopy
    Alt+Shiftcopy=>move
    Ctrl+Alt+Shiftcopy=>link
    + + + + + + + + + + + + + - - - - - - + + + + + + - - - - + + + + - - -
    Mac
    ModifierDrop effect
    Nonecopy
    Ctrlcopy
    Shiftcopy
    Option/altcopy
    Commandcopy=>move
    Ctrl+Shiftcopy
    Ctrl+Optioncopy
    Ctrl+Commandcopy=>move
    Shift+Optioncopy
    Shift+Commandcopy=>move
    Command+Optioncopy=>link
    Ctrl+Shiftcopy
    Ctrl+Optioncopy
    Ctrl+Commandcopy=>move
    Shift+Optioncopy
    Shift+Commandcopy=>move
    Command+Optioncopy=>link
    Ctrl+Shift+Optioncopy
    Ctrl+Shift+Commandcopy=>move
    Ctrl+Command+Optioncopy=>link
    Shift+Command+Optioncopy=>link
    Ctrl+Shift+Optioncopy
    Ctrl+Shift+Commandcopy=>move
    Ctrl+Command+Optioncopy=>link
    Shift+Command+Optioncopy=>link
    Ctrl+Shift+Command+Optioncopy=>link
    - + Ctrl+Shift+Command+Optioncopy=>link + + + - - \ No newline at end of file + + diff --git a/html/editing/dnd/platform/modifiers/copy.html b/html/editing/dnd/platform/modifiers/copy.html index 6366dd4dcd781b..597fdc03a943e7 100644 --- a/html/editing/dnd/platform/modifiers/copy.html +++ b/html/editing/dnd/platform/modifiers/copy.html @@ -1,175 +1,175 @@ - - Modifier keys selecting dropEffect with 'copy' - - - - + + + -
    -
    -
    -
     
    -
      -
    1. Drag the orange square over the blue square
    2. -
    3. Press the relevant modifier keys for your platform
    4. -
    5. Continue dragging over the pink square
    6. -
    7. Release the drag, then the keys
    8. -
    9. Check that the correct drop effect is produced in each case. If the mouse cursor can change to indicate the final type of drop effect that will take place, it should change to the relevant type (the one in bold) once the modifier keys are pressed.
    10. -
    - - - - - - - - - - - - - - - - - -
    Windows
    ModifierDrop effect
    Nonecopy
    Ctrlcopy
    Shiftcopy=>move=>none
    Altcopy=>link=>none
    Ctrl+Shiftcopy=>link=>none
    Ctrl+Altcopy
    Alt+Shiftcopy
    Ctrl+Alt+Shiftcopy
    - - - - - - - - - - - - - - - - - - - -
    Unix/Linux
    ModifierDrop effect
    nonecopy
    Ctrlcopy
    Shiftcopy=>move=>none
    Altcopy
    Ctrl+Shiftcopy=>link=>none
    Ctrl+Altcopy
    Alt+Shiftcopy=>move=>none
    Ctrl+Alt+Shiftcopy=>link=>none
    - - - - - - - - - - - - - +
    +
    +
    +
     
    +
      +
    1. Drag the orange square over the blue square
    2. +
    3. Press the relevant modifier keys for your platform
    4. +
    5. Continue dragging over the pink square
    6. +
    7. Release the drag, then the keys
    8. +
    9. Check that the correct drop effect is produced in each case. If the mouse cursor can change to indicate the final type of drop effect that will take place, it should change to the relevant type (the one in bold) once the modifier keys are pressed.
    10. +
    + + +
    Mac
    ModifierDrop effect
    nonecopy
    Ctrlcopy
    Shiftcopy
    Option/altcopy
    Commandcopy=>move=>none
    + + + + + + + + + + + + + + +
    Windows
    ModifierDrop effect
    Nonecopy
    Ctrlcopy
    Shiftcopy=>move=>none
    Altcopy=>link=>none
    Ctrl+Shiftcopy=>link=>none
    Ctrl+Altcopy
    Alt+Shiftcopy
    Ctrl+Alt+Shiftcopy
    + + + + + + + + + + + + + + + + + + + +
    Unix/Linux
    ModifierDrop effect
    nonecopy
    Ctrlcopy
    Shiftcopy=>move=>none
    Altcopy
    Ctrl+Shiftcopy=>link=>none
    Ctrl+Altcopy
    Alt+Shiftcopy=>move=>none
    Ctrl+Alt+Shiftcopy=>link=>none
    + + + + + + + + + + + + + - - - - - - + + + + + + - - - - + + + + - - -
    Mac
    ModifierDrop effect
    nonecopy
    Ctrlcopy
    Shiftcopy
    Option/altcopy
    Commandcopy=>move=>none
    Ctrl+Shiftcopy
    Ctrl+Optioncopy
    Ctrl+Commandcopy=>move=>none
    Shift+Optioncopy
    Shift+Commandcopy=>move=>none
    Command+Optioncopy=>link=>none
    Ctrl+Shiftcopy
    Ctrl+Optioncopy
    Ctrl+Commandcopy=>move=>none
    Shift+Optioncopy
    Shift+Commandcopy=>move=>none
    Command+Optioncopy=>link=>none
    Ctrl+Shift+Optioncopy
    Ctrl+Shift+Commandcopy=>move=>none
    Ctrl+Command+Optioncopy=>link=>none
    Shift+Command+Optioncopy=>link=>none
    Ctrl+Shift+Optioncopy
    Ctrl+Shift+Commandcopy=>move=>none
    Ctrl+Command+Optioncopy=>link=>none
    Shift+Command+Optioncopy=>link=>none
    Ctrl+Shift+Command+Optioncopy=>link=>none
    - + Ctrl+Shift+Command+Optioncopy=>link=>none + + + - - \ No newline at end of file + + diff --git a/html/editing/dnd/platform/modifiers/copylink.html b/html/editing/dnd/platform/modifiers/copylink.html index 27d9126a959b58..042031d0040f45 100644 --- a/html/editing/dnd/platform/modifiers/copylink.html +++ b/html/editing/dnd/platform/modifiers/copylink.html @@ -1,175 +1,175 @@ - - Modifier keys selecting dropEffect with 'copyLink' - - - - + + + -
    -
    -
    -
     
    -
      -
    1. Drag the orange square over the blue square
    2. -
    3. Press the relevant modifier keys for your platform
    4. -
    5. Continue dragging over the pink square
    6. -
    7. Release the drag, then the keys
    8. -
    9. Check that the correct drop effect is produced in each case. If the mouse cursor can change to indicate the final type of drop effect that will take place, it should change to the relevant type (the one in bold) once the modifier keys are pressed.
    10. -
    - - - - - - - - - - - - - - - - - -
    Windows
    ModifierDrop effect
    Nonecopy
    Ctrlcopy
    Shiftcopy=>move=>none
    Altcopy=>link
    Ctrl+Shiftcopy=>link
    Ctrl+Altcopy
    Alt+Shiftcopy
    Ctrl+Alt+Shiftcopy
    - - - - - - - - - - - - - - - - - - - -
    Unix/Linux
    ModifierDrop effect
    nonecopy
    Ctrlcopy
    Shiftcopy=>move=>none
    Altcopy
    Ctrl+Shiftcopy=>link
    Ctrl+Altcopy
    Alt+Shiftcopy=>move=>none
    Ctrl+Alt+Shiftcopy=>link
    - - - - - - - - - - - - - +
    +
    +
    +
     
    +
      +
    1. Drag the orange square over the blue square
    2. +
    3. Press the relevant modifier keys for your platform
    4. +
    5. Continue dragging over the pink square
    6. +
    7. Release the drag, then the keys
    8. +
    9. Check that the correct drop effect is produced in each case. If the mouse cursor can change to indicate the final type of drop effect that will take place, it should change to the relevant type (the one in bold) once the modifier keys are pressed.
    10. +
    + + +
    Mac
    ModifierDrop effect
    nonecopy
    Ctrlcopy
    Shiftcopy
    Option/altcopy
    Commandcopy=>move=>none
    + + + + + + + + + + + + + + +
    Windows
    ModifierDrop effect
    Nonecopy
    Ctrlcopy
    Shiftcopy=>move=>none
    Altcopy=>link
    Ctrl+Shiftcopy=>link
    Ctrl+Altcopy
    Alt+Shiftcopy
    Ctrl+Alt+Shiftcopy
    + + + + + + + + + + + + + + + + + + + +
    Unix/Linux
    ModifierDrop effect
    nonecopy
    Ctrlcopy
    Shiftcopy=>move=>none
    Altcopy
    Ctrl+Shiftcopy=>link
    Ctrl+Altcopy
    Alt+Shiftcopy=>move=>none
    Ctrl+Alt+Shiftcopy=>link
    + + + + + + + + + + + + + - - - - - - + + + + + + - - - - + + + + - - -
    Mac
    ModifierDrop effect
    nonecopy
    Ctrlcopy
    Shiftcopy
    Option/altcopy
    Commandcopy=>move=>none
    Ctrl+Shiftcopy
    Ctrl+Optioncopy
    Ctrl+Commandcopy=>move=>none
    Shift+Optioncopy
    Shift+Commandcopy=>move=>none
    Command+Optioncopy=>link
    Ctrl+Shiftcopy
    Ctrl+Optioncopy
    Ctrl+Commandcopy=>move=>none
    Shift+Optioncopy
    Shift+Commandcopy=>move=>none
    Command+Optioncopy=>link
    Ctrl+Shift+Optioncopy
    Ctrl+Shift+Commandcopy=>move=>none
    Ctrl+Command+Optioncopy=>link
    Shift+Command+Optioncopy=>link
    Ctrl+Shift+Optioncopy
    Ctrl+Shift+Commandcopy=>move=>none
    Ctrl+Command+Optioncopy=>link
    Shift+Command+Optioncopy=>link
    Ctrl+Shift+Command+Optioncopy=>link
    - + Ctrl+Shift+Command+Optioncopy=>link + + + - - \ No newline at end of file + + diff --git a/html/editing/dnd/platform/modifiers/copymove.html b/html/editing/dnd/platform/modifiers/copymove.html index 352e831dc6ac55..b03e4f26775ae1 100644 --- a/html/editing/dnd/platform/modifiers/copymove.html +++ b/html/editing/dnd/platform/modifiers/copymove.html @@ -1,175 +1,175 @@ - - Modifier keys selecting dropEffect with 'copyMove' - - - - + + + -
    -
    -
    -
     
    -
      -
    1. Drag the orange square over the blue square
    2. -
    3. Press the relevant modifier keys for your platform
    4. -
    5. Continue dragging over the pink square
    6. -
    7. Release the drag, then the keys
    8. -
    9. Check that the correct drop effect is produced in each case. If the mouse cursor can change to indicate the final type of drop effect that will take place, it should change to the relevant type (the one in bold) once the modifier keys are pressed.
    10. -
    - - - - - - - - - - - - - - - - - -
    Windows
    ModifierDrop effect
    Nonecopy
    Ctrlcopy
    Shiftcopy=>move
    Altcopy=>link=>none
    Ctrl+Shiftcopy=>link=>none
    Ctrl+Altcopy
    Alt+Shiftcopy
    Ctrl+Alt+Shiftcopy
    - - - - - - - - - - - - - - - - - - - -
    Unix/Linux
    ModifierDrop effect
    nonecopy
    Ctrlcopy
    Shiftcopy=>move
    Altcopy
    Ctrl+Shiftcopy=>link=>none
    Ctrl+Altcopy
    Alt+Shiftcopy=>move
    Ctrl+Alt+Shiftcopy=>link=>none
    - - - - - - - - - - - - - +
    +
    +
    +
     
    +
      +
    1. Drag the orange square over the blue square
    2. +
    3. Press the relevant modifier keys for your platform
    4. +
    5. Continue dragging over the pink square
    6. +
    7. Release the drag, then the keys
    8. +
    9. Check that the correct drop effect is produced in each case. If the mouse cursor can change to indicate the final type of drop effect that will take place, it should change to the relevant type (the one in bold) once the modifier keys are pressed.
    10. +
    + + +
    Mac
    ModifierDrop effect
    nonecopy
    Ctrlcopy
    Shiftcopy
    Option/altcopy
    Commandcopy=>move
    + + + + + + + + + + + + + + +
    Windows
    ModifierDrop effect
    Nonecopy
    Ctrlcopy
    Shiftcopy=>move
    Altcopy=>link=>none
    Ctrl+Shiftcopy=>link=>none
    Ctrl+Altcopy
    Alt+Shiftcopy
    Ctrl+Alt+Shiftcopy
    + + + + + + + + + + + + + + + + + + + +
    Unix/Linux
    ModifierDrop effect
    nonecopy
    Ctrlcopy
    Shiftcopy=>move
    Altcopy
    Ctrl+Shiftcopy=>link=>none
    Ctrl+Altcopy
    Alt+Shiftcopy=>move
    Ctrl+Alt+Shiftcopy=>link=>none
    + + + + + + + + + + + + + - - - - - - + + + + + + - - - - + + + + - - -
    Mac
    ModifierDrop effect
    nonecopy
    Ctrlcopy
    Shiftcopy
    Option/altcopy
    Commandcopy=>move
    Ctrl+Shiftcopy
    Ctrl+Optioncopy
    Ctrl+Commandcopy=>move
    Shift+Optioncopy
    Shift+Commandcopy=>move
    Command+Optioncopy=>link=>none
    Ctrl+Shiftcopy
    Ctrl+Optioncopy
    Ctrl+Commandcopy=>move
    Shift+Optioncopy
    Shift+Commandcopy=>move
    Command+Optioncopy=>link=>none
    Ctrl+Shift+Optioncopy
    Ctrl+Shift+Commandcopy=>move
    Ctrl+Command+Optioncopy=>link=>none
    Shift+Command+Optioncopy=>link=>none
    Ctrl+Shift+Optioncopy
    Ctrl+Shift+Commandcopy=>move
    Ctrl+Command+Optioncopy=>link=>none
    Shift+Command+Optioncopy=>link=>none
    Ctrl+Shift+Command+Optioncopy=>link=>none
    - + Ctrl+Shift+Command+Optioncopy=>link=>none + + + - - \ No newline at end of file + + diff --git a/html/editing/dnd/platform/modifiers/link.html b/html/editing/dnd/platform/modifiers/link.html index d5281a4b465fd4..db13709f6556c4 100644 --- a/html/editing/dnd/platform/modifiers/link.html +++ b/html/editing/dnd/platform/modifiers/link.html @@ -1,175 +1,175 @@ - - Modifier keys selecting dropEffect with 'link' - - - - + + + -
    -
    -
    -
     
    -
      -
    1. Drag the orange square over the blue square
    2. -
    3. Press the relevant modifier keys for your platform
    4. -
    5. Continue dragging over the pink square
    6. -
    7. Release the drag, then the keys
    8. -
    9. Check that the correct drop effect is produced in each case. If the mouse cursor can change to indicate the final type of drop effect that will take place, it should change to the relevant type (the one in bold) once the modifier keys are pressed.
    10. -
    - - - - - - - - - - - - - - - - - -
    Windows
    ModifierDrop effect
    Nonelink
    Ctrllink=>copy=>none
    Shiftlink=>move=>none
    Altlink
    Ctrl+Shiftlink
    Ctrl+Altlink
    Alt+Shiftlink
    Ctrl+Alt+Shiftlink
    - - - - - - - - - - - - - - - - - - - -
    Unix/Linux
    ModifierDrop effect
    nonelink
    Ctrllink=>copy=>none
    Shiftlink=>move=>none
    Altlink
    Ctrl+Shiftlink
    Ctrl+Altlink=>copy=>none
    Alt+Shiftlink=>move=>none
    Ctrl+Alt+Shiftlink
    - - - - - - - - - - - - - +
    +
    +
    +
     
    +
      +
    1. Drag the orange square over the blue square
    2. +
    3. Press the relevant modifier keys for your platform
    4. +
    5. Continue dragging over the pink square
    6. +
    7. Release the drag, then the keys
    8. +
    9. Check that the correct drop effect is produced in each case. If the mouse cursor can change to indicate the final type of drop effect that will take place, it should change to the relevant type (the one in bold) once the modifier keys are pressed.
    10. +
    + + +
    Mac
    ModifierDrop effect
    nonelink
    Ctrllink
    Shiftlink
    Option/altlink=>copy=>none
    Commandlink=>move=>none
    + + + + + + + + + + + + + + +
    Windows
    ModifierDrop effect
    Nonelink
    Ctrllink=>copy=>none
    Shiftlink=>move=>none
    Altlink
    Ctrl+Shiftlink
    Ctrl+Altlink
    Alt+Shiftlink
    Ctrl+Alt+Shiftlink
    + + + + + + + + + + + + + + + + + + + +
    Unix/Linux
    ModifierDrop effect
    nonelink
    Ctrllink=>copy=>none
    Shiftlink=>move=>none
    Altlink
    Ctrl+Shiftlink
    Ctrl+Altlink=>copy=>none
    Alt+Shiftlink=>move=>none
    Ctrl+Alt+Shiftlink
    + + + + + + + + + + + + + - - - - - - + + + + + + - - - - + + + + - - -
    Mac
    ModifierDrop effect
    nonelink
    Ctrllink
    Shiftlink
    Option/altlink=>copy=>none
    Commandlink=>move=>none
    Ctrl+Shiftlink
    Ctrl+Optionlink=>copy=>none
    Ctrl+Commandlink=>move=>none
    Shift+Optionlink=>copy=>none
    Shift+Commandlink=>move=>none
    Command+Optionlink
    Ctrl+Shiftlink
    Ctrl+Optionlink=>copy=>none
    Ctrl+Commandlink=>move=>none
    Shift+Optionlink=>copy=>none
    Shift+Commandlink=>move=>none
    Command+Optionlink
    Ctrl+Shift+Optionlink=>copy=>none
    Ctrl+Shift+Commandlink=>move=>none
    Ctrl+Command+Optionlink
    Shift+Command+Optionlink
    Ctrl+Shift+Optionlink=>copy=>none
    Ctrl+Shift+Commandlink=>move=>none
    Ctrl+Command+Optionlink
    Shift+Command+Optionlink
    Ctrl+Shift+Command+Optionlink
    - + Ctrl+Shift+Command+Optionlink + + + - - \ No newline at end of file + + diff --git a/html/editing/dnd/platform/modifiers/linkmove.html b/html/editing/dnd/platform/modifiers/linkmove.html index 3e19f10de20fcd..ed564a0f3afca7 100644 --- a/html/editing/dnd/platform/modifiers/linkmove.html +++ b/html/editing/dnd/platform/modifiers/linkmove.html @@ -1,175 +1,175 @@ - - Modifier keys selecting dropEffect with 'linkMove' - - - - + + + -
    -
    -
    -
     
    -
      -
    1. Drag the orange square over the blue square
    2. -
    3. Press the relevant modifier keys for your platform
    4. -
    5. Continue dragging over the pink square
    6. -
    7. Release the drag, then the keys
    8. -
    9. Check that the correct drop effect is produced in each case. If the mouse cursor can change to indicate the final type of drop effect that will take place, it should change to the relevant type (the one in bold) once the modifier keys are pressed.
    10. -
    - - - - - - - - - - - - - - - - - -
    Windows
    ModifierDrop effect
    Nonelink
    Ctrllink=>copy=>none
    Shiftlink=>move
    Altlink
    Ctrl+Shiftlink
    Ctrl+Altlink
    Alt+Shiftlink
    Ctrl+Alt+Shiftlink
    - - - - - - - - - - - - - - - - - - - -
    Unix/Linux
    ModifierDrop effect
    nonelink
    Ctrllink=>copy=>none
    Shiftlink=>move
    Altlink
    Ctrl+Shiftlink
    Ctrl+Altlink=>copy=>none
    Alt+Shiftlink=>move
    Ctrl+Alt+Shiftlink
    - - - - - - - - - - - - - +
    +
    +
    +
     
    +
      +
    1. Drag the orange square over the blue square
    2. +
    3. Press the relevant modifier keys for your platform
    4. +
    5. Continue dragging over the pink square
    6. +
    7. Release the drag, then the keys
    8. +
    9. Check that the correct drop effect is produced in each case. If the mouse cursor can change to indicate the final type of drop effect that will take place, it should change to the relevant type (the one in bold) once the modifier keys are pressed.
    10. +
    + + +
    Mac
    ModifierDrop effect
    nonelink
    Ctrllink
    Shiftlink
    Option/altlink=>copy=>none
    Commandlink=>move
    + + + + + + + + + + + + + + +
    Windows
    ModifierDrop effect
    Nonelink
    Ctrllink=>copy=>none
    Shiftlink=>move
    Altlink
    Ctrl+Shiftlink
    Ctrl+Altlink
    Alt+Shiftlink
    Ctrl+Alt+Shiftlink
    + + + + + + + + + + + + + + + + + + + +
    Unix/Linux
    ModifierDrop effect
    nonelink
    Ctrllink=>copy=>none
    Shiftlink=>move
    Altlink
    Ctrl+Shiftlink
    Ctrl+Altlink=>copy=>none
    Alt+Shiftlink=>move
    Ctrl+Alt+Shiftlink
    + + + + + + + + + + + + + - - - - - - + + + + + + - - - - + + + + - - -
    Mac
    ModifierDrop effect
    nonelink
    Ctrllink
    Shiftlink
    Option/altlink=>copy=>none
    Commandlink=>move
    Ctrl+Shiftlink
    Ctrl+Optionlink=>copy=>none
    Ctrl+Commandlink=>move
    Shift+Optionlink=>copy=>none
    Shift+Commandlink=>move
    Command+Optionlink
    Ctrl+Shiftlink
    Ctrl+Optionlink=>copy=>none
    Ctrl+Commandlink=>move
    Shift+Optionlink=>copy=>none
    Shift+Commandlink=>move
    Command+Optionlink
    Ctrl+Shift+Optionlink=>copy=>none
    Ctrl+Shift+Commandlink=>move
    Ctrl+Command+Optionlink
    Shift+Command+Optionlink
    Ctrl+Shift+Optionlink=>copy=>none
    Ctrl+Shift+Commandlink=>move
    Ctrl+Command+Optionlink
    Shift+Command+Optionlink
    Ctrl+Shift+Command+Optionlink
    - + Ctrl+Shift+Command+Optionlink + + + - - \ No newline at end of file + + diff --git a/html/editing/dnd/platform/modifiers/move.html b/html/editing/dnd/platform/modifiers/move.html index ca3e83c24a29fc..7e9caf12ca4861 100644 --- a/html/editing/dnd/platform/modifiers/move.html +++ b/html/editing/dnd/platform/modifiers/move.html @@ -1,175 +1,175 @@ - - Modifier keys selecting dropEffect with 'move' - - - - + + + -
    -
    -
    -
     
    -
      -
    1. Drag the orange square over the blue square
    2. -
    3. Press the relevant modifier keys for your platform
    4. -
    5. Continue dragging over the pink square
    6. -
    7. Release the drag, then the keys
    8. -
    9. Check that the correct drop effect is produced in each case. If the mouse cursor can change to indicate the final type of drop effect that will take place, it should change to the relevant type (the one in bold) once the modifier keys are pressed.
    10. -
    - - - - - - - - - - - - - - - - - -
    Windows
    ModifierDrop effect
    Nonemove
    Ctrlmove=>copy=>none
    Shiftmove
    Altmove=>link=>none
    Ctrl+Shiftmove=>link=>none
    Ctrl+Altmove
    Alt+Shiftmove
    Ctrl+Alt+Shiftmove
    - - - - - - - - - - - - - - - - - - - -
    Unix/Linux
    ModifierDrop effect
    nonemove
    Ctrlmove=>copy=>none
    Shiftmove
    Altmove
    Ctrl+Shiftmove=>link=>none
    Ctrl+Altmove=>copy=>none
    Alt+Shiftmove
    Ctrl+Alt+Shiftmove=>link=>none
    - - - - - - - - - - - - - +
    +
    +
    +
     
    +
      +
    1. Drag the orange square over the blue square
    2. +
    3. Press the relevant modifier keys for your platform
    4. +
    5. Continue dragging over the pink square
    6. +
    7. Release the drag, then the keys
    8. +
    9. Check that the correct drop effect is produced in each case. If the mouse cursor can change to indicate the final type of drop effect that will take place, it should change to the relevant type (the one in bold) once the modifier keys are pressed.
    10. +
    + + +
    Mac
    ModifierDrop effect
    nonemove
    Ctrlmove
    Shiftmove
    Option/altmove=>copy=>none
    Commandmove
    + + + + + + + + + + + + + + +
    Windows
    ModifierDrop effect
    Nonemove
    Ctrlmove=>copy=>none
    Shiftmove
    Altmove=>link=>none
    Ctrl+Shiftmove=>link=>none
    Ctrl+Altmove
    Alt+Shiftmove
    Ctrl+Alt+Shiftmove
    + + + + + + + + + + + + + + + + + + + +
    Unix/Linux
    ModifierDrop effect
    nonemove
    Ctrlmove=>copy=>none
    Shiftmove
    Altmove
    Ctrl+Shiftmove=>link=>none
    Ctrl+Altmove=>copy=>none
    Alt+Shiftmove
    Ctrl+Alt+Shiftmove=>link=>none
    + + + + + + + + + + + + + - - - - - - + + + + + + - - - - + + + + - - -
    Mac
    ModifierDrop effect
    nonemove
    Ctrlmove
    Shiftmove
    Option/altmove=>copy=>none
    Commandmove
    Ctrl+Shiftmove
    Ctrl+Optionmove=>copy=>none
    Ctrl+Commandmove
    Shift+Optionmove=>copy=>none
    Shift+Commandmove
    Command+Optionmove=>link=>none
    Ctrl+Shiftmove
    Ctrl+Optionmove=>copy=>none
    Ctrl+Commandmove
    Shift+Optionmove=>copy=>none
    Shift+Commandmove
    Command+Optionmove=>link=>none
    Ctrl+Shift+Optionmove=>copy=>none
    Ctrl+Shift+Commandmove
    Ctrl+Command+Optionmove=>link=>none
    Shift+Command+Optionmove=>link=>none
    Ctrl+Shift+Optionmove=>copy=>none
    Ctrl+Shift+Commandmove
    Ctrl+Command+Optionmove=>link=>none
    Shift+Command+Optionmove=>link=>none
    Ctrl+Shift+Command+Optionmove=>link=>none
    - + Ctrl+Shift+Command+Optionmove=>link=>none + + + - - \ No newline at end of file + + diff --git a/html/editing/dnd/platform/modifiers/onlydropzone.html b/html/editing/dnd/platform/modifiers/onlydropzone.html index f5c7bab061dfa6..973d240878d6c4 100644 --- a/html/editing/dnd/platform/modifiers/onlydropzone.html +++ b/html/editing/dnd/platform/modifiers/onlydropzone.html @@ -1,70 +1,70 @@ - - Modifier keys being used with a dropzone attribute - - - - + + + -
    -
    -
    -
     
    -
      -
    1. Drag the orange square over the blue square
    2. -
    3. Press the relevant modifier keys for your platform to request a "move" drop effect (eg. Shift on Windows/Unix/Linux, Command on Mac)
    4. -
    5. Continue dragging over the pink square
    6. -
    7. If supported by the platform, the mouse cursor should show that a "link" drop effect will be used
    8. -
    9. Release the drag, then the keys
    10. -
    11. Fail if no new text appears above this list
    12. -
    - +
    +
    +
    +
     
    +
      +
    1. Drag the orange square over the blue square
    2. +
    3. Press the relevant modifier keys for your platform to request a "move" drop effect (eg. Shift on Windows/Unix/Linux, Command on Mac)
    4. +
    5. Continue dragging over the pink square
    6. +
    7. If supported by the platform, the mouse cursor should show that a "link" drop effect will be used
    8. +
    9. Release the drag, then the keys
    10. +
    11. Fail if no new text appears above this list
    12. +
    + - - \ No newline at end of file + + diff --git a/html/editing/dnd/platform/modifiers/onlydropzoneevents.html b/html/editing/dnd/platform/modifiers/onlydropzoneevents.html index a8033603267d72..8c5d5334e19312 100644 --- a/html/editing/dnd/platform/modifiers/onlydropzoneevents.html +++ b/html/editing/dnd/platform/modifiers/onlydropzoneevents.html @@ -1,82 +1,82 @@ - - Modifier keys being used with a dropzone attribute and dragenter/dragover events - - - - + + + -
    -
    -
    -
     
    -
      -
    1. Drag the orange square over the blue square
    2. -
    3. Press the relevant modifier keys for your platform to request a "move" drop effect (eg. Shift on Windows/Unix/Linux, Command on Mac)
    4. -
    5. Continue dragging over the pink square
    6. -
    7. If supported by the platform, the mouse cursor should show that a "link" drop effect will be used
    8. -
    9. Release the drag, then the keys
    10. -
    11. Fail if no new text appears above this list
    12. -
    - +
    +
    +
    +
     
    +
      +
    1. Drag the orange square over the blue square
    2. +
    3. Press the relevant modifier keys for your platform to request a "move" drop effect (eg. Shift on Windows/Unix/Linux, Command on Mac)
    4. +
    5. Continue dragging over the pink square
    6. +
    7. If supported by the platform, the mouse cursor should show that a "link" drop effect will be used
    8. +
    9. Release the drag, then the keys
    10. +
    11. Fail if no new text appears above this list
    12. +
    + - - \ No newline at end of file + + diff --git a/html/editing/dnd/platform/modifiers/releasemodifiersdrag.html b/html/editing/dnd/platform/modifiers/releasemodifiersdrag.html index 3468d0a53fda38..91c0c584bb5464 100644 --- a/html/editing/dnd/platform/modifiers/releasemodifiersdrag.html +++ b/html/editing/dnd/platform/modifiers/releasemodifiersdrag.html @@ -1,125 +1,125 @@ - - Modifier keys being released before end of drag - - - - + + + -
    -
    -
    -
    -
     
    -
      -
    1. Drag the orange square over the blue square
    2. -
    3. Press the relevant modifier keys for your platform to request a "move" drop effect (eg. Shift on Windows/Unix/Linux, Command on Mac)
    4. -
    5. If supported by the platform, the mouse cursor should show that a "move" drop effect will be used
    6. -
    7. Continue dragging over the pink square
    8. -
    9. Release the modifier keys
    10. -
    11. If supported by the platform, the mouse cursor should show that a "link" drop effect will be used
    12. -
    13. Continue dragging over the yellow square
    14. -
    15. Release the drag
    16. -
    17. Fail if no new text appears above this list
    18. -
    - +
    +
    +
    +
    +
     
    +
      +
    1. Drag the orange square over the blue square
    2. +
    3. Press the relevant modifier keys for your platform to request a "move" drop effect (eg. Shift on Windows/Unix/Linux, Command on Mac)
    4. +
    5. If supported by the platform, the mouse cursor should show that a "move" drop effect will be used
    6. +
    7. Continue dragging over the pink square
    8. +
    9. Release the modifier keys
    10. +
    11. If supported by the platform, the mouse cursor should show that a "link" drop effect will be used
    12. +
    13. Continue dragging over the yellow square
    14. +
    15. Release the drag
    16. +
    17. Fail if no new text appears above this list
    18. +
    + - - \ No newline at end of file + + diff --git a/html/editing/dnd/platform/modifiers/releasemodifiersdrop.html b/html/editing/dnd/platform/modifiers/releasemodifiersdrop.html index 678a2139a6b5db..adaa92e8e2fe13 100644 --- a/html/editing/dnd/platform/modifiers/releasemodifiersdrop.html +++ b/html/editing/dnd/platform/modifiers/releasemodifiersdrop.html @@ -1,108 +1,108 @@ - - Modifier keys being released before drop - - - - + + + -
    -
    -
    -
     
    -
      -
    1. Drag the orange square over the blue square
    2. -
    3. Press the relevant modifier keys for your platform to request a "move" drop effect (eg. Shift on Windows/Unix/Linux, Command on Mac)
    4. -
    5. If supported by the platform, the mouse cursor should show that a "move" drop effect will be used
    6. -
    7. Continue dragging over the pink square
    8. -
    9. Release the modifier keys, and wait for at least half a second
    10. -
    11. If supported by the platform, the mouse cursor should show that a "link" drop effect will be used
    12. -
    13. Release the drag, then the keys
    14. -
    15. Fail if no new text appears above this list
    16. -
    - +
    +
    +
    +
     
    +
      +
    1. Drag the orange square over the blue square
    2. +
    3. Press the relevant modifier keys for your platform to request a "move" drop effect (eg. Shift on Windows/Unix/Linux, Command on Mac)
    4. +
    5. If supported by the platform, the mouse cursor should show that a "move" drop effect will be used
    6. +
    7. Continue dragging over the pink square
    8. +
    9. Release the modifier keys, and wait for at least half a second
    10. +
    11. If supported by the platform, the mouse cursor should show that a "link" drop effect will be used
    12. +
    13. Release the drag, then the keys
    14. +
    15. Fail if no new text appears above this list
    16. +
    + - - \ No newline at end of file + + diff --git a/html/editing/dnd/platform/modifiers/scriptmodified.html b/html/editing/dnd/platform/modifiers/scriptmodified.html index 7053fc9aa2b69a..c5b17b463f8f0e 100644 --- a/html/editing/dnd/platform/modifiers/scriptmodified.html +++ b/html/editing/dnd/platform/modifiers/scriptmodified.html @@ -1,99 +1,99 @@ - - Modifier keys selecting dropEffect with script overriding it - - - - + + + -
    -
    -
    -
     
    -
      -
    1. Drag the orange square over the blue square
    2. -
    3. Press the relevant modifier keys for your platform to request a "link" drop effect (eg. Alt on Windows, Ctrl+Shift on Unix/Linux, Command+Option on Mac)
    4. -
    5. Continue dragging over the pink square
    6. -
    7. If supported by the platform, the mouse cursor should show that a "move" drop effect will be used
    8. -
    9. Release the drag, then the keys
    10. -
    11. Fail if no new text appears above this list
    12. -
    +
    +
    +
    +
     
    +
      +
    1. Drag the orange square over the blue square
    2. +
    3. Press the relevant modifier keys for your platform to request a "link" drop effect (eg. Alt on Windows, Ctrl+Shift on Unix/Linux, Command+Option on Mac)
    4. +
    5. Continue dragging over the pink square
    6. +
    7. If supported by the platform, the mouse cursor should show that a "move" drop effect will be used
    8. +
    9. Release the drag, then the keys
    10. +
    11. Fail if no new text appears above this list
    12. +
    - - \ No newline at end of file + + diff --git a/html/editing/dnd/platform/moving-window.html b/html/editing/dnd/platform/moving-window.html index 810ade95fff9b3..a11c1018006ac0 100644 --- a/html/editing/dnd/platform/moving-window.html +++ b/html/editing/dnd/platform/moving-window.html @@ -5,23 +5,23 @@ window.onload = function() { var li1 = document.getElementsByTagName('li')[3], li2 = document.getElementsByTagName('li')[4]; li1.ondragstart = li2.ondragstart = function(e) { - e.dataTransfer.effectAllowed = 'copy'; + e.dataTransfer.effectAllowed = 'copy'; e.dataTransfer.setData('Text', 'dummy text'); this.innerHTML = 'FAIL'; }; li1.onmousedown = function () { window.moveBy(0,10); }; li2.onmousedown = function () { setTimeout(function () { - window.moveBy(0,10); + window.moveBy(0,10); },10); }; };

      -
    1. Click here to open this page in a popup window.
    2. -
    3. Ensure that this popup window is not maximised (or tab, in the case of tabs being rendered as an MDI).
    4. -
    5. Ensure that your browser settings allow browser windows to be moved by scripts.
    6. -
    7. Press your mouse down on this text but do not move it afterwards. Fail if a drag operation has started (eg. if the mouse cursor shows that you are dragging something, or if some drag placeholder text appears, or if this text changes).
    8. -
    9. Press your mouse down on this text but do not move it afterwards. Fail if a drag operation has started (eg. if the mouse cursor shows that you are dragging something, or if some drag placeholder text appears, or if this text changes).
    10. +
    11. Click here to open this page in a popup window.
    12. +
    13. Ensure that this popup window is not maximised (or tab, in the case of tabs being rendered as an MDI).
    14. +
    15. Ensure that your browser settings allow browser windows to be moved by scripts.
    16. +
    17. Press your mouse down on this text but do not move it afterwards. Fail if a drag operation has started (eg. if the mouse cursor shows that you are dragging something, or if some drag placeholder text appears, or if this text changes).
    18. +
    19. Press your mouse down on this text but do not move it afterwards. Fail if a drag operation has started (eg. if the mouse cursor shows that you are dragging something, or if some drag placeholder text appears, or if this text changes).
    diff --git a/html/editing/dnd/platform/overlappingwindows.html b/html/editing/dnd/platform/overlappingwindows.html index cac76acf405549..ed707478da45d6 100644 --- a/html/editing/dnd/platform/overlappingwindows.html +++ b/html/editing/dnd/platform/overlappingwindows.html @@ -11,13 +11,13 @@ list-style-position: inside; } div { - height: 100px; - width: 100px; - position: absolute; - top: 50%; - left: 50%; - margin-top: -50px; - margin-left: -50px; + height: 100px; + width: 100px; + position: absolute; + top: 50%; + left: 50%; + margin-top: -50px; + margin-left: -50px; background: orange; } @@ -27,30 +27,30 @@ window.onload = function() { var orange = document.getElementsByTagName('div')[0]; orange.ondragstart = function(e) { - e.dataTransfer.effectAllowed = 'copy'; + e.dataTransfer.effectAllowed = 'copy'; e.dataTransfer.setData('Text', 'dummy text'); }; var blue = document.getElementsByTagName('ol')[0]; blue.ondragenter = blue.ondragover = function(e) { - e.preventDefault(); + e.preventDefault(); }; blue.ondrop = function(e) { - e.preventDefault(); - this.innerHTML = 'FAIL'; + e.preventDefault(); + this.innerHTML = 'FAIL'; }; };
      -
    1. Position the browser window so that the blue part of this page extends behind the system taskbar.
    2. -
    3. Use your mouse to drag the orange box over a part of the taskbar that overlays the blue part of this page.
    4. -
    5. If supported by the platform, the mouse cursor should not show the browser's custom "copy" cursor, and should instead show the system's expected cursor for dropping on that part of the taskbar.
    6. -
    7. Release the drag. Fail if the text on this page changes.
    8. -
    9. Reload and repeat this test for:
        -
      • Where the blue part of this page extends under an always-on-top window (eg. the Windows Task Manager).
      • -
      • Where the blue part of this page extends under an always-on-top notification (eg. a system tray info balloon).
      • -
    10. +
    11. Position the browser window so that the blue part of this page extends behind the system taskbar.
    12. +
    13. Use your mouse to drag the orange box over a part of the taskbar that overlays the blue part of this page.
    14. +
    15. If supported by the platform, the mouse cursor should not show the browser's custom "copy" cursor, and should instead show the system's expected cursor for dropping on that part of the taskbar.
    16. +
    17. Release the drag. Fail if the text on this page changes.
    18. +
    19. Reload and repeat this test for:
        +
      • Where the blue part of this page extends under an always-on-top window (eg. the Windows Task Manager).
      • +
      • Where the blue part of this page extends under an always-on-top notification (eg. a system tray info balloon).
      • +
    diff --git a/html/editing/dnd/platform/placeholderposition1.html b/html/editing/dnd/platform/placeholderposition1.html index ff61224a34cb0a..b79bd4fbceea79 100644 --- a/html/editing/dnd/platform/placeholderposition1.html +++ b/html/editing/dnd/platform/placeholderposition1.html @@ -1,14 +1,14 @@ - - drag and drop - position of the placeholder for a dragged element - - - + + + -
    Drag the orange block around the page (and only over the page), using the pixel in its top-left corner. When dragging, the top-left corner of the dragged placeholder should exactly match the position of the mouse cursor.
    +
    Drag the orange block around the page (and only over the page), using the pixel in its top-left corner. When dragging, the top-left corner of the dragged placeholder should exactly match the position of the mouse cursor.
    - - \ No newline at end of file + + diff --git a/html/editing/dnd/platform/placeholderposition2.html b/html/editing/dnd/platform/placeholderposition2.html index 5899f72663912d..373309d1a9284f 100644 --- a/html/editing/dnd/platform/placeholderposition2.html +++ b/html/editing/dnd/platform/placeholderposition2.html @@ -1,14 +1,14 @@ - - drag and drop - position of the placeholder for a dragged selection - - - + + + -

    Select the first word in this sentence. Drag the selection downwards, using the pixel in the top-left corner of the selection highlight. When dragging, the top-left corner of the dragged placeholder should exactly match the position of the mouse cursor.

    +

    Select the first word in this sentence. Drag the selection downwards, using the pixel in the top-left corner of the selection highlight. When dragging, the top-left corner of the dragged placeholder should exactly match the position of the mouse cursor.

    - - \ No newline at end of file + + diff --git a/html/editing/dnd/platform/plugin/plugin-dnd-001.html b/html/editing/dnd/platform/plugin/plugin-dnd-001.html index 62dc5847ad2984..96a502004410f9 100644 --- a/html/editing/dnd/platform/plugin/plugin-dnd-001.html +++ b/html/editing/dnd/platform/plugin/plugin-dnd-001.html @@ -1,21 +1,21 @@ - - Drag and drop in Flash - - - - -

    Drag the orange square onto the blue square and release it. The orange square should disappear, and the blue square should turn yellow.

    - - - - \ No newline at end of file + + + + diff --git a/html/editing/dnd/platform/plugin/plugin-dnd-002.html b/html/editing/dnd/platform/plugin/plugin-dnd-002.html index caa5f1a9d3e4bf..2958458e7eaad9 100644 --- a/html/editing/dnd/platform/plugin/plugin-dnd-002.html +++ b/html/editing/dnd/platform/plugin/plugin-dnd-002.html @@ -1,39 +1,39 @@ - - Drag and drop alternating between Flash and page - - - - - -
      -
    1. Drag the pink square onto the blue square and release it. The drag placeholder should disappear (either when releasing, or when passing the black square), and the mouse cursor should return to normal.
    2. -
    3. Without moving your mouse outside the black square, drag the orange square onto the blue square and release it. The orange square should disappear, and the blue square should turn yellow. Fail if the orange square does not immediately respond to the drag attempt.
    4. -
    5. Drag the pink square onto the yellow square and release it. The drag placeholder should disappear, and the mouse cursor should return to normal. Fail if the pink square does not immediately respond to the drag attempt.
    6. -
    -
    - + + + +
      +
    1. Drag the pink square onto the blue square and release it. The drag placeholder should disappear (either when releasing, or when passing the black square), and the mouse cursor should return to normal.
    2. +
    3. Without moving your mouse outside the black square, drag the orange square onto the blue square and release it. The orange square should disappear, and the blue square should turn yellow. Fail if the orange square does not immediately respond to the drag attempt.
    4. +
    5. Drag the pink square onto the yellow square and release it. The drag placeholder should disappear, and the mouse cursor should return to normal. Fail if the pink square does not immediately respond to the drag attempt.
    6. +
    +
    + - - - \ No newline at end of file + + + + diff --git a/html/editing/dnd/platform/plugin/plugin-dnd-003.html b/html/editing/dnd/platform/plugin/plugin-dnd-003.html index 15c672e622b3e5..592192124ffad1 100644 --- a/html/editing/dnd/platform/plugin/plugin-dnd-003.html +++ b/html/editing/dnd/platform/plugin/plugin-dnd-003.html @@ -1,22 +1,22 @@ - - Incomplete drag and drop in Flash - - - - - -

    Drag the orange square until the mouse is outside the black square, then release it. Move the mouse over the blue square. Fail if the orange square continues to follow the mouse.

    - - - - \ No newline at end of file + + + + diff --git a/html/editing/dnd/platform/plugin/plugin-dnd-004.html b/html/editing/dnd/platform/plugin/plugin-dnd-004.html index 430eae42b68730..a4e776be74e749 100644 --- a/html/editing/dnd/platform/plugin/plugin-dnd-004.html +++ b/html/editing/dnd/platform/plugin/plugin-dnd-004.html @@ -1,41 +1,41 @@ - - Drag and drop alternating between incompleted Flash drag and page - - - - - -
      -
    1. Drag the orange square until the mouse is outside the right side of the black square but the edge of the orange square can still be seen, then release it.
    2. -
    3. Without passing over the black square again, move the mouse to the pink square.
    4. -
    5. Drag the pink square onto the blue square and release it. The drag placeholder should disappear (either when releasing, or when passing the black square), and the mouse cursor should return to normal. Fail if the pink square does not immediately respond to the drag attempt.
    6. -
    7. Without passing over the black square again, move the mouse to the orange square. Fail if the orange square moves.
    8. -
    9. Drag the orange square onto the blue square and release it. The orange square should disappear, and the blue square should turn yellow. Fail if the orange square does not immediately respond to the drag attempt.
    10. -
    -
    - + + + +
      +
    1. Drag the orange square until the mouse is outside the right side of the black square but the edge of the orange square can still be seen, then release it.
    2. +
    3. Without passing over the black square again, move the mouse to the pink square.
    4. +
    5. Drag the pink square onto the blue square and release it. The drag placeholder should disappear (either when releasing, or when passing the black square), and the mouse cursor should return to normal. Fail if the pink square does not immediately respond to the drag attempt.
    6. +
    7. Without passing over the black square again, move the mouse to the orange square. Fail if the orange square moves.
    8. +
    9. Drag the orange square onto the blue square and release it. The orange square should disappear, and the blue square should turn yellow. Fail if the orange square does not immediately respond to the drag attempt.
    10. +
    +
    + - - - \ No newline at end of file + + + + diff --git a/html/editing/dnd/platform/plugin/plugin-dnd-005.html b/html/editing/dnd/platform/plugin/plugin-dnd-005.html index cf5343f2aa4b31..67035acc71a0ed 100644 --- a/html/editing/dnd/platform/plugin/plugin-dnd-005.html +++ b/html/editing/dnd/platform/plugin/plugin-dnd-005.html @@ -1,26 +1,26 @@ - - Drag and drop in Flash with Alt+Tab - - - - -
      -
    1. Ensure at least one other program is running, with its window maximised.
    2. -
    3. Drag the orange square over the blue square.
    4. -
    5. Without releasing the mouse button, use Alt+Tab (or your system's equivalent) to switch to the other program, then back to this one.
    6. -
    7. Move the mouse around inside the black square. The orange square should continue to follow the mouse.
    8. -
    - - - - \ No newline at end of file + + + + diff --git a/html/editing/dnd/platform/plugin/plugin-dnd-006.html b/html/editing/dnd/platform/plugin/plugin-dnd-006.html index b77539fa2be7a4..5322edd7d66dfe 100644 --- a/html/editing/dnd/platform/plugin/plugin-dnd-006.html +++ b/html/editing/dnd/platform/plugin/plugin-dnd-006.html @@ -1,26 +1,26 @@ - - Drag and drop in Flash with Alt+Tab over page - - - - -
      -
    1. Ensure at least one other program is running, with its window maximised.
    2. -
    3. Drag the orange square around until the mouse is outside the black square.
    4. -
    5. Without releasing the mouse button, use Alt+Tab (or your system's equivalent) to switch to the other program, then back to this one.
    6. -
    7. Move the mouse inside the black square. The orange square should continue to follow the mouse.
    8. -
    - - - - \ No newline at end of file + + + + diff --git a/html/editing/dnd/platform/plugin/plugin-dnd-007.html b/html/editing/dnd/platform/plugin/plugin-dnd-007.html index 44a69a4ce2db03..8ec0bebd3b2ae5 100644 --- a/html/editing/dnd/platform/plugin/plugin-dnd-007.html +++ b/html/editing/dnd/platform/plugin/plugin-dnd-007.html @@ -1,42 +1,42 @@ - - Drag and drop with Alt+Tab over Flash - - - - - -
      -
    1. Ensure at least one other program is running, with its window maximised.
    2. -
    3. Drag the pink square over the blue square. The mouse cursor should be the no-drop cursor, or the platform's drop-allowed cursor.
    4. -
    5. Without releasing the mouse button, use Alt+Tab (or your system's equivalent) to switch to the other program, then back to this one.
    6. -
    7. The mouse cursor should be the same cursor as in step 2.
    8. -
    9. Move the mouse outside the black square. The drag placeholder should follow the mouse (reappearing if it disappeared in step 2).
    10. -
    11. Release the drag. The drag placeholder should disappear, and the cursor should revert to the default mouse cursor.
    12. -
    -
    - + + + +
      +
    1. Ensure at least one other program is running, with its window maximised.
    2. +
    3. Drag the pink square over the blue square. The mouse cursor should be the no-drop cursor, or the platform's drop-allowed cursor.
    4. +
    5. Without releasing the mouse button, use Alt+Tab (or your system's equivalent) to switch to the other program, then back to this one.
    6. +
    7. The mouse cursor should be the same cursor as in step 2.
    8. +
    9. Move the mouse outside the black square. The drag placeholder should follow the mouse (reappearing if it disappeared in step 2).
    10. +
    11. Release the drag. The drag placeholder should disappear, and the cursor should revert to the default mouse cursor.
    12. +
    +
    + - - - \ No newline at end of file + + + + diff --git a/html/editing/dnd/platform/plugin/plugin-dnd-008.html b/html/editing/dnd/platform/plugin/plugin-dnd-008.html index 31d3b8d5168cfb..017696e6079c3f 100644 --- a/html/editing/dnd/platform/plugin/plugin-dnd-008.html +++ b/html/editing/dnd/platform/plugin/plugin-dnd-008.html @@ -1,41 +1,41 @@ - - Drag and drop with right click over Flash - - - - - -
      -
    1. Drag the pink square over the blue square.
    2. -
    3. Without releasing the drag, click the right mouse button.
    4. -
    5. If the platform's normal behaviour is to cancel a drag (eg. Windows and Unix+KDE), then the drag should be cancelled; moving the mouse outside the black square should not cause the drag placeholder to continue following the mouse, and the mouse cursor should revert to default.
    6. -
    7. If the platform's normal behaviour is not to cancel a drag (eg. Mac and Unix+Gnome), then the drag should not be cancelled; moving the mouse outside the black square should cause the drag placeholder to continue following the mouse, and the mouse cursor should show as no-drop or drop-allowed.
    8. -
    9. Fail in either case if the drag placeholder gets stuck temporarily or permanently over the blue square. Fail if an inappropriate right click function begins (eg. context menu opens).
    10. -
    -
    - + + + +
      +
    1. Drag the pink square over the blue square.
    2. +
    3. Without releasing the drag, click the right mouse button.
    4. +
    5. If the platform's normal behaviour is to cancel a drag (eg. Windows and Unix+KDE), then the drag should be cancelled; moving the mouse outside the black square should not cause the drag placeholder to continue following the mouse, and the mouse cursor should revert to default.
    6. +
    7. If the platform's normal behaviour is not to cancel a drag (eg. Mac and Unix+Gnome), then the drag should not be cancelled; moving the mouse outside the black square should cause the drag placeholder to continue following the mouse, and the mouse cursor should show as no-drop or drop-allowed.
    8. +
    9. Fail in either case if the drag placeholder gets stuck temporarily or permanently over the blue square. Fail if an inappropriate right click function begins (eg. context menu opens).
    10. +
    +
    + - - - \ No newline at end of file + + + + diff --git a/html/editing/dnd/platform/plugin/plugin-dnd-009.html b/html/editing/dnd/platform/plugin/plugin-dnd-009.html index 4c9cb2cab02cfe..74761894d3260a 100644 --- a/html/editing/dnd/platform/plugin/plugin-dnd-009.html +++ b/html/editing/dnd/platform/plugin/plugin-dnd-009.html @@ -1,40 +1,40 @@ - - Drag and drop with right click and release over Flash - - - - - -
      -
    1. Drag the pink square over the blue square.
    2. -
    3. Without releasing the drag, click the right mouse button, then release the drag.
    4. -
    5. Fail if the drag placeholder gets stuck over the blue square.
    6. -
    7. Move the mouse outside the black square. The mouse cursor should be the default mouse cursor.
    8. -
    -
    - + + + +
      +
    1. Drag the pink square over the blue square.
    2. +
    3. Without releasing the drag, click the right mouse button, then release the drag.
    4. +
    5. Fail if the drag placeholder gets stuck over the blue square.
    6. +
    7. Move the mouse outside the black square. The mouse cursor should be the default mouse cursor.
    8. +
    +
    + - - - \ No newline at end of file + + + + diff --git a/html/editing/dnd/platform/plugin/plugin-dnd-010.html b/html/editing/dnd/platform/plugin/plugin-dnd-010.html index f1f8933933d1af..7ce900d8fd8427 100644 --- a/html/editing/dnd/platform/plugin/plugin-dnd-010.html +++ b/html/editing/dnd/platform/plugin/plugin-dnd-010.html @@ -1,41 +1,41 @@ - - Drag and drop with middle click over Flash - - - - - -
      -
    1. Drag the pink square over the blue square.
    2. -
    3. Without releasing the drag, click the middle mouse button.
    4. -
    5. If the platform's normal behaviour is to cancel a drag (eg. Windows and Unix+KDE), then the drag should be cancelled; moving the mouse outside the black square should not cause the drag placeholder to continue following the mouse, and the mouse cursor should revert to default.
    6. -
    7. If the platform's normal behaviour is not to cancel a drag (eg. Mac and Unix+Gnome), then the drag should not be cancelled; moving the mouse outside the black square should cause the drag placeholder to continue following the mouse, and the mouse cursor should show as no-drop or drop-allowed.
    8. -
    9. Fail in either case if the drag placeholder gets stuck temporarily or permanently over the blue square. Fail if an inappropriate middle click function begins (eg. paste-and-go).
    10. -
    -
    - + + + +
      +
    1. Drag the pink square over the blue square.
    2. +
    3. Without releasing the drag, click the middle mouse button.
    4. +
    5. If the platform's normal behaviour is to cancel a drag (eg. Windows and Unix+KDE), then the drag should be cancelled; moving the mouse outside the black square should not cause the drag placeholder to continue following the mouse, and the mouse cursor should revert to default.
    6. +
    7. If the platform's normal behaviour is not to cancel a drag (eg. Mac and Unix+Gnome), then the drag should not be cancelled; moving the mouse outside the black square should cause the drag placeholder to continue following the mouse, and the mouse cursor should show as no-drop or drop-allowed.
    8. +
    9. Fail in either case if the drag placeholder gets stuck temporarily or permanently over the blue square. Fail if an inappropriate middle click function begins (eg. paste-and-go).
    10. +
    +
    + - - - \ No newline at end of file + + + + diff --git a/html/editing/dnd/platform/plugin/plugin-dnd-011.html b/html/editing/dnd/platform/plugin/plugin-dnd-011.html index 8a5753b0cb9d36..e22c4eec224cea 100644 --- a/html/editing/dnd/platform/plugin/plugin-dnd-011.html +++ b/html/editing/dnd/platform/plugin/plugin-dnd-011.html @@ -1,40 +1,40 @@ - - Drag and drop with middle click and release over Flash - - - - - -
      -
    1. Drag the pink square over the blue square.
    2. -
    3. Without releasing the drag, click the middle mouse button, then release the drag.
    4. -
    5. Fail if the drag placeholder gets stuck over the blue square.
    6. -
    7. Move the mouse outside the black square. The mouse cursor should be the default mouse cursor.
    8. -
    -
    - + + + +
      +
    1. Drag the pink square over the blue square.
    2. +
    3. Without releasing the drag, click the middle mouse button, then release the drag.
    4. +
    5. Fail if the drag placeholder gets stuck over the blue square.
    6. +
    7. Move the mouse outside the black square. The mouse cursor should be the default mouse cursor.
    8. +
    +
    + - - - \ No newline at end of file + + + + diff --git a/html/editing/dnd/platform/plugin/plugin-dnd-101.html b/html/editing/dnd/platform/plugin/plugin-dnd-101.html index 58d03fde851fd4..5f28430aa8f3d2 100644 --- a/html/editing/dnd/platform/plugin/plugin-dnd-101.html +++ b/html/editing/dnd/platform/plugin/plugin-dnd-101.html @@ -1,21 +1,21 @@ - - Drag and drop in windowless Flash - - - - -

    Drag the orange square onto the blue square and release it. The orange square should disappear, and the blue square should turn yellow.

    - - - - \ No newline at end of file + + + + diff --git a/html/editing/dnd/platform/plugin/plugin-dnd-102.html b/html/editing/dnd/platform/plugin/plugin-dnd-102.html index 428c191fb22e0e..79bb0dfd7e6884 100644 --- a/html/editing/dnd/platform/plugin/plugin-dnd-102.html +++ b/html/editing/dnd/platform/plugin/plugin-dnd-102.html @@ -1,39 +1,39 @@ - - Drag and drop alternating between windowless Flash and page - - - - - -
      -
    1. Drag the pink square onto the blue square and release it. The drag placeholder should disappear (either when releasing, or when passing the black square), and the mouse cursor should return to normal.
    2. -
    3. Without moving your mouse outside the black square, drag the orange square onto the blue square and release it. The orange square should disappear, and the blue square should turn yellow. Fail if the orange square does not immediately respond to the drag attempt.
    4. -
    5. Drag the pink square onto the yellow square and release it. The drag placeholder should disappear, and the mouse cursor should return to normal. Fail if the pink square does not immediately respond to the drag attempt.
    6. -
    -
    - + + + +
      +
    1. Drag the pink square onto the blue square and release it. The drag placeholder should disappear (either when releasing, or when passing the black square), and the mouse cursor should return to normal.
    2. +
    3. Without moving your mouse outside the black square, drag the orange square onto the blue square and release it. The orange square should disappear, and the blue square should turn yellow. Fail if the orange square does not immediately respond to the drag attempt.
    4. +
    5. Drag the pink square onto the yellow square and release it. The drag placeholder should disappear, and the mouse cursor should return to normal. Fail if the pink square does not immediately respond to the drag attempt.
    6. +
    +
    + - - - \ No newline at end of file + + + + diff --git a/html/editing/dnd/platform/plugin/plugin-dnd-103.html b/html/editing/dnd/platform/plugin/plugin-dnd-103.html index 2ac8f1df635223..3166b054f518a6 100644 --- a/html/editing/dnd/platform/plugin/plugin-dnd-103.html +++ b/html/editing/dnd/platform/plugin/plugin-dnd-103.html @@ -1,22 +1,22 @@ - - Incomplete drag and drop in windowless Flash - - - - - -

    Drag the orange square until the mouse is outside the black square, then release it. Move the mouse over the blue square. Pass if the orange square follows the mouse.

    - - - - \ No newline at end of file + + + + diff --git a/html/editing/dnd/platform/plugin/plugin-dnd-104.html b/html/editing/dnd/platform/plugin/plugin-dnd-104.html index 9f4a3ec1c01a93..53128eeb4b30ca 100644 --- a/html/editing/dnd/platform/plugin/plugin-dnd-104.html +++ b/html/editing/dnd/platform/plugin/plugin-dnd-104.html @@ -1,41 +1,41 @@ - - Drag and drop alternating between incompleted windowless Flash drag and page - - - - - -
      -
    1. Drag the orange square until the mouse is outside the right side of the black square but the edge of the orange square can still be seen, then release it.
    2. -
    3. Without passing over the black square again, move the mouse to the pink square.
    4. -
    5. Drag the pink square onto the white area inside the black square and release it. The drag placeholder should disappear (either when releasing, or when passing the black square), and the mouse cursor should return to normal. The orange square should jump to the mouse position. Fail if the pink square does not immediately respond to the drag attempt.
    6. -
    7. The orange square may optionally continue to follow the mouse.
    8. - -
    -
    - + + + +
      +
    1. Drag the orange square until the mouse is outside the right side of the black square but the edge of the orange square can still be seen, then release it.
    2. +
    3. Without passing over the black square again, move the mouse to the pink square.
    4. +
    5. Drag the pink square onto the white area inside the black square and release it. The drag placeholder should disappear (either when releasing, or when passing the black square), and the mouse cursor should return to normal. The orange square should jump to the mouse position. Fail if the pink square does not immediately respond to the drag attempt.
    6. +
    7. The orange square may optionally continue to follow the mouse.
    8. + +
    +
    + - - - \ No newline at end of file + + + + diff --git a/html/editing/dnd/platform/plugin/plugin-dnd-105.html b/html/editing/dnd/platform/plugin/plugin-dnd-105.html index 3b072a4237e764..a146a4608dfa18 100644 --- a/html/editing/dnd/platform/plugin/plugin-dnd-105.html +++ b/html/editing/dnd/platform/plugin/plugin-dnd-105.html @@ -1,26 +1,26 @@ - - Drag and drop in windowless Flash with Alt+Tab - - - - -
      -
    1. Ensure at least one other program is running, with its window maximised.
    2. -
    3. Drag the orange square over the blue square.
    4. -
    5. Without releasing the mouse button, use Alt+Tab (or your system's equivalent) to switch to the other program, then back to this one.
    6. -
    7. Move the mouse around inside the black square. The orange square should continue to follow the mouse.
    8. -
    - - - - \ No newline at end of file + + + + diff --git a/html/editing/dnd/platform/plugin/plugin-dnd-106.html b/html/editing/dnd/platform/plugin/plugin-dnd-106.html index f38fd302f78157..4ee1923d2e485f 100644 --- a/html/editing/dnd/platform/plugin/plugin-dnd-106.html +++ b/html/editing/dnd/platform/plugin/plugin-dnd-106.html @@ -1,26 +1,26 @@ - - Drag and drop in windowless Flash with Alt+Tab over page - - - - -
      -
    1. Ensure at least one other program is running, with its window maximised.
    2. -
    3. Drag the orange square around until the mouse is outside the black square.
    4. -
    5. Without releasing the mouse button, use Alt+Tab (or your system's equivalent) to switch to the other program, then back to this one.
    6. -
    7. Move the mouse inside the black square. The orange square should continue to follow the mouse.
    8. -
    - - - - \ No newline at end of file + + + + diff --git a/html/editing/dnd/platform/plugin/plugin-dnd-107.html b/html/editing/dnd/platform/plugin/plugin-dnd-107.html index 972df68847b831..96dc126a26d6cd 100644 --- a/html/editing/dnd/platform/plugin/plugin-dnd-107.html +++ b/html/editing/dnd/platform/plugin/plugin-dnd-107.html @@ -1,43 +1,43 @@ - - Drag and drop with Alt+Tab over windowless Flash - - - - -

    Note: Mac has no no-drop cursor.

    - -
      -
    1. Ensure at least one other program is running, with its window maximised.
    2. -
    3. Drag the pink square over the blue square. The mouse cursor should be the no-drop cursor, or the platform's drop-allowed cursor.
    4. -
    5. Without releasing the mouse button, use Alt+Tab (or your system's equivalent) to switch to the other program, then back to this one.
    6. -
    7. The mouse cursor should be the same cursor as in step 2.
    8. -
    9. Move the mouse outside the black square. The drag placeholder should follow the mouse (reappearing if it disappeared in step 2).
    10. -
    11. Release the drag. The drag placeholder should disappear, and the cursor should revert to the default mouse cursor.
    12. -
    -
    - + + +

    Note: Mac has no no-drop cursor.

    + +
      +
    1. Ensure at least one other program is running, with its window maximised.
    2. +
    3. Drag the pink square over the blue square. The mouse cursor should be the no-drop cursor, or the platform's drop-allowed cursor.
    4. +
    5. Without releasing the mouse button, use Alt+Tab (or your system's equivalent) to switch to the other program, then back to this one.
    6. +
    7. The mouse cursor should be the same cursor as in step 2.
    8. +
    9. Move the mouse outside the black square. The drag placeholder should follow the mouse (reappearing if it disappeared in step 2).
    10. +
    11. Release the drag. The drag placeholder should disappear, and the cursor should revert to the default mouse cursor.
    12. +
    +
    + - - - \ No newline at end of file + + + + diff --git a/html/editing/dnd/platform/plugin/plugin-dnd-108.html b/html/editing/dnd/platform/plugin/plugin-dnd-108.html index 7a145d06004754..ba69dfedb30025 100644 --- a/html/editing/dnd/platform/plugin/plugin-dnd-108.html +++ b/html/editing/dnd/platform/plugin/plugin-dnd-108.html @@ -1,41 +1,41 @@ - - Drag and drop with right click over windowless Flash - - - - - -
      -
    1. Drag the pink square over the blue square.
    2. -
    3. Without releasing the drag, click the right mouse button.
    4. -
    5. If the platform's normal behaviour is to cancel a drag (eg. Windows and Unix+KDE), then the drag should be cancelled; moving the mouse outside the black square should not cause the drag placeholder to continue following the mouse, and the mouse cursor should revert to default.
    6. -
    7. If the platform's normal behaviour is not to cancel a drag (eg. Mac and Unix+Gnome), then the drag should not be cancelled; moving the mouse outside the black square should cause the drag placeholder to continue following the mouse, and the mouse cursor should show as no-drop or drop-allowed.
    8. -
    9. Fail in either case if the drag placeholder gets stuck temporarily or permanently over the blue square. Fail if an inappropriate right click function begins (eg. context menu opens).
    10. -
    -
    - + + + +
      +
    1. Drag the pink square over the blue square.
    2. +
    3. Without releasing the drag, click the right mouse button.
    4. +
    5. If the platform's normal behaviour is to cancel a drag (eg. Windows and Unix+KDE), then the drag should be cancelled; moving the mouse outside the black square should not cause the drag placeholder to continue following the mouse, and the mouse cursor should revert to default.
    6. +
    7. If the platform's normal behaviour is not to cancel a drag (eg. Mac and Unix+Gnome), then the drag should not be cancelled; moving the mouse outside the black square should cause the drag placeholder to continue following the mouse, and the mouse cursor should show as no-drop or drop-allowed.
    8. +
    9. Fail in either case if the drag placeholder gets stuck temporarily or permanently over the blue square. Fail if an inappropriate right click function begins (eg. context menu opens).
    10. +
    +
    + - - - \ No newline at end of file + + + + diff --git a/html/editing/dnd/platform/plugin/plugin-dnd-109.html b/html/editing/dnd/platform/plugin/plugin-dnd-109.html index e28e166d5fde5a..8748d8745d428d 100644 --- a/html/editing/dnd/platform/plugin/plugin-dnd-109.html +++ b/html/editing/dnd/platform/plugin/plugin-dnd-109.html @@ -1,40 +1,40 @@ - - Drag and drop with right click and release over windowless Flash - - - - - -
      -
    1. Drag the pink square over the blue square.
    2. -
    3. Without releasing the drag, click the right mouse button, then release the drag.
    4. -
    5. Fail if the drag placeholder gets stuck over the blue square.
    6. -
    7. Move the mouse outside the black square. The mouse cursor should be the default mouse cursor.
    8. -
    -
    - + + + +
      +
    1. Drag the pink square over the blue square.
    2. +
    3. Without releasing the drag, click the right mouse button, then release the drag.
    4. +
    5. Fail if the drag placeholder gets stuck over the blue square.
    6. +
    7. Move the mouse outside the black square. The mouse cursor should be the default mouse cursor.
    8. +
    +
    + - - - \ No newline at end of file + + + + diff --git a/html/editing/dnd/platform/plugin/plugin-dnd-110.html b/html/editing/dnd/platform/plugin/plugin-dnd-110.html index 07e6241cfd1ab5..fbf5b48fa4ae35 100644 --- a/html/editing/dnd/platform/plugin/plugin-dnd-110.html +++ b/html/editing/dnd/platform/plugin/plugin-dnd-110.html @@ -1,41 +1,41 @@ - - Drag and drop with middle click over windowless Flash - - - - - -
      -
    1. Drag the pink square over the blue square.
    2. -
    3. Without releasing the drag, click the middle mouse button.
    4. -
    5. If the platform's normal behaviour is to cancel a drag (eg. Windows and Unix+KDE), then the drag should be cancelled; moving the mouse outside the black square should not cause the drag placeholder to continue following the mouse, and the mouse cursor should revert to default.
    6. -
    7. If the platform's normal behaviour is not to cancel a drag (eg. Mac and Unix+Gnome), then the drag should not be cancelled; moving the mouse outside the black square should cause the drag placeholder to continue following the mouse, and the mouse cursor should show as no-drop or drop-allowed.
    8. -
    9. Fail in either case if the drag placeholder gets stuck temporarily or permanently over the blue square. Fail if an inappropriate middle click function begins (eg. paste-and-go).
    10. -
    -
    - + + + +
      +
    1. Drag the pink square over the blue square.
    2. +
    3. Without releasing the drag, click the middle mouse button.
    4. +
    5. If the platform's normal behaviour is to cancel a drag (eg. Windows and Unix+KDE), then the drag should be cancelled; moving the mouse outside the black square should not cause the drag placeholder to continue following the mouse, and the mouse cursor should revert to default.
    6. +
    7. If the platform's normal behaviour is not to cancel a drag (eg. Mac and Unix+Gnome), then the drag should not be cancelled; moving the mouse outside the black square should cause the drag placeholder to continue following the mouse, and the mouse cursor should show as no-drop or drop-allowed.
    8. +
    9. Fail in either case if the drag placeholder gets stuck temporarily or permanently over the blue square. Fail if an inappropriate middle click function begins (eg. paste-and-go).
    10. +
    +
    + - - - \ No newline at end of file + + + + diff --git a/html/editing/dnd/platform/plugin/plugin-dnd-111.html b/html/editing/dnd/platform/plugin/plugin-dnd-111.html index 587c70f24c42c5..8687c74b121c30 100644 --- a/html/editing/dnd/platform/plugin/plugin-dnd-111.html +++ b/html/editing/dnd/platform/plugin/plugin-dnd-111.html @@ -1,40 +1,40 @@ - - Drag and drop with middle click and release over windowless Flash - - - - - -
      -
    1. Drag the pink square over the blue square.
    2. -
    3. Without releasing the drag, click the middle mouse button, then release the drag.
    4. -
    5. Fail if the drag placeholder gets stuck over the blue square.
    6. -
    7. Move the mouse outside the black square. The mouse cursor should be the default mouse cursor.
    8. -
    -
    - + + + +
      +
    1. Drag the pink square over the blue square.
    2. +
    3. Without releasing the drag, click the middle mouse button, then release the drag.
    4. +
    5. Fail if the drag placeholder gets stuck over the blue square.
    6. +
    7. Move the mouse outside the black square. The mouse cursor should be the default mouse cursor.
    8. +
    +
    + - - - \ No newline at end of file + + + + diff --git a/html/editing/dnd/platform/plugin/plugin-dnd-203.html b/html/editing/dnd/platform/plugin/plugin-dnd-203.html index a4d08ecd44eb3f..ed6048783bd943 100644 --- a/html/editing/dnd/platform/plugin/plugin-dnd-203.html +++ b/html/editing/dnd/platform/plugin/plugin-dnd-203.html @@ -1,22 +1,22 @@ - - Incomplete drag and drop with deactivate in Flash - - - - - -

    Drag the orange square until the mouse is outside the black square, then release it. Move the mouse over the blue square. Fail if the orange square continues to follow the mouse.

    - - - - \ No newline at end of file + + + + diff --git a/html/editing/dnd/platform/plugin/plugin-dnd-204.html b/html/editing/dnd/platform/plugin/plugin-dnd-204.html index 4ba76e65294b2b..e11ce92f0a3cd7 100644 --- a/html/editing/dnd/platform/plugin/plugin-dnd-204.html +++ b/html/editing/dnd/platform/plugin/plugin-dnd-204.html @@ -1,41 +1,41 @@ - - Drag and drop with deactivate alternating between incompleted Flash drag and page - - - - - -
      -
    1. Drag the orange square until the mouse is outside the right side of the black square but the edge of the orange square can still be seen, then release it.
    2. -
    3. Without passing over the black square again, move the mouse to the pink square.
    4. -
    5. Drag the pink square onto the blue square and release it. The drag placeholder should disappear (either when releasing, or when passing the black square), and the mouse cursor should return to normal. Fail if the pink square does not immediately respond to the drag attempt.
    6. -
    7. Without passing over the black square again, move the mouse to the orange square. Fail if the orange square moves.
    8. -
    9. Drag the orange square onto the blue square and release it. The orange square should disappear, and the blue square should turn yellow. Fail if the orange square does not immediately respond to the drag attempt.
    10. -
    -
    - + + + +
      +
    1. Drag the orange square until the mouse is outside the right side of the black square but the edge of the orange square can still be seen, then release it.
    2. +
    3. Without passing over the black square again, move the mouse to the pink square.
    4. +
    5. Drag the pink square onto the blue square and release it. The drag placeholder should disappear (either when releasing, or when passing the black square), and the mouse cursor should return to normal. Fail if the pink square does not immediately respond to the drag attempt.
    6. +
    7. Without passing over the black square again, move the mouse to the orange square. Fail if the orange square moves.
    8. +
    9. Drag the orange square onto the blue square and release it. The orange square should disappear, and the blue square should turn yellow. Fail if the orange square does not immediately respond to the drag attempt.
    10. +
    +
    + - - - \ No newline at end of file + + + + diff --git a/html/editing/dnd/platform/plugin/plugin-dnd-205.html b/html/editing/dnd/platform/plugin/plugin-dnd-205.html index e49add30468d3b..eaf3e188578e37 100644 --- a/html/editing/dnd/platform/plugin/plugin-dnd-205.html +++ b/html/editing/dnd/platform/plugin/plugin-dnd-205.html @@ -1,27 +1,27 @@ - - Drag and drop with deactivate in Flash with Alt+Tab - - - - -
      -
    1. Ensure at least one other program is running, with its window maximised.
    2. -
    3. Drag the orange square over the blue square.
    4. -
    5. Without releasing the mouse button, use Alt+Tab (or your system's equivalent) to switch to the other program, then back to this one.
    6. -
    7. Move the mouse around inside the black square. The orange square should not follow the mouse.
    8. -
    9. Release the mouse button over the white area inside the black square. The orange square should disappear, and the blue square should turn yellow.
    10. -
    - - - - \ No newline at end of file + + + + diff --git a/html/editing/dnd/platform/plugin/plugin-dnd-206.html b/html/editing/dnd/platform/plugin/plugin-dnd-206.html index b3bae6e48f9657..a39ab0bcbf9dd5 100644 --- a/html/editing/dnd/platform/plugin/plugin-dnd-206.html +++ b/html/editing/dnd/platform/plugin/plugin-dnd-206.html @@ -1,26 +1,26 @@ - - Drag and drop with deactivate in Flash with Alt+Tab over page - - - - -
      -
    1. Ensure at least one other program is running, with its window maximised.
    2. -
    3. Drag the orange square around until the mouse is outside the black square.
    4. -
    5. Without releasing the mouse button, use Alt+Tab (or your system's equivalent) to switch to the other program, then back to this one.
    6. -
    7. Move the mouse over the blue square. The orange square should not continue to follow the mouse.
    8. -
    - - - - \ No newline at end of file + + + + diff --git a/html/editing/dnd/platform/plugin/plugin-dnd-207.html b/html/editing/dnd/platform/plugin/plugin-dnd-207.html index bfb4c4d1062f01..a9ddcba494af1c 100644 --- a/html/editing/dnd/platform/plugin/plugin-dnd-207.html +++ b/html/editing/dnd/platform/plugin/plugin-dnd-207.html @@ -1,43 +1,43 @@ - - Drag and drop with deactivate with Alt+Tab over Flash - - - - -

    Note: Mac has no no-drop cursor.

    - -
      -
    1. Ensure at least one other program is running, with its window maximised.
    2. -
    3. Drag the pink square over the blue square. The mouse cursor should be the no-drop cursor, or the platform's drop-allowed cursor.
    4. -
    5. Without releasing the mouse button, use Alt+Tab (or your system's equivalent) to switch to the other program, then back to this one.
    6. -
    7. The mouse cursor should be the same cursor as in step 2.
    8. -
    9. Move the mouse outside the black square. The drag placeholder should follow the mouse (reappearing if it disappeared in step 2).
    10. -
    11. Release the drag. The drag placeholder should disappear, and the cursor should revert to the default mouse cursor.
    12. -
    -
    - + + +

    Note: Mac has no no-drop cursor.

    + +
      +
    1. Ensure at least one other program is running, with its window maximised.
    2. +
    3. Drag the pink square over the blue square. The mouse cursor should be the no-drop cursor, or the platform's drop-allowed cursor.
    4. +
    5. Without releasing the mouse button, use Alt+Tab (or your system's equivalent) to switch to the other program, then back to this one.
    6. +
    7. The mouse cursor should be the same cursor as in step 2.
    8. +
    9. Move the mouse outside the black square. The drag placeholder should follow the mouse (reappearing if it disappeared in step 2).
    10. +
    11. Release the drag. The drag placeholder should disappear, and the cursor should revert to the default mouse cursor.
    12. +
    +
    + - - - \ No newline at end of file + + + + diff --git a/html/editing/dnd/platform/plugin/plugin-dnd-303.html b/html/editing/dnd/platform/plugin/plugin-dnd-303.html index 275e207df33586..91307e61600c0b 100644 --- a/html/editing/dnd/platform/plugin/plugin-dnd-303.html +++ b/html/editing/dnd/platform/plugin/plugin-dnd-303.html @@ -1,22 +1,22 @@ - - Incomplete drag and drop with deactivate in windowless Flash - - - - - -

    Drag the orange square until the mouse is outside the black square, then release it. Move the mouse over the blue square. Pass if the orange square follows the mouse.

    - - - - \ No newline at end of file + + + + diff --git a/html/editing/dnd/platform/plugin/plugin-dnd-304.html b/html/editing/dnd/platform/plugin/plugin-dnd-304.html index a68a8c3fad014c..d3d27ebb690bd8 100644 --- a/html/editing/dnd/platform/plugin/plugin-dnd-304.html +++ b/html/editing/dnd/platform/plugin/plugin-dnd-304.html @@ -1,41 +1,41 @@ - - Drag and drop with deactivate alternating between incompleted windowless Flash drag and page - - - - - -
      -
    1. Drag the orange square until the mouse is outside the right side of the black square but the edge of the orange square can still be seen, then release it.
    2. -
    3. Without passing over the black square again, move the mouse to the pink square.
    4. -
    5. Drag the pink square onto the white area inside the black square and release it. The drag placeholder should disappear (either when releasing, or when passing the black square), and the mouse cursor should return to normal. The orange square should jump to the mouse position. Fail if the pink square does not immediately respond to the drag attempt.
    6. -
    7. The orange square may optionally continue to follow the mouse.
    8. - -
    -
    - + + + +
      +
    1. Drag the orange square until the mouse is outside the right side of the black square but the edge of the orange square can still be seen, then release it.
    2. +
    3. Without passing over the black square again, move the mouse to the pink square.
    4. +
    5. Drag the pink square onto the white area inside the black square and release it. The drag placeholder should disappear (either when releasing, or when passing the black square), and the mouse cursor should return to normal. The orange square should jump to the mouse position. Fail if the pink square does not immediately respond to the drag attempt.
    6. +
    7. The orange square may optionally continue to follow the mouse.
    8. + +
    +
    + - - - \ No newline at end of file + + + + diff --git a/html/editing/dnd/platform/plugin/plugin-dnd-305.html b/html/editing/dnd/platform/plugin/plugin-dnd-305.html index 3a702789aeddfb..ed8561b9c3b5b9 100644 --- a/html/editing/dnd/platform/plugin/plugin-dnd-305.html +++ b/html/editing/dnd/platform/plugin/plugin-dnd-305.html @@ -1,26 +1,26 @@ - - Drag and drop with deactivate in windowless Flash with Alt+Tab - - - - -
      -
    1. Ensure at least one other program is running, with its window maximised.
    2. -
    3. Drag the orange square over the blue square.
    4. -
    5. Without releasing the mouse button, use Alt+Tab (or your system's equivalent) to switch to the other program, then back to this one.
    6. -
    7. Move the mouse around inside the black square. The orange square should continue to follow the mouse.
    8. -
    - - - - \ No newline at end of file + + + + diff --git a/html/editing/dnd/platform/plugin/plugin-dnd-306.html b/html/editing/dnd/platform/plugin/plugin-dnd-306.html index a8248bd696dc55..8ea6001962476b 100644 --- a/html/editing/dnd/platform/plugin/plugin-dnd-306.html +++ b/html/editing/dnd/platform/plugin/plugin-dnd-306.html @@ -1,26 +1,26 @@ - - Drag and drop with deactivate in windowless Flash with Alt+Tab over page - - - - -
      -
    1. Ensure at least one other program is running, with its window maximised.
    2. -
    3. Drag the orange square around until the mouse is outside the black square.
    4. -
    5. Without releasing the mouse button, use Alt+Tab (or your system's equivalent) to switch to the other program, then back to this one.
    6. -
    7. Move the mouse inside the black square. The orange square should continue to follow the mouse.
    8. -
    - - - - \ No newline at end of file + + + + diff --git a/html/editing/dnd/platform/plugin/plugin-dnd-307.html b/html/editing/dnd/platform/plugin/plugin-dnd-307.html index 1def298cc16ced..0e55a7b1bf4e40 100644 --- a/html/editing/dnd/platform/plugin/plugin-dnd-307.html +++ b/html/editing/dnd/platform/plugin/plugin-dnd-307.html @@ -1,42 +1,42 @@ - - Drag and drop with deactivate with Alt+Tab over windowless Flash - - - - - -
      -
    1. Ensure at least one other program is running, with its window maximised.
    2. -
    3. Drag the pink square over the blue square. The mouse cursor should be the no-drop cursor, or the platform's drop-allowed cursor.
    4. -
    5. Without releasing the mouse button, use Alt+Tab (or your system's equivalent) to switch to the other program, then back to this one.
    6. -
    7. The mouse cursor should be the same cursor as in step 2.
    8. -
    9. Move the mouse outside the black square. The drag placeholder should follow the mouse (reappearing if it disappeared in step 2).
    10. -
    11. Release the drag. The drag placeholder should disappear, and the cursor should revert to the default mouse cursor.
    12. -
    -
    - + + + +
      +
    1. Ensure at least one other program is running, with its window maximised.
    2. +
    3. Drag the pink square over the blue square. The mouse cursor should be the no-drop cursor, or the platform's drop-allowed cursor.
    4. +
    5. Without releasing the mouse button, use Alt+Tab (or your system's equivalent) to switch to the other program, then back to this one.
    6. +
    7. The mouse cursor should be the same cursor as in step 2.
    8. +
    9. Move the mouse outside the black square. The drag placeholder should follow the mouse (reappearing if it disappeared in step 2).
    10. +
    11. Release the drag. The drag placeholder should disappear, and the cursor should revert to the default mouse cursor.
    12. +
    +
    + - - - \ No newline at end of file + + + + diff --git a/html/editing/dnd/platform/plugindrop.html b/html/editing/dnd/platform/plugindrop.html index 548e4da8c1e55e..c34e60c4a941d5 100644 --- a/html/editing/dnd/platform/plugindrop.html +++ b/html/editing/dnd/platform/plugindrop.html @@ -1,24 +1,24 @@ - - drag and drop sequence should end when dropping over a plugin - - - + + + -

    Use your pointing device to drag the orange square onto the blue square, and release it. The drag placeholder should disappear after releasing (or as the pointer moves over the blue square). Try dragging the orange square again. Fail if it does not respond when trying to drag it.

    -
    -

    +

    Use your pointing device to drag the orange square onto the blue square, and release it. The drag placeholder should disappear after releasing (or as the pointer moves over the blue square). Try dragging the orange square again. Fail if it does not respond when trying to drag it.

    +
    +

    - - \ No newline at end of file + + diff --git a/html/editing/dnd/platform/selection-between-ui.html b/html/editing/dnd/platform/selection-between-ui.html index a0e94f65b7c9d0..e2fc81089df8f6 100644 --- a/html/editing/dnd/platform/selection-between-ui.html +++ b/html/editing/dnd/platform/selection-between-ui.html @@ -1,20 +1,20 @@ - - Dragging text from UI widgets to each other - - + + Dragging text from UI widgets to each other + + -
      -
    1. Select some text in the address bar.
    2. -
    3. Drag the selection to another text input in the UI, and release it.
    4. -
    5. Pass if:
        -
      1. A visible representation of the selected text appears to be dragged.
      2. -
      3. The mouse cursor shows that the drop will be allowed over the input.
      4. -
      5. The selected text appears in the input.
      6. -
    6. -
    7. Repeat the test with other UI text inputs as drag source/destination.
    8. -
    +
      +
    1. Select some text in the address bar.
    2. +
    3. Drag the selection to another text input in the UI, and release it.
    4. +
    5. Pass if:
        +
      1. A visible representation of the selected text appears to be dragged.
      2. +
      3. The mouse cursor shows that the drop will be allowed over the input.
      4. +
      5. The selected text appears in the input.
      6. +
    6. +
    7. Repeat the test with other UI text inputs as drag source/destination.
    8. +
    - - \ No newline at end of file + + diff --git a/html/editing/dnd/platform/selection-from-os.html b/html/editing/dnd/platform/selection-from-os.html index 14f3db335d37a8..cdda1f40ca6208 100644 --- a/html/editing/dnd/platform/selection-from-os.html +++ b/html/editing/dnd/platform/selection-from-os.html @@ -1,17 +1,17 @@ - - drag and drop - dragging a selection from the OS - - + + drag and drop - dragging a selection from the OS + + -

    This test is only relevant on platforms where it is possible to switch applications in mid-drag (eg. alt+tab, dragging over taskbar buttons, dragging between restored windows).

    -

    This testcase requires an external application that allows dragging of selections into other applications - eg. Wordpad (write.exe) on Windows. Ensure that the external application is open.

    -

    Move the browser window so it sits about 200 pixels down from the top of the screen.

    -

    Subtest 1. Write some text into the external application (if needed), containing both unicode and Latin characters. Select the text in the external application, and drag the selection into the following input:

    Pass if the text you selected appears in the input.

    -

    Subtest 2. Select the text in the external application, and drag the selection into the following block: - - Pass if the text you selected appears in the block.

    +

    This test is only relevant on platforms where it is possible to switch applications in mid-drag (eg. alt+tab, dragging over taskbar buttons, dragging between restored windows).

    +

    This testcase requires an external application that allows dragging of selections into other applications - eg. Wordpad (write.exe) on Windows. Ensure that the external application is open.

    +

    Move the browser window so it sits about 200 pixels down from the top of the screen.

    +

    Subtest 1. Write some text into the external application (if needed), containing both unicode and Latin characters. Select the text in the external application, and drag the selection into the following input:

    Pass if the text you selected appears in the input.

    +

    Subtest 2. Select the text in the external application, and drag the selection into the following block: + + Pass if the text you selected appears in the block.

    - - \ No newline at end of file + + diff --git a/html/editing/dnd/platform/selection-from-ui.html b/html/editing/dnd/platform/selection-from-ui.html index 1fc552ec6d534d..a2a5d09f968275 100644 --- a/html/editing/dnd/platform/selection-from-ui.html +++ b/html/editing/dnd/platform/selection-from-ui.html @@ -1,20 +1,20 @@ - - Dragging text from UI widgets - - + + Dragging text from UI widgets + + -
      -
    1. Select some text in the address bar.
    2. -
    3. Drag the selection to the following textarea, and release it:
    4. -
    5. Pass if:
        -
      1. A visible representation of the selected text appears to be dragged.
      2. -
      3. The mouse cursor shows that the drop will be allowed over the textarea.
      4. -
      5. The selected text appears in the textarea.
      6. -
    6. -
    7. Repeat the test with other UI text inputs, including ones that allow linebreaks (if any).
    8. -
    +
      +
    1. Select some text in the address bar.
    2. +
    3. Drag the selection to the following textarea, and release it:
    4. +
    5. Pass if:
        +
      1. A visible representation of the selected text appears to be dragged.
      2. +
      3. The mouse cursor shows that the drop will be allowed over the textarea.
      4. +
      5. The selected text appears in the textarea.
      6. +
    6. +
    7. Repeat the test with other UI text inputs, including ones that allow linebreaks (if any).
    8. +
    - - \ No newline at end of file + + diff --git a/html/editing/dnd/platform/selection-to-os.html b/html/editing/dnd/platform/selection-to-os.html index c4c72954714459..d596014695a3b0 100644 --- a/html/editing/dnd/platform/selection-to-os.html +++ b/html/editing/dnd/platform/selection-to-os.html @@ -1,14 +1,14 @@ - - drag and drop - dragging a selection onto the OS - - + + drag and drop - dragging a selection onto the OS + + -

    This test is only relevant on platforms where it is possible to switch applications in mid-drag (eg. alt+tab, dragging over taskbar buttons, dragging between restored windows).

    -

    This testcase requires an external application that accepts dropping of text from other applications - eg. Wordpad (write.exe) on Windows. Ensure that the external application is open.

    -

    Select this text. Drag the selection to the other application and release it. Pass if the text you selected appears in the other application, and the drag placeholder disappears when the drag is released.

    -

    Disable JavaScript and repeat the test. It should still pass.

    +

    This test is only relevant on platforms where it is possible to switch applications in mid-drag (eg. alt+tab, dragging over taskbar buttons, dragging between restored windows).

    +

    This testcase requires an external application that accepts dropping of text from other applications - eg. Wordpad (write.exe) on Windows. Ensure that the external application is open.

    +

    Select this text. Drag the selection to the other application and release it. Pass if the text you selected appears in the other application, and the drag placeholder disappears when the drag is released.

    +

    Disable JavaScript and repeat the test. It should still pass.

    - - \ No newline at end of file + + diff --git a/html/editing/dnd/platform/selection-to-ui-via.html b/html/editing/dnd/platform/selection-to-ui-via.html index f4f1cf1599315a..11eb2092e25c8e 100644 --- a/html/editing/dnd/platform/selection-to-ui-via.html +++ b/html/editing/dnd/platform/selection-to-ui-via.html @@ -1,19 +1,19 @@ - - Dragging text to UI widgets via window decoration - - + + Dragging text to UI widgets via window decoration + + -

    This test assumes that the address bar is positioned below the window's title bar, and above the page. If your browser uses an alternative layout, adjust your testing accordingly to ensure that the testing interacts with the edges of the window decoration.

    -
      -
    1. Select some text on this page.
    2. -
    3. Drag the selection to your browser's title bar.
    4. -
    5. Drag the selection back to your browser's address field. Fail if the mouse cursor shows that the text cannot be dropped.
    6. -
    7. Fail if the cursor and/or input focus caret respond in the wrong position (ie. if the drag operation seems to think the address field is offset from its actual location).
    8. -
    9. Release it. Pass if the selected text appears in the address field.
    10. -
    11. Repeat the test with other UI text inputs.
    12. -
    +

    This test assumes that the address bar is positioned below the window's title bar, and above the page. If your browser uses an alternative layout, adjust your testing accordingly to ensure that the testing interacts with the edges of the window decoration.

    +
      +
    1. Select some text on this page.
    2. +
    3. Drag the selection to your browser's title bar.
    4. +
    5. Drag the selection back to your browser's address field. Fail if the mouse cursor shows that the text cannot be dropped.
    6. +
    7. Fail if the cursor and/or input focus caret respond in the wrong position (ie. if the drag operation seems to think the address field is offset from its actual location).
    8. +
    9. Release it. Pass if the selected text appears in the address field.
    10. +
    11. Repeat the test with other UI text inputs.
    12. +
    - - \ No newline at end of file + + diff --git a/html/editing/dnd/platform/selection-to-ui.html b/html/editing/dnd/platform/selection-to-ui.html index 9c3a60387fcdd0..43b0877f8b6ccf 100644 --- a/html/editing/dnd/platform/selection-to-ui.html +++ b/html/editing/dnd/platform/selection-to-ui.html @@ -1,16 +1,16 @@ - - Dragging text to UI widgets - - + + Dragging text to UI widgets + + -
      -
    1. Select some text on this page.
    2. -
    3. Drag the selection to your browser's address field. Fail if the mouse cursor shows that the text cannot be dropped.
    4. -
    5. Release it. Pass if the selected text appears in the address field.
    6. -
    7. Repeat the test with other UI text inputs.
    8. -
    +
      +
    1. Select some text on this page.
    2. +
    3. Drag the selection to your browser's address field. Fail if the mouse cursor shows that the text cannot be dropped.
    4. +
    5. Release it. Pass if the selected text appears in the address field.
    6. +
    7. Repeat the test with other UI text inputs.
    8. +
    - - \ No newline at end of file + + diff --git a/html/editing/dnd/platform/selection-ui-to-self.html b/html/editing/dnd/platform/selection-ui-to-self.html index 363416de840d55..897a2588389a5a 100644 --- a/html/editing/dnd/platform/selection-ui-to-self.html +++ b/html/editing/dnd/platform/selection-ui-to-self.html @@ -1,21 +1,21 @@ - - Dragging text from UI widgets to themselves - - + + Dragging text from UI widgets to themselves + + -
      -
    1. Select all text in the address bar.
    2. -
    3. Drag the selection around a little, and release it over the address bar again.
    4. -
    5. Try to select the text in this sentence.
    6. -
    7. Pass if:
        -
      1. A visible representation of the selected text appears to be dragged.
      2. -
      3. The mouse cursor shows that the drop will be allowed over the address bar.
      4. -
      5. The text on this page can be selected afterwards.
      6. -
    8. -
    9. Repeat the test with other UI text inputs as drag source/destination.
    10. -
    +
      +
    1. Select all text in the address bar.
    2. +
    3. Drag the selection around a little, and release it over the address bar again.
    4. +
    5. Try to select the text in this sentence.
    6. +
    7. Pass if:
        +
      1. A visible representation of the selected text appears to be dragged.
      2. +
      3. The mouse cursor shows that the drop will be allowed over the address bar.
      4. +
      5. The text on this page can be selected afterwards.
      6. +
    8. +
    9. Repeat the test with other UI text inputs as drag source/destination.
    10. +
    - - \ No newline at end of file + + diff --git a/html/editing/dnd/platform/selection-unicode-to-os.html b/html/editing/dnd/platform/selection-unicode-to-os.html index ed093f6fa74e40..e43fac61734d13 100644 --- a/html/editing/dnd/platform/selection-unicode-to-os.html +++ b/html/editing/dnd/platform/selection-unicode-to-os.html @@ -1,13 +1,13 @@ - - drag and drop - dragging a selection containing unicode onto the OS - - + + drag and drop - dragging a selection containing unicode onto the OS + + -

    This test is only relevant on platforms where it is possible to switch applications in mid-drag (eg. alt+tab, dragging over taskbar buttons, dragging between restored windows).

    -

    This testcase requires an external application that accepts dropping of text from other applications, and supports unicode - eg. Wordpad (write.exe) on Windows. Ensure that the external application is open.

    -

    Select the following non-English text --> 中文אידישрусский <-- Drag the selection to the other application and release it. Pass if the text you selected appears in the other application, and the drag placeholder disappears when the drag is released.

    +

    This test is only relevant on platforms where it is possible to switch applications in mid-drag (eg. alt+tab, dragging over taskbar buttons, dragging between restored windows).

    +

    This testcase requires an external application that accepts dropping of text from other applications, and supports unicode - eg. Wordpad (write.exe) on Windows. Ensure that the external application is open.

    +

    Select the following non-English text --> 中文אידישрусский <-- Drag the selection to the other application and release it. Pass if the text you selected appears in the other application, and the drag placeholder disappears when the drag is released.

    - - \ No newline at end of file + + diff --git a/html/editing/dnd/platform/taskbardrop.html b/html/editing/dnd/platform/taskbardrop.html index 4b4e6c468ef81d..b96606cd377054 100644 --- a/html/editing/dnd/platform/taskbardrop.html +++ b/html/editing/dnd/platform/taskbardrop.html @@ -1,23 +1,23 @@ - - drag and drop - dropping on the taskbar - - + + drag and drop - dropping on the taskbar + + -

    This test is only relevant on platforms where dragging over taskbar buttons will switch between applications.

    -

    Ensure that at least one other application is open and visible on the taskbar. Maximise this browser window. Select this text. Drag the selection downwards, over a blank part of the system taskbar, and release the drag. Drag the selection again, over the taskbar button for the other application (without passing over any other buttons on the taskbar). Fail if the drag placeholder does not appear when dragging the selection. Pass if the other application becomes focused.

    -

    Repeat this test while dropping on other parts of the taskbar, such as:

    -
      -
    • The Start menu button (or your system's equivalent)
    • -
    • The Quick Launch bar (or your system's equivalent)
    • -
    • The System Tray (or your system's equivalent)
    • -
    • The expander button for the System Tray (or your system's equivalent)
    • -
    • The button for another application
    • -
    • The label for a folder toolbar - drop a folder onto the Windows taskbar to create one (or your system's equivalent)
    • -
    • The menu button for a folder toolbar (or your system's equivalent)
    • -
    -

    WARNING: different operating system versions handle this differently - Windows XP Taskbar in particular can cause several more problems than the Windows 7 Taskbar

    +

    This test is only relevant on platforms where dragging over taskbar buttons will switch between applications.

    +

    Ensure that at least one other application is open and visible on the taskbar. Maximise this browser window. Select this text. Drag the selection downwards, over a blank part of the system taskbar, and release the drag. Drag the selection again, over the taskbar button for the other application (without passing over any other buttons on the taskbar). Fail if the drag placeholder does not appear when dragging the selection. Pass if the other application becomes focused.

    +

    Repeat this test while dropping on other parts of the taskbar, such as:

    +
      +
    • The Start menu button (or your system's equivalent)
    • +
    • The Quick Launch bar (or your system's equivalent)
    • +
    • The System Tray (or your system's equivalent)
    • +
    • The expander button for the System Tray (or your system's equivalent)
    • +
    • The button for another application
    • +
    • The label for a folder toolbar - drop a folder onto the Windows taskbar to create one (or your system's equivalent)
    • +
    • The menu button for a folder toolbar (or your system's equivalent)
    • +
    +

    WARNING: different operating system versions handle this differently - Windows XP Taskbar in particular can cause several more problems than the Windows 7 Taskbar

    - - \ No newline at end of file + + diff --git a/html/editing/dnd/platform/taskbarminimise.html b/html/editing/dnd/platform/taskbarminimise.html index 8531ad935033fb..36ffe2f5c9efcd 100644 --- a/html/editing/dnd/platform/taskbarminimise.html +++ b/html/editing/dnd/platform/taskbarminimise.html @@ -1,12 +1,12 @@ - - drag and drop - minimising using the taskbar - - + + drag and drop - minimising using the taskbar + + -

    This test is only relevant on platforms where dragging over the taskbar (or a specific button on it) will minimise all applications.

    -

    Select this text. Drag the selection downwards, over a blank part of the system taskbar (or a minimise-all button if provided by the system). Hold the drag until all applications have minimised, then drag upwards over the desktop. Pass if the drag placeholder is still visible.

    +

    This test is only relevant on platforms where dragging over the taskbar (or a specific button on it) will minimise all applications.

    +

    Select this text. Drag the selection downwards, over a blank part of the system taskbar (or a minimise-all button if provided by the system). Hold the drag until all applications have minimised, then drag upwards over the desktop. Pass if the drag placeholder is still visible.

    - - \ No newline at end of file + + diff --git a/html/editing/dnd/platform/text-os-to-os.html b/html/editing/dnd/platform/text-os-to-os.html index 030972b70adaf6..95ca8b597cf094 100644 --- a/html/editing/dnd/platform/text-os-to-os.html +++ b/html/editing/dnd/platform/text-os-to-os.html @@ -1,13 +1,13 @@ - - drag and drop - dragging items from the OS to the OS, via the browser window - - + + drag and drop - dragging items from the OS to the OS, via the browser window + + -

    This test is only relevant on platforms where it is possible to switch applications in mid-drag (eg. alt+tab, dragging over taskbar buttons, dragging between restored windows).

    -

    This testcase requires an external application that accepts dropping of text from other applications - eg. Wordpad (write.exe) on Windows. Ensure that the external application is open.

    -

    Select some text in the external application. Drag the selection over the browser window, then back to the other application and release it. Pass if the text you selected appears in the other application.

    +

    This test is only relevant on platforms where it is possible to switch applications in mid-drag (eg. alt+tab, dragging over taskbar buttons, dragging between restored windows).

    +

    This testcase requires an external application that accepts dropping of text from other applications - eg. Wordpad (write.exe) on Windows. Ensure that the external application is open.

    +

    Select some text in the external application. Drag the selection over the browser window, then back to the other application and release it. Pass if the text you selected appears in the other application.

    - - \ No newline at end of file + + diff --git a/html/editing/dnd/platform/text-to-os.html b/html/editing/dnd/platform/text-to-os.html index ce57c43eb87edd..1bf754e2c36776 100644 --- a/html/editing/dnd/platform/text-to-os.html +++ b/html/editing/dnd/platform/text-to-os.html @@ -1,19 +1,19 @@ - - drag and drop - dragging plain text onto the OS - - + + drag and drop - dragging plain text onto the OS + + -

    This test is only relevant on platforms where it is possible to switch applications in mid-drag (eg. alt+tab, dragging over taskbar buttons, dragging between restored windows).

    -

    This testcase requires an external application that accepts dropping of text from other applications - eg. Wordpad (write.exe) on Windows. Ensure that the external application is open.

    -

    Drag this paragraph to the other application and release it. Pass if "PASS" appears in the other application, and the drag placeholder disappears when the drag is released.

    - + - - \ No newline at end of file + + diff --git a/html/editing/dnd/reload/001.xhtml b/html/editing/dnd/reload/001.xhtml index 87b97d4153b22d..a4c0cba89ed214 100644 --- a/html/editing/dnd/reload/001.xhtml +++ b/html/editing/dnd/reload/001.xhtml @@ -4,36 +4,36 @@ Reload during canvas drag and drop roundtrip

    - Canvas + Canvas

    Drag canvas pattern around page and then drag it back and drop on itself. It should be duplicated once you drop it.

    - \ No newline at end of file + diff --git a/html/editing/dnd/reload/002.xhtml b/html/editing/dnd/reload/002.xhtml index 47d14528ae2368..19ba5d03731154 100644 --- a/html/editing/dnd/reload/002.xhtml +++ b/html/editing/dnd/reload/002.xhtml @@ -4,17 +4,17 @@ Reload during PNG image drag and drop roundtrip

    PNG circle

    Drag circle around page and then drag it back and drop on itself. It should be duplicated once you drop it.

    - \ No newline at end of file + diff --git a/html/editing/dnd/reload/003.xhtml b/html/editing/dnd/reload/003.xhtml index 9fadf3926569a3..133df3525cfd94 100644 --- a/html/editing/dnd/reload/003.xhtml +++ b/html/editing/dnd/reload/003.xhtml @@ -4,17 +4,17 @@ Reload during SVG image drag and drop roundtrip

    SVG circle

    Drag circle around page and then drag it back and drop on itself. It should be duplicated once you drop it.

    - \ No newline at end of file + diff --git a/html/editing/dnd/reload/006.xhtml b/html/editing/dnd/reload/006.xhtml index 953dc47adf027b..9d633554f12c23 100644 --- a/html/editing/dnd/reload/006.xhtml +++ b/html/editing/dnd/reload/006.xhtml @@ -4,11 +4,11 @@ Reload during link drag and drop roundtrip

    Drag me

    Drag link around page and then drag it back and drop on itself. You should see word PASS once you drop it.

    - \ No newline at end of file + diff --git a/html/editing/dnd/reload/007.xhtml b/html/editing/dnd/reload/007.xhtml index 0a4160e9a5e256..b5ab3e785c0189 100644 --- a/html/editing/dnd/reload/007.xhtml +++ b/html/editing/dnd/reload/007.xhtml @@ -4,22 +4,22 @@ Reload during drag and drop roundtrip with text/plain data

    Drag blue box around page and then drag it back and drop on itself. You should see word PASS once you drop it.

    - \ No newline at end of file + diff --git a/html/editing/dnd/reload/008.xhtml b/html/editing/dnd/reload/008.xhtml index a0c49e6eae1fe0..1da66103e4637e 100644 --- a/html/editing/dnd/reload/008.xhtml +++ b/html/editing/dnd/reload/008.xhtml @@ -4,22 +4,22 @@ Reload during drag and drop roundtrip with text/uri-list data

    Drag blue box around page and then drag it back and drop on itself. You should see word PASS once you drop it.

    - \ No newline at end of file + diff --git a/html/editing/dnd/reload/009.xhtml b/html/editing/dnd/reload/009.xhtml index 5cb61fb8d7203e..421e562dc763dc 100644 --- a/html/editing/dnd/reload/009.xhtml +++ b/html/editing/dnd/reload/009.xhtml @@ -4,13 +4,13 @@ Reload during link drag and drop from object XHTML document

    Drag link above out of frame and drop it somewhere on the page. You should see word PASS once you drop it.

    - \ No newline at end of file + diff --git a/html/editing/dnd/reload/010.xhtml b/html/editing/dnd/reload/010.xhtml index 86663f722ac941..c214dff6debd0c 100644 --- a/html/editing/dnd/reload/010.xhtml +++ b/html/editing/dnd/reload/010.xhtml @@ -4,13 +4,13 @@ Reload during text input selection drag and drop from object XHTML document

    Drag selection above out of frame and drop it somewhere on the page. You should see word PASS once you drop it.

    - \ No newline at end of file + diff --git a/html/editing/dnd/reload/011.xhtml b/html/editing/dnd/reload/011.xhtml index 837b0853626feb..d24f5003fd8b55 100644 --- a/html/editing/dnd/reload/011.xhtml +++ b/html/editing/dnd/reload/011.xhtml @@ -4,13 +4,13 @@ Reload during selection drag and drop from object XHTML document

    Drag selection above out of frame and drop it somewhere on the page. You should see word PASS once you drop it.

    - \ No newline at end of file + diff --git a/html/editing/dnd/reload/012-2.xhtml b/html/editing/dnd/reload/012-2.xhtml index ae8560b14c208a..5b049a0c1aa5da 100644 --- a/html/editing/dnd/reload/012-2.xhtml +++ b/html/editing/dnd/reload/012-2.xhtml @@ -4,25 +4,25 @@ Reload during drag and drop: helper file
    - \ No newline at end of file + diff --git a/html/editing/dnd/remove/001.xhtml b/html/editing/dnd/remove/001.xhtml index 1ab5013cc88c28..f8cd7575f8f512 100644 --- a/html/editing/dnd/remove/001.xhtml +++ b/html/editing/dnd/remove/001.xhtml @@ -4,25 +4,25 @@ Removing canvas element during drag and drop

    - Canvas + Canvas

    Drag canvas pattern to the silver box below and drop it. It should be copied to the box once you drop it there.

    @@ -30,14 +30,14 @@ function start(event) var canvas = document.querySelector('canvas'), c = canvas.getContext('2d'); for(var x = 0; x != 50; x++) - {c.fillStyle = (x%2 == 0)?'navy':'white'; - c.beginPath(); - c.moveTo(x,x); - c.lineTo(100-x,x); - c.lineTo(100-x,100-x); - c.lineTo(x,100-x); - c.closePath(); - c.fill();} + {c.fillStyle = (x%2 == 0)?'navy':'white'; + c.beginPath(); + c.moveTo(x,x); + c.lineTo(100-x,x); + c.lineTo(100-x,100-x); + c.lineTo(x,100-x); + c.closePath(); + c.fill();} - \ No newline at end of file + diff --git a/html/editing/dnd/remove/002.xhtml b/html/editing/dnd/remove/002.xhtml index 02a9dc7484cd58..8ebf1e2b8af987 100644 --- a/html/editing/dnd/remove/002.xhtml +++ b/html/editing/dnd/remove/002.xhtml @@ -4,16 +4,16 @@ Removing image element during drag and drop of PNG image @@ -21,4 +21,4 @@ function addImage(event)

    Drag green circle to the silver box below and drop it. It should be copied to the box once you drop it there.

    - \ No newline at end of file + diff --git a/html/editing/dnd/remove/003.xhtml b/html/editing/dnd/remove/003.xhtml index 33eeb6a5793504..e7a88093a6b741 100644 --- a/html/editing/dnd/remove/003.xhtml +++ b/html/editing/dnd/remove/003.xhtml @@ -4,16 +4,16 @@ Removing image element during drag and drop of SVG image @@ -21,4 +21,4 @@ function addImage(event)

    Drag green circle to the silver box below and drop it. It should be copied to the box once you drop it there.

    - \ No newline at end of file + diff --git a/html/editing/dnd/remove/004.xhtml b/html/editing/dnd/remove/004.xhtml index 44db0193349257..4544b2e0a0ece7 100644 --- a/html/editing/dnd/remove/004.xhtml +++ b/html/editing/dnd/remove/004.xhtml @@ -4,11 +4,11 @@ Removing input element during drag and drop of selection @@ -16,4 +16,4 @@ div

    Drag selection above to the navy box below and drop it. You should see word PASS once you drop it in the box.

    - \ No newline at end of file + diff --git a/html/editing/dnd/remove/005.xhtml b/html/editing/dnd/remove/005.xhtml index 23faac7cd4953c..da07f5bdd49f8d 100644 --- a/html/editing/dnd/remove/005.xhtml +++ b/html/editing/dnd/remove/005.xhtml @@ -4,11 +4,11 @@ Removing span element during drag and drop of selection @@ -16,4 +16,4 @@ div

    Drag selection above to the navy box below and drop it. You should see word PASS once you drop it in the box.

    - \ No newline at end of file + diff --git a/html/editing/dnd/remove/006.xhtml b/html/editing/dnd/remove/006.xhtml index 0b3b92c60339ba..86c1e66c390e06 100644 --- a/html/editing/dnd/remove/006.xhtml +++ b/html/editing/dnd/remove/006.xhtml @@ -4,11 +4,11 @@ Removing a element during drag and drop of link @@ -16,4 +16,4 @@ div

    Drag link above to the navy box below and drop it. You should see word PASS once you drop it in the box.

    - \ No newline at end of file + diff --git a/html/editing/dnd/remove/007.xhtml b/html/editing/dnd/remove/007.xhtml index fbda1862325798..e82c29bc7529e6 100644 --- a/html/editing/dnd/remove/007.xhtml +++ b/html/editing/dnd/remove/007.xhtml @@ -4,25 +4,25 @@ Removing div element during drag and drop with text/plain data

    Drag gray box above to the navy box below and drop it. You should see word PASS once you drop it.

    - \ No newline at end of file + diff --git a/html/editing/dnd/remove/008.xhtml b/html/editing/dnd/remove/008.xhtml index 24aff7ea910d5d..c52a1c9cf0a137 100644 --- a/html/editing/dnd/remove/008.xhtml +++ b/html/editing/dnd/remove/008.xhtml @@ -4,25 +4,25 @@ Removing div element during drag and drop with text/uri-list data

    Drag gray box above to the navy box below and drop it. You should see word PASS once you drop it.

    - \ No newline at end of file + diff --git a/html/editing/dnd/remove/009.xhtml b/html/editing/dnd/remove/009.xhtml index 5d1aa6989d4539..7ccf07402e5501 100644 --- a/html/editing/dnd/remove/009.xhtml +++ b/html/editing/dnd/remove/009.xhtml @@ -4,13 +4,13 @@ Changing iframe content during drag and drop of link

    Drag link above out of frame and drop it somewhere on the page. You should see word PASS once you drop it.

    - \ No newline at end of file + diff --git a/html/editing/dnd/remove/010.xhtml b/html/editing/dnd/remove/010.xhtml index f0e60927704b8b..151cbaeec8af92 100644 --- a/html/editing/dnd/remove/010.xhtml +++ b/html/editing/dnd/remove/010.xhtml @@ -4,13 +4,13 @@ Changing object content during drag and drop of link XHTML document

    Drag link above out of frame and drop it somewhere on the page. You should see word PASS once you drop it.

    - \ No newline at end of file + diff --git a/html/editing/dnd/remove/011.xhtml b/html/editing/dnd/remove/011.xhtml index 3fc9f0a07aa861..43b04516a67ac0 100644 --- a/html/editing/dnd/remove/011.xhtml +++ b/html/editing/dnd/remove/011.xhtml @@ -4,13 +4,13 @@ Changing iframe content during drag and drop of text input selection

    Drag selection above out of frame and drop it somewhere on the page. You should see word PASS once you drop it.

    - \ No newline at end of file + diff --git a/html/editing/dnd/remove/012.xhtml b/html/editing/dnd/remove/012.xhtml index ab6e2db37e5230..1bff73a477e892 100644 --- a/html/editing/dnd/remove/012.xhtml +++ b/html/editing/dnd/remove/012.xhtml @@ -4,13 +4,13 @@ Changing object content during drag and drop of text input selection XHTML document

    Drag selection above out of frame and drop it somewhere on the page. You should see word PASS once you drop it.

    - \ No newline at end of file + diff --git a/html/editing/dnd/remove/013.xhtml b/html/editing/dnd/remove/013.xhtml index 0bacf9e5676d5d..8567afc52fbfa5 100644 --- a/html/editing/dnd/remove/013.xhtml +++ b/html/editing/dnd/remove/013.xhtml @@ -4,13 +4,13 @@ Changing iframe content during drag and drop of selection

    Drag selection above out of frame and drop it somewhere on the page. You should see word PASS once you drop it.

    - \ No newline at end of file + diff --git a/html/editing/dnd/remove/014.xhtml b/html/editing/dnd/remove/014.xhtml index 93fae6f31a1d39..c3da31ef5e84cf 100644 --- a/html/editing/dnd/remove/014.xhtml +++ b/html/editing/dnd/remove/014.xhtml @@ -4,13 +4,13 @@ Changing object content during drag and drop of selection XHTML document

    Drag selection above out of frame and drop it somewhere on the page. You should see word PASS once you drop it.

    - \ No newline at end of file + diff --git a/html/editing/dnd/remove/015.xhtml b/html/editing/dnd/remove/015.xhtml index dcba8d49025c76..59f2db7982cdd0 100644 --- a/html/editing/dnd/remove/015.xhtml +++ b/html/editing/dnd/remove/015.xhtml @@ -4,13 +4,13 @@ Removing iframe during drag and drop of link

    Drag link above out of frame and drop it somewhere on the page. You should see word PASS once you drop it.

    - \ No newline at end of file + diff --git a/html/editing/dnd/remove/016.xhtml b/html/editing/dnd/remove/016.xhtml index 3e2881eb0b6ed3..2f71d92f3054a0 100644 --- a/html/editing/dnd/remove/016.xhtml +++ b/html/editing/dnd/remove/016.xhtml @@ -4,13 +4,13 @@ Removing object during drag and drop of link XHTML document

    Drag link above out of frame and drop it somewhere on the page. You should see word PASS once you drop it.

    - \ No newline at end of file + diff --git a/html/editing/dnd/remove/017.xhtml b/html/editing/dnd/remove/017.xhtml index d7c33101743ec6..dfc8ed8cc04eb5 100644 --- a/html/editing/dnd/remove/017.xhtml +++ b/html/editing/dnd/remove/017.xhtml @@ -4,13 +4,13 @@ Removing iframe during drag and drop of text input selection

    Drag selection above out of frame and drop it somewhere on the page. You should see word PASS once you drop it.

    - \ No newline at end of file + diff --git a/html/editing/dnd/remove/018.xhtml b/html/editing/dnd/remove/018.xhtml index 2dda93fe93808a..aaa35b7b4770c5 100644 --- a/html/editing/dnd/remove/018.xhtml +++ b/html/editing/dnd/remove/018.xhtml @@ -4,13 +4,13 @@ Removing object during drag and drop of text input selection XHTML document

    Drag selection above out of frame and drop it somewhere on the page. You should see word PASS once you drop it.

    - \ No newline at end of file + diff --git a/html/editing/dnd/remove/019.xhtml b/html/editing/dnd/remove/019.xhtml index 86969550f59788..d8df327f334d2d 100644 --- a/html/editing/dnd/remove/019.xhtml +++ b/html/editing/dnd/remove/019.xhtml @@ -4,13 +4,13 @@ Removing iframe during drag and drop of selection

    Drag selection above out of frame and drop it somewhere on the page. You should see word PASS once you drop it.

    - \ No newline at end of file + diff --git a/html/editing/dnd/remove/020.xhtml b/html/editing/dnd/remove/020.xhtml index f5bc7d464f90ad..6e56c4b8ffba56 100644 --- a/html/editing/dnd/remove/020.xhtml +++ b/html/editing/dnd/remove/020.xhtml @@ -4,13 +4,13 @@ Removing object during drag and drop of selection XHTML document

    Drag selection above out of frame and drop it somewhere on the page. You should see word PASS once you drop it.

    - \ No newline at end of file + diff --git a/html/editing/dnd/remove/021.xhtml b/html/editing/dnd/remove/021.xhtml index fe67ded93c01d0..51d7c22015d036 100644 --- a/html/editing/dnd/remove/021.xhtml +++ b/html/editing/dnd/remove/021.xhtml @@ -4,11 +4,11 @@ Removing a element during drag and drop of url @@ -16,4 +16,4 @@ div

    Drag selection above to the navy box below and drop it. You should see word PASS once you drop it in the box.

    - \ No newline at end of file + diff --git a/html/editing/dnd/remove/022.html b/html/editing/dnd/remove/022.html index 6bb8e6adefb176..17e8e0c449b940 100644 --- a/html/editing/dnd/remove/022.html +++ b/html/editing/dnd/remove/022.html @@ -11,18 +11,18 @@

    Drag the orange square over the blue square, then release it. Wait 5 seconds for the blue square to disappear. Pass if you can select this text. -

    Enable JavaScript and reload

    \ No newline at end of file + diff --git a/html/editing/dnd/roundtrip/001.xhtml b/html/editing/dnd/roundtrip/001.xhtml index 671f143f5e21d2..235eca64a10ab2 100644 --- a/html/editing/dnd/roundtrip/001.xhtml +++ b/html/editing/dnd/roundtrip/001.xhtml @@ -4,35 +4,35 @@ Canvas drag and drop roundtrip

    - Canvas + Canvas

    Drag canvas pattern outside browser window and then drag it back and drop on itself. It should be duplicated once you drop it.

    - \ No newline at end of file + diff --git a/html/editing/dnd/roundtrip/002.xhtml b/html/editing/dnd/roundtrip/002.xhtml index c7106fdd973a54..84bfda2d092f11 100644 --- a/html/editing/dnd/roundtrip/002.xhtml +++ b/html/editing/dnd/roundtrip/002.xhtml @@ -4,17 +4,17 @@ PNG image drag and drop roundtrip

    PNG circle

    Drag circle outside browser window and then drag it back and drop on itself. It should be duplicated once you drop it.

    - \ No newline at end of file + diff --git a/html/editing/dnd/roundtrip/003.xhtml b/html/editing/dnd/roundtrip/003.xhtml index 0f89a367c5a87d..6cbdbf3bb81b8b 100644 --- a/html/editing/dnd/roundtrip/003.xhtml +++ b/html/editing/dnd/roundtrip/003.xhtml @@ -4,17 +4,17 @@ SVG image drag and drop roundtrip

    SVG circle

    Drag circle outside browser window and then drag it back and drop on itself. It should be duplicated once you drop it.

    - \ No newline at end of file + diff --git a/html/editing/dnd/roundtrip/006.xhtml b/html/editing/dnd/roundtrip/006.xhtml index d609a72b85c87d..45e477aa29e9b4 100644 --- a/html/editing/dnd/roundtrip/006.xhtml +++ b/html/editing/dnd/roundtrip/006.xhtml @@ -4,11 +4,11 @@ Link drag and drop roundtrip

    Drag me

    Drag link outside browser window and then drag it back and drop on itself. You should see word PASS once you drop it.

    - \ No newline at end of file + diff --git a/html/editing/dnd/roundtrip/007.xhtml b/html/editing/dnd/roundtrip/007.xhtml index cfe4cb26f50d0f..a46cb33ee690f2 100644 --- a/html/editing/dnd/roundtrip/007.xhtml +++ b/html/editing/dnd/roundtrip/007.xhtml @@ -4,22 +4,22 @@ Drag and drop roundtrip with text/plain data

    Drag blue box outside browser window and then drag it back and drop on itself. You should see word PASS once you drop it.

    - \ No newline at end of file + diff --git a/html/editing/dnd/roundtrip/008.xhtml b/html/editing/dnd/roundtrip/008.xhtml index 21adfb50a6b84e..33caeebefe2a4a 100644 --- a/html/editing/dnd/roundtrip/008.xhtml +++ b/html/editing/dnd/roundtrip/008.xhtml @@ -4,22 +4,22 @@ Drag and drop roundtrip with text/uri-list data

    Drag blue box outside browser window and then drag it back and drop on itself. You should see word PASS once you drop it.

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/001.xhtml b/html/editing/dnd/selection/001.xhtml index e1806f8e232c6c..37122c825138ea 100644 --- a/html/editing/dnd/selection/001.xhtml +++ b/html/editing/dnd/selection/001.xhtml @@ -4,21 +4,21 @@ Selection drag and drop from text input to block element

    Drag selected text to the blue box. Copy of selection should end up in the blue box once you drop it there.

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/002.xhtml b/html/editing/dnd/selection/002.xhtml index 55c457e5384324..c96a5e62a684c8 100644 --- a/html/editing/dnd/selection/002.xhtml +++ b/html/editing/dnd/selection/002.xhtml @@ -4,21 +4,21 @@ Selection drag and drop from search input to block element

    Drag selected text to the blue box. Copy of selection should end up in the blue box once you drop it there.

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/003.xhtml b/html/editing/dnd/selection/003.xhtml index 6430d603d584cc..eed4491a1cacdd 100644 --- a/html/editing/dnd/selection/003.xhtml +++ b/html/editing/dnd/selection/003.xhtml @@ -4,21 +4,21 @@ Selection drag and drop from tel input to block element

    Drag selected number to the blue box. Copy of selection should end up in the blue box once you drop it there.

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/004.xhtml b/html/editing/dnd/selection/004.xhtml index 1c6904853db836..a27dad9f42d8ae 100644 --- a/html/editing/dnd/selection/004.xhtml +++ b/html/editing/dnd/selection/004.xhtml @@ -4,21 +4,21 @@ Selection drag and drop from url input to block element

    Drag selected url to the blue box. Copy of selection should end up in the blue box once you drop it there.

    diff --git a/html/editing/dnd/selection/005.xhtml b/html/editing/dnd/selection/005.xhtml index a8d7056e45183a..3ef9f805f2dc1f 100644 --- a/html/editing/dnd/selection/005.xhtml +++ b/html/editing/dnd/selection/005.xhtml @@ -4,21 +4,21 @@ Selection drag and drop from email input to block element

    Drag selected email to the blue box. Copy of selection should end up in the blue box once you drop it there.

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/006.xhtml b/html/editing/dnd/selection/006.xhtml index 9a2b41e82b232b..fe5cdf40e3c724 100644 --- a/html/editing/dnd/selection/006.xhtml +++ b/html/editing/dnd/selection/006.xhtml @@ -4,21 +4,21 @@ Selection drag and drop from number input to block element

    Drag selected number to the blue box. Copy of selection should end up in the blue box once you drop it there.

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/007.xhtml b/html/editing/dnd/selection/007.xhtml index 2b5d05a50a33f2..ad7379b72ebe2c 100644 --- a/html/editing/dnd/selection/007.xhtml +++ b/html/editing/dnd/selection/007.xhtml @@ -4,21 +4,21 @@ Selection drag and drop from short text input to block element

    Drag selected date to the blue box. Copy of selection should end up in the blue box once you drop it there.

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/008.xhtml b/html/editing/dnd/selection/008.xhtml index 6abfe2c318c39e..4d0437213ec3fe 100644 --- a/html/editing/dnd/selection/008.xhtml +++ b/html/editing/dnd/selection/008.xhtml @@ -4,21 +4,21 @@ Selection drag and drop from password input to block element

    You should not be able to drag and drop selection from password field to the blue box.

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/009.xhtml b/html/editing/dnd/selection/009.xhtml index 07509f6bcf62b5..3bc8b7b6544fbd 100644 --- a/html/editing/dnd/selection/009.xhtml +++ b/html/editing/dnd/selection/009.xhtml @@ -4,21 +4,21 @@ Selection drag and drop from readonly text input to block element

    Drag selected text to the blue box. Copy of selection should end up in the blue box once you drop it there.

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/010.xhtml b/html/editing/dnd/selection/010.xhtml index d26770ee647b4d..220edea2eb10e8 100644 --- a/html/editing/dnd/selection/010.xhtml +++ b/html/editing/dnd/selection/010.xhtml @@ -4,24 +4,24 @@ Selection drag and drop from texarea to block element

    Drag selected text to the blue box. Copy of selection should end up in the blue box once you drop it there.

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/011.xhtml b/html/editing/dnd/selection/011.xhtml index 1ea8cd592f8bf2..df75fc964bf299 100644 --- a/html/editing/dnd/selection/011.xhtml +++ b/html/editing/dnd/selection/011.xhtml @@ -4,10 +4,10 @@ Selection drag and drop from text input to textarea @@ -15,4 +15,4 @@ textarea

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/031.xhtml b/html/editing/dnd/selection/031.xhtml index ecdd466f7237e6..b3b3be923caead 100644 --- a/html/editing/dnd/selection/031.xhtml +++ b/html/editing/dnd/selection/031.xhtml @@ -4,15 +4,15 @@ Dragging two lines of text selection from textarea to block element @@ -26,9 +26,9 @@ Selected text should be moved to the blue box once you drop it there.

    diff --git a/html/editing/dnd/selection/032.xhtml b/html/editing/dnd/selection/032.xhtml index 59070062e10ced..55358f98cf33a1 100644 --- a/html/editing/dnd/selection/032.xhtml +++ b/html/editing/dnd/selection/032.xhtml @@ -4,15 +4,15 @@ Dragging multiline text selection from textarea to block element @@ -25,9 +25,9 @@ Copy of selection should end up in the blue box once you drop it there.

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/033.xhtml b/html/editing/dnd/selection/033.xhtml index edd532776611b2..a8011e54b8ef4b 100644 --- a/html/editing/dnd/selection/033.xhtml +++ b/html/editing/dnd/selection/033.xhtml @@ -4,8 +4,8 @@ Dragging two lines of text selection between textareas diff --git a/html/editing/dnd/selection/034.xhtml b/html/editing/dnd/selection/034.xhtml index 4643156feab72b..34ceec09a0a7f7 100644 --- a/html/editing/dnd/selection/034.xhtml +++ b/html/editing/dnd/selection/034.xhtml @@ -4,8 +4,8 @@ Dragging multiline text selection between textareas @@ -19,4 +19,4 @@ Selected text should be moved to second textarea once you drop it there.

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/047.xhtml b/html/editing/dnd/selection/047.xhtml index 61d4afca4189e8..420269282edb50 100644 --- a/html/editing/dnd/selection/047.xhtml +++ b/html/editing/dnd/selection/047.xhtml @@ -4,9 +4,9 @@ Selection drag and drop from text input to textarea in iframe @@ -14,4 +14,4 @@ iframe

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/048.xhtml b/html/editing/dnd/selection/048.xhtml index 73483036c80698..7b2610cfc7cbd9 100644 --- a/html/editing/dnd/selection/048.xhtml +++ b/html/editing/dnd/selection/048.xhtml @@ -4,9 +4,9 @@ Selection drag and drop from textarea to another textarea in iframe @@ -14,4 +14,4 @@ iframe

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/049.xhtml b/html/editing/dnd/selection/049.xhtml index 5bed43563bddd5..791c0180eb5fa9 100644 --- a/html/editing/dnd/selection/049.xhtml +++ b/html/editing/dnd/selection/049.xhtml @@ -4,9 +4,9 @@ Selection drag and drop from text input to contenteditable element in iframe @@ -14,4 +14,4 @@ iframe

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/050.xhtml b/html/editing/dnd/selection/050.xhtml index 7a1545ec5bf73f..53b3997400e823 100644 --- a/html/editing/dnd/selection/050.xhtml +++ b/html/editing/dnd/selection/050.xhtml @@ -4,9 +4,9 @@ Selection drag and drop from textarea to contenteditable element in iframe @@ -14,4 +14,4 @@ iframe

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/051.xhtml b/html/editing/dnd/selection/051.xhtml index 41a94dd8c41d22..3cd1145f1a2867 100644 --- a/html/editing/dnd/selection/051.xhtml +++ b/html/editing/dnd/selection/051.xhtml @@ -4,24 +4,24 @@ Selection drag and drop from text input in iframe to block element

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/052.xhtml b/html/editing/dnd/selection/052.xhtml index 32d713ff5a49f3..843115017a48c6 100644 --- a/html/editing/dnd/selection/052.xhtml +++ b/html/editing/dnd/selection/052.xhtml @@ -4,24 +4,24 @@ Selection drag and drop from textarea in iframe to block element

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/053.xhtml b/html/editing/dnd/selection/053.xhtml index 52a3c148bab2cf..f5f9c44a11be1b 100644 --- a/html/editing/dnd/selection/053.xhtml +++ b/html/editing/dnd/selection/053.xhtml @@ -4,18 +4,18 @@ Selection drag and drop from text input in iframe to textarea

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/064.xhtml b/html/editing/dnd/selection/064.xhtml index cf585c6d53d1c7..9e6be0d0346c90 100644 --- a/html/editing/dnd/selection/064.xhtml +++ b/html/editing/dnd/selection/064.xhtml @@ -4,13 +4,13 @@ Cross iframe selection drag and drop from textarea to contenteditable element

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/065.xhtml b/html/editing/dnd/selection/065.xhtml index d4bd8f3251bd24..0d8d21f04c6fb7 100644 --- a/html/editing/dnd/selection/065.xhtml +++ b/html/editing/dnd/selection/065.xhtml @@ -4,13 +4,13 @@ Cross iframe selection drag and drop between text inputs

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/066.xhtml b/html/editing/dnd/selection/066.xhtml index 8f65061a16e2b5..36907bc4929d84 100644 --- a/html/editing/dnd/selection/066.xhtml +++ b/html/editing/dnd/selection/066.xhtml @@ -4,13 +4,13 @@ Cross iframe selection drag and drop from textarea to text input

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/067-1.xhtml b/html/editing/dnd/selection/067-1.xhtml index 206c596756297c..a908282bb75317 100644 --- a/html/editing/dnd/selection/067-1.xhtml +++ b/html/editing/dnd/selection/067-1.xhtml @@ -4,12 +4,12 @@ Selection drag and drop: helper file

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/067-2.xhtml b/html/editing/dnd/selection/067-2.xhtml index 3362fba6c4540d..22f8b550206bc5 100644 --- a/html/editing/dnd/selection/067-2.xhtml +++ b/html/editing/dnd/selection/067-2.xhtml @@ -4,12 +4,12 @@ Selection drag and drop: helper file

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/069.xhtml b/html/editing/dnd/selection/069.xhtml index 02c12bd72e74ff..149a41df085e4c 100644 --- a/html/editing/dnd/selection/069.xhtml +++ b/html/editing/dnd/selection/069.xhtml @@ -4,9 +4,9 @@ Selection drag and drop to textarea in iframe @@ -14,4 +14,4 @@ iframe

    Drag selected text to the textarea. Copy of selection should end up in the textarea once you drop it there.

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/070.xhtml b/html/editing/dnd/selection/070.xhtml index 73511debdf36b1..7255b2b21ec509 100644 --- a/html/editing/dnd/selection/070.xhtml +++ b/html/editing/dnd/selection/070.xhtml @@ -4,9 +4,9 @@ Selection drag and drop to contenteditable element in iframe @@ -14,4 +14,4 @@ iframe

    Drag selected text to the blue box. Copy of selection should end up in the blue box once you drop it there.

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/071.xhtml b/html/editing/dnd/selection/071.xhtml index e3dcd57defbdec..73e6722c00dbcd 100644 --- a/html/editing/dnd/selection/071.xhtml +++ b/html/editing/dnd/selection/071.xhtml @@ -4,9 +4,9 @@ Selection drag and drop between text inputs of different size @@ -14,4 +14,4 @@ input[placeholder]

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/072.xhtml b/html/editing/dnd/selection/072.xhtml index c44e2bd8db5e8b..343cc3fc0c4d52 100644 --- a/html/editing/dnd/selection/072.xhtml +++ b/html/editing/dnd/selection/072.xhtml @@ -4,9 +4,9 @@ Selection drag and drop from search to text input @@ -14,4 +14,4 @@ input[placeholder]

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/073.xhtml b/html/editing/dnd/selection/073.xhtml index ade164797b93b9..2a082b8a112d4b 100644 --- a/html/editing/dnd/selection/073.xhtml +++ b/html/editing/dnd/selection/073.xhtml @@ -4,9 +4,9 @@ Selection drag and drop from tel to text input @@ -14,4 +14,4 @@ input[placeholder]

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/074.xhtml b/html/editing/dnd/selection/074.xhtml index f441ad101ac515..b8966e71bad824 100644 --- a/html/editing/dnd/selection/074.xhtml +++ b/html/editing/dnd/selection/074.xhtml @@ -4,9 +4,9 @@ Selection drag and drop from url to text input diff --git a/html/editing/dnd/selection/075.xhtml b/html/editing/dnd/selection/075.xhtml index 8b5304f0e696ff..75af080efce414 100644 --- a/html/editing/dnd/selection/075.xhtml +++ b/html/editing/dnd/selection/075.xhtml @@ -4,9 +4,9 @@ Selection drag and drop from email to text input @@ -14,4 +14,4 @@ input[placeholder]

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/076.xhtml b/html/editing/dnd/selection/076.xhtml index bb5db839a4100f..c9c732e7e14295 100644 --- a/html/editing/dnd/selection/076.xhtml +++ b/html/editing/dnd/selection/076.xhtml @@ -4,9 +4,9 @@ Selection drag and drop from number to text input @@ -14,4 +14,4 @@ input[placeholder]

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/077.xhtml b/html/editing/dnd/selection/077.xhtml index 42cee3e22d8bff..ecd4ab38018fd9 100644 --- a/html/editing/dnd/selection/077.xhtml +++ b/html/editing/dnd/selection/077.xhtml @@ -4,9 +4,9 @@ Selection drag and drop from short text input to another text input @@ -14,4 +14,4 @@ input[placeholder]

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/078.xhtml b/html/editing/dnd/selection/078.xhtml index 1261a6a1350461..853cf63b60597a 100644 --- a/html/editing/dnd/selection/078.xhtml +++ b/html/editing/dnd/selection/078.xhtml @@ -4,9 +4,9 @@ Selection drag and drop from password to text input @@ -14,4 +14,4 @@ input[placeholder]

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/079.xhtml b/html/editing/dnd/selection/079.xhtml index d114cc68d45367..1ad458df4b80f7 100644 --- a/html/editing/dnd/selection/079.xhtml +++ b/html/editing/dnd/selection/079.xhtml @@ -4,9 +4,9 @@ Selection drag and drop from readonly text input to another text input @@ -14,4 +14,4 @@ input[placeholder]

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/080.xhtml b/html/editing/dnd/selection/080.xhtml index 35fac3928a1237..3ebc0aafd232a2 100644 --- a/html/editing/dnd/selection/080.xhtml +++ b/html/editing/dnd/selection/080.xhtml @@ -4,12 +4,12 @@ Selection drag and drop from textarea to text input @@ -17,4 +17,4 @@ textarea

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/081.xhtml b/html/editing/dnd/selection/081.xhtml index eb8c4124fb40c1..c65dd26a3ff0cf 100644 --- a/html/editing/dnd/selection/081.xhtml +++ b/html/editing/dnd/selection/081.xhtml @@ -4,21 +4,21 @@ Events during selection drag and drop to text input @@ -33,4 +33,4 @@ function evtKeypress()
  • Keypress event: PASS
  • - \ No newline at end of file + diff --git a/html/editing/dnd/selection/082.xhtml b/html/editing/dnd/selection/082.xhtml index 449ce932a46f1b..57c2a53f4d6b6b 100644 --- a/html/editing/dnd/selection/082.xhtml +++ b/html/editing/dnd/selection/082.xhtml @@ -4,21 +4,21 @@ Events during selection drag and drop to search input @@ -33,4 +33,4 @@ function evtKeypress()
  • Keypress event: PASS
  • - \ No newline at end of file + diff --git a/html/editing/dnd/selection/083.xhtml b/html/editing/dnd/selection/083.xhtml index 9ca21e9e35a151..ba527ae4e289ca 100644 --- a/html/editing/dnd/selection/083.xhtml +++ b/html/editing/dnd/selection/083.xhtml @@ -4,21 +4,21 @@ Events during selection drag and drop to tel input @@ -33,4 +33,4 @@ function evtKeypress()
  • Keypress event: PASS
  • - \ No newline at end of file + diff --git a/html/editing/dnd/selection/084.xhtml b/html/editing/dnd/selection/084.xhtml index baaae70d29c839..f602d712bd3717 100644 --- a/html/editing/dnd/selection/084.xhtml +++ b/html/editing/dnd/selection/084.xhtml @@ -4,21 +4,21 @@ Events during selection drag and drop to url input diff --git a/html/editing/dnd/selection/085.xhtml b/html/editing/dnd/selection/085.xhtml index 23f49f720331f0..842288f5585ece 100644 --- a/html/editing/dnd/selection/085.xhtml +++ b/html/editing/dnd/selection/085.xhtml @@ -4,21 +4,21 @@ Events during selection drag and drop to email input @@ -33,4 +33,4 @@ function evtKeypress()
  • Keypress event: PASS
  • - \ No newline at end of file + diff --git a/html/editing/dnd/selection/086.xhtml b/html/editing/dnd/selection/086.xhtml index adb2fc7686d171..349d7795e7b60f 100644 --- a/html/editing/dnd/selection/086.xhtml +++ b/html/editing/dnd/selection/086.xhtml @@ -4,21 +4,21 @@ Events during selection drag and drop to number input @@ -33,4 +33,4 @@ function evtKeypress()
  • Keypress event: PASS
  • - \ No newline at end of file + diff --git a/html/editing/dnd/selection/087.xhtml b/html/editing/dnd/selection/087.xhtml index 6cb5b0f107db38..64e02c1ef7639b 100644 --- a/html/editing/dnd/selection/087.xhtml +++ b/html/editing/dnd/selection/087.xhtml @@ -4,13 +4,13 @@ Scrolling during selection drag and drop to text input @@ -21,4 +21,4 @@ div

    Copy of selection should end up in the input once you drop it there.

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/088.xhtml b/html/editing/dnd/selection/088.xhtml index 54d0ca088f5353..4900b13c24ffff 100644 --- a/html/editing/dnd/selection/088.xhtml +++ b/html/editing/dnd/selection/088.xhtml @@ -4,26 +4,26 @@ Vertical scrolling during selection drag and drop to text input

    Drag me

    -
    -

    You should be able to drag selected text to the input at the bottom of scrollable container (dragging towards the bottom edge triggers scrolling).

    - -

    Copy of selection should end up in the input once you drop it there.

    -
    +
    +

    You should be able to drag selected text to the input at the bottom of scrollable container (dragging towards the bottom edge triggers scrolling).

    + +

    Copy of selection should end up in the input once you drop it there.

    +
    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/089.xhtml b/html/editing/dnd/selection/089.xhtml index da0f5e2f17d0db..26185e33891afc 100644 --- a/html/editing/dnd/selection/089.xhtml +++ b/html/editing/dnd/selection/089.xhtml @@ -4,12 +4,12 @@ Scrolling during selection drag and drop to iframe

    Drag me

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/090.xhtml b/html/editing/dnd/selection/090.xhtml index 5759be186de4b3..62dfa0c6efe487 100644 --- a/html/editing/dnd/selection/090.xhtml +++ b/html/editing/dnd/selection/090.xhtml @@ -4,12 +4,12 @@ Scrolling during selection drag and drop to object

    Drag me

    XHTML document

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/091-2.xhtml b/html/editing/dnd/selection/091-2.xhtml index 205eff77152acb..12d5cef8a76849 100644 --- a/html/editing/dnd/selection/091-2.xhtml +++ b/html/editing/dnd/selection/091-2.xhtml @@ -4,10 +4,10 @@ Selection drag and drop: helper file @@ -15,4 +15,4 @@ p:first-child

    Copy of selection should end up in the input once you drop it there.

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/092.xhtml b/html/editing/dnd/selection/092.xhtml index dfd454a10d19cf..30d53f0f7d0224 100644 --- a/html/editing/dnd/selection/092.xhtml +++ b/html/editing/dnd/selection/092.xhtml @@ -4,8 +4,8 @@ Selection drag and drop from text input to element in object @@ -13,4 +13,4 @@ object

    XHTML document

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/093.xhtml b/html/editing/dnd/selection/093.xhtml index 88e8ecd819862f..ffc32ce77e582f 100644 --- a/html/editing/dnd/selection/093.xhtml +++ b/html/editing/dnd/selection/093.xhtml @@ -4,8 +4,8 @@ Selection drag and drop from textarea to element in object @@ -13,4 +13,4 @@ object

    XHTML document

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/094.xhtml b/html/editing/dnd/selection/094.xhtml index 114fa0fee6fd5a..bd4d63ecf5608b 100644 --- a/html/editing/dnd/selection/094.xhtml +++ b/html/editing/dnd/selection/094.xhtml @@ -4,8 +4,8 @@ Selection drag and drop from text input to textarea in object @@ -13,4 +13,4 @@ object

    XHTML document

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/095.xhtml b/html/editing/dnd/selection/095.xhtml index 9f2c761d61977f..8035f799005e9f 100644 --- a/html/editing/dnd/selection/095.xhtml +++ b/html/editing/dnd/selection/095.xhtml @@ -4,8 +4,8 @@ Selection drag and drop from textarea to another textarea in object @@ -13,4 +13,4 @@ object

    XHTML document

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/096.xhtml b/html/editing/dnd/selection/096.xhtml index 0589ede6c7c814..508d0858241ac0 100644 --- a/html/editing/dnd/selection/096.xhtml +++ b/html/editing/dnd/selection/096.xhtml @@ -4,8 +4,8 @@ Selection drag and drop from text input to contenteditable element in object @@ -13,4 +13,4 @@ object

    XHTML document

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/097.xhtml b/html/editing/dnd/selection/097.xhtml index 7ee94f86a9b907..915fa313565cd6 100644 --- a/html/editing/dnd/selection/097.xhtml +++ b/html/editing/dnd/selection/097.xhtml @@ -4,8 +4,8 @@ Selection drag and drop from textarea to contenteditable element in object @@ -13,4 +13,4 @@ object

    XHTML document

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/098.xhtml b/html/editing/dnd/selection/098.xhtml index c1595d9bbfc3fd..10dc9b085a8a74 100644 --- a/html/editing/dnd/selection/098.xhtml +++ b/html/editing/dnd/selection/098.xhtml @@ -4,23 +4,23 @@ Selection drag and drop from text input in object to block element

    XHTML document

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/099.xhtml b/html/editing/dnd/selection/099.xhtml index 8eaa0562ae6ba1..79fbd954d850af 100644 --- a/html/editing/dnd/selection/099.xhtml +++ b/html/editing/dnd/selection/099.xhtml @@ -4,23 +4,23 @@ Selection drag and drop from textarea in object to block element

    XHTML document

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/100.xhtml b/html/editing/dnd/selection/100.xhtml index c6d5b52c78eb0d..8e0ab2567d9c0f 100644 --- a/html/editing/dnd/selection/100.xhtml +++ b/html/editing/dnd/selection/100.xhtml @@ -4,17 +4,17 @@ Selection drag and drop from text input in object to textarea

    XHTML document

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/120.xhtml b/html/editing/dnd/selection/120.xhtml index eb7b7472d5c996..57be0f7ce755ac 100644 --- a/html/editing/dnd/selection/120.xhtml +++ b/html/editing/dnd/selection/120.xhtml @@ -4,9 +4,9 @@ RTL text selection drag and drop from textarea to text input @@ -16,4 +16,4 @@ input[placeholder]

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/121.xhtml b/html/editing/dnd/selection/121.xhtml index 58de2b2d008ec3..a5a709c3b9ced7 100644 --- a/html/editing/dnd/selection/121.xhtml +++ b/html/editing/dnd/selection/121.xhtml @@ -4,12 +4,12 @@ RTL text selection drag and drop from RTL text input to contenteditable element @@ -17,4 +17,4 @@ div[contenteditable]

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/122.xhtml b/html/editing/dnd/selection/122.xhtml index cb2ade8a85349c..84ec8c61ab2674 100644 --- a/html/editing/dnd/selection/122.xhtml +++ b/html/editing/dnd/selection/122.xhtml @@ -4,12 +4,12 @@ RTL text selection drag and drop from text input to contenteditable element @@ -19,4 +19,4 @@ div[contenteditable]

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/123.xhtml b/html/editing/dnd/selection/123.xhtml index 597667a0eafda3..68ff2e8218f0e0 100644 --- a/html/editing/dnd/selection/123.xhtml +++ b/html/editing/dnd/selection/123.xhtml @@ -4,12 +4,12 @@ RTL text selection drag and drop from RTL element to contenteditable element @@ -17,4 +17,4 @@ div[contenteditable]

    Drag selected text to the blue box. Copy of selection should end up in the box once you drop it there. Text direction should be preserved during drag and drop.

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/124.xhtml b/html/editing/dnd/selection/124.xhtml index b60da71a6e0165..5c5c1b822f95b6 100644 --- a/html/editing/dnd/selection/124.xhtml +++ b/html/editing/dnd/selection/124.xhtml @@ -4,12 +4,12 @@ RTL text selection drag and drop to contenteditable element @@ -17,4 +17,4 @@ div[contenteditable]

    Drag selected text to the blue box. Copy of selection should end up in the box once you drop it there. Text direction should be preserved during drag and drop.

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/125.xhtml b/html/editing/dnd/selection/125.xhtml index 65c074ca1c28f0..fc4b686dccaa2a 100644 --- a/html/editing/dnd/selection/125.xhtml +++ b/html/editing/dnd/selection/125.xhtml @@ -4,12 +4,12 @@ RTL text selection drag and drop from textarea to RTL contenteditable element @@ -17,4 +17,4 @@ div[contenteditable]

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/126.xhtml b/html/editing/dnd/selection/126.xhtml index 03d92ae7b7a3d3..80b2e415ef36e4 100644 --- a/html/editing/dnd/selection/126.xhtml +++ b/html/editing/dnd/selection/126.xhtml @@ -4,12 +4,12 @@ RTL text selection drag and drop from textarea to contenteditable element @@ -19,4 +19,4 @@ div[contenteditable]

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/127.xhtml b/html/editing/dnd/selection/127.xhtml index 161ab64db06cf4..20d73973e48509 100644 --- a/html/editing/dnd/selection/127.xhtml +++ b/html/editing/dnd/selection/127.xhtml @@ -4,22 +4,22 @@ RTL text selection drag and drop from text input to RTL element

    Drag selected text to the blue box. Copy of selection should end up in the box once you drop it there. Text direction should be preserved during drag and drop.

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/128.xhtml b/html/editing/dnd/selection/128.xhtml index 504250686f4fb3..4814fa29c37688 100644 --- a/html/editing/dnd/selection/128.xhtml +++ b/html/editing/dnd/selection/128.xhtml @@ -4,12 +4,12 @@ RTL text selection drag and drop from text input to block element @@ -17,10 +17,10 @@ div[ondragenter]

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/129.xhtml b/html/editing/dnd/selection/129.xhtml index e9aea186607b84..8bbc4d81e8bb18 100644 --- a/html/editing/dnd/selection/129.xhtml +++ b/html/editing/dnd/selection/129.xhtml @@ -4,22 +4,22 @@ RTL text selection drag and drop from RTL element to another RTL element

    ‮FAIL|SSAP‬

    Drag selected text to the blue box. Copy of selection should end up in the box once you drop it there. Text direction should be preserved during drag and drop.

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/130.xhtml b/html/editing/dnd/selection/130.xhtml index 0734325268414a..f567e09f9902a3 100644 --- a/html/editing/dnd/selection/130.xhtml +++ b/html/editing/dnd/selection/130.xhtml @@ -4,22 +4,22 @@ RTL text selection drag and drop to block element

    ‮FAIL|SSAP‬

    Drag selected text to the blue box. Copy of selection should end up in the box once you drop it there. Text direction should be preserved during drag and drop.

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/131.xhtml b/html/editing/dnd/selection/131.xhtml index 04e61773103abb..9e0539615bcd8f 100644 --- a/html/editing/dnd/selection/131.xhtml +++ b/html/editing/dnd/selection/131.xhtml @@ -4,22 +4,22 @@ RTL text selection drag and drop from textarea to block element

    Drag selected text to the blue box. Copy of selection should end up in the blue box once you drop it there.

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/132.xhtml b/html/editing/dnd/selection/132.xhtml index d662b206fd3c23..d3d57dd843b270 100644 --- a/html/editing/dnd/selection/132.xhtml +++ b/html/editing/dnd/selection/132.xhtml @@ -4,21 +4,21 @@ RTL text selection drag and drop from RTL textarea to block element

    Drag selected text to the blue box. Copy of selection should end up in the blue box once you drop it there.

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/133.xhtml b/html/editing/dnd/selection/133.xhtml index bf03eee9164164..40196315f7ffdf 100644 --- a/html/editing/dnd/selection/133.xhtml +++ b/html/editing/dnd/selection/133.xhtml @@ -4,17 +4,17 @@ Multielement selection drag and drop
    -

    Drag selected text to the textarea.

    -

    Copy of selection should end up in the textarea once you drop it there.

    +

    Drag selected text to the textarea.

    +

    Copy of selection should end up in the textarea once you drop it there.

    -

  • Drop it on this text.
  • -
  • Pass if the text in step 1 is still selected.
  • - +
      +
    1. +
    2. Drop it on this text.
    3. +
    4. Pass if the text in step 1 is still selected.
    5. +
    - - \ No newline at end of file + + diff --git a/html/editing/dnd/selection/149.html b/html/editing/dnd/selection/149.html index 66475937df63af..53711211917675 100644 --- a/html/editing/dnd/selection/149.html +++ b/html/editing/dnd/selection/149.html @@ -1,16 +1,16 @@ - - Dragging selections from multiline inputs should show editing caret - - + + Dragging selections from multiline inputs should show editing caret + + -

    Select one word in the first input. Drag the selection around over the same input, and over the other inputs. It should show the input editing caret at the relevant insertion point within the target input's text.

    -

    -

    -

    +

    - - \ No newline at end of file + + diff --git a/html/editing/dnd/selection/150.html b/html/editing/dnd/selection/150.html index ceecd35cde4161..2861ad86f73685 100644 --- a/html/editing/dnd/selection/150.html +++ b/html/editing/dnd/selection/150.html @@ -1,15 +1,15 @@ - - Dragging selections from single-line inputs should show editing caret - - + + Dragging selections from single-line inputs should show editing caret + + -

    Select one word in the first input. Drag the selection around over the same input, and over the other inputs. It should show the input editing caret at the relevant insertion point within the target input's text.

    -

    -

    -

    +

    - - \ No newline at end of file + + diff --git a/html/editing/dnd/selection/151.xhtml b/html/editing/dnd/selection/151.xhtml index c9b2bf9f33bcc8..ed06757109ff5f 100644 --- a/html/editing/dnd/selection/151.xhtml +++ b/html/editing/dnd/selection/151.xhtml @@ -4,8 +4,8 @@ Dropping selection in readonly text input @@ -13,4 +13,4 @@ input

    Try to drag selected text into the input below. You should not be able to drop it here.

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/152.xhtml b/html/editing/dnd/selection/152.xhtml index a9e24f3058bf44..4bf402cf15b101 100644 --- a/html/editing/dnd/selection/152.xhtml +++ b/html/editing/dnd/selection/152.xhtml @@ -4,9 +4,9 @@ Dropping selection in readonly textarea @@ -14,4 +14,4 @@ textarea

    Try to drag selected text into the input below. You should not be able to drop it here.

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/162.xhtml b/html/editing/dnd/selection/162.xhtml index 49d4ba9164e5f8..4c385c922f0db9 100644 --- a/html/editing/dnd/selection/162.xhtml +++ b/html/editing/dnd/selection/162.xhtml @@ -4,12 +4,12 @@ Selection drag and drop between contenteditable elements @@ -17,4 +17,4 @@ div + div[contenteditable]
    Drag me
    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/163.xhtml b/html/editing/dnd/selection/163.xhtml index f94049a2503b95..51ed45bdf6e76f 100644 --- a/html/editing/dnd/selection/163.xhtml +++ b/html/editing/dnd/selection/163.xhtml @@ -4,8 +4,8 @@ Moving text between text inputs @@ -13,4 +13,4 @@ function check()

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/164.xhtml b/html/editing/dnd/selection/164.xhtml index 28d4d4864f30fb..4b7cb8c0483bb2 100644 --- a/html/editing/dnd/selection/164.xhtml +++ b/html/editing/dnd/selection/164.xhtml @@ -4,8 +4,8 @@ Moving text between search inputs @@ -13,4 +13,4 @@ function check()

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/165.xhtml b/html/editing/dnd/selection/165.xhtml index 81ee12366d9e84..ed6e0c6f9802ef 100644 --- a/html/editing/dnd/selection/165.xhtml +++ b/html/editing/dnd/selection/165.xhtml @@ -4,8 +4,8 @@ Moving text between tel inputs @@ -13,4 +13,4 @@ function check()

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/166.xhtml b/html/editing/dnd/selection/166.xhtml index de23321ddb025a..467cf6eeac9330 100644 --- a/html/editing/dnd/selection/166.xhtml +++ b/html/editing/dnd/selection/166.xhtml @@ -4,8 +4,8 @@ Moving text between url inputs diff --git a/html/editing/dnd/selection/167.xhtml b/html/editing/dnd/selection/167.xhtml index cc0a58008bd069..b9f7beb973966a 100644 --- a/html/editing/dnd/selection/167.xhtml +++ b/html/editing/dnd/selection/167.xhtml @@ -4,8 +4,8 @@ Moving text between email inputs @@ -13,4 +13,4 @@ function check()

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/168.xhtml b/html/editing/dnd/selection/168.xhtml index 5b89314a8a2693..a2c19c453db362 100644 --- a/html/editing/dnd/selection/168.xhtml +++ b/html/editing/dnd/selection/168.xhtml @@ -4,17 +4,17 @@ Moving text between contenteditable elements @@ -22,4 +22,4 @@ function check()
    Drag me
    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/169.xhtml b/html/editing/dnd/selection/169.xhtml index d1f56734fe46ca..ce4dd21399970c 100644 --- a/html/editing/dnd/selection/169.xhtml +++ b/html/editing/dnd/selection/169.xhtml @@ -4,16 +4,16 @@ Moving text from text input to contenteditable element @@ -21,4 +21,4 @@ function check()

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/170.xhtml b/html/editing/dnd/selection/170.xhtml index ccc8e8bdb3bc17..cbcf3dc1640d66 100644 --- a/html/editing/dnd/selection/170.xhtml +++ b/html/editing/dnd/selection/170.xhtml @@ -4,15 +4,15 @@ Dragging multiline text selection from scrolled textarea to block element @@ -25,9 +25,9 @@ Try to drag this text.

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/171.xhtml b/html/editing/dnd/selection/171.xhtml index ce00dd71b4e5d7..c8c16b0b16db31 100644 --- a/html/editing/dnd/selection/171.xhtml +++ b/html/editing/dnd/selection/171.xhtml @@ -4,21 +4,21 @@ Dragging text selection from scrollable container to block element @@ -31,9 +31,9 @@ Copy of selection should end up in the blue box once you drop it there.

    Try to drag this text.

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/172.html b/html/editing/dnd/selection/172.html index a92733701766ba..3e805e764bacdd 100644 --- a/html/editing/dnd/selection/172.html +++ b/html/editing/dnd/selection/172.html @@ -1,45 +1,45 @@ - - Selection dragging should drag minimal HTML context - - - - + + + -

    Select the text from "C" to "F" (including both of those characters) in the text below.

    -
    -

    ABCD

    EFGH

    -
    -
    Drag the selection and drop it here.
    +

    Select the text from "C" to "F" (including both of those characters) in the text below.

    +
    +

    ABCD

    EFGH

    +
    +
    Drag the selection and drop it here.
    - - \ No newline at end of file + + diff --git a/html/editing/dnd/selection/173.html b/html/editing/dnd/selection/173.html index 5ff15a219b6ff2..8c074f7c5dc459 100644 --- a/html/editing/dnd/selection/173.html +++ b/html/editing/dnd/selection/173.html @@ -1,45 +1,45 @@ - - Selection dragging should drag no HTML when inside a single element - - - - + + + -

    Select "B" in the text below.

    -
    -

    ABC

    -
    -
    Drag the selection and drop it here.
    +

    Select "B" in the text below.

    +
    +

    ABC

    +
    +
    Drag the selection and drop it here.
    - - \ No newline at end of file + + diff --git a/html/editing/dnd/selection/helper-drag-me-textarea-to-other-blue-box.xhtml b/html/editing/dnd/selection/helper-drag-me-textarea-to-other-blue-box.xhtml index 6c76fbdbb340ee..e49967e1745cc9 100644 --- a/html/editing/dnd/selection/helper-drag-me-textarea-to-other-blue-box.xhtml +++ b/html/editing/dnd/selection/helper-drag-me-textarea-to-other-blue-box.xhtml @@ -4,12 +4,12 @@ Selection drag and drop: helper file

    Drag selected text to the blue box. Copy of selection should end up in the blue box once you drop it there.

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/helper-drag-me-textarea-to-other-input.xhtml b/html/editing/dnd/selection/helper-drag-me-textarea-to-other-input.xhtml index 287e3bb5ebd3bd..bf378525880687 100644 --- a/html/editing/dnd/selection/helper-drag-me-textarea-to-other-input.xhtml +++ b/html/editing/dnd/selection/helper-drag-me-textarea-to-other-input.xhtml @@ -4,12 +4,12 @@ Selection drag and drop: helper file

    Drag selected text to the input field below. Copy of selection should end up in the input once you drop it there.

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/helper-drag-me-textarea-to-other-textarea.xhtml b/html/editing/dnd/selection/helper-drag-me-textarea-to-other-textarea.xhtml index c7eb544784b0f2..e7b72990af1f79 100644 --- a/html/editing/dnd/selection/helper-drag-me-textarea-to-other-textarea.xhtml +++ b/html/editing/dnd/selection/helper-drag-me-textarea-to-other-textarea.xhtml @@ -4,12 +4,12 @@ Selection drag and drop: helper file

    Drag selected text to the textarea. Copy of selection should end up in the textarea once you drop it there.

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/helper-drop-here-blue-box-contenteditable.xhtml b/html/editing/dnd/selection/helper-drop-here-blue-box-contenteditable.xhtml index 20f3820a14e2c2..67601b961cf38e 100644 --- a/html/editing/dnd/selection/helper-drop-here-blue-box-contenteditable.xhtml +++ b/html/editing/dnd/selection/helper-drop-here-blue-box-contenteditable.xhtml @@ -4,15 +4,15 @@ Selection drag and drop: helper file
    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/helper-drop-here-blue-box.xhtml b/html/editing/dnd/selection/helper-drop-here-blue-box.xhtml index ccd32c227b947d..575db934d87fad 100644 --- a/html/editing/dnd/selection/helper-drop-here-blue-box.xhtml +++ b/html/editing/dnd/selection/helper-drop-here-blue-box.xhtml @@ -4,19 +4,19 @@ Selection drag and drop: helper file
    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/helper-drop-here-input.xhtml b/html/editing/dnd/selection/helper-drop-here-input.xhtml index 8be631888d0bf8..bca49a016c2500 100644 --- a/html/editing/dnd/selection/helper-drop-here-input.xhtml +++ b/html/editing/dnd/selection/helper-drop-here-input.xhtml @@ -4,12 +4,12 @@ Selection drag and drop: helper file

    - \ No newline at end of file + diff --git a/html/editing/dnd/selection/helper-drop-here-textarea.xhtml b/html/editing/dnd/selection/helper-drop-here-textarea.xhtml index cbe268374c3e43..c7617f5be8f0c5 100644 --- a/html/editing/dnd/selection/helper-drop-here-textarea.xhtml +++ b/html/editing/dnd/selection/helper-drop-here-textarea.xhtml @@ -4,13 +4,13 @@ Selection drag and drop: helper file

    - \ No newline at end of file + diff --git a/html/editing/dnd/svg/004.svg b/html/editing/dnd/svg/004.svg index e3c4828a8ca67a..862c823344d630 100644 --- a/html/editing/dnd/svg/004.svg +++ b/html/editing/dnd/svg/004.svg @@ -2,7 +2,7 @@ Drag and drop of SVG text selection from tref element to textArea - Select me + Select me Select text above and drag selection to @@ -10,4 +10,4 @@ copies once it's dropped in the box. - \ No newline at end of file + diff --git a/html/editing/dnd/svg/008.svg b/html/editing/dnd/svg/008.svg index 167f73febe76d1..51065c944101fb 100644 --- a/html/editing/dnd/svg/008.svg +++ b/html/editing/dnd/svg/008.svg @@ -2,12 +2,12 @@ Drag and drop of SVG text selection from tspan element to editable text element - Select part - of this text - and drag selection to + Select part + of this text + and drag selection to the box below. Content of selection should be copies once it's dropped in the box.                               - \ No newline at end of file + diff --git a/html/editing/dnd/svg/009.svg b/html/editing/dnd/svg/009.svg index e7bd622a0f89a3..584dba73a7e3e9 100644 --- a/html/editing/dnd/svg/009.svg +++ b/html/editing/dnd/svg/009.svg @@ -2,7 +2,7 @@ Drag and drop of SVG text selection from tref element to editable text element - Select me + Select me Select text above and drag selection to @@ -10,4 +10,4 @@ copies once it's dropped in the box.                               - \ No newline at end of file + diff --git a/html/editing/dnd/svg/011.svg b/html/editing/dnd/svg/011.svg index 8f07c3c82ae02a..c5a108352a9f04 100644 --- a/html/editing/dnd/svg/011.svg +++ b/html/editing/dnd/svg/011.svg @@ -5,11 +5,11 @@ - Some selectable text rendered along curved text path + Some selectable text rendered along curved text path Select part of text above and drag selection to the box below. Content of selection should be copies once it's dropped in the box. - \ No newline at end of file + diff --git a/html/editing/dnd/svg/012.svg b/html/editing/dnd/svg/012.svg index 18c027655a92db..e45fed5076668a 100644 --- a/html/editing/dnd/svg/012.svg +++ b/html/editing/dnd/svg/012.svg @@ -5,11 +5,11 @@ - Some selectable text rendered along curved text path + Some selectable text rendered along curved text path Select part of text above and drag selection to the box below. Content of selection should be copies once it's dropped in the box. - \ No newline at end of file + diff --git a/html/editing/dnd/svg/013-1.xhtml b/html/editing/dnd/svg/013-1.xhtml index a97dce1f2b96dc..7fc593e07ef704 100644 --- a/html/editing/dnd/svg/013-1.xhtml +++ b/html/editing/dnd/svg/013-1.xhtml @@ -4,12 +4,12 @@ Drag and drop from SVG: helper file

    - - Skip the test (foreignObject is not supported). + + Skip the test (foreignObject is not supported). - \ No newline at end of file + diff --git a/html/editing/dnd/svg/015.svg b/html/editing/dnd/svg/015.svg index 3f97727c5cab5a..de484d2b812db6 100644 --- a/html/editing/dnd/svg/015.svg +++ b/html/editing/dnd/svg/015.svg @@ -4,7 +4,7 @@ - - Skip the test (foreignObject is not supported). + + Skip the test (foreignObject is not supported). - \ No newline at end of file + diff --git a/html/editing/dnd/svg/016-1.xhtml b/html/editing/dnd/svg/016-1.xhtml index 484d4b4eb7e77f..d735cce60fa992 100644 --- a/html/editing/dnd/svg/016-1.xhtml +++ b/html/editing/dnd/svg/016-1.xhtml @@ -4,19 +4,19 @@ Drag and drop from SVG: helper file

    - \ No newline at end of file + diff --git a/html/editing/dnd/svg/016.svg b/html/editing/dnd/svg/016.svg index 60d9e40c70b15e..fe873924adbd2a 100644 --- a/html/editing/dnd/svg/016.svg +++ b/html/editing/dnd/svg/016.svg @@ -4,7 +4,7 @@ - - Skip the test (foreignObject is not supported). + + Skip the test (foreignObject is not supported). - \ No newline at end of file + diff --git a/html/editing/dnd/svg/019.xhtml b/html/editing/dnd/svg/019.xhtml index 6c16875a14da39..9064a6049a07d3 100644 --- a/html/editing/dnd/svg/019.xhtml +++ b/html/editing/dnd/svg/019.xhtml @@ -4,8 +4,8 @@ Dragging selection from XHTML textarea to SVG textArea @@ -16,4 +16,4 @@ textarea - \ No newline at end of file + diff --git a/html/editing/dnd/svg/020.xhtml b/html/editing/dnd/svg/020.xhtml index c3c50fd9ece5cb..7d96b4f12e2481 100644 --- a/html/editing/dnd/svg/020.xhtml +++ b/html/editing/dnd/svg/020.xhtml @@ -4,8 +4,8 @@ Dragging multiline selection from XHTML textarea to SVG textArea diff --git a/html/editing/dnd/svg/021.xhtml b/html/editing/dnd/svg/021.xhtml index 3cc07af2885089..4d82e744286be5 100644 --- a/html/editing/dnd/svg/021.xhtml +++ b/html/editing/dnd/svg/021.xhtml @@ -4,12 +4,12 @@ Dragging selection from SVG text element to XHTML element @@ -18,9 +18,9 @@ div[ondragenter]

    Select the text above and drag selection to the blue box. Copy of selection should end up in the blue box once you drop it there.

    - \ No newline at end of file + diff --git a/html/editing/dnd/svg/022.xhtml b/html/editing/dnd/svg/022.xhtml index bd619ca0054707..7354aeef8bb7c8 100644 --- a/html/editing/dnd/svg/022.xhtml +++ b/html/editing/dnd/svg/022.xhtml @@ -4,12 +4,12 @@ Dragging selection from SVG editable text element to XHTML element @@ -18,9 +18,9 @@ div[ondragenter]

    Select the text above and drag selection to the blue box. Copy of selection should end up in the blue box once you drop it there.

    - \ No newline at end of file + diff --git a/html/editing/dnd/svg/023.xhtml b/html/editing/dnd/svg/023.xhtml index 3ada55cef67c0f..65ede4bd8b4451 100644 --- a/html/editing/dnd/svg/023.xhtml +++ b/html/editing/dnd/svg/023.xhtml @@ -4,12 +4,12 @@ Dragging selection from SVG textArea to XHTML element @@ -18,9 +18,9 @@ div[ondragenter] Content of selection should be copied once it's dropped in the box.
    - \ No newline at end of file + diff --git a/html/editing/dnd/svg/024.xhtml b/html/editing/dnd/svg/024.xhtml index 58349cdcf6a5da..5b4116c6c2dc06 100644 --- a/html/editing/dnd/svg/024.xhtml +++ b/html/editing/dnd/svg/024.xhtml @@ -4,12 +4,12 @@ Dragging selection from SVG text element to contenteditable element @@ -19,4 +19,4 @@ div[contenteditable]

    Select the text above and drag selection to the blue box. Copy of selection should end up in the blue box once you drop it there.

    - \ No newline at end of file + diff --git a/html/editing/dnd/svg/025.xhtml b/html/editing/dnd/svg/025.xhtml index 236e1655e6b306..86d68018fd8a16 100644 --- a/html/editing/dnd/svg/025.xhtml +++ b/html/editing/dnd/svg/025.xhtml @@ -4,12 +4,12 @@ Dragging selection from SVG editable text element to contenteditable element @@ -19,4 +19,4 @@ div[contenteditable]

    Select the text above and drag selection to the blue box. Copy of selection should end up in the blue box once you drop it there.

    - \ No newline at end of file + diff --git a/html/editing/dnd/svg/026.xhtml b/html/editing/dnd/svg/026.xhtml index b387f0a00fef5b..78699f1c6ea86c 100644 --- a/html/editing/dnd/svg/026.xhtml +++ b/html/editing/dnd/svg/026.xhtml @@ -4,12 +4,12 @@ Dragging selection from SVG textArea to contenteditable element @@ -19,4 +19,4 @@ Content of selection should be copied once it's dropped in the box.
    - \ No newline at end of file + diff --git a/html/editing/dnd/svg/027.xhtml b/html/editing/dnd/svg/027.xhtml index d122bae199416d..5dbce70ce9abff 100644 --- a/html/editing/dnd/svg/027.xhtml +++ b/html/editing/dnd/svg/027.xhtml @@ -4,10 +4,10 @@ Dragging selection from SVG text element to XHTML textarea @@ -17,4 +17,4 @@ textarea

    Select the text above and drag selection to the textarea. Copy of selection should end up in the textarea once you drop it there.

    Select the text above and drag selection to the textarea. Copy of selection should end up in the textarea once you drop it there.

    - \ No newline at end of file + diff --git a/html/editing/dnd/svg/047.svg b/html/editing/dnd/svg/047.svg index f8f737c6d50778..49b2c4bcbcfa90 100644 --- a/html/editing/dnd/svg/047.svg +++ b/html/editing/dnd/svg/047.svg @@ -2,7 +2,7 @@ Drag and drop of RTL SVG text selection from tref element to textArea - ‮FAIL|SSAP‬ + ‮FAIL|SSAP‬ Select text above and drag selection to @@ -10,4 +10,4 @@ copies once it's dropped in the box. - \ No newline at end of file + diff --git a/html/editing/dnd/svg/048.svg b/html/editing/dnd/svg/048.svg index fb41bc991cb3f9..1abf248cfc6477 100644 --- a/html/editing/dnd/svg/048.svg +++ b/html/editing/dnd/svg/048.svg @@ -2,7 +2,7 @@ Drag and drop of BiDi SVG text selection from tref element to textArea - PASS|LIAF ‮FAIL|SSAP‬ PASS|LIAF + PASS|LIAF ‮FAIL|SSAP‬ PASS|LIAF Select text above and drag selection to @@ -10,4 +10,4 @@ copies once it's dropped in the box. - \ No newline at end of file + diff --git a/html/editing/dnd/svg/049.xhtml b/html/editing/dnd/svg/049.xhtml index 155f75533b0120..de81c7b3137d24 100644 --- a/html/editing/dnd/svg/049.xhtml +++ b/html/editing/dnd/svg/049.xhtml @@ -5,10 +5,10 @@

    - - Select me - + + Select me +

    You should be able to select text above

    - \ No newline at end of file + diff --git a/html/editing/dnd/svg/050.xhtml b/html/editing/dnd/svg/050.xhtml index 56fef670f48353..a8d73771b9fe4f 100644 --- a/html/editing/dnd/svg/050.xhtml +++ b/html/editing/dnd/svg/050.xhtml @@ -5,9 +5,9 @@
    - - - + + +
    - \ No newline at end of file + diff --git a/html/editing/dnd/svg/051.xhtml b/html/editing/dnd/svg/051.xhtml index 2cb65636172e02..36a15c5491bc64 100644 --- a/html/editing/dnd/svg/051.xhtml +++ b/html/editing/dnd/svg/051.xhtml @@ -4,21 +4,21 @@ Drag and drop of link from SVG fragment to XHTML - - Drag me - + + Drag me +

    Drag link to the blue box. You should see word PASS once you drop it there.

    - \ No newline at end of file + diff --git a/html/editing/dnd/svg/052.svg b/html/editing/dnd/svg/052.svg index f559b234a3920a..5a780cb4e923e7 100644 --- a/html/editing/dnd/svg/052.svg +++ b/html/editing/dnd/svg/052.svg @@ -2,7 +2,7 @@ Drag and drop of text link inside SVG - Drag me + Drag me @@ -10,19 +10,19 @@ var a = document.querySelector('a'), rect = document.querySelector('rect'), text = document.querySelector('textArea'); a.addEventListener('dragstart', function (event) - {event.dataTransfer.effectAllowed = 'copy'} + {event.dataTransfer.effectAllowed = 'copy'} ,false); rect.addEventListener('dragenter', function (event) - {event.preventDefault()} + {event.preventDefault()} ,false); rect.addEventListener('dragover', function (event) - {event.preventDefault()} + {event.preventDefault()} ,false); rect.addEventListener('drop', function (event) - {text.firstChild.nodeValue = event.dataTransfer.getData('text/uri-list').substring(16,20)} + {text.firstChild.nodeValue = event.dataTransfer.getData('text/uri-list').substring(16,20)} ,false); diff --git a/html/editing/dnd/svg/053.svg b/html/editing/dnd/svg/053.svg index a116f63a188f51..6c1c4e64eb40ff 100644 --- a/html/editing/dnd/svg/053.svg +++ b/html/editing/dnd/svg/053.svg @@ -2,7 +2,7 @@ Drag and drop of circle link inside SVG - + @@ -10,21 +10,21 @@ var a = document.querySelector('a'), rect = document.querySelector('rect'); a.addEventListener('dragstart', function (event) - {event.dataTransfer.effectAllowed = 'copy'} + {event.dataTransfer.effectAllowed = 'copy'} ,false); rect.addEventListener('dragenter', function (event) - {event.preventDefault()} + {event.preventDefault()} ,false); rect.addEventListener('dragover', function (event) - {event.preventDefault()} + {event.preventDefault()} ,false); rect.addEventListener('drop', function (event) - {if(event.dataTransfer.getData('text/uri-list').replace(/\r\n$/,'') == 'data:text/plain,PASS') - {rect.setAttribute('fill','green');} - } + {if(event.dataTransfer.getData('text/uri-list').replace(/\r\n$/,'') == 'data:text/plain,PASS') + {rect.setAttribute('fill','green');} + } ,false); diff --git a/html/editing/dnd/svg/054.svg b/html/editing/dnd/svg/054.svg index 8029734cd83525..b0daf03705d901 100644 --- a/html/editing/dnd/svg/054.svg +++ b/html/editing/dnd/svg/054.svg @@ -2,9 +2,9 @@ Drag and drop of animated circle link inside SVG - - - + + + var a = document.querySelector('a'), rect = document.querySelector('rect'); a.addEventListener('dragstart', function (event) - {event.dataTransfer.effectAllowed = 'copy'} + {event.dataTransfer.effectAllowed = 'copy'} ,false); rect.addEventListener('dragenter', function (event) - {event.preventDefault()} + {event.preventDefault()} ,false); rect.addEventListener('dragover', function (event) - {event.preventDefault()} + {event.preventDefault()} ,false); rect.addEventListener('drop', function (event) - {if(event.dataTransfer.getData('text/uri-list').replace(/\r\n$/,'') == 'data:text/plain,PASS') - {rect.setAttribute('fill','green');} - } + {if(event.dataTransfer.getData('text/uri-list').replace(/\r\n$/,'') == 'data:text/plain,PASS') + {rect.setAttribute('fill','green');} + } ,false); diff --git a/html/editing/dnd/svg/055.svg b/html/editing/dnd/svg/055.svg index d23ca5f90c2b25..ee519baac8f177 100644 --- a/html/editing/dnd/svg/055.svg +++ b/html/editing/dnd/svg/055.svg @@ -2,7 +2,7 @@ Selection and drag and drop of link inside SVG - + @@ -10,21 +10,21 @@ var a = document.querySelector('a'), rect = document.querySelector('svg > rect'); a.addEventListener('dragstart', function (event) - {event.dataTransfer.effectAllowed = 'copy'} + {event.dataTransfer.effectAllowed = 'copy'} ,false); rect.addEventListener('dragenter', function (event) - {event.preventDefault()} + {event.preventDefault()} ,false); rect.addEventListener('dragover', function (event) - {event.preventDefault()} + {event.preventDefault()} ,false); rect.addEventListener('drop', function (event) - {if(event.dataTransfer.getData('text/uri-list').replace(/\r\n$/,'') == 'data:text/plain,PASS') - {rect.setAttribute('fill','green');} - } + {if(event.dataTransfer.getData('text/uri-list').replace(/\r\n$/,'') == 'data:text/plain,PASS') + {rect.setAttribute('fill','green');} + } ,false); diff --git a/html/editing/dnd/svg/056.svg b/html/editing/dnd/svg/056.svg index ff2bab82d7fd70..088b375a6ef3bd 100644 --- a/html/editing/dnd/svg/056.svg +++ b/html/editing/dnd/svg/056.svg @@ -2,7 +2,7 @@ dataTransfer.setData/getData during SVG link drag and drop - + @@ -12,58 +12,58 @@ var dataTypes = ['text/uri-list', 'text/plain', 'application/xml', 'application/ data = ['data:text/plain,PASS', 'PASS', 'PASS', 'Data store item

    PASS

    ', '1', 'PASS', 'Data store item

    PASS

    ', 'PASS'], a = document.querySelector('a'), rect = document.querySelector('rect'), text = document.querySelector('textArea'), result = true; a.addEventListener('dragstart', - function (event) - {event.dataTransfer.effectAllowed = 'copy'; - for(var i = 0; i != dataTypes.length; i++) - {event.dataTransfer.setData(dataTypes[i], data[i]);} - if(event.dataTransfer.items.length < dataTypes.length) - {say('items.length (dragstart) : FAIL');} - },false); + function (event) + {event.dataTransfer.effectAllowed = 'copy'; + for(var i = 0; i != dataTypes.length; i++) + {event.dataTransfer.setData(dataTypes[i], data[i]);} + if(event.dataTransfer.items.length < dataTypes.length) + {say('items.length (dragstart) : FAIL');} + },false); a.addEventListener('drag', - function (event) - {for(var i = 0; i != dataTypes.length; i++) - {event.dataTransfer.setData(dataTypes[i], 'FAIL'); - if(event.dataTransfer.getData(dataTypes[i])) - {say('getData(' + dataTypes[i] + ') : FAIL (data store should not be readable during drag)')} - } - if(event.dataTransfer.items.length < dataTypes.length) - {say('items.length (dragover) : FAIL')} - },false); + function (event) + {for(var i = 0; i != dataTypes.length; i++) + {event.dataTransfer.setData(dataTypes[i], 'FAIL'); + if(event.dataTransfer.getData(dataTypes[i])) + {say('getData(' + dataTypes[i] + ') : FAIL (data store should not be readable during drag)')} + } + if(event.dataTransfer.items.length < dataTypes.length) + {say('items.length (dragover) : FAIL')} + },false); rect.addEventListener('dragenter', - function (event) - {event.preventDefault(); - for(var i = 0; i != dataTypes.length; i++) - {event.dataTransfer.setData(dataTypes[i], 'FAIL'); - if(event.dataTransfer.getData(dataTypes[i])) - {say('getData(' + dataTypes[i] + ') : FAIL (data store should not be readable during dragenter)')} - } - if(event.dataTransfer.items.length < dataTypes.length) - {say('items.length (dragenter) : FAIL')} - },false); + function (event) + {event.preventDefault(); + for(var i = 0; i != dataTypes.length; i++) + {event.dataTransfer.setData(dataTypes[i], 'FAIL'); + if(event.dataTransfer.getData(dataTypes[i])) + {say('getData(' + dataTypes[i] + ') : FAIL (data store should not be readable during dragenter)')} + } + if(event.dataTransfer.items.length < dataTypes.length) + {say('items.length (dragenter) : FAIL')} + },false); rect.addEventListener('dragover', - function (event) - {event.preventDefault(); - for(var i = 0; i != dataTypes.length; i++) - {event.dataTransfer.setData(dataTypes[i], 'FAIL'); - if(event.dataTransfer.getData(dataTypes[i])) - {say('getData(' + dataTypes[i] + ') : FAIL (data store should not be readable during dragover)')} - } - if(event.dataTransfer.items.length < dataTypes.length) - {say('items.length (dragover) : FAIL');} - },false); + function (event) + {event.preventDefault(); + for(var i = 0; i != dataTypes.length; i++) + {event.dataTransfer.setData(dataTypes[i], 'FAIL'); + if(event.dataTransfer.getData(dataTypes[i])) + {say('getData(' + dataTypes[i] + ') : FAIL (data store should not be readable during dragover)')} + } + if(event.dataTransfer.items.length < dataTypes.length) + {say('items.length (dragover) : FAIL');} + },false); rect.addEventListener('drop', - function (event) - {if(event.dataTransfer.items.length < dataTypes.length) - {say('items.length (drop) : FAIL');} - for(var i = 0; i != dataTypes.length; i++) - {if(event.dataTransfer.getData(dataTypes[i]) != data[i]) - {say('getData(' + dataTypes[i] + ') : FAIL');} - } - rect.setAttribute('fill',result?'green':'red'); - },false); + function (event) + {if(event.dataTransfer.items.length < dataTypes.length) + {say('items.length (drop) : FAIL');} + for(var i = 0; i != dataTypes.length; i++) + {if(event.dataTransfer.getData(dataTypes[i]) != data[i]) + {say('getData(' + dataTypes[i] + ') : FAIL');} + } + rect.setAttribute('fill',result?'green':'red'); + },false); function say(it) - {text.appendChild(document.createTextNode(it + '.')); - result = false;} + {text.appendChild(document.createTextNode(it + '.')); + result = false;} ]]> diff --git a/html/editing/dnd/svg/057.svg b/html/editing/dnd/svg/057.svg index 709521beac4386..165a45f3938f56 100644 --- a/html/editing/dnd/svg/057.svg +++ b/html/editing/dnd/svg/057.svg @@ -2,7 +2,7 @@ dataTransfer.items during SVG link drag and drop - + @@ -12,110 +12,110 @@ var dataTypes = ['text/uri-list', 'text/plain', 'application/xml', 'application/ data = ['data:text/plain,PASS', 'PASS', 'PASS', 'Data store item

    PASS

    ', '1', 'PASS', 'Data store item

    PASS

    ', 'PASS'], a = document.querySelector('a'), rect = document.querySelector('rect'), text = document.querySelector('textArea'), e = 0, result = true; a.addEventListener('dragstart', - function (event) - {event.dataTransfer.effectAllowed = 'copy'; - for(var i = 0; i != dataTypes.length; i++) - {event.dataTransfer.setData(dataTypes[i], data[i]);} - for(var i = event.dataTransfer.items.length; i != 0; i--) - {if(dataTypes.indexOf(event.dataTransfer.items[i-1].type) == -1) - {delete event.dataTransfer.items[i-1]} - } - if(event.dataTransfer.items.length != dataTypes.length) - {say('items.length (ondragstart) : FAIL (items.length should be' + dataTypes.length + ')')} - for(var i = 0; i != event.dataTransfer.items.length; i++) - {if(event.dataTransfer.items[i].kind != 'string') - {say('Item kind (ondragstart): FAIL (items[' + i + '].kind should be string)')} - if(event.dataTransfer.items[i].type != dataTypes[i]) - {say('Item type (ondragstart): FAIL (items[' + i + '].type should be' + dataTypes[i] + ')')} - event.dataTransfer.items[i].getAsString( - function () - {if(arguments[0] != data[e++]) - {say('getAsString : FAIL (items[' + i + '].getAsString should pass' + data[e] + ')')} - } - ); - } - },false); + function (event) + {event.dataTransfer.effectAllowed = 'copy'; + for(var i = 0; i != dataTypes.length; i++) + {event.dataTransfer.setData(dataTypes[i], data[i]);} + for(var i = event.dataTransfer.items.length; i != 0; i--) + {if(dataTypes.indexOf(event.dataTransfer.items[i-1].type) == -1) + {delete event.dataTransfer.items[i-1]} + } + if(event.dataTransfer.items.length != dataTypes.length) + {say('items.length (ondragstart) : FAIL (items.length should be' + dataTypes.length + ')')} + for(var i = 0; i != event.dataTransfer.items.length; i++) + {if(event.dataTransfer.items[i].kind != 'string') + {say('Item kind (ondragstart): FAIL (items[' + i + '].kind should be string)')} + if(event.dataTransfer.items[i].type != dataTypes[i]) + {say('Item type (ondragstart): FAIL (items[' + i + '].type should be' + dataTypes[i] + ')')} + event.dataTransfer.items[i].getAsString( + function () + {if(arguments[0] != data[e++]) + {say('getAsString : FAIL (items[' + i + '].getAsString should pass' + data[e] + ')')} + } + ); + } + },false); a.addEventListener('drag', - function (event) - {event.dataTransfer.items.clear(); - if(event.dataTransfer.items.length != dataTypes.length) - {say('items.length (ondrag) : FAIL (items.length should be' + dataTypes.length + ')')} - for(var i = 0; i != event.dataTransfer.items.length; i++) - {if(event.dataTransfer.items[i].kind != 'string') - {say('Item kind (ondrag): FAIL (items[' + i + '].kind should be string)')} - if(event.dataTransfer.items[i].type != dataTypes[i]) - {say('Item type (ondrag): FAIL (items[' + i + '].type should be' + dataTypes[i] + ')')} - event.dataTransfer.items[i].getAsString( - function () - {if(arguments[0]) - {say('getAsString : FAIL (items[' + i + '].getAsString should not reveal data to drag event handler)')} - } - ); - } - },false); + function (event) + {event.dataTransfer.items.clear(); + if(event.dataTransfer.items.length != dataTypes.length) + {say('items.length (ondrag) : FAIL (items.length should be' + dataTypes.length + ')')} + for(var i = 0; i != event.dataTransfer.items.length; i++) + {if(event.dataTransfer.items[i].kind != 'string') + {say('Item kind (ondrag): FAIL (items[' + i + '].kind should be string)')} + if(event.dataTransfer.items[i].type != dataTypes[i]) + {say('Item type (ondrag): FAIL (items[' + i + '].type should be' + dataTypes[i] + ')')} + event.dataTransfer.items[i].getAsString( + function () + {if(arguments[0]) + {say('getAsString : FAIL (items[' + i + '].getAsString should not reveal data to drag event handler)')} + } + ); + } + },false); rect.addEventListener('dragenter', - function (event) - {event.preventDefault(); - event.dataTransfer.items.clear(); - if(event.dataTransfer.items.length != dataTypes.length) - {say('items.length (ondragenter) : FAIL (items.length should be' + dataTypes.length + ')')} - for(var i = 0; i != event.dataTransfer.items.length; i++) - {delete event.dataTransfer.items[i]; - if(event.dataTransfer.items[i].kind != 'string') - {say('Item kind (ondragenter): FAIL (items[' + i + '].kind should be string)')} - if(event.dataTransfer.items[i].type != dataTypes[i]) - {say('Item type (ondragenter): FAIL (items[' + i + '].type should be' + dataTypes[i] + ')')} - event.dataTransfer.items[i].getAsString( - function () - {if(arguments[0]) - {say('getAsString : FAIL (items[' + i + '].getAsString should not reveal data to drag event handler)')} - } - ); - } - },false); + function (event) + {event.preventDefault(); + event.dataTransfer.items.clear(); + if(event.dataTransfer.items.length != dataTypes.length) + {say('items.length (ondragenter) : FAIL (items.length should be' + dataTypes.length + ')')} + for(var i = 0; i != event.dataTransfer.items.length; i++) + {delete event.dataTransfer.items[i]; + if(event.dataTransfer.items[i].kind != 'string') + {say('Item kind (ondragenter): FAIL (items[' + i + '].kind should be string)')} + if(event.dataTransfer.items[i].type != dataTypes[i]) + {say('Item type (ondragenter): FAIL (items[' + i + '].type should be' + dataTypes[i] + ')')} + event.dataTransfer.items[i].getAsString( + function () + {if(arguments[0]) + {say('getAsString : FAIL (items[' + i + '].getAsString should not reveal data to drag event handler)')} + } + ); + } + },false); rect.addEventListener('dragover', - function (event) - {event.preventDefault(); - event.dataTransfer.items.clear(); - if(event.dataTransfer.items.length != dataTypes.length) - {say('items.length (ondragover) : FAIL (items.length should be' + dataTypes.length + ')')} - for(var i = 0; i != event.dataTransfer.items.length; i++) - {if(event.dataTransfer.items[i].kind != 'string') - {say('Item kind (ondragover): FAIL (items[' + i + '].kind should be string)')} - if(event.dataTransfer.items[i].type != dataTypes[i]) - {say('Item type (ondragover): FAIL (items[' + i + '].type should be' + dataTypes[i] + ')')} - event.dataTransfer.items[i].getAsString( - function () - {if(arguments[0]) - {say('getAsString : FAIL (items[' + i + '].getAsString should not reveal data to dragover event handler)')} - } - ); - } - },false); + function (event) + {event.preventDefault(); + event.dataTransfer.items.clear(); + if(event.dataTransfer.items.length != dataTypes.length) + {say('items.length (ondragover) : FAIL (items.length should be' + dataTypes.length + ')')} + for(var i = 0; i != event.dataTransfer.items.length; i++) + {if(event.dataTransfer.items[i].kind != 'string') + {say('Item kind (ondragover): FAIL (items[' + i + '].kind should be string)')} + if(event.dataTransfer.items[i].type != dataTypes[i]) + {say('Item type (ondragover): FAIL (items[' + i + '].type should be' + dataTypes[i] + ')')} + event.dataTransfer.items[i].getAsString( + function () + {if(arguments[0]) + {say('getAsString : FAIL (items[' + i + '].getAsString should not reveal data to dragover event handler)')} + } + ); + } + },false); rect.addEventListener('drop', - function (event) - {e = 0; - event.dataTransfer.items.clear(); - if(event.dataTransfer.items.length != dataTypes.length) - {say('items.length (ondrop) : FAIL (items.length should be' + dataTypes.length + ')')} - for(var i = 0; i != event.dataTransfer.items.length; i++) - {delete event.dataTransfer.items[i]; - if(event.dataTransfer.items[i].kind != 'string') - {say('Item kind (ondrop): FAIL (items[' + i + '].kind should be string)')} - if(event.dataTransfer.items[i].type != dataTypes[i]) - {say('Item type (ondrop): FAIL (items[' + i + '].type should be' + dataTypes[i] + ')')} - event.dataTransfer.items[i].getAsString( - function () - {if(arguments[0] != data[e++]) - {say('getAsString : FAIL (items[' + i + '].getAsString should pass' + data[e] + ')')} - } - ); - } - rect.setAttribute('fill',result?'green':'red'); - },false); + function (event) + {e = 0; + event.dataTransfer.items.clear(); + if(event.dataTransfer.items.length != dataTypes.length) + {say('items.length (ondrop) : FAIL (items.length should be' + dataTypes.length + ')')} + for(var i = 0; i != event.dataTransfer.items.length; i++) + {delete event.dataTransfer.items[i]; + if(event.dataTransfer.items[i].kind != 'string') + {say('Item kind (ondrop): FAIL (items[' + i + '].kind should be string)')} + if(event.dataTransfer.items[i].type != dataTypes[i]) + {say('Item type (ondrop): FAIL (items[' + i + '].type should be' + dataTypes[i] + ')')} + event.dataTransfer.items[i].getAsString( + function () + {if(arguments[0] != data[e++]) + {say('getAsString : FAIL (items[' + i + '].getAsString should pass' + data[e] + ')')} + } + ); + } + rect.setAttribute('fill',result?'green':'red'); + },false); function say(it) - {text.appendChild(document.createTextNode(it + '.')); - result = false;} + {text.appendChild(document.createTextNode(it + '.')); + result = false;} ]]> diff --git a/html/editing/dnd/svg/058.svg b/html/editing/dnd/svg/058.svg index f27626f66cf9dd..d2bb91da8d36b1 100644 --- a/html/editing/dnd/svg/058.svg +++ b/html/editing/dnd/svg/058.svg @@ -2,7 +2,7 @@ SVG link drag and drop: allowed effects 'copy','move','link' and 'none' - + @@ -14,23 +14,23 @@ var a = document.querySelector('a'), rect = document.querySelectorAll('rect'), effects = ['copy','move','link','all'], e = 0; a.addEventListener('dragstart', function (event) - {event.dataTransfer.effectAllowed = effects[e]} + {event.dataTransfer.effectAllowed = effects[e]} ,false); for(var i = 0; i != rect.length; i++) - {rect[i].addEventListener('dragenter', - function (event) - {event.preventDefault(); - event.dataTransfer.effectAllowed = effects[e];} - ,false); - rect[i].addEventListener('dragover', - function (event) - {event.preventDefault()} - ,false); - rect[i].addEventListener('drop', - function (event) - {if(event.dataTransfer.dropEffect == effects[e] && event.dataTransfer.effectAllowed == effects[e] && i != 3) - {event.target.setAttribute('fill','green');} - e = (e+1)%3;} - ,false);} + {rect[i].addEventListener('dragenter', + function (event) + {event.preventDefault(); + event.dataTransfer.effectAllowed = effects[e];} + ,false); + rect[i].addEventListener('dragover', + function (event) + {event.preventDefault()} + ,false); + rect[i].addEventListener('drop', + function (event) + {if(event.dataTransfer.dropEffect == effects[e] && event.dataTransfer.effectAllowed == effects[e] && i != 3) + {event.target.setAttribute('fill','green');} + e = (e+1)%3;} + ,false);} diff --git a/html/editing/dnd/svg/059-1.svg b/html/editing/dnd/svg/059-1.svg index 634620a2fe0947..492e9511a11b48 100644 --- a/html/editing/dnd/svg/059-1.svg +++ b/html/editing/dnd/svg/059-1.svg @@ -7,15 +7,15 @@ var rect = document.querySelector('rect'); rect.addEventListener('dragenter', function (event) - {event.preventDefault();} + {event.preventDefault();} ,false); rect.addEventListener('dragover', function (event) - {event.preventDefault();} + {event.preventDefault();} ,false); rect.addEventListener('drop', function (event) - {rect.setAttribute('fill',(event.dataTransfer.getData('text/uri-list').replace(/\r\n$/,'') == 'data:text/plain,1')?'green':'red');} + {rect.setAttribute('fill',(event.dataTransfer.getData('text/uri-list').replace(/\r\n$/,'') == 'data:text/plain,1')?'green':'red');} ,false); diff --git a/html/editing/dnd/svg/059.svg b/html/editing/dnd/svg/059.svg index a289804e63d113..3cc7815c69f8e2 100644 --- a/html/editing/dnd/svg/059.svg +++ b/html/editing/dnd/svg/059.svg @@ -2,14 +2,14 @@ SVG link cross page drag and drop - + diff --git a/html/editing/dnd/svg/060-1.svg b/html/editing/dnd/svg/060-1.svg index b78e04b2112083..3dc6689e599f34 100644 --- a/html/editing/dnd/svg/060-1.svg +++ b/html/editing/dnd/svg/060-1.svg @@ -6,7 +6,7 @@ diff --git a/html/editing/dnd/svg/060.svg b/html/editing/dnd/svg/060.svg index da3efcc49548b5..fa7159abad853d 100644 --- a/html/editing/dnd/svg/060.svg +++ b/html/editing/dnd/svg/060.svg @@ -2,27 +2,27 @@ SVG link drag and drop and history navigation roundtrip - + diff --git a/html/editing/dnd/svg/061.svg b/html/editing/dnd/svg/061.svg index 17f8734358dea8..20ed8a8360f488 100644 --- a/html/editing/dnd/svg/061.svg +++ b/html/editing/dnd/svg/061.svg @@ -2,26 +2,26 @@ SVG link drag and drop roundtrip - + diff --git a/html/editing/dnd/svg/062.svg b/html/editing/dnd/svg/062.svg index 0bc8477e5a69b0..2cbf96e0ea4984 100644 --- a/html/editing/dnd/svg/062.svg +++ b/html/editing/dnd/svg/062.svg @@ -2,7 +2,7 @@ Setting drag image during drag and drop of SVG link - + @@ -10,8 +10,8 @@ var a = document.querySelector('a'), rect = document.querySelector('rect'); a.addEventListener('dragstart', function (event) - {event.dataTransfer.effectAllowed = 'copy'; - event.dataTransfer.setDragImage(document.querySelector('rect'), 50, 50);} + {event.dataTransfer.effectAllowed = 'copy'; + event.dataTransfer.setDragImage(document.querySelector('rect'), 50, 50);} ,false); - \ No newline at end of file + diff --git a/html/editing/dnd/svg/063.svg b/html/editing/dnd/svg/063.svg index eda15495f4154c..3f570b6adb0d8b 100644 --- a/html/editing/dnd/svg/063.svg +++ b/html/editing/dnd/svg/063.svg @@ -2,23 +2,23 @@ Adding element to datastore while dragging SVG links - + - + - \ No newline at end of file + diff --git a/html/editing/dnd/svg/064.svg b/html/editing/dnd/svg/064.svg index 913732360c829d..5369de9f4470c4 100644 --- a/html/editing/dnd/svg/064.svg +++ b/html/editing/dnd/svg/064.svg @@ -2,25 +2,25 @@ Drag and drop of overlapping SVG links - + - + - - + + - \ No newline at end of file + diff --git a/html/editing/dnd/svg/065.svg b/html/editing/dnd/svg/065.svg index 38cb9560ddf55f..89e158f2f9dc76 100644 --- a/html/editing/dnd/svg/065.svg +++ b/html/editing/dnd/svg/065.svg @@ -2,27 +2,27 @@ Reload during SVG link drag and drop roundtrip - + diff --git a/html/editing/dnd/svg/066.svg b/html/editing/dnd/svg/066.svg index 1020ec82c80430..f5066ac3574030 100644 --- a/html/editing/dnd/svg/066.svg +++ b/html/editing/dnd/svg/066.svg @@ -2,7 +2,7 @@ Removing dragged element during drag and drop of SVG link - + @@ -10,22 +10,22 @@ var a = document.querySelector('a'), rect = document.querySelector('rect'); a.addEventListener('dragstart', function (event) - {event.dataTransfer.effectAllowed = 'copy'; - document.documentElement.removeChild(a);} + {event.dataTransfer.effectAllowed = 'copy'; + document.documentElement.removeChild(a);} ,false); rect.addEventListener('dragenter', function (event) - {event.preventDefault()} + {event.preventDefault()} ,false); rect.addEventListener('dragover', function (event) - {event.preventDefault()} + {event.preventDefault()} ,false); rect.addEventListener('drop', function (event) - {if(event.dataTransfer.getData('text/uri-list').replace(/\r\n$/,'') == 'data:text/plain,1') - {rect.setAttribute('fill','green');} - } + {if(event.dataTransfer.getData('text/uri-list').replace(/\r\n$/,'') == 'data:text/plain,1') + {rect.setAttribute('fill','green');} + } ,false); diff --git a/html/editing/dnd/svg/067.svg b/html/editing/dnd/svg/067.svg index ba1e5011f2fe1b..9156a0ff2ee002 100644 --- a/html/editing/dnd/svg/067.svg +++ b/html/editing/dnd/svg/067.svg @@ -2,34 +2,34 @@ Drag and drop of SVG links - + - + - + diff --git a/html/editing/dnd/synthetic/001.html b/html/editing/dnd/synthetic/001.html index bcc38e0e72cc83..aba570e5ac3d54 100644 --- a/html/editing/dnd/synthetic/001.html +++ b/html/editing/dnd/synthetic/001.html @@ -1,120 +1,120 @@ - - Synthetic drag events - - - - -
    - + + + +
    + - - - \ No newline at end of file + + + + diff --git a/html/editing/dnd/synthetic/005-manual.html b/html/editing/dnd/synthetic/005-manual.html index 0089b784b9578e..f3bb221b7f2ab7 100644 --- a/html/editing/dnd/synthetic/005-manual.html +++ b/html/editing/dnd/synthetic/005-manual.html @@ -1,339 +1,339 @@ - - Synthetic events with real data store must inherit protection status from real events - - - + - - -

    Drag the orange square over the blue square then the fuchsia square, then release it.

    -
    -
    -
    -
    - - - \ No newline at end of file + + + +

    Drag the orange square over the blue square then the fuchsia square, then release it.

    +
    +
    +
    +
    + + + diff --git a/html/editing/dnd/synthetic/006-manual.html b/html/editing/dnd/synthetic/006-manual.html index b03ec431b43b21..2007116668aff4 100644 --- a/html/editing/dnd/synthetic/006-manual.html +++ b/html/editing/dnd/synthetic/006-manual.html @@ -1,78 +1,78 @@ - - Synthetic events using real dataTransfer in new thread - - - + - - -

    Drag the orange square over the blue square then the fuchsia square, then release it.

    -
    -
    -
    -
    - - - \ No newline at end of file + + + +

    Drag the orange square over the blue square then the fuchsia square, then release it.

    +
    +
    +
    +
    + + + diff --git a/html/editing/dnd/target-origin/001-manual.html b/html/editing/dnd/target-origin/001-manual.html index f64e1c4e0309ef..13c6864d8bdfb6 100644 --- a/html/editing/dnd/target-origin/001-manual.html +++ b/html/editing/dnd/target-origin/001-manual.html @@ -1,110 +1,110 @@ - - allowTargetOrigin syntax - - - + - - -
    -
    Drag the orange square above until the drag placeholder appears, then release it.
    - - - \ No newline at end of file + + + +
    +
    Drag the orange square above until the drag placeholder appears, then release it.
    + + + diff --git a/html/editing/dnd/target-origin/002-manual.html b/html/editing/dnd/target-origin/002-manual.html index db46c6797bb79a..c4e8acdd9c58a6 100644 --- a/html/editing/dnd/target-origin/002-manual.html +++ b/html/editing/dnd/target-origin/002-manual.html @@ -1,86 +1,86 @@ - - allowTargetOrigin events - - - + - - -
    -
    -
    -
    Drag the orange square over the blue square then the fuchsia square, then release it.
    - - - \ No newline at end of file + + + +
    +
    +
    +
    Drag the orange square over the blue square then the fuchsia square, then release it.
    + + + diff --git a/html/editing/dnd/target-origin/003-manual.html b/html/editing/dnd/target-origin/003-manual.html index 5e0adbdd87ba75..febc2b0da6c1e2 100644 --- a/html/editing/dnd/target-origin/003-manual.html +++ b/html/editing/dnd/target-origin/003-manual.html @@ -1,95 +1,95 @@ - - allowTargetOrigin valid syntax - - - + - - - - + + + + + diff --git a/html/editing/dnd/target-origin/004-1.html b/html/editing/dnd/target-origin/004-1.html index f8a4e8e556249b..94e43087434ec4 100644 --- a/html/editing/dnd/target-origin/004-1.html +++ b/html/editing/dnd/target-origin/004-1.html @@ -1,25 +1,25 @@ - - Data URI does not match absolute HTTP URL - - - + - - + + + -
    +
    - + diff --git a/html/editing/dnd/target-origin/004-manual.html b/html/editing/dnd/target-origin/004-manual.html index 2a3d3bbe4b207d..a540e77b39f7c4 100644 --- a/html/editing/dnd/target-origin/004-manual.html +++ b/html/editing/dnd/target-origin/004-manual.html @@ -1,36 +1,36 @@ - - Data URI does not match absolute HTTP URL - - -

    Load the following URL in a new tab (copy & paste it into the address bar):

    - + + Data URI does not match absolute HTTP URL + + +

    Load the following URL in a new tab (copy & paste it into the address bar):

    + - - - \ No newline at end of file + + + diff --git a/html/editing/dnd/target-origin/005-1.html b/html/editing/dnd/target-origin/005-1.html index 15f6a8c23cbb2c..74156fcd7ccaf5 100644 --- a/html/editing/dnd/target-origin/005-1.html +++ b/html/editing/dnd/target-origin/005-1.html @@ -1,25 +1,25 @@ - - JavaScript URI does not match absolute HTTP URL - - - + - - + + + -
    +
    - + diff --git a/html/editing/dnd/target-origin/005-manual.html b/html/editing/dnd/target-origin/005-manual.html index 90a002cf0b4585..54ceec889bcded 100644 --- a/html/editing/dnd/target-origin/005-manual.html +++ b/html/editing/dnd/target-origin/005-manual.html @@ -1,36 +1,36 @@ - - JavaScript URI does not match absolute HTTP URL - - -

    Load the following URL in a new tab (copy & paste it into the address bar):

    - + + JavaScript URI does not match absolute HTTP URL + + +

    Load the following URL in a new tab (copy & paste it into the address bar):

    + - - - \ No newline at end of file + + + diff --git a/html/editing/dnd/target-origin/006-manual.html b/html/editing/dnd/target-origin/006-manual.html index e1674390c0d74d..f60430b4c0b854 100644 --- a/html/editing/dnd/target-origin/006-manual.html +++ b/html/editing/dnd/target-origin/006-manual.html @@ -1,52 +1,52 @@ - - Data URI does not match / - - - -

    Load the following URL in a new tab (copy & paste it into the address bar):

    - + --> +

    Load the following URL in a new tab (copy & paste it into the address bar):

    + - - - \ No newline at end of file + + + diff --git a/html/editing/dnd/target-origin/007-manual.html b/html/editing/dnd/target-origin/007-manual.html index 4f35ed17e3165f..d3b45100b60756 100644 --- a/html/editing/dnd/target-origin/007-manual.html +++ b/html/editing/dnd/target-origin/007-manual.html @@ -1,52 +1,52 @@ - - Data URI does not match its own URL - - - -

    Load the following URL in a new tab (copy & paste it into the address bar):

    - + --> +

    Load the following URL in a new tab (copy & paste it into the address bar):

    + - - - \ No newline at end of file + + + diff --git a/html/editing/dnd/target-origin/008-manual.html b/html/editing/dnd/target-origin/008-manual.html index 71e915c9cdef4a..f8a7daf0229b25 100644 --- a/html/editing/dnd/target-origin/008-manual.html +++ b/html/editing/dnd/target-origin/008-manual.html @@ -1,53 +1,53 @@ - - Data URI does match * - - - -

    Load the following URL in a new tab (copy & paste it into the address bar):

    - + --> +

    Load the following URL in a new tab (copy & paste it into the address bar):

    + - - - \ No newline at end of file + + + diff --git a/html/editing/dnd/target-origin/009-manual.html b/html/editing/dnd/target-origin/009-manual.html index 2fc7ef43ed28eb..181ca8512141b9 100644 --- a/html/editing/dnd/target-origin/009-manual.html +++ b/html/editing/dnd/target-origin/009-manual.html @@ -1,25 +1,25 @@ - - * should not prevent dropping on external applications - - - - -

    This test is only relevant on platforms where it is possible to switch applications in mid-drag (eg. alt+tab, dragging over taskbar buttons, dragging between restored windows).

    -

    This testcase requires an external application that accepts dropping of text from other applications - eg. Wordpad (write.exe) on Windows. Ensure that the external application is open.

    -

    Drag the orange block to the other application and release it. Pass if the word "PASS" appears in the other application.

    - -
    - - \ No newline at end of file + + + +

    This test is only relevant on platforms where it is possible to switch applications in mid-drag (eg. alt+tab, dragging over taskbar buttons, dragging between restored windows).

    +

    This testcase requires an external application that accepts dropping of text from other applications - eg. Wordpad (write.exe) on Windows. Ensure that the external application is open.

    +

    Drag the orange block to the other application and release it. Pass if the word "PASS" appears in the other application.

    + +
    + + diff --git a/html/editing/dnd/target-origin/010-manual.html b/html/editing/dnd/target-origin/010-manual.html index 74a20d7e0e9d64..4fd893f05264e9 100644 --- a/html/editing/dnd/target-origin/010-manual.html +++ b/html/editing/dnd/target-origin/010-manual.html @@ -1,25 +1,25 @@ - - A URL should prevent dropping on external applications - - - - -

    This test is only relevant on platforms where it is possible to switch applications in mid-drag (eg. alt+tab, dragging over taskbar buttons, dragging between restored windows).

    -

    This testcase requires an external application that accepts dropping of text from other applications - eg. Wordpad (write.exe) on Windows. Ensure that the external application is open.

    -

    Drag the orange block to the other application and release it. Fail if the word "FAIL" appears in the other application.

    - -
    - - \ No newline at end of file + + + +

    This test is only relevant on platforms where it is possible to switch applications in mid-drag (eg. alt+tab, dragging over taskbar buttons, dragging between restored windows).

    +

    This testcase requires an external application that accepts dropping of text from other applications - eg. Wordpad (write.exe) on Windows. Ensure that the external application is open.

    +

    Drag the orange block to the other application and release it. Fail if the word "FAIL" appears in the other application.

    + +
    + + diff --git a/html/editing/dnd/target-origin/011-manual.html b/html/editing/dnd/target-origin/011-manual.html index e0302712e52581..d68e03ad49b291 100644 --- a/html/editing/dnd/target-origin/011-manual.html +++ b/html/editing/dnd/target-origin/011-manual.html @@ -1,63 +1,63 @@ - - allowTargetOrigin should only block dragenter, dragover, dragleave and drop events - - - - -

    Drag the orange square over the blue square then back to the orange square, then release it. Fail if this text does not change.

    -
    -
    - - - \ No newline at end of file + + + +

    Drag the orange square over the blue square then back to the orange square, then release it. Fail if this text does not change.

    +
    +
    + + + diff --git a/html/editing/dnd/target-origin/012-manual.html b/html/editing/dnd/target-origin/012-manual.html index 164e613edb90dc..997e8ef80183e3 100644 --- a/html/editing/dnd/target-origin/012-manual.html +++ b/html/editing/dnd/target-origin/012-manual.html @@ -1,62 +1,62 @@ - - allowTargetOrigin after leaving browser window - - - + - - - - + + + + + diff --git a/html/editing/dnd/target-origin/013-manual.html b/html/editing/dnd/target-origin/013-manual.html index 39ee70cf579fb5..92da7647da04e0 100644 --- a/html/editing/dnd/target-origin/013-manual.html +++ b/html/editing/dnd/target-origin/013-manual.html @@ -1,24 +1,24 @@ - - A URL should prevent dropping on UI - - - - -

    This test is only relevant on platforms where it is possible to drop data onto the browser UI (eg. the address field).

    -

    Drag the orange block to the address field and release it. Fail if the word "FAIL" appears in the address field. Repeat for other UI fields.

    - -
    - - \ No newline at end of file + + + +

    This test is only relevant on platforms where it is possible to drop data onto the browser UI (eg. the address field).

    +

    Drag the orange block to the address field and release it. Fail if the word "FAIL" appears in the address field. Repeat for other UI fields.

    + +
    + + diff --git a/html/editing/dnd/target-origin/101-manual.html b/html/editing/dnd/target-origin/101-manual.html index 24ef0395744262..e5bbd7fa3d2a57 100644 --- a/html/editing/dnd/target-origin/101-manual.html +++ b/html/editing/dnd/target-origin/101-manual.html @@ -1,123 +1,123 @@ - - .origin for all events - - - - + + - - -
    -
    -
    -
    Drag the orange square over the blue square then the fuchsia square, then release it.
    - - + + + +
    +
    +
    +
    Drag the orange square over the blue square then the fuchsia square, then release it.
    + + diff --git a/html/editing/dnd/target-origin/102-manual.html b/html/editing/dnd/target-origin/102-manual.html index ebb3090ba33d9f..7fc9d58f70f143 100644 --- a/html/editing/dnd/target-origin/102-manual.html +++ b/html/editing/dnd/target-origin/102-manual.html @@ -1,36 +1,36 @@ - - Origin for http site to itself - - - + - - + + + - -

    Drag the orange square onto the blue square and release it. The blue square should be replaced with the text:
    -

    -
    + +

    Drag the orange square onto the blue square and release it. The blue square should be replaced with the text:
    +

    +
    - + diff --git a/html/editing/dnd/target-origin/103-1.html b/html/editing/dnd/target-origin/103-1.html index 9904ceaa061d20..837135b3640200 100644 --- a/html/editing/dnd/target-origin/103-1.html +++ b/html/editing/dnd/target-origin/103-1.html @@ -1,32 +1,32 @@ - - Origin for http site with user/pass/port to itself - - - + - - + + + - -

    Drag the orange square onto the blue square and release it. The blue square should be replaced with the text:
    -

    -
    + +

    Drag the orange square onto the blue square and release it. The blue square should be replaced with the text:
    +

    +
    - + diff --git a/html/editing/dnd/target-origin/103-manual.html b/html/editing/dnd/target-origin/103-manual.html index 7bedf0958a37f3..945b22cd36290f 100644 --- a/html/editing/dnd/target-origin/103-manual.html +++ b/html/editing/dnd/target-origin/103-manual.html @@ -1,27 +1,27 @@ - - Origin for http site with user/pass/port to itself - - - + - - + + + - + - + diff --git a/html/editing/dnd/target-origin/104-1.html b/html/editing/dnd/target-origin/104-1.html index ada4a6f995c2b3..6503b5f56be510 100644 --- a/html/editing/dnd/target-origin/104-1.html +++ b/html/editing/dnd/target-origin/104-1.html @@ -1,32 +1,32 @@ - - Origin for http site with non-default port to itself - - - + - - + + + - -

    Drag the orange square onto the blue square and release it. The blue square should be replaced with the text:
    -

    -
    + +

    Drag the orange square onto the blue square and release it. The blue square should be replaced with the text:
    +

    +
    - + diff --git a/html/editing/dnd/target-origin/104-manual.html b/html/editing/dnd/target-origin/104-manual.html index 1262424624f325..a881e5eda31c32 100644 --- a/html/editing/dnd/target-origin/104-manual.html +++ b/html/editing/dnd/target-origin/104-manual.html @@ -1,27 +1,27 @@ - - Origin for http site with non-default port to itself - - - + - - + + + - + - + diff --git a/html/editing/dnd/target-origin/105-1.html b/html/editing/dnd/target-origin/105-1.html index ccfe4f4c47663c..00bae5f16c50dc 100644 --- a/html/editing/dnd/target-origin/105-1.html +++ b/html/editing/dnd/target-origin/105-1.html @@ -1,32 +1,32 @@ - - Origin for http site to site with non-default port - - - + - - + + + - -

    Drag the orange square onto the blue square and release it. The blue square should be replaced with the text:
    -

    -
    + +

    Drag the orange square onto the blue square and release it. The blue square should be replaced with the text:
    +

    +
    - + diff --git a/html/editing/dnd/target-origin/105-manual.html b/html/editing/dnd/target-origin/105-manual.html index 4695888a6d340d..39a44f542ac457 100644 --- a/html/editing/dnd/target-origin/105-manual.html +++ b/html/editing/dnd/target-origin/105-manual.html @@ -1,27 +1,27 @@ - - Origin for http site to site with non-default port - - - + - - + + + - + - + diff --git a/html/editing/dnd/target-origin/106-1.html b/html/editing/dnd/target-origin/106-1.html index d8ff88efc4f8d0..e7f985c8ea73eb 100644 --- a/html/editing/dnd/target-origin/106-1.html +++ b/html/editing/dnd/target-origin/106-1.html @@ -1,32 +1,32 @@ - - Origin for http site with non-default port to site - - - + - - + + + - -

    Drag the orange square onto the blue square and release it. The blue square should be replaced with the text:
    -

    -
    + +

    Drag the orange square onto the blue square and release it. The blue square should be replaced with the text:
    +

    +
    - + diff --git a/html/editing/dnd/target-origin/106-manual.html b/html/editing/dnd/target-origin/106-manual.html index 18017511beb8b5..30db964c440df9 100644 --- a/html/editing/dnd/target-origin/106-manual.html +++ b/html/editing/dnd/target-origin/106-manual.html @@ -1,27 +1,27 @@ - - Origin for http site with non-default port to site - - - + - - + + + - + - + diff --git a/html/editing/dnd/target-origin/107-1.html b/html/editing/dnd/target-origin/107-1.html index 2392b19eaa6f64..a3c82005195ea4 100644 --- a/html/editing/dnd/target-origin/107-1.html +++ b/html/editing/dnd/target-origin/107-1.html @@ -1,32 +1,32 @@ - - Origin for https site to itself - - - + - - + + + - -

    Drag the orange square onto the blue square and release it. The blue square should be replaced with the text:
    -

    -
    + +

    Drag the orange square onto the blue square and release it. The blue square should be replaced with the text:
    +

    +
    - + diff --git a/html/editing/dnd/target-origin/107-manual.html b/html/editing/dnd/target-origin/107-manual.html index ecd9e9b7b7dd91..136b61c4e5432d 100644 --- a/html/editing/dnd/target-origin/107-manual.html +++ b/html/editing/dnd/target-origin/107-manual.html @@ -1,27 +1,27 @@ - - Origin for https site to itself - - - + - - + + + - + - + diff --git a/html/editing/dnd/target-origin/108-1.html b/html/editing/dnd/target-origin/108-1.html index b3027dbe248be6..4c11a7cd5d00d6 100644 --- a/html/editing/dnd/target-origin/108-1.html +++ b/html/editing/dnd/target-origin/108-1.html @@ -1,32 +1,32 @@ - - Origin for https site with non-default port to itself - - - + - - + + + - -

    Drag the orange square onto the blue square and release it. The blue square should be replaced with the text:
    -

    -
    + +

    Drag the orange square onto the blue square and release it. The blue square should be replaced with the text:
    +

    +
    - + diff --git a/html/editing/dnd/target-origin/108-manual.html b/html/editing/dnd/target-origin/108-manual.html index eb77db366a1207..e73e592db1abc7 100644 --- a/html/editing/dnd/target-origin/108-manual.html +++ b/html/editing/dnd/target-origin/108-manual.html @@ -1,27 +1,27 @@ - - Origin for https site with non-default port to itself - - - + - - + + + - + - + diff --git a/html/editing/dnd/target-origin/109-1.html b/html/editing/dnd/target-origin/109-1.html index 6b4e1d80cf6777..4ce1ad10b93e90 100644 --- a/html/editing/dnd/target-origin/109-1.html +++ b/html/editing/dnd/target-origin/109-1.html @@ -1,32 +1,32 @@ - - Origin for https site to site with non-default port - - - + - - + + + - -

    Drag the orange square onto the blue square and release it. The blue square should be replaced with the text:
    -

    -
    + +

    Drag the orange square onto the blue square and release it. The blue square should be replaced with the text:
    +

    +
    - + diff --git a/html/editing/dnd/target-origin/109-manual.html b/html/editing/dnd/target-origin/109-manual.html index 7817a85509c92d..7919281dd20324 100644 --- a/html/editing/dnd/target-origin/109-manual.html +++ b/html/editing/dnd/target-origin/109-manual.html @@ -1,27 +1,27 @@ - - Origin for https site to site with non-default port - - - + - - + + + - + - + diff --git a/html/editing/dnd/target-origin/110-1.html b/html/editing/dnd/target-origin/110-1.html index ee584003a85c45..cd64c530f007d6 100644 --- a/html/editing/dnd/target-origin/110-1.html +++ b/html/editing/dnd/target-origin/110-1.html @@ -1,32 +1,32 @@ - - Origin for https site with non-default port to site - - - + - - + + + - -

    Drag the orange square onto the blue square and release it. The blue square should be replaced with the text:
    -

    -
    + +

    Drag the orange square onto the blue square and release it. The blue square should be replaced with the text:
    +

    +
    - + diff --git a/html/editing/dnd/target-origin/110-manual.html b/html/editing/dnd/target-origin/110-manual.html index 663e162bd46a8b..8b13ff1292041c 100644 --- a/html/editing/dnd/target-origin/110-manual.html +++ b/html/editing/dnd/target-origin/110-manual.html @@ -1,27 +1,27 @@ - - Origin for https site with non-default port to site - - - + - - + + + - + - + diff --git a/html/editing/dnd/target-origin/111-manual.html b/html/editing/dnd/target-origin/111-manual.html index c81efa01d065e3..57f2c9fbb30b5f 100644 --- a/html/editing/dnd/target-origin/111-manual.html +++ b/html/editing/dnd/target-origin/111-manual.html @@ -1,52 +1,52 @@ - - Origin for file: to http: - - + - - + + + - -

    Download the linked file to your disk, and open it locally. Follow further instructions in that file.

    + +

    Download the linked file to your disk, and open it locally. Follow further instructions in that file.

    - + diff --git a/html/editing/dnd/target-origin/112-manual.html b/html/editing/dnd/target-origin/112-manual.html index 858e51d9c1cdec..c19638c9ba8dcb 100644 --- a/html/editing/dnd/target-origin/112-manual.html +++ b/html/editing/dnd/target-origin/112-manual.html @@ -1,56 +1,56 @@ - - Origin for data: with inherited http origin to http: - - - + - - + + + - + - + diff --git a/html/editing/dnd/target-origin/113-manual.html b/html/editing/dnd/target-origin/113-manual.html index d3f889a9de3c00..aa4b2b1cd329f8 100644 --- a/html/editing/dnd/target-origin/113-manual.html +++ b/html/editing/dnd/target-origin/113-manual.html @@ -1,50 +1,50 @@ - - Origin for data: with no inherited origin to http: - - - + + Origin for data: with no inherited origin to http: + + + -

    Load the following URL in a new tab (copy & paste it into the address bar):

    - +

    Load the following URL in a new tab (copy & paste it into the address bar):

    + - + - + diff --git a/html/editing/dnd/target-origin/114-manual.html b/html/editing/dnd/target-origin/114-manual.html index b2532178a8aa2b..9c7e7ff3387113 100644 --- a/html/editing/dnd/target-origin/114-manual.html +++ b/html/editing/dnd/target-origin/114-manual.html @@ -1,56 +1,56 @@ - - Origin for javascript: with inherited http origin to http: - - - + - - + + + - + - + diff --git a/html/editing/dnd/target-origin/115-manual.html b/html/editing/dnd/target-origin/115-manual.html index 751757e1461e09..133b2200ffea16 100644 --- a/html/editing/dnd/target-origin/115-manual.html +++ b/html/editing/dnd/target-origin/115-manual.html @@ -1,50 +1,50 @@ - - Origin for javascript: with no inherited origin to http: - - - + + Origin for javascript: with no inherited origin to http: + + + -

    Load the following URL in a new tab (copy & paste it into the address bar):

    - +

    Load the following URL in a new tab (copy & paste it into the address bar):

    + - + - + diff --git a/html/editing/dnd/target-origin/116-manual.html b/html/editing/dnd/target-origin/116-manual.html index fdeeeb3734efae..dd6dbf57b0368e 100644 --- a/html/editing/dnd/target-origin/116-manual.html +++ b/html/editing/dnd/target-origin/116-manual.html @@ -1,31 +1,31 @@ - - Origin for dropped files - - - + - - + + + - -

    Drag a small file from your computer onto the blue square and release it. If a prompt appears, accept it. The blue square should be replaced with the text:
    -

    + +

    Drag a small file from your computer onto the blue square and release it. If a prompt appears, accept it. The blue square should be replaced with the text:
    +

    - + diff --git a/html/editing/dnd/target-origin/117-1.html b/html/editing/dnd/target-origin/117-1.html index c49b18ac9cc94d..40b0885f33cc44 100644 --- a/html/editing/dnd/target-origin/117-1.html +++ b/html/editing/dnd/target-origin/117-1.html @@ -1,33 +1,33 @@ - - Origin for site with document.domain set to a parent domain - - - + - - + + + - -

    Drag the orange square onto the blue square and release it. The blue square should be replaced with the text:
    -

    -
    + +

    Drag the orange square onto the blue square and release it. The blue square should be replaced with the text:
    +

    +
    - + diff --git a/html/editing/dnd/target-origin/117-manual.html b/html/editing/dnd/target-origin/117-manual.html index d126fdaac665e9..88676a4b77c7b5 100644 --- a/html/editing/dnd/target-origin/117-manual.html +++ b/html/editing/dnd/target-origin/117-manual.html @@ -1,27 +1,27 @@ - - Origin for site with document.domain set to a parent domain - - - + - - + + + - + - + diff --git a/html/editing/dnd/target-origin/118-1.html b/html/editing/dnd/target-origin/118-1.html index d0212bd2a4c2d9..5161661a76dd89 100644 --- a/html/editing/dnd/target-origin/118-1.html +++ b/html/editing/dnd/target-origin/118-1.html @@ -1,32 +1,32 @@ - - Origin after leaving browser window - - - + - - + + + - -

    Drag the orange square out of the browser window (not onto the system taskbar) then back onto the blue square and release it. The blue square should be replaced with the text:
    -

    -
    + +

    Drag the orange square out of the browser window (not onto the system taskbar) then back onto the blue square and release it. The blue square should be replaced with the text:
    +

    +
    - + diff --git a/html/editing/dnd/target-origin/118-manual.html b/html/editing/dnd/target-origin/118-manual.html index 6b931692d316d2..0b9df2292dfa35 100644 --- a/html/editing/dnd/target-origin/118-manual.html +++ b/html/editing/dnd/target-origin/118-manual.html @@ -1,27 +1,27 @@ - - Origin after leaving browser window - - - + - - + + + - + - + diff --git a/html/editing/dnd/target-origin/201-manual.html b/html/editing/dnd/target-origin/201-manual.html index a687147c765fa6..f4b3c15648dc01 100644 --- a/html/editing/dnd/target-origin/201-manual.html +++ b/html/editing/dnd/target-origin/201-manual.html @@ -1,83 +1,83 @@ - - allowTargetOrigin with real dataTransfer should block dragenter, dragover, dragleave and drop synthetic events - - - - -

    Drag the orange square to the right until the drag placeholder appears, then release it. Fail if this text does not change.

    -
    -
    - - - \ No newline at end of file + + + +

    Drag the orange square to the right until the drag placeholder appears, then release it. Fail if this text does not change.

    +
    +
    + + + diff --git a/html/editing/dnd/target-origin/202.html b/html/editing/dnd/target-origin/202.html index 0e6b43c060e4e7..84f3f2ee96defc 100644 --- a/html/editing/dnd/target-origin/202.html +++ b/html/editing/dnd/target-origin/202.html @@ -1,64 +1,64 @@ - - allowTargetOrigin with fake dataTransfer should block dragenter, dragover, dragleave and drop synthetic events - - - - -
    -
    - -
    + + allowTargetOrigin with fake dataTransfer should block dragenter, dragover, dragleave and drop synthetic events + + + + +
    +
    + +
    - - - \ No newline at end of file + + + diff --git a/html/editing/dnd/target-origin/HELPER-mustallow.html b/html/editing/dnd/target-origin/HELPER-mustallow.html index 0a68b74483fcc1..c0d3aa022ce393 100644 --- a/html/editing/dnd/target-origin/HELPER-mustallow.html +++ b/html/editing/dnd/target-origin/HELPER-mustallow.html @@ -1,26 +1,26 @@ - - Must be allowed - - - - - - \ No newline at end of file + + + diff --git a/html/editing/dnd/target-origin/HELPER-mustblock.html b/html/editing/dnd/target-origin/HELPER-mustblock.html index dd467f55f082a4..c7c69ee6b079ed 100644 --- a/html/editing/dnd/target-origin/HELPER-mustblock.html +++ b/html/editing/dnd/target-origin/HELPER-mustblock.html @@ -1,21 +1,21 @@ - - Must be blocked - - - - - - \ No newline at end of file + + + diff --git a/html/editing/dnd/target-origin/HELPER-showorigin.html b/html/editing/dnd/target-origin/HELPER-showorigin.html index ea071e8112467f..057f969dd22d2a 100644 --- a/html/editing/dnd/target-origin/HELPER-showorigin.html +++ b/html/editing/dnd/target-origin/HELPER-showorigin.html @@ -1,31 +1,31 @@ - - Readout of .origin - - - - + + + -
    +
    - - \ No newline at end of file + + diff --git a/lint.whitelist b/lint.whitelist index 4cae2a4d56cc76..419edc3daf740c 100644 --- a/lint.whitelist +++ b/lint.whitelist @@ -14,7 +14,6 @@ INDENT TABS: app-uri/* INDENT TABS: conformance-checkers/* INDENT TABS: content-security-policy/* INDENT TABS: custom-elements/* -INDENT TABS: html/editing/dnd/* INDENT TABS: old-tests/* INDENT TABS: pointerlock/* INDENT TABS: shadow-dom/* From 0a77d3b6002d9e6ee53588c57be167658a9d8bbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= Date: Tue, 10 Oct 2017 21:25:08 +0200 Subject: [PATCH 2/2] Fix up irregular indentation in html/editing/dnd/ After replacing tabs with spaces, some odd indentation remains. Mostly found by reindenting in Emacs web-mode and looking at the differences. Most were ignored, but some are actual mistakes. --- html/editing/dnd/canvas/001.xhtml | 2 +- .../dnd/canvas/cross-domain/001.manual.xhtml | 2 +- html/editing/dnd/cross-document/001-1.html | 4 ++-- html/editing/dnd/cross-document/003-1.html | 2 +- html/editing/dnd/drop/025.html | 2 +- html/editing/dnd/file/001.html | 4 ++-- html/editing/dnd/file/002.html | 4 ++-- html/editing/dnd/file/003.html | 4 ++-- html/editing/dnd/file/004.html | 4 ++-- html/editing/dnd/file/007.html | 4 ++-- html/editing/dnd/file/008.html | 6 +++--- html/editing/dnd/file/010.html | 4 ++-- html/editing/dnd/file/011.html | 4 ++-- html/editing/dnd/file/prompt/001.html | 2 +- html/editing/dnd/file/prompt/002.html | 2 +- html/editing/dnd/file/prompt/003.html | 2 +- html/editing/dnd/file/prompt/004.html | 2 +- html/editing/dnd/file/prompt/005.html | 2 +- html/editing/dnd/images/001.xhtml | 2 +- html/editing/dnd/images/002.xhtml | 2 +- html/editing/dnd/images/003.xhtml | 2 +- html/editing/dnd/images/004.xhtml | 2 +- html/editing/dnd/images/005.xhtml | 2 +- html/editing/dnd/images/006.xhtml | 2 +- html/editing/dnd/images/009.xhtml | 2 +- html/editing/dnd/images/014-1.xhtml | 2 +- html/editing/dnd/images/025.xhtml | 2 +- html/editing/dnd/images/026.xhtml | 2 +- html/editing/dnd/images/027.xhtml | 2 +- html/editing/dnd/images/028.xhtml | 2 +- .../dnd/images/helper-drop-image-here.xhtml | 2 +- html/editing/dnd/interactive/object-retention.html | 4 ++-- html/editing/dnd/media/001.xhtml | 8 ++++---- html/editing/dnd/overlay/042.html | 4 ++-- html/editing/dnd/overlay/043.html | 6 +++--- html/editing/dnd/overlay/044.html | 6 +++--- html/editing/dnd/overlay/045.html | 6 +++--- html/editing/dnd/overlay/046.html | 6 +++--- html/editing/dnd/overlay/047.html | 6 +++--- html/editing/dnd/overlay/048.html | 6 +++--- html/editing/dnd/platform/cursors/005.html | 4 ++-- html/editing/dnd/platform/cursors/006.html | 4 ++-- html/editing/dnd/platform/cursors/007.html | 4 ++-- html/editing/dnd/platform/cursors/008.html | 6 +++--- html/editing/dnd/platform/cursors/009.html | 4 ++-- html/editing/dnd/platform/interrupt/013.html | 6 +++--- html/editing/dnd/platform/interrupt/014.html | 4 ++-- html/editing/dnd/reload/012-2.xhtml | 2 +- html/editing/dnd/svg/004.svg | 2 +- html/editing/dnd/svg/009.svg | 2 +- html/editing/dnd/svg/011.svg | 2 +- html/editing/dnd/svg/012.svg | 2 +- html/editing/dnd/svg/030.xhtml | 2 +- html/editing/dnd/svg/031.xhtml | 2 +- html/editing/dnd/svg/047.svg | 2 +- html/editing/dnd/svg/048.svg | 2 +- html/editing/dnd/synthetic/001.html | 12 ++++++------ html/editing/dnd/target-origin/201-manual.html | 14 +++++++------- 58 files changed, 105 insertions(+), 105 deletions(-) diff --git a/html/editing/dnd/canvas/001.xhtml b/html/editing/dnd/canvas/001.xhtml index 25492bc0852452..7b959be28407f1 100644 --- a/html/editing/dnd/canvas/001.xhtml +++ b/html/editing/dnd/canvas/001.xhtml @@ -9,7 +9,7 @@ div[ondragenter] text-align:center; margin-top:20px; padding:10px; - border:solid thin navy;} + border:solid thin navy;} p:first-child {padding-left:12px;} diff --git a/html/editing/dnd/canvas/cross-domain/001.manual.xhtml b/html/editing/dnd/canvas/cross-domain/001.manual.xhtml index 5cb3e53755c755..08512add47d730 100644 --- a/html/editing/dnd/canvas/cross-domain/001.manual.xhtml +++ b/html/editing/dnd/canvas/cross-domain/001.manual.xhtml @@ -49,7 +49,7 @@ window.onload = function() { } } if( e.type == 'drop' ) { - e.preventDefault(); + e.preventDefault(); document.getElementsByTagName('p')[1].innerHTML = failed.length ? ( 'FAIL (found ' + failed.join() + ')' ) : 'PASS'; } }; diff --git a/html/editing/dnd/cross-document/001-1.html b/html/editing/dnd/cross-document/001-1.html index 6952f5da670d34..1b3540b0350da0 100644 --- a/html/editing/dnd/cross-document/001-1.html +++ b/html/editing/dnd/cross-document/001-1.html @@ -12,14 +12,14 @@ window.onload = function() { var blue = document.getElementsByTagName('div')[0], fails = []; blue.ondragover = blue.ondragenter = function(e) { - e.preventDefault(); + e.preventDefault(); e.dataTransfer.dropEffect = 'copy'; if( e.dataTransfer.getData('text') ) { fails[fails.length] = '"' + e.dataTransfer.getData('text') + '" exposed during event ' + e.type; } }; blue.ondrop = function(e) { - e.preventDefault(); + e.preventDefault(); if( !e.dataTransfer.types.length ) { fails[fails.length] = 'no types found during event drop'; } diff --git a/html/editing/dnd/cross-document/003-1.html b/html/editing/dnd/cross-document/003-1.html index db725a9b9e4a4c..2cefd83209a0bf 100644 --- a/html/editing/dnd/cross-document/003-1.html +++ b/html/editing/dnd/cross-document/003-1.html @@ -12,7 +12,7 @@ window.onload = function() { var blue = document.getElementsByTagName('div')[0], fails = []; blue.ondragover = blue.ondragenter = function(e) { - e.preventDefault(); + e.preventDefault(); e.dataTransfer.dropEffect = 'copy'; if( !parent.evs[e.type] ) { parent.evs[e.type] = {}; } parent.evs[e.type].dataTransfer = e.dataTransfer; diff --git a/html/editing/dnd/drop/025.html b/html/editing/dnd/drop/025.html index bced86b88fee1f..491006b3ffe0b7 100644 --- a/html/editing/dnd/drop/025.html +++ b/html/editing/dnd/drop/025.html @@ -150,7 +150,7 @@ if( !seenevent.drop ) { fails[fails.length] = 'drop did not fire'; } - document.getElementsByTagName('p')[0].innerHTML = fails.length ? ( 'FAIL: ' + fails.join('
    ') ) : 'PASS'; + document.getElementsByTagName('p')[0].innerHTML = fails.length ? ( 'FAIL: ' + fails.join('
    ') ) : 'PASS'; }; }; diff --git a/html/editing/dnd/file/001.html b/html/editing/dnd/file/001.html index a247ea357f3fa3..07ef4dbbb779d9 100644 --- a/html/editing/dnd/file/001.html +++ b/html/editing/dnd/file/001.html @@ -14,7 +14,7 @@ window.onload = function() { var orange = document.getElementsByTagName('div')[0]; orange.ondragover = orange.ondragenter = function(e) { - e.preventDefault(); + e.preventDefault(); e.dataTransfer.dropEffect = 'copy'; if( !e.dataTransfer.files ) { fails[fails.length] = 'No dataTransfer.files for '+e.type; @@ -31,7 +31,7 @@ } }; orange.ondrop = function(e) { - e.preventDefault(); + e.preventDefault(); if( !e.dataTransfer.files ) { fails[fails.length] = 'No dataTransfer.files for '+e.type; } diff --git a/html/editing/dnd/file/002.html b/html/editing/dnd/file/002.html index ec6af839ee7683..b029afb3ef864c 100644 --- a/html/editing/dnd/file/002.html +++ b/html/editing/dnd/file/002.html @@ -14,7 +14,7 @@ window.onload = function() { var orange = document.getElementsByTagName('div')[0]; orange.ondragover = orange.ondragenter = function(e) { - e.preventDefault(); + e.preventDefault(); e.dataTransfer.dropEffect = 'copy'; if( !e.dataTransfer.files ) { fails[fails.length] = 'No dataTransfer.files for '+e.type; @@ -31,7 +31,7 @@ } }; orange.ondrop = function(e) { - e.preventDefault(); + e.preventDefault(); if( !e.dataTransfer.files ) { fails[fails.length] = 'No dataTransfer.files for '+e.type; } diff --git a/html/editing/dnd/file/003.html b/html/editing/dnd/file/003.html index f795fda5f4ed98..0c532ea5c3e329 100644 --- a/html/editing/dnd/file/003.html +++ b/html/editing/dnd/file/003.html @@ -14,11 +14,11 @@ window.onload = function() { var orange = document.getElementsByTagName('div')[0]; orange.ondragover = orange.ondragenter = function(e) { - e.preventDefault(); + e.preventDefault(); e.dataTransfer.dropEffect = 'copy'; }; orange.ondrop = function(e) { - e.preventDefault(); + e.preventDefault(); if( !e.dataTransfer.files ) { fails[fails.length] = 'No dataTransfer.files for '+e.type; } diff --git a/html/editing/dnd/file/004.html b/html/editing/dnd/file/004.html index 1b6d0868787639..ee0d63455f20ba 100644 --- a/html/editing/dnd/file/004.html +++ b/html/editing/dnd/file/004.html @@ -13,12 +13,12 @@ window.onload = function() { var orange = document.getElementsByTagName('div')[0]; orange.ondragover = orange.ondragenter = function(e) { - e.preventDefault(); + e.preventDefault(); e.dataTransfer.dropEffect = 'copy'; }; orange.ondrop = function(e) { //if the browser simulates a drop, it must do so with an empty FileList - e.preventDefault(); + e.preventDefault(); if( !e.dataTransfer.files ) { fails[fails.length] = 'No dataTransfer.files for '+e.type; } diff --git a/html/editing/dnd/file/007.html b/html/editing/dnd/file/007.html index 4954ab996132d5..f3e511791c9a0b 100644 --- a/html/editing/dnd/file/007.html +++ b/html/editing/dnd/file/007.html @@ -16,7 +16,7 @@ window.onload = function() { var orange = document.getElementsByTagName('div')[0]; orange.ondragover = orange.ondragenter = function(e) { - e.preventDefault(); + e.preventDefault(); e.dataTransfer.dropEffect = 'copy'; if( !e.dataTransfer.files ) { fails[fails.length] = 'No dataTransfer.files for '+e.type; @@ -33,7 +33,7 @@ } }; orange.ondrop = function(e) { - e.preventDefault(); + e.preventDefault(); if( !e.dataTransfer.files ) { fails[fails.length] = 'No dataTransfer.files for '+e.type; } diff --git a/html/editing/dnd/file/008.html b/html/editing/dnd/file/008.html index 79bd5697d9619a..3ba282766cbd03 100644 --- a/html/editing/dnd/file/008.html +++ b/html/editing/dnd/file/008.html @@ -13,7 +13,7 @@ window.onload = function() { var orange = document.getElementsByTagName('div')[0]; orange.ondragover = orange.ondragenter = function(e) { - e.preventDefault(); + e.preventDefault(); e.dataTransfer.dropEffect = 'copy'; if( !e.dataTransfer.files ) { fails[fails.length] = 'No dataTransfer.files for '+e.type; @@ -25,11 +25,11 @@ if( !( e.dataTransfer.files instanceof FileList ) ) { fails[fails.length] = 'dataTransfer.files is not a FileList'; } else if( e.dataTransfer.files.length ) { - fails[fails.length] = 'dataTransfer.files.length is '+e.dataTransfer.files.length+' instead of 0 for '+e.type; + fails[fails.length] = 'dataTransfer.files.length is '+e.dataTransfer.files.length+' instead of 0 for '+e.type; } }; orange.ondrop = function(e) { - e.preventDefault(); + e.preventDefault(); if( !e.dataTransfer.files ) { fails[fails.length] = 'No dataTransfer.files for '+e.type; } diff --git a/html/editing/dnd/file/010.html b/html/editing/dnd/file/010.html index f968a48b35b5ef..331cafc5ef84df 100644 --- a/html/editing/dnd/file/010.html +++ b/html/editing/dnd/file/010.html @@ -13,11 +13,11 @@ window.onload = function() { var orange = document.getElementsByTagName('div')[0]; orange.ondragover = orange.ondragenter = function(e) { - e.preventDefault(); + e.preventDefault(); e.dataTransfer.dropEffect = 'none'; }; orange.ondrop = function(e) { - e.preventDefault(); + e.preventDefault(); }; }; diff --git a/html/editing/dnd/file/011.html b/html/editing/dnd/file/011.html index 753cccd4f3a242..2c12d64eceb949 100644 --- a/html/editing/dnd/file/011.html +++ b/html/editing/dnd/file/011.html @@ -13,7 +13,7 @@ var fails = [], finished = false; window.onload = function() { var orange = document.getElementsByTagName('div')[0]; - orange.ondragenter = function(e) { + orange.ondragenter = function(e) { e.dataTransfer.dropEffect = 'copy'; }; /* orange.ondragover = function(e) { @@ -21,7 +21,7 @@ }; */ orange.ondrop = function(e) { - e.preventDefault(); + e.preventDefault(); if( !e.dataTransfer.files ) { fails[fails.length] = 'No dataTransfer.files for '+e.type; } diff --git a/html/editing/dnd/file/prompt/001.html b/html/editing/dnd/file/prompt/001.html index 94fddfacfa3b3f..52f6e8d01f65d3 100644 --- a/html/editing/dnd/file/prompt/001.html +++ b/html/editing/dnd/file/prompt/001.html @@ -16,7 +16,7 @@ } var orange = document.getElementsByTagName('div')[0]; orange.ondragover = orange.ondragenter = orange.ondrop = function(e) { - e.preventDefault(); + e.preventDefault(); }; document.getElementsByTagName('span')[0].innerHTML = location.hostname; }; diff --git a/html/editing/dnd/file/prompt/002.html b/html/editing/dnd/file/prompt/002.html index cc5fa31bd448a8..f913aedfacbab8 100644 --- a/html/editing/dnd/file/prompt/002.html +++ b/html/editing/dnd/file/prompt/002.html @@ -27,7 +27,7 @@ } var orange = document.getElementsByTagName('div')[0]; orange.ondragover = orange.ondragenter = orange.ondrop = function(e) { - e.preventDefault(); + e.preventDefault(); }; document.getElementsByTagName('span')[0].innerHTML = realhost; }; diff --git a/html/editing/dnd/file/prompt/003.html b/html/editing/dnd/file/prompt/003.html index e145479261ebbf..ada495bd193668 100644 --- a/html/editing/dnd/file/prompt/003.html +++ b/html/editing/dnd/file/prompt/003.html @@ -16,7 +16,7 @@ } var orange = document.getElementsByTagName('div')[0]; orange.ondragover = orange.ondragenter = orange.ondrop = function(e) { - e.preventDefault(); + e.preventDefault(); }; document.getElementsByTagName('span')[0].innerHTML = location.hostname; }; diff --git a/html/editing/dnd/file/prompt/004.html b/html/editing/dnd/file/prompt/004.html index 4b445f35cb885a..0232638ef8e958 100644 --- a/html/editing/dnd/file/prompt/004.html +++ b/html/editing/dnd/file/prompt/004.html @@ -16,7 +16,7 @@ } var orange = document.getElementsByTagName('div')[0]; orange.ondragover = orange.ondragenter = orange.ondrop = function(e) { - e.preventDefault(); + e.preventDefault(); }; }; diff --git a/html/editing/dnd/file/prompt/005.html b/html/editing/dnd/file/prompt/005.html index 0835221b2f5e48..3a6c356c2ee1bd 100644 --- a/html/editing/dnd/file/prompt/005.html +++ b/html/editing/dnd/file/prompt/005.html @@ -16,7 +16,7 @@ } var orange = document.getElementsByTagName('div')[0]; orange.ondragover = orange.ondragenter = orange.ondrop = function(e) { - e.preventDefault(); + e.preventDefault(); }; }; diff --git a/html/editing/dnd/images/001.xhtml b/html/editing/dnd/images/001.xhtml index 3e124de83fbb0f..ef7d17b59e2914 100644 --- a/html/editing/dnd/images/001.xhtml +++ b/html/editing/dnd/images/001.xhtml @@ -9,7 +9,7 @@ div[ondragenter] text-align:center; margin-top:20px; padding:10px; - border:solid thin navy;} + border:solid thin navy;} p:first-child {padding-left:12px;} diff --git a/html/editing/dnd/images/002.xhtml b/html/editing/dnd/images/002.xhtml index db4493f333a81b..a7d79f20ebee16 100644 --- a/html/editing/dnd/images/002.xhtml +++ b/html/editing/dnd/images/002.xhtml @@ -9,7 +9,7 @@ div[ondragenter] text-align:center; margin-top:20px; padding:10px; - border:solid thin navy;} + border:solid thin navy;} p:first-child {padding-left:12px;} diff --git a/html/editing/dnd/images/003.xhtml b/html/editing/dnd/images/003.xhtml index dfb4817cecb7ca..a8c623b2bca51a 100644 --- a/html/editing/dnd/images/003.xhtml +++ b/html/editing/dnd/images/003.xhtml @@ -9,7 +9,7 @@ div[ondragenter] text-align:center; margin-top:20px; padding:10px; - border:solid thin navy;} + border:solid thin navy;} p:first-child {padding-left:12px;} diff --git a/html/editing/dnd/images/004.xhtml b/html/editing/dnd/images/004.xhtml index 964ddc69c491a5..c7b39432d8367a 100644 --- a/html/editing/dnd/images/004.xhtml +++ b/html/editing/dnd/images/004.xhtml @@ -9,7 +9,7 @@ div[ondragenter] text-align:center; margin-top:20px; padding:10px; - border:solid thin navy;} + border:solid thin navy;} p:first-child {padding-left:12px;} diff --git a/html/editing/dnd/images/005.xhtml b/html/editing/dnd/images/005.xhtml index ffba765a07239e..a57d0857571c20 100644 --- a/html/editing/dnd/images/005.xhtml +++ b/html/editing/dnd/images/005.xhtml @@ -9,7 +9,7 @@ div[ondragenter] text-align:center; margin-top:20px; padding:10px; - border:solid thin navy;} + border:solid thin navy;} p:first-child {padding-left:12px;} diff --git a/html/editing/dnd/images/006.xhtml b/html/editing/dnd/images/006.xhtml index 99c60f1e175598..db8285feec9b17 100644 --- a/html/editing/dnd/images/006.xhtml +++ b/html/editing/dnd/images/006.xhtml @@ -9,7 +9,7 @@ div[ondragenter] text-align:center; margin-top:20px; padding:10px; - border:solid thin navy;} + border:solid thin navy;} iframe {width:150px; height:150px; diff --git a/html/editing/dnd/images/009.xhtml b/html/editing/dnd/images/009.xhtml index d2dcbe86ceb182..0bb3bce3b51c1d 100644 --- a/html/editing/dnd/images/009.xhtml +++ b/html/editing/dnd/images/009.xhtml @@ -9,7 +9,7 @@ div[ondragenter] text-align:center; margin-top:20px; padding:10px; - border:solid thin navy;} + border:solid thin navy;} iframe {width:150px; height:150px; diff --git a/html/editing/dnd/images/014-1.xhtml b/html/editing/dnd/images/014-1.xhtml index f90eb0798c555d..13d8e43f989c9b 100644 --- a/html/editing/dnd/images/014-1.xhtml +++ b/html/editing/dnd/images/014-1.xhtml @@ -9,7 +9,7 @@ div[ondragenter] text-align:center; margin-top:20px; padding:10px; - background-color:silver;} + background-color:silver;} p:first-child {padding-left:12px;} diff --git a/html/editing/dnd/images/025.xhtml b/html/editing/dnd/images/025.xhtml index 3a0661b4b6853e..c077aa8b61badc 100644 --- a/html/editing/dnd/images/025.xhtml +++ b/html/editing/dnd/images/025.xhtml @@ -13,7 +13,7 @@ div[ondragenter] min-height:105px; text-align:center; padding:10px; - background-color:silver;} + background-color:silver;} p:first-child {padding-left:12px;} diff --git a/html/editing/dnd/images/026.xhtml b/html/editing/dnd/images/026.xhtml index 9f552cf23df7e4..23063c7b4d06c0 100644 --- a/html/editing/dnd/images/026.xhtml +++ b/html/editing/dnd/images/026.xhtml @@ -13,7 +13,7 @@ div[ondragenter] min-height:105px; text-align:center; padding:10px; - background-color:silver;} + background-color:silver;} p:first-child {padding-left:12px;} diff --git a/html/editing/dnd/images/027.xhtml b/html/editing/dnd/images/027.xhtml index f36d9a803aef6a..aa40e7e48040bc 100644 --- a/html/editing/dnd/images/027.xhtml +++ b/html/editing/dnd/images/027.xhtml @@ -13,7 +13,7 @@ div[ondragenter] min-height:105px; text-align:center; padding:10px; - background-color:silver;} + background-color:silver;} p:first-child {padding-left:12px;} diff --git a/html/editing/dnd/images/028.xhtml b/html/editing/dnd/images/028.xhtml index 57213a28e9d229..fe4474cceb6ba7 100644 --- a/html/editing/dnd/images/028.xhtml +++ b/html/editing/dnd/images/028.xhtml @@ -9,7 +9,7 @@ div[ondragenter] text-align:center; margin-top:20px; padding:10px; - border:solid thin navy;} + border:solid thin navy;} p:first-child {padding-left:12px;} diff --git a/html/editing/dnd/images/helper-drop-image-here.xhtml b/html/editing/dnd/images/helper-drop-image-here.xhtml index 84e5441d951e04..78fa33bf0935a3 100644 --- a/html/editing/dnd/images/helper-drop-image-here.xhtml +++ b/html/editing/dnd/images/helper-drop-image-here.xhtml @@ -9,7 +9,7 @@ div[ondragenter] text-align:center; margin-top:20px; padding:10px; - border:solid thin navy;} + border:solid thin navy;} +

    Drag video and drop it somewhere on the page. Dragged frame should be copied to the canvas below and you should see word PASS once you drop video.

    diff --git a/html/editing/dnd/overlay/042.html b/html/editing/dnd/overlay/042.html index 8f3060b0dc3f71..574153fc0d52ab 100644 --- a/html/editing/dnd/overlay/042.html +++ b/html/editing/dnd/overlay/042.html @@ -39,14 +39,14 @@ e.dataTransfer.setData('text/plain', 'FAIL'); }; fuchsia.ondragenter = fuchsia.ondragover = function(e) { - e.preventDefault(); + e.preventDefault(); e.dataTransfer.dropEffect = 'copy'; }; fuchsia.ondrop = function(e) { //it's possible this could get called twice if the browser drags both items, so it uses the "passed" variable to make sure //that if blue gets dropped first, it remains false when orange then gets dropped passed = passed && ( e.dataTransfer.getData('text/plain') == 'PASS' ); - document.getElementsByTagName('p')[0].innerHTML = passed ? 'PASS' : 'FAIL'; + document.getElementsByTagName('p')[0].innerHTML = passed ? 'PASS' : 'FAIL'; }; }; diff --git a/html/editing/dnd/overlay/043.html b/html/editing/dnd/overlay/043.html index 01f9933c7083db..49108b9dbb2fdf 100644 --- a/html/editing/dnd/overlay/043.html +++ b/html/editing/dnd/overlay/043.html @@ -47,15 +47,15 @@ } }; fuchsia.ondragenter = fuchsia.ondragover = function(e) { - e.preventDefault(); + e.preventDefault(); e.dataTransfer.dropEffect = 'copy'; }; fuchsia.ondrop = function(e) { - e.preventDefault(); + e.preventDefault(); //it's possible this could get called twice if the browser drags both items, so it uses the "passed" variable to make sure //that if blue gets dropped first, it remains false when orange then gets dropped passed = passed && ( e.dataTransfer.getData('text/plain') == 'child targeted' ) && ( e.dataTransfer.getData('extra/data') == 'parent bubble' ); - document.getElementsByTagName('p')[0].innerHTML = passed ? 'PASS' : 'FAIL'; + document.getElementsByTagName('p')[0].innerHTML = passed ? 'PASS' : 'FAIL'; }; }; diff --git a/html/editing/dnd/overlay/044.html b/html/editing/dnd/overlay/044.html index a3211d7ecf6634..6632738207a1b2 100644 --- a/html/editing/dnd/overlay/044.html +++ b/html/editing/dnd/overlay/044.html @@ -28,13 +28,13 @@ e.dataTransfer.setData('extra/data', 'parent bubble'); }; fuchsia.ondragenter = fuchsia.ondragover = function(e) { - e.preventDefault(); + e.preventDefault(); e.dataTransfer.dropEffect = 'copy'; }; fuchsia.ondrop = function(e) { - e.preventDefault(); + e.preventDefault(); var passed = ( e.dataTransfer.getData('text/plain') == 'text dummy' ) && ( e.dataTransfer.getData('extra/data') == 'parent bubble' ); - document.getElementsByTagName('p')[0].innerHTML = passed ? 'PASS' : 'FAIL'; + document.getElementsByTagName('p')[0].innerHTML = passed ? 'PASS' : 'FAIL'; }; var range = document.createRange(); range.selectNodeContents(orange); diff --git a/html/editing/dnd/overlay/045.html b/html/editing/dnd/overlay/045.html index 0b5c1d7bb39d95..1efed6a110ed56 100644 --- a/html/editing/dnd/overlay/045.html +++ b/html/editing/dnd/overlay/045.html @@ -36,12 +36,12 @@ e.dataTransfer.setData('text/plain', 'FAIL'); }; fuchsia.ondragenter = fuchsia.ondragover = function(e) { - e.preventDefault(); + e.preventDefault(); e.dataTransfer.dropEffect = 'copy'; }; fuchsia.ondrop = function(e) { - e.preventDefault(); - document.getElementsByTagName('p')[0].innerHTML = 'FAIL'; + e.preventDefault(); + document.getElementsByTagName('p')[0].innerHTML = 'FAIL'; }; }; diff --git a/html/editing/dnd/overlay/046.html b/html/editing/dnd/overlay/046.html index 2f6501a9a919fe..8d03cd5d95e534 100644 --- a/html/editing/dnd/overlay/046.html +++ b/html/editing/dnd/overlay/046.html @@ -36,12 +36,12 @@ e.dataTransfer.setData('text/plain', 'FAIL'); }; fuchsia.ondragenter = fuchsia.ondragover = function(e) { - e.preventDefault(); + e.preventDefault(); e.dataTransfer.dropEffect = 'copy'; }; fuchsia.ondrop = function(e) { - e.preventDefault(); - document.getElementsByTagName('p')[0].innerHTML = 'FAIL'; + e.preventDefault(); + document.getElementsByTagName('p')[0].innerHTML = 'FAIL'; }; }; diff --git a/html/editing/dnd/overlay/047.html b/html/editing/dnd/overlay/047.html index eea574c4e8bae6..9b4c09ab935932 100644 --- a/html/editing/dnd/overlay/047.html +++ b/html/editing/dnd/overlay/047.html @@ -36,12 +36,12 @@ e.dataTransfer.setData('text/plain', 'FAIL'); }; fuchsia.ondragenter = fuchsia.ondragover = function(e) { - e.preventDefault(); + e.preventDefault(); e.dataTransfer.dropEffect = 'copy'; }; fuchsia.ondrop = function(e) { - e.preventDefault(); - document.getElementsByTagName('p')[0].innerHTML = 'FAIL'; + e.preventDefault(); + document.getElementsByTagName('p')[0].innerHTML = 'FAIL'; }; }; diff --git a/html/editing/dnd/overlay/048.html b/html/editing/dnd/overlay/048.html index c46da83b2cdc91..54bb72c5ed4332 100644 --- a/html/editing/dnd/overlay/048.html +++ b/html/editing/dnd/overlay/048.html @@ -36,12 +36,12 @@ e.dataTransfer.setData('text/plain', 'FAIL'); }; fuchsia.ondragenter = fuchsia.ondragover = function(e) { - e.preventDefault(); + e.preventDefault(); e.dataTransfer.dropEffect = 'copy'; }; fuchsia.ondrop = function(e) { - e.preventDefault(); - document.getElementsByTagName('p')[0].innerHTML = 'FAIL'; + e.preventDefault(); + document.getElementsByTagName('p')[0].innerHTML = 'FAIL'; }; }; diff --git a/html/editing/dnd/platform/cursors/005.html b/html/editing/dnd/platform/cursors/005.html index 689adcaee02f77..d5b33788276aa8 100644 --- a/html/editing/dnd/platform/cursors/005.html +++ b/html/editing/dnd/platform/cursors/005.html @@ -27,11 +27,11 @@ e.dataTransfer.setData('Text', 'dummy text'); }; blue.ondragenter = blue.ondragover = function(e) { - e.preventDefault(); + e.preventDefault(); e.dataTransfer.dropEffect = 'none'; }; blue.ondrop = function(e) { - e.preventDefault(); + e.preventDefault(); }; }; diff --git a/html/editing/dnd/platform/cursors/006.html b/html/editing/dnd/platform/cursors/006.html index 65da653839e739..1d36e2e6ad25cc 100644 --- a/html/editing/dnd/platform/cursors/006.html +++ b/html/editing/dnd/platform/cursors/006.html @@ -27,11 +27,11 @@ e.dataTransfer.setData('Text', 'dummy text'); }; blue.ondragenter = blue.ondragover = function(e) { - e.preventDefault(); + e.preventDefault(); e.dataTransfer.dropEffect = 'copy'; }; blue.ondrop = function(e) { - e.preventDefault(); + e.preventDefault(); }; }; diff --git a/html/editing/dnd/platform/cursors/007.html b/html/editing/dnd/platform/cursors/007.html index 81d8672db52e19..70b9506637d546 100644 --- a/html/editing/dnd/platform/cursors/007.html +++ b/html/editing/dnd/platform/cursors/007.html @@ -27,11 +27,11 @@ e.dataTransfer.setData('Text', 'dummy text'); }; blue.ondragenter = blue.ondragover = function(e) { - e.preventDefault(); + e.preventDefault(); e.dataTransfer.dropEffect = 'move'; }; blue.ondrop = function(e) { - e.preventDefault(); + e.preventDefault(); }; }; diff --git a/html/editing/dnd/platform/cursors/008.html b/html/editing/dnd/platform/cursors/008.html index e9111ccabf2071..827e636ceefe11 100644 --- a/html/editing/dnd/platform/cursors/008.html +++ b/html/editing/dnd/platform/cursors/008.html @@ -28,15 +28,15 @@ var blue = document.getElementsByTagName('div')[1], fuchsia = document.getElementsByTagName('div')[2]; blue.ondragenter = blue.ondragover = function(e) { //this test assumes the browser will default to opening the file if the page does not want it - e.preventDefault(); + e.preventDefault(); e.dataTransfer.dropEffect = 'none'; }; fuchsia.ondragenter = fuchsia.ondragover = function(e) { - e.preventDefault(); + e.preventDefault(); e.dataTransfer.dropEffect = 'copy'; }; fuchsia.ondrop = function(e) { - e.preventDefault(); + e.preventDefault(); }; }; diff --git a/html/editing/dnd/platform/cursors/009.html b/html/editing/dnd/platform/cursors/009.html index 52a66192bc20e4..7917ba320e6ec4 100644 --- a/html/editing/dnd/platform/cursors/009.html +++ b/html/editing/dnd/platform/cursors/009.html @@ -27,11 +27,11 @@ e.dataTransfer.setData('Text', 'dummy text'); }; blue.ondragenter = blue.ondragover = function(e) { - e.preventDefault(); + e.preventDefault(); e.dataTransfer.dropEffect = 'link'; }; blue.ondrop = function(e) { - e.preventDefault(); + e.preventDefault(); }; }; diff --git a/html/editing/dnd/platform/interrupt/013.html b/html/editing/dnd/platform/interrupt/013.html index 8250a2ef78a794..9e9747601a2fd0 100644 --- a/html/editing/dnd/platform/interrupt/013.html +++ b/html/editing/dnd/platform/interrupt/013.html @@ -22,7 +22,7 @@ e.dataTransfer.setData('text', 'dummy text'); }; blue.ondragover = function(e) { - e.preventDefault(); + e.preventDefault(); e.dataTransfer.dropEffect = 'copy'; if( !window.doneonce ) { alert('2. It should also ideally be possible to dismiss this dialog with your mouse/pointing device (do not use mouse gestures).'); @@ -30,12 +30,12 @@ window.doneonce = true; }; blue.ondragenter = function(e) { - e.preventDefault(); + e.preventDefault(); e.dataTransfer.dropEffect = 'copy'; alert('1. It should ideally be possible to dismiss this dialog with your mouse/pointing device (do not use mouse gestures).'); }; blue.ondrop = function(e) { - e.preventDefault(); + e.preventDefault(); }; }; diff --git a/html/editing/dnd/platform/interrupt/014.html b/html/editing/dnd/platform/interrupt/014.html index ffa93ea835d126..23f6a3e4db1790 100644 --- a/html/editing/dnd/platform/interrupt/014.html +++ b/html/editing/dnd/platform/interrupt/014.html @@ -22,11 +22,11 @@ e.dataTransfer.setData('text', 'dummy text'); }; blue.ondragover = blue.ondragenter = function(e) { - e.preventDefault(); + e.preventDefault(); e.dataTransfer.dropEffect = 'copy'; }; blue.ondrop = function(e) { - e.preventDefault(); + e.preventDefault(); alert('It should ideally be possible to dismiss this dialog with your mouse/pointing device (do not use mouse gestures).'); }; }; diff --git a/html/editing/dnd/reload/012-2.xhtml b/html/editing/dnd/reload/012-2.xhtml index 5b049a0c1aa5da..84bd41f9e4e942 100644 --- a/html/editing/dnd/reload/012-2.xhtml +++ b/html/editing/dnd/reload/012-2.xhtml @@ -9,7 +9,7 @@ div[ondragenter] text-align:center; margin-top:20px; padding:10px; - border:solid thin navy;} + border:solid thin navy;}