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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/text/selection-dragging-outside-1.html

Issue 1541083002: Fix invalid selection produced when dragging mouse outside the SVG text element (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <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.
3 <g>
4 <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.
5 <text x="130" y="50" font-family="Arial" font-size="10" fill="black">Happy, SVG</text>
6 <text x="130" y="70" font-family="Arial" font-size="10" fill="black">Happy, ;)link</text>
7 </g>
8 <text id="line" x="130" y="150" font-family="Arial" font-size="10" fill="black ">Hello World. Hello, SVG.</text>
9 </svg>
10 <script src="../../resources/js-test.js"></script>
11 <script src="resources/SelectionTestCase.js"></script>
12 <script type="text/javascript">
13 selectTextFromCharToPoint({ id: 'line', offset: 0 }, { x: 300, y: 300 }, { start ElementId: 'line', start: "0", endElementId: "line", end: "24" });
14 selectTextFromCharToPoint({ id: 'line', offset: 6 }, { x: 300, y: 300 }, { start ElementId: "line", start: "6", endElementId: "line", end: "24" });
15 selectTextFromCharToPoint({ id: 'line', offset: 12 }, { x: 300, y: 300 }, { star tElementId: "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.
16 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698