| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script src="../js/resources/js-test-pre.js"></script> | 3 <script src="../../resources/js-test.js"></script> |
| 4 <style> | 4 <style> |
| 5 #dropTarget, #dragMe { text-align: center; display: table-cell; vertical-align:
middle } | 5 #dropTarget, #dragMe { text-align: center; display: table-cell; vertical-align:
middle } |
| 6 #dropTarget {width: 256px; height: 256px; border: 1px dashed} | 6 #dropTarget {width: 256px; height: 256px; border: 1px dashed} |
| 7 #dragMe {-webkit-user-drag: element; -webkit-user-select: none; background: #ff0
000; width: 64px; height: 64px; color: white} | 7 #dragMe {-webkit-user-drag: element; -webkit-user-select: none; background: #ff0
000; width: 64px; height: 64px; color: white} |
| 8 </style> | 8 </style> |
| 9 <script> | 9 <script> |
| 10 var dragMe; | 10 var dragMe; |
| 11 var dropTarget; | 11 var dropTarget; |
| 12 var consoleElm; | 12 var consoleElm; |
| 13 var event; | 13 var event; |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 <p>Items that can be dragged to the drop target:</p> | 129 <p>Items that can be dragged to the drop target:</p> |
| 130 <div id="dragMe" draggable="true">Square</div> | 130 <div id="dragMe" draggable="true">Square</div> |
| 131 <hr/> | 131 <hr/> |
| 132 </div> | 132 </div> |
| 133 <div id="console"></div> | 133 <div id="console"></div> |
| 134 <script> | 134 <script> |
| 135 description("This test checks that on a successful drop we can access <c
ode>event.dataTransfer.types</code> without crashing."); | 135 description("This test checks that on a successful drop we can access <c
ode>event.dataTransfer.types</code> without crashing."); |
| 136 </script> | 136 </script> |
| 137 </body> | 137 </body> |
| 138 </html> | 138 </html> |
| OLD | NEW |