Index: third_party/WebKit/LayoutTests/svg/text/selection-dragging-outside.svg |
diff --git a/third_party/WebKit/LayoutTests/svg/text/selection-dragging-outside.svg b/third_party/WebKit/LayoutTests/svg/text/selection-dragging-outside.svg |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d4e7b394e721f3647b6914997c2df24b6c65d3f5 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/svg/text/selection-dragging-outside.svg |
@@ -0,0 +1,20 @@ |
+<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="400" height="400" style="border: 1px solid black;"> |
+ <text id="line" x="130" y="150" font-family="Arial" font-size="10" fill="black">Hello World. Hello, SVG.</text> |
+<script> |
+var line = document.getElementById("line"); |
+var bbox = line.getBBox(); |
+ |
+var x = bbox.x + bbox.width/2; |
+var y = 300; |
+ |
+if (eventSender) { |
+ eventSender.mouseMoveTo(x, y); |
+ eventSender.mouseDown(); |
+ eventSender.mouseMoveTo(400, y); |
+ eventSender.mouseUp(); |
+} |
+ |
+if (window.testRunner) |
+ window.testRunner.dumpSelectionRect(); |
+</script> |
+</svg> |