Index: third_party/WebKit/LayoutTests/svg/text/selection-dragging-outside-1.html |
diff --git a/third_party/WebKit/LayoutTests/svg/text/selection-dragging-outside-1.html b/third_party/WebKit/LayoutTests/svg/text/selection-dragging-outside-1.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f4c9a2a06ad3979a3c4d1a41ea9262046198ab8b |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/svg/text/selection-dragging-outside-1.html |
@@ -0,0 +1,16 @@ |
+<!DOCTYPE html> |
+<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;"> |
fs
2016/02/15 14:11:24
Nit/Pro-tip: You don't need 'version' or any of th
hyunjunekim2
2016/02/15 16:08:11
Done.
|
+ <g> |
+ <text x="130" y="30" font-family="Arial" font-size="10" fill="black">Happy, Web</text> |
fs
2016/02/15 14:11:24
Specifying the style for the <text>s in either a <
hyunjunekim2
2016/02/15 16:08:12
Done.
|
+ <text x="130" y="50" font-family="Arial" font-size="10" fill="black">Happy, SVG</text> |
+ <text x="130" y="70" font-family="Arial" font-size="10" fill="black">Happy, ;)link</text> |
+ </g> |
+ <text id="line" x="130" y="150" font-family="Arial" font-size="10" fill="black">Hello World. Hello, SVG.</text> |
+</svg> |
+<script src="../../resources/js-test.js"></script> |
+<script src="resources/SelectionTestCase.js"></script> |
+<script type="text/javascript"> |
+selectTextFromCharToPoint({ id: 'line', offset: 0 }, { x: 300, y: 300 }, { startElementId: 'line', start: "0", endElementId: "line", end: "24" }); |
+selectTextFromCharToPoint({ id: 'line', offset: 6 }, { x: 300, y: 300 }, { startElementId: "line", start: "6", endElementId: "line", end: "24" }); |
+selectTextFromCharToPoint({ id: 'line', offset: 12 }, { x: 300, y: 300 }, { startElementId: "line", start: "12", endElementId: "line", end: "24" }); |
fs
2016/02/15 14:11:24
Maybe also add some case where selection is starte
hyunjunekim2
2016/02/15 16:08:12
fs, I used writing-mode: tb; for vertical. ref to
hyunjunekim2
2016/02/17 13:35:48
Done.
|
+</script> |