OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <style> | 4 <style> |
5 .container { | 5 .container { |
6 margin: 10px; | 6 margin: 10px; |
7 width: 300px; | 7 width: 300px; |
8 height: 200px; | 8 height: 200px; |
9 background-color: grey; | 9 background-color: grey; |
10 } | 10 } |
11 | 11 |
12 .static { | 12 .static { |
13 display: static; | 13 display: static; |
14 } | 14 } |
15 | 15 |
16 .inline-block { | 16 .inline-block { |
17 display: inline-block; | 17 display: inline-block; |
18 } | 18 } |
19 | 19 |
| 20 .floatleft { |
| 21 float: left; |
| 22 } |
| 23 |
20 *[draggable=true] { | 24 *[draggable=true] { |
21 width: 100px; | 25 width: 100px; |
22 height: 100px; | 26 height: 100px; |
23 margin: 10px; | 27 margin: 10px; |
24 background-color: green; | 28 background-color: green; |
25 } | 29 } |
26 </style> | 30 </style> |
27 </head> | 31 </head> |
28 <body> | 32 <body> |
29 <div class="container inline-block static"> | 33 <div class="container inline-block static"> |
30 display: inline-block; position: static; | 34 display: inline-block; position: static; |
31 <div draggable="true">Drag Me</div> | 35 <div draggable="true">Drag Me</div> |
32 If the drag-icon follow the mouse pointer while dragging the above green d
iv, the test passes. | 36 If the drag-icon follows the mouse pointer while dragging the above green
block, the test passes. |
33 </div> | 37 </div> |
| 38 |
| 39 <div class="container" style="overflow:hidden"> |
| 40 greybox overflow:hidden; greenbox float:left;<br> |
| 41 <div class="floatleft" draggable="true">Drag Me</div> |
| 42 If the drag-icon follows the mouse pointer while dragging the green bloc
k to the left, the test passes. |
| 43 </div> |
| 44 |
34 </body> | 45 </body> |
35 </html> | 46 </html> |
OLD | NEW |