Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(162)

Side by Side Diff: ManualTests/drag-should-draw-target.html

Issue 278293002: [Regression] Fix Draggable is float:left and container is overflow:hidden (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ManualTests/drag-inline-block.html ('k') | Source/core/frame/FrameView.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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>
OLDNEW
« no previous file with comments | « ManualTests/drag-inline-block.html ('k') | Source/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698