summaryrefslogtreecommitdiffstats
path: root/WebCore/manual-tests/user-drag-with-decorations.html
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/manual-tests/user-drag-with-decorations.html')
-rw-r--r--WebCore/manual-tests/user-drag-with-decorations.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/WebCore/manual-tests/user-drag-with-decorations.html b/WebCore/manual-tests/user-drag-with-decorations.html
new file mode 100644
index 0000000..1878d11
--- /dev/null
+++ b/WebCore/manual-tests/user-drag-with-decorations.html
@@ -0,0 +1,7 @@
+This tests that we don't include overflow decorations from our ancestor nodes in the drag image for -webkit-user-drag: element. To perform this test drag the green square below. The drag image should not contain any parts of the scrollbar graphics visible on the page.
+
+<div style="height:100px; width:100px;overflow:scroll;">
+ <div style="-webkit-user-drag:element;position:absolute; background: rgba(0,128,0,0.5); height:100px; width:100px;">
+ Drag me!
+ </div>
+</div> \ No newline at end of file