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

Unified Diff: third_party/WebKit/LayoutTests/fast/dnd/resources/link-dragging-common.css

Issue 2441023003: Align drag feedback for links with draggable="true" to Safari. (Closed)
Patch Set: Rebased, added dependency on CL that fixes testing logistical issue. 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/link-dragging-common.css
diff --git a/third_party/WebKit/LayoutTests/fast/dnd/resources/link-dragging-common.css b/third_party/WebKit/LayoutTests/fast/dnd/resources/link-dragging-common.css
new file mode 100644
index 0000000000000000000000000000000000000000..467dc22978aebb7de5fa6195b2931e33f48979be
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/dnd/resources/link-dragging-common.css
@@ -0,0 +1,34 @@
+body.test-runner {
+ font: 10px Ahem;
+}
+
+article {
+ position: relative;
+ overflow: hidden;
+}
+
+/* a needs to precede .dragged, because the cursor rules depend on the .dragged
+ block being more specific than the a block. */
+a {
+ display: block;
+
+ /* Intended to help manual testers not accidentally drag the text when we
+ expect them to drag the containing box. */
+ cursor: not-allowed;
+}
+
+.box {
+ display: block;
+ border: 1px solid black;
+ width: 150px;
+ height: 100px;
+ margin: 10px;
+ float: left;
+}
+.dragged {
+ background-color: hsla(120, 50%, 70%, 1);
+ cursor: pointer;
+}
+.dropzone {
+ border-style: dashed;
+}

Powered by Google App Engine
This is Rietveld 408576698