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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/selection/drag-caret.html

Issue 2741853009: Fix wrong display item type for drag caret (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/Source/core/editing/CaretDisplayItemClient.cpp » ('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 Passes if no crash.
3 <input id="fileinput" type="file">
4 <script src="../../resources/run-after-layout-and-paint.js"></script>
5 <script src="../../resources/testharness.js"></script>
6 <script src="../../resources/testharnessreport.js"></script>
7 <script>
8 if (window.testRunner && window.eventSender) {
9 internals.runtimeFlags.paintUnderInvalidationCheckingEnabled = true;
10 document.designMode="on";
11 async_test(t => {
12 runAfterLayoutAndPaint(t.step_func_done(() => {
13 eventSender.beginDragWithFiles(['testpath1/testfile1.txt']);
14 var centerX = fileinput.offsetLeft + fileinput.offsetWidth / 2;
15 var centerY = fileinput.offsetTop + fileinput.offsetHeight / 2;
16 eventSender.mouseMoveTo(centerX, centerY);
17 eventSender.mouseUp();
18 }));
19 });
20 }
21 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/editing/CaretDisplayItemClient.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698