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

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

Issue 1793093006: [Editing][Stability] Recanonicalize m_originalbase in FrameSelection (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update Created 4 years, 8 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/Source/core/editing/FrameSelection.h » ('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 <!DOCTYPE html>
2 <script src="../../../resources/testharness.js"></script>
3 <script src="../../../resources/testharnessreport.js"></script>
4 <div style="direction: rtl;">
5 var __v_40 = 0; ++__v_40 {__v_40: "ab" + __v_40 + (__v_40 / 100000);.target { ol or: #bbeeff;
yosin_UTC9 2016/04/19 06:04:04 Can we replace this cryptic text by "foo" or simpl
yoichio 2016/04/19 08:47:19 This test depends on this strange text lined throu
6 <dl id="tests"></dl>
7 <span id="target">
8 abcאבג
yosin_UTC9 2016/04/19 06:04:04 nit: Could you use &#x5D0;&#x5D1;&#x5D2; to make v
yoichio 2016/04/19 08:47:19 Done.
9 </span></div>
10
11 <script>
12 test(function(){
13 eventSender.setPageZoomFactor(5);
14 var y = target.offsetTop + target.offsetHeight / 2;
15 var left = target.offsetLeft;
16 var startX = left + (target.offsetWidth);
17 eventSender.dragMode = false;
18 eventSender.mouseMoveTo(startX, y);
19 eventSender.mouseDown();
20 var xIncrement = -1;
21 for (var x = startX; left <= x && x <= left + target.offsetWidth; x += xIncr ement) {
yosin_UTC9 2016/04/19 06:04:04 Just one |moveMoveTo()| should be enough.
yoichio 2016/04/19 08:47:19 Done.
22 eventSender.mouseMoveTo(x, y);
yosin_UTC9 2016/04/19 06:04:04 nit: indent
yoichio 2016/04/19 08:47:19 Done.
23 }
24
25 document.body.innerHTML = 'text';
yosin_UTC9 2016/04/19 06:04:04 I think we can have "<div id=log></div>", once we
yoichio 2016/04/19 08:47:19 Done.
26 var div = document.createElement('div');
27 div.id = 'log';
28 document.body.appendChild(div);
29 });
30 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/editing/FrameSelection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698