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

Unified Diff: third_party/WebKit/LayoutTests/fast/dnd/resources/event-mouse-coordinates.css

Issue 2469863003: Delegate dragend to the correct frame's EventHandler. (Closed)
Patch Set: Applied dcheng's advice. Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/dnd/resources/event-mouse-coordinates.css
diff --git a/third_party/WebKit/LayoutTests/fast/dnd/resources/event-mouse-coordinates.css b/third_party/WebKit/LayoutTests/fast/dnd/resources/event-mouse-coordinates.css
new file mode 100644
index 0000000000000000000000000000000000000000..781b9fc33a29b3a96b94d09e9cb5b66c74e52758
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/dnd/resources/event-mouse-coordinates.css
@@ -0,0 +1,24 @@
+html, body {
+ margin: 0;
+ padding: 0;
+ display: block;
+ min-height: 400px;
+}
+.box {
+ display: block;
+ border: 1px solid black;
+ width: 100px;
+ height: 100px;
+}
+.dragged {
+ position: absolute;
+ left: 199px; /* Get the box's client area at 200,100. */
+ top: 99px;
+ cursor: pointer;
+}
+.dropzone {
+ position: absolute;
+ left: 399px; /* Get the box's client area at 400,300. */
+ top: 299px;
+ border-style: dashed;
+}

Powered by Google App Engine
This is Rietveld 408576698