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

Side by Side Diff: third_party/WebKit/LayoutTests/editing/selection/14971.html

Issue 2740953004: Remove LayoutTests that test the now unsupported user-select: ignore (Closed)
Patch Set: Created 3 years, 9 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/editing/selection/5240265.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <p>This tests to make sure that a drag-selecting through a -webkit-user-select:i gnore region works. The selection should end somewhere inside the word 'World' below.</p>
2 <div><span id="start">Hello</span> <span id="end" style="-webkit-user-select:ign ore;">World</span></div>
3
4 <script>
5 if (window.testRunner) {
6 start = document.getElementById("start");
7 end = document.getElementById("end");
8
9 x = start.offsetParent.offsetLeft + start.offsetLeft - 5;
10 y = start.offsetParent.offsetTop + start.offsetTop + start.offsetHeight / 2;
11
12 eventSender.mouseMoveTo(x, y);
13 eventSender.mouseDown();
14
15 eventSender.mouseMoveTo(x + 10, y);
16 eventSender.mouseMoveTo(x + 20, y);
17 eventSender.mouseMoveTo(x + 30, y);
18
19 x = end.offsetParent.offsetLeft + end.offsetLeft + end.offsetWidth / 2;
20 y = end.offsetParent.offsetTop + end.offsetTop + end.offsetHeight / 2;
21
22 eventSender.mouseMoveTo(x, y);
23 eventSender.mouseUp();
24 }
25 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/editing/selection/5240265.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698